Re: Keeping hci interface powered

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi James,

> I recently assembled a box for htpc duties, including a bluetooth
> keyboard.
> 
> It mostly works, except that the hci interface continually powers down.
> 
> I suspect every time the keyboard powers down,the hci does, too.
> 
> How can I prevent that?
> 
> I want the hci always to be powered, so that the keyboard can reconnect
> every time I hit a key.
> 
> As it is, whenever I want to use it, I have to ssh in from another
> system, run bluetoothctl and therein run power on and connect $MAC.

it should not do that at all. Once a controller is powered that should stay until you tell it otherwise.

However what might happen is that the whole machine goes to sleep and the Bluetooth controllers gets kicked off the USB bus. That is something we can't do anything about. So check dmesg and look for USB disconnects.

You can also check with btmon what happens when the keyboard disconnects. If the controller goes away it will tell you as well.

Regards

Marcel

--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux