Not able to do any operations on bluetooth after getting below error. # hciconfig -a hci0: Type: Primary Bus: SDIO BD Address: AC:3F:A4:CE:38:8F ACL MTU: 1021:7 SCO MTU: 120:6 UP RUNNING PSCAN RX bytes:-1610390126 acl:1405 sco:0 events:3076 errors:0 TX bytes:43055 acl:1219 sco:0 commands:521 errors:0 Features: 0xff 0xfe 0x8f 0xfe 0xdb 0xff 0x7b 0x87 Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3 Link policy: RSWITCH HOLD SNIFF Link mode: SLAVE ACCEPT Can't read local name on hci0: Connection timed out (110) Adapter is : Marvell controller If I do "hciconfig hci0 reset", then bluetooth will start working fine.
Please test linux-usb/usb-next branch I have similar problem and it fixed in this branch
Hi Maxim, Thank you for the response. I am not able to find the linux-usb/usb-next branch. Please can you provide the reference\link where the fix was provided. Thank you in advance. Regards, Uday
Pull from this repo https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git
Please can you point out the commit ID for this issue.
https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git/commit/?h=usb-next&id=6e01827ed93947895680fbdad68c072a0f4e2450
Hi Maxim, Thank you for the quick response. By looking into the comments and changes on shared link, we have a different issue. We are using "Marvell combo (WiFi and BT) module using SDIO" card. While connecting/disconnecting a device/headset multiple times, we are facing "Can't read local name on hci0: Connection timed out (110)" issue. Bluetooth Controller: 4.2 Bluez: 5.49 kernel : 4.4.11 Verified below commands, when we got this error. #hciconfig -a hci0: Type: Primary Bus: SDIO BD Address: AC:3F:A4:CE:38:8F ACL MTU: 1021:7 SCO MTU: 120:6 UP RUNNING PSCAN RX bytes:-1610390126 acl:1405 sco:0 events:3076 errors:0 TX bytes:43055 acl:1219 sco:0 commands:521 errors:0 Features: 0xff 0xfe 0x8f 0xfe 0xdb 0xff 0x7b 0x87 Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3 Link policy: RSWITCH HOLD SNIFF Link mode: SLAVE ACCEPT Can't read local name on hci0: Connection timed out (110) #hcitool scan Scanning ... Inquiry failed: Connection timed out and on "hcidump -Xt" also no logs. Thank you in advance. Regards, Uday
Oh, yes. You have SDIO bus. My patch fix usb hub. But SDIO controller can be connected over USB :) Check it.
No. We are not using USB. We are using SDIO interface directly.