Re: btusb regression on commands unsupported by adapter

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

 



Hi Jeremy,

> I've posted more details here for userspace diagnosis/workaround,
> 
> https://bugs.launchpad.net/ubuntu/+source/linux/+bug/377225
> 
> Some (older?) BT adapters don't support the commands 'Read Default Link
> Policy Settings' 
> 	'Write Default Link Policy Settings'
> 
> as shown by # hciconfig hci0 commands
> 
> This appears be one cause of the infamous kernel message: hci0: command
> tx timeout.  This in turn causes bluetoothd to give up and take down the
> interface.
> 
> If you kill bluetoothd, and manually # hciconfig hci0 up, you can
> discover and inq devices no problem.
> 
> I made a patch to disable the offending command, and the above mentioned
> bug report I gave instructions to gather data on adapter BT version,
> supported features, and supported commands.  Hopefully some user reports
> can be used to make use of the command conditional on actual adapter
> support.
> 
> The question for kernel side is, regression, or corrected behaviour?

this is basically a bluetoothd issue. We should be reading the list of
supported commands and then either issue or not issue this command. Feel
free to write a patch for that.

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