linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Bluetooth: btusb: add one more device to fixed Invalid initialization bug for kernel since 3.x
@ 2015-05-07 23:11 Aleksey
  2015-05-08  7:11 ` Szymon Janc
  0 siblings, 1 reply; 5+ messages in thread
From: Aleksey @ 2015-05-07 23:11 UTC (permalink / raw)
  To: linux-bluetooth

In "Roper Class 1 Bluetooth Dongle" since 3.x kernel preset bug with invalid device initialization. 

In earlyer version
$> hciconfig hci0 up                                                                                                                                                                                                                   
Can't init device hci0: Connection timed out (110)

In new kernel
$> hciconfig hci0 up
Can't init device hci0: Invalid request code (56)

with my device
[    3.359071] usb 5-1: New USB device found, idVendor=1310, idProduct=0001
[    3.359075] usb 5-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    3.359078] usb 5-1: Product: SiW
[    3.359080] usb 5-1: Manufacturer: SiW
[    3.359083] usb 5-1: SerialNumber: E7BB050D0B00


Full diskussion about that problem present in https://bugzilla.kernel.org/show_bug.cgi?id=60901 "- [PATCH]Roper Class 1 Bluetooth Dongle / TRENDnet TBW-102UB not working with all kernel 3.x tested"

After "Introducing HCI_QUIRK_BROKEN_LOCAL_COMMANDS constant" from Marcel Holtmann that bug been proper fixed, but my "Silicon Wave based" device not been included in list with BTUSB_SWAVE.

Don't know about other device - i have only one dongle with that problem, but adding BTUSB_SWAVE to driver_info for my 0x1310, 0x0001 dongle full fixed that problem, and now my device can bee in UP state..

More over, i check http://www.linux-usb.org/usb-ids.html and not find 1300 device - i find only "1310 Name: Roper"

I think, what used 0x1300 wrong and meant actually 0x1310 

If belive a bug "stopped work bluetooth" https://bugzilla.kernel.org/show_bug.cgi?id=51831 in "all worked" karnel 2.6.38 i can't fined 1300, But 1310 in this kernel works well.



Signed-off-by: Aleksei Volkov <info@dv2c.ru>
---
 drivers/bluetooth/btusb.c | 1+-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff -up linux-4.0.0-gentoo/drivers/bluetooth/btusb.c.orig linux-4.0.0-gentoo/drivers/bluetooth/btusb.c 
--- linux-4.0.0/drivers/bluetooth/btusb.c.orig	2015-05-01 12:06:59.000000000 +0300
+++ linux-4.0.0/drivers/bluetooth/btusb.c	2015-05-07 22:22:13.000000000 +0300
@@ -254,6 +254,6 @@ static const struct usb_device_id blackl
 
 	/* Roper Class 1 Bluetooth Dongle (Silicon Wave based) */
-	{ USB_DEVICE(0x1300, 0x0001), .driver_info = BTUSB_SWAVE },
+	{ USB_DEVICE(0x1310, 0x0001), .driver_info = BTUSB_SWAVE },
 
 	/* Digianswer devices */
 	{ USB_DEVICE(0x08fd, 0x0001), .driver_info = BTUSB_DIGIANSWER },
-- 

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-05-15 14:02 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-07 23:11 [PATCH] Bluetooth: btusb: add one more device to fixed Invalid initialization bug for kernel since 3.x Aleksey
2015-05-08  7:11 ` Szymon Janc
2015-05-13 20:59   ` Marcel Holtmann
2015-05-15  8:14     ` Aleksey Volkov
2015-05-15 14:02       ` Marcel Holtmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).