[Bug 193571] Request for assistance

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

 



https://bugzilla.kernel.org/show_bug.cgi?id=193571

I'd like to someone from the bluetooth community to just take a quick
at this bug report and help me identify the likely source of the issue.
btusb driver? usb subsystem?

The symptoms are --after I suspend my laptop (10 min or more) and then
resume, the bluetooth adaptor no longer functions. I have to reset the
bluetooth usb device to get it working again.

echo 0 > /sys/bus/usb/devices/1-4/authorized
echo 1 > /sys/bus/usb/devices/1-4/authorized

What's the likely cause of this? Is the bluetooth adaptor losing power
or it's firmware during a suspend cycle?

Looking at the btusb driver, I found this

---------------------------------------------------------------------
#ifdef CONFIG_BT_HCIBTUSB_RTL
if (id->driver_info & BTUSB_REALTEK) {
hdev->setup = btrtl_setup_realtek;


/* Realtek devices lose their updated firmware over suspend,
* but the USB hub doesn't notice any status change.
* Explicitly request a device reset on resume.
*/
set_bit(BTUSB_RESET_RESUME, &data->flags);
}
#endif
------------------------------------------------------------------------

I'm interested in trying this method for my bluetooth adaptor.
I'm not a kernel developer...but if someone could show me what changes need to
made to btusb driver so it would be work with my bluetooth adaptor (0cf3:e300)
I could compile the driver and test it out.


Thanks!

-Leif
--
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