Intel 7260 bluetooth malfunction when it is connected to EHCI bus
The problem is:
On the machine which has Intel 7260 BT module, i use it to connect a bluetooth headset, it can successfully scan and connect to the headset, when i play sound to the bt headset, the problem comes, if the bt module is connected to the XHCI, it can work very well.
u@u-Lenovo-B4400:~$ lsusb -t
1-7:1.0: No such file or directory
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 5000M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/14p, 480M
|__ Port 6: Dev 8, If 0, Class=HID, Driver=usbhid, 1.5M
|__ Port 7: Dev 2, If 0, Class=vend., Driver=, 12M
|__ Port 11: Dev 3, If 0, Class='bInterfaceClass 0xe0 not yet
handled', Driver=btusb, 12M
|__ Port 11: Dev 3, If 1, Class='bInterfaceClass 0xe0 not yet
handled', Driver=btusb, 12MBut if the bt module is connected to the EHCI, it always fails to play sound.
u@u-Lenovo-B4400:~$ lsusb -t
/: Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 5000M
/: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/14p, 480M
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=ehci_hcd/3p, 480M
|__ Port 1: Dev 2, If 0, Class=hub, Driver=hub/8p, 480M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci_hcd/3p, 480M
|__ Port 1: Dev 2, If 0, Class=hub, Driver=hub/6p, 480M
|__ Port 5: Dev 3, If 0, Class='bInterfaceClass 0xe0 not yet
handled', Driver=btusb, 12M
|__ Port 5: Dev 3, If 1, Class='bInterfaceClass 0xe0 not yet
handled', Driver=btusb, 12M
|__ Port 6: Dev 4, If 0, Class='bInterfaceClass 0x0e not yet
handled', Driver=uvcvideo, 480M
|__ Port 6: Dev 4, If 1, Class='bInterfaceClass 0x0e not yet
handled', Driver=uvcvideo, 480M---------------------------------------------------------------------------------------------------------
The BT moudle version, firmware version and linux kernel version:
dmesg snippet,
[ 2.164386] Bluetooth: hci0: read Intel version: 370710018002030d00 [ 2.200701] Bluetooth: hci0: Intel Bluetooth firmware file: intel/ibt-hw-37.7.10-fw-1.80.2.3.d.bseq
And the firmware was got from http://permalink.gmane.org/gmane.linux.bluez.kernel/37580.
To verify the firmware is the latest, i execute following commands,
u@u-Lenovo-B4400:~$ sudo hcitool cmd 0x3f 0x005 0x00 < HCI Command: ogf 0x3f, ocf 0x0005, plen 1 00
Quoted 1 line
HCI Event:
0x0eplen 13
01 05 FC 00 37 07 10 01 80 02 03 0D 2E
On the machine, i installed ubuntu-12.04 (kernel is 3.5), then i replaced the kernel to the linux-3.8 and the latest upstream kernel linux-3.12.0-rc6, the situation had no difference, the problem still can be reproduced on very linux kernel version.
----------------------------------------------------------------------------------------------------------
My investigation:
I did the test on dozens of laptops on which all installed intel 7260 wifi+bt combo, in case the bt module is connected to EHCI bus, it will 100% fail to play sound to the bt headset. If the bt module is connected to the XHCI bus, it will work very well, including play audio to a bt headset.
And more investigation show, if the bt module is on the EHCI bus, it can't receive any SCO packet like this,
u@u-Lenovo-B4400:~$ hciconfig hci0: Type: BR/EDR Bus: USB BD Address: 00:15:00:CC:2D:D2 ACL MTU: 1021:5 SCO MTU: 96:5 UP RUNNING PSCAN RX bytes:6687 acl:61 sco:0 events:308 errors:0 TX bytes:19367 acl:70 sco:3 commands:179 errors:0
if the bt module is on the XHCI bus, it can transmit and receive SCO packets very well,
u@u-Lenovo-B4400:~$ hciconfig hci0: Type: BR/EDR Bus: USB BD Address: 00:15:00:CC:2D:D2 ACL MTU: 1021:5 SCO MTU: 96:5 UP RUNNING PSCAN RX bytes:572756 acl:47 sco:11173 events:221 errors:0 TX bytes:586261 acl:55 sco:11137 commands:137 errors:0
----------------------------------------------------------------------------------------------------------
So could anybody be kindly help to confirm this problem, and could the maintainer of intel 7260 bt driver/firmware be kindly to solve this problem?
Thanks in advance.
Hui.
Marcel Holtmann
maintainerHi Hui,
Quoted 16 lines
The problem is:
On the machine which has Intel 7260 BT module, i use it to connect a bluetooth headset, it can successfully scan and connect to the headset, when i play sound to the bt headset, the problem comes, if the bt module is connected to the XHCI, it can work very well.u@u-Lenovo-B4400:~$ lsusb -t 1-7:1.0: No such file or directory /: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 5000M /: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/14p, 480M |__ Port 6: Dev 8, If 0, Class=HID, Driver=usbhid, 1.5M |__ Port 7: Dev 2, If 0, Class=vend., Driver=, 12M |__ Port 11: Dev 3, If 0, Class='bInterfaceClass 0xe0 not yet handled', Driver=btusb, 12M |__ Port 11: Dev 3, If 1, Class='bInterfaceClass 0xe0 not yet handled', Driver=btusb, 12MBut if the bt module is connected to the EHCI, it always fails to play sound.
Quoted 11 lines
u@u-Lenovo-B4400:~$ lsusb -t
/: Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 5000M
/: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/14p, 480M
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=ehci_hcd/3p, 480M
|__ Port 1: Dev 2, If 0, Class=hub, Driver=hub/8p, 480M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci_hcd/3p, 480M
|__ Port 1: Dev 2, If 0, Class=hub, Driver=hub/6p, 480M
|__ Port 5: Dev 3, If 0, Class='bInterfaceClass 0xe0 not yet handled', Driver=btusb, 12M
|__ Port 5: Dev 3, If 1, Class='bInterfaceClass 0xe0 not yet handled', Driver=btusb, 12M
|__ Port 6: Dev 4, If 0, Class='bInterfaceClass 0x0e not yet handled', Driver=uvcvideo, 480M
|__ Port 6: Dev 4, If 1, Class='bInterfaceClass 0x0e not yet handled', Driver=uvcvideo, 480Mcan you paste /sys/kernel/debug/usb/devices here.
If the uvcvideo driver is also using ISOC URBs, we might have just exhausted the bandwidth of the USB bus here or these two devices just do not play nice with each other.
Try to unload the uvcvideo driver and try it again.
Regards
Marcel
Quoted 29 lines · Marcel Holtmann
Hi Hui,
Quoted 16 lines
The problem is:
On the machine which has Intel 7260 BT module, i use it to connect a bluetooth headset, it can successfully scan and connect to the headset, when i play sound to the bt headset, the problem comes, if the bt module is connected to the XHCI, it can work very well.u@u-Lenovo-B4400:~$ lsusb -t 1-7:1.0: No such file or directory /: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 5000M /: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/14p, 480M |__ Port 6: Dev 8, If 0, Class=HID, Driver=usbhid, 1.5M |__ Port 7: Dev 2, If 0, Class=vend., Driver=, 12M |__ Port 11: Dev 3, If 0, Class='bInterfaceClass 0xe0 not yet handled', Driver=btusb, 12M |__ Port 11: Dev 3, If 1, Class='bInterfaceClass 0xe0 not yet handled', Driver=btusb, 12MBut if the bt module is connected to the EHCI, it always fails to play sound.
Quoted 11 lines
u@u-Lenovo-B4400:~$ lsusb -t /: Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 5000M /: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/14p, 480M /: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=ehci_hcd/3p, 480M |__ Port 1: Dev 2, If 0, Class=hub, Driver=hub/8p, 480M /: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci_hcd/3p, 480M |__ Port 1: Dev 2, If 0, Class=hub, Driver=hub/6p, 480M |__ Port 5: Dev 3, If 0, Class='bInterfaceClass 0xe0 not yet handled', Driver=btusb, 12M |__ Port 5: Dev 3, If 1, Class='bInterfaceClass 0xe0 not yet handled', Driver=btusb, 12M |__ Port 6: Dev 4, If 0, Class='bInterfaceClass 0x0e not yet handled', Driver=uvcvideo, 480M |__ Port 6: Dev 4, If 1, Class='bInterfaceClass 0x0e not yet handled', Driver=uvcvideo, 480M
Quoted 5 lines
can you paste
/sys/kernel/debug/usb/deviceshere.If the uvcvideo driver is also using ISOC URBs, we might have just exhausted the bandwidth of the USB bus here or these two devices just do not play nice with each other.
Try to unload the uvcvideo driver and try it again.
Thanks for your reply, follow your instruction, i totally disabled the camera from the BIOS, then the usb tree like this,
u@u-Lenovo-B4400:~$ lsusb -t
1-1.3:1.0: No such file or directory
/: Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 5000M
/: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/14p, 480M
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/3p, 480M
|__ Port 1: Dev 2, If 0, Class=hub, Driver=hub/8p, 480M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/3p, 480M
|__ Port 1: Dev 2, If 0, Class=hub, Driver=hub/6p, 480M
|__ Port 2: Dev 3, If 0, Class=HID, Driver=usbhid, 1.5M
|__ Port 3: Dev 4, If 0, Class=vend., Driver=, 12M
|__ Port 5: Dev 5, If 0, Class='bInterfaceClass 0xe0 not yet
handled', Driver=btusb, 12M
|__ Port 5: Dev 5, If 1, Class='bInterfaceClass 0xe0 not yet
handled', Driver=btusb, 12M
u@u-Lenovo-B4400:~$ uname -a
Linux u-Lenovo-B4400 3.12.0-031200rc6-generic #201310191635 SMP Sat Oct 19 20:36:43 UTC 2013 x86_64 x86_64 x86_64 GNU/LinuxI re-did the test, the result is same as before, after the headset is connected and i play audio, no sound is heard from the headset. And hciconfig output shows still no SCO packets received by BT driver.
u@u-Lenovo-B4400:~$ hciconfig
hci0: Type: BR/EDR Bus: USB
BD Address: 00:15:00:CC:2D:D2 ACL MTU: 1021:5 SCO MTU: 96:5
UP RUNNING PSCAN
RX bytes:5853 acl:61 sco:0 events:298 errors:0
TX bytes:19212 acl:68 sco:1 commands:179 errors:0This is the debug output of "sudo cat /sys/kernel/debug/usb/devices" after those operations,
u@u-Lenovo-B4400:~$ sudo cat /sys/kernel/debug/usb/devices
T: Bus=04 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=5000 MxCh= 4 B: Alloc= 0/800 us ( 0%), #Int= 0, #Iso= 0 D: Ver= 3.00 Cls=09(hub ) Sub=00 Prot=03 MxPS= 9 #Cfgs= 1 P: Vendor=1d6b ProdID=0003 Rev= 3.05 S: Manufacturer=Linux 3.12.0-rc6-WR5.0.1.4_standard+ xhci_hcd S: Product=xHCI Host Controller S: SerialNumber=0000:00:14.0
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr= 0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 4 Ivl=256ms
T: Bus=03 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=480 MxCh=14 B: Alloc= 0/800 us ( 0%), #Int= 0, #Iso= 0 D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=01 MxPS=64 #Cfgs= 1 P: Vendor=1d6b ProdID=0002 Rev= 3.05 S: Manufacturer=Linux 3.12.0-rc6-WR5.0.1.4_standard+ xhci_hcd S: Product=xHCI Host Controller S: SerialNumber=0000:00:14.0
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr= 0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 4 Ivl=256ms
T: Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=480 MxCh= 3 B: Alloc= 0/800 us ( 0%), #Int= 0, #Iso= 0 D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1 P: Vendor=1d6b ProdID=0002 Rev= 3.05 S: Manufacturer=Linux 3.12.0-rc6-WR5.0.1.4_standard+ ehci_hcd S: Product=EHCI Host Controller S: SerialNumber=0000:00:1d.0
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr= 0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 4 Ivl=256ms
T: Bus=02 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=480 MxCh= 8 D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=01 MxPS=64 #Cfgs= 1 P: Vendor=8087 ProdID=8000 Rev= 0.05
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr= 0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=256ms
T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=480 MxCh= 3 B: Alloc= 4/800 us ( 1%), #Int= 3, #Iso= 1 D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1 P: Vendor=1d6b ProdID=0002 Rev= 3.05 S: Manufacturer=Linux 3.12.0-rc6-WR5.0.1.4_standard+ ehci_hcd S: Product=EHCI Host Controller S: SerialNumber=0000:00:1a.0
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr= 0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 4 Ivl=256ms
T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=480 MxCh= 6 D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=01 MxPS=64 #Cfgs= 1 P: Vendor=8087 ProdID=8008 Rev= 0.05
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr= 0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 1 Ivl=256ms
T: Bus=01 Lev=02 Prnt=02 Port=01 Cnt=01 Dev#= 3 Spd=1.5 MxCh= 0 D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 P: Vendor=0461 ProdID=4d22 Rev= 2.00 S: Product=USB Optical Mouse
C:* #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr=100mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=03(HID ) Sub=01 Prot=02 Driver=usbhid
E: Ad=81(I) Atr=03(Int.) MxPS= 4 Ivl=10ms
T: Bus=01 Lev=02 Prnt=02 Port=02 Cnt=02 Dev#= 4 Spd=12 MxCh= 0 D: Ver= 1.10 Cls=ff(vend.) Sub=11 Prot=ff MxPS= 8 #Cfgs= 1 P: Vendor=138a ProdID=0011 Rev= 0.78 S: SerialNumber=7ffcdfda8afe C:* #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr=100mA I:* If#= 0 Alt= 0 #EPs= 4 Cls=ff(vend.) Sub=00 Prot=00 Driver=(none) E: Ad=01(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms E: Ad=81(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms E: Ad=82(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms E: Ad=83(I) Atr=03(Int.) MxPS= 8 Ivl=4ms
T: Bus=01 Lev=02 Prnt=02 Port=04 Cnt=03 Dev#= 5 Spd=12 MxCh= 0 D: Ver= 2.00 Cls=e0(wlcon) Sub=01 Prot=01 MxPS=64 #Cfgs= 1 P: Vendor=8087 ProdID=07dc Rev= 0.01 C:* #Ifs= 2 Cfg#= 1 Atr=e0 MxPwr=100mA I:* If#= 0 Alt= 0 #EPs= 3 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb E: Ad=81(I) Atr=03(Int.) MxPS= 64 Ivl=1ms E: Ad=02(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms E: Ad=82(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms I: If#= 1 Alt= 0 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb E: Ad=03(O) Atr=01(Isoc) MxPS= 0 Ivl=1ms E: Ad=83(I) Atr=01(Isoc) MxPS= 0 Ivl=1ms I: If#= 1 Alt= 1 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb E: Ad=03(O) Atr=01(Isoc) MxPS= 9 Ivl=1ms E: Ad=83(I) Atr=01(Isoc) MxPS= 9 Ivl=1ms I:* If#= 1 Alt= 2 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb E: Ad=03(O) Atr=01(Isoc) MxPS= 17 Ivl=1ms E: Ad=83(I) Atr=01(Isoc) MxPS= 17 Ivl=1ms I: If#= 1 Alt= 3 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb E: Ad=03(O) Atr=01(Isoc) MxPS= 25 Ivl=1ms E: Ad=83(I) Atr=01(Isoc) MxPS= 25 Ivl=1ms I: If#= 1 Alt= 4 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb E: Ad=03(O) Atr=01(Isoc) MxPS= 33 Ivl=1ms E: Ad=83(I) Atr=01(Isoc) MxPS= 33 Ivl=1ms I: If#= 1 Alt= 5 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb E: Ad=03(O) Atr=01(Isoc) MxPS= 49 Ivl=1ms E: Ad=83(I) Atr=01(Isoc) MxPS= 49 Ivl=1ms
Thanks,
Hui.
Quoted 7 lines
Regards
Marcel
Quoted 117 lines · Hui Wang
Quoted 39 lines · Marcel Holtmann
Hi Hui,
Quoted 28 lines
The problem is:
On the machine which has Intel 7260 BT module, i use it to connect a bluetooth headset, it can successfully scan and connect to the headset, when i play sound to the bt headset, the problem comes, if the bt module is connected to the XHCI, it can work very well.u@u-Lenovo-B4400:~$ lsusb -t 1-7:1.0: No such file or directory /: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 5000M /: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/14p, 480M|__ Port 6: Dev 8, If 0, Class=HID, Driver=usbhid, 1.5M |__ Port 7: Dev 2, If 0, Class=vend., Driver=, 12M |__ Port 11: Dev 3, If 0, Class='bInterfaceClass 0xe0 not yet |handled', Driver=btusb, 12M __ Port 11: Dev 3, If 1, |Class='bInterfaceClass 0xe0 not yet handled', Driver=btusb, 12M>>But if the bt module is connected to the EHCI, it always fails to play sound.
u@u-Lenovo-B4400:~$ lsusb -t /: Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 5000M /: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/14p, 480M /: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=ehci_hcd/3p, 480M|__ Port 1: Dev 2, If 0, Class=hub, Driver=hub/8p, 480M/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci_hcd/3p, 480M
Quoted 9 lines
|__ Port 1: Dev 2, If 0, Class=hub, Driver=hub/6p, 480M | |__ Port 5: Dev 3, If 0, Class='bInterfaceClass 0xe0 not yet |handled', Driver=btusb, 12M __ Port 5: Dev 3, If 1, |Class='bInterfaceClass 0xe0 not yet handled', Driver=btusb, 12M |__ Port 6: Dev 4, If 0, Class='bInterfaceClass 0x0e not yet |handled', Driver=uvcvideo, 480M __ Port 6: Dev 4, If 1, |Class='bInterfaceClass 0x0e not yet handled', Driver=uvcvideo, |480M>Quoted 7 lines
can you paste
/sys/kernel/debug/usb/deviceshere.If the uvcvideo driver is also using ISOC URBs, we might have just exhausted the bandwidth of the USB bus here or these two devices just do not play nice with each other.
Try to unload the uvcvideo driver and try it again.
Thanks for your reply, follow your instruction, i totally disabled the camera from the BIOS, then the usb tree like this,
u@u-Lenovo-B4400:~$ lsusb -t 1-1.3:1.0: No such file or directory /: Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 5000M /: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/14p, 480M /: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/3p, 480M|__ Port 1: Dev 2, If 0, Class=hub, Driver=hub/8p, 480M/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/3p, 480M
|__ Port 1: Dev 2, If 0, Class=hub, Driver=hub/6p, 480M | |__ Port 2: Dev 3, If 0, Class=HID, Driver=usbhid, 1.5M |__ Port 3: Dev 4, If 0, Class=vend., Driver=, 12M |__ Port 5: Dev 5, If 0, Class='bInterfaceClass 0xe0 not yethandled', Driver=btusb, 12M
|__ Port 5: Dev 5, If 1, Class='bInterfaceClass 0xe0 not yethandled', Driver=btusb, 12M
u@u-Lenovo-B4400:~$ uname -a Linux u-Lenovo-B4400 3.12.0-031200rc6-generic #201310191635 SMP Sat Oct 19 20:36:43 UTC 2013 x86_64 x86_64 x86_64 GNU/LinuxI re-did the test, the result is same as before, after the headset is connected and i play audio, no sound is heard from the headset. And hciconfig output shows still no SCO packets received by BT driver.
u@u-Lenovo-B4400:~$ hciconfig hci0: Type: BR/EDR Bus: USB BD Address: 00:15:00:CC:2D:D2 ACL MTU: 1021:5 SCO MTU: 96:5 UP RUNNING PSCAN RX bytes:5853 acl:61 sco:0 events:298 errors:0 TX bytes:19212 acl:68 sco:1 commands:179 errors:0This is the debug output of "sudo cat
/sys/kernel/debug/usb/devices" after those operations,u@u-Lenovo-B4400:~$ sudo cat /sys/kernel/debug/usb/devicesT: Bus=04 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=5000 MxCh= 4 B: Alloc= 0/800 us ( 0%), #Int= 0, #Iso= 0 D: Ver= 3.00 Cls=09(hub ) Sub=00 Prot=03 MxPS= 9 #Cfgs= 1 P: Vendor=1d6b ProdID=0003 Rev= 3.05 S: Manufacturer=Linux 3.12.0-rc6-WR5.0.1.4_standard+ xhci_hcd S: Product=xHCI Host Controller S: SerialNumber=0000:00:14.0C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr= 0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 4 Ivl=256msT: Bus=03 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=480 MxCh=14 B: Alloc= 0/800 us ( 0%), #Int= 0, #Iso= 0 D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=01 MxPS=64 #Cfgs= 1 P: Vendor=1d6b ProdID=0002 Rev= 3.05 S: Manufacturer=Linux 3.12.0-rc6-WR5.0.1.4_standard+ xhci_hcd S: Product=xHCI Host Controller S: SerialNumber=0000:00:14.0C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr= 0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 4 Ivl=256msT: Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=480 MxCh= 3 B: Alloc= 0/800 us ( 0%), #Int= 0, #Iso= 0 D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1 P: Vendor=1d6b ProdID=0002 Rev= 3.05 S: Manufacturer=Linux 3.12.0-rc6-WR5.0.1.4_standard+ ehci_hcd S: Product=EHCI Host Controller
Quoted 29 lines · Tedd Ho-Jeong An
Quoted 11 lines · Hui Wang
Quoted 9 lines · Marcel Holtmann
Hi Hui,
Quoted 5 lines
The problem is:
On the machine which has Intel 7260 BT module, i use it to connect a
bluetooth headset, it can successfully scan and connect to the
headset,
Quoted 1 line
Quoted 1 line
Quoted 1 line
when i play sound to the bt headset, the problem comes, if the bt
module
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
is connected to the XHCI, it can work very well.
u@u-Lenovo-B4400:~$ lsusb -t1-7:1.0: No such file or directory
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 5000M
<snip>
Quoted 9 lines
Quoted 8 lines
Quoted 8 lines
Regards
Marcel
Quoted 8 lines
Hi Hui,
Could you capture the HCI dump and send to me? Also, what's the platform/machine are you using for testing?
Regards,
Tedd
Hi Tedd,
The attachment is the log generated by hcidump, i used below commands to generate the log,
$hcidump -w ./lenovo-k4450-bt-ascii-hex.log -X -t
Then i start the bluetooth scan from the ubuntu bluetooth applet
it found the hm1700 headset, then it connected the headset successfully
play sound to the headset, can't hear any sound
Ctrl+C to terminate the hcidump
I have three machines on which install the intel 7260 BT module (8087:07dc), and BT module firmware version is 370710018002030d2e, and those modules are connected to the EHCI bus, they all have the same problem when i want them to work with the BT headset. The three machines are lenovo b4400, lenovo k4450 and lenovo m4400s.
I also have dozens of other machines on which the 7260 BT modules are connected to XHCI, they all work well to play sound to a headset.
So do you think it is a firmware issue?
Regards,
Hui.
btsnoop �
�ǵY\�
�^��x$ �ǵY\� �ǵY^DN �^��x �ǵY^H2 �ǵY^c� ������y� �ǵY^gv �ǵY^~�#
�ǵY^�� �ǵY^��� �^��xHM1700
�ǵY��
�^��x
�ǵY��]
+ �^��x
�ǵY��
- �^��x �ǵY��� �ǵY� �ǵY��/��^��x $�� HM1700 �ǵZW
�ǵZW� �ǵZ_�, �^��x �ǵZ_�� �ǵZ_� ������y� �ǵZ_� �ǵZ_�#
�ǵZ� �ǵZMf� �^��xHM1700 �ǵZ`Q
�ǵZa/�
�^��x
�ǵZa7c
+ �^��x
�ǵZd�8
, �^��x �ǵZl|� �ǵZl�� �ǵZm(y �ǵZɈ� ( �ǵZ���, �^��x<