Skip to contentSkip to conversation

Can't bring bluetooth controller up

DISCUSSION Julio González Mejías 3 participants 6 messages Oct 17, 2015 – Oct 19, 2015 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

Hi,

I have a card reader with bluetooth controller built-in (Broadcom BCM2045A) and it stopped working suddenly some days ago as it appears down and I can't bring it up with hciconfig, this is what happens:

sudo hciconfig hci0 up
Can't init device hci0: Operation not supported (95)

This is the output of hcidump when running this command:

hcidump
HCI sniffer - Bluetooth packet analyzer ver 5.35
device: hci0 snap_len: 1500 filter: 0xffffffffffffffff

Quoted 1 line

HCI Event: Command Complete (0x0e) plen 4

    Reset (0x03|0x0003) ncmd 1
    status 0x00
Quoted 1 line

HCI Event: Command Complete (0x0e) plen 12

    Read Local Supported Features (0x04|0x0003) ncmd 1
    status 0x00
    Features: 0xff 0xff 0x8d 0xfe 0x8f 0xf9 0x00 0x80
Quoted 1 line

HCI Event: Command Complete (0x0e) plen 12

    Read Local Version Information (0x04|0x0001) ncmd 1
    status 0x00
    HCI Version: 2.0 (0x3) HCI Revision: 0x2000
    LMP Version: 2.0 (0x3) LMP Subversion: 0x410d
    Manufacturer: Broadcom Corporation (15)
Quoted 1 line

HCI Event: Command Complete (0x0e) plen 10

    Read BD ADDR (0x04|0x0009) ncmd 1
    status 0x00 bdaddr 25:7B:43:51:08:D3
Quoted 1 line

HCI Event: Command Complete (0x0e) plen 11

    Read Buffer Size (0x04|0x0005) ncmd 1
    status 0x00
    ACL MTU 1017:8 SCO MTU 64:0
Quoted 1 line

HCI Event: Command Complete (0x0e) plen 7

    Read Class of Device (0x03|0x0023) ncmd 1
    status 0x00 class 0x000000
Quoted 1 line

HCI Event: Command Complete (0x0e) plen 252

    Read Local Name (0x03|0x0014) ncmd 1
    status 0x00 name 'BCM2045'
Quoted 1 line

HCI Event: Command Complete (0x0e) plen 6

    Read Voice Setting (0x03|0x0025) ncmd 1
    status 0x00 voice setting 0x0060
Quoted 1 line

HCI Event: Command Complete (0x0e) plen 5

    Read Number of Supported IAC (0x03|0x0038) ncmd 1
Quoted 1 line

HCI Event: Command Complete (0x0e) plen 8

    Read Current IAC LAP (0x03|0x0039) ncmd 1
    IAC 0x9e8b33 (General Inquiry Access Code)
Quoted 1 line

HCI Event: Command Complete (0x0e) plen 4

    Set Event Filter (0x03|0x0005) ncmd 1
    status 0x00
Quoted 1 line

HCI Event: Command Complete (0x0e) plen 4

    Write Connection Accept Timeout (0x03|0x0016) ncmd 1
    status 0x00
Quoted 1 line

HCI Event: Command Complete (0x0e) plen 68

    Read Local Supported Commands (0x04|0x0002) ncmd 1
    status 0x00
    Commands: ffffff03feffcfffffffffff0300f8ff07
Quoted 1 line

HCI Event: Command Complete (0x0e) plen 4

    Write Inquiry Mode (0x03|0x0045) ncmd 1
    status 0x00
Quoted 1 line

HCI Event: Command Complete (0x0e) plen 14

    Read Local Extended Features (0x04|0x0004) ncmd 1
    status 0x00 page 1 max 0
    Features: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
Quoted 1 line

HCI Event: Command Complete (0x0e) plen 4

    Set Event Mask (0x03|0x0001) ncmd 1
    status 0x00
Quoted 1 line

HCI Event: Command Complete (0x0e) plen 4

    Write Default Link Policy Settings (0x02|0x000f) ncmd 1
    status 0x00
Quoted 1 line

HCI Event: Command Complete (0x0e) plen 8

    Read Page Scan Activity (0x03|0x001b) ncmd 1
    status 0x00 interval 2048 window 18
Quoted 1 line

HCI Event: Command Complete (0x0e) plen 4

    Delete Stored Link Key (0x03|0x0012) ncmd 1
    status 0x11 deleted 2048
    Error: Unsupported Feature or Parameter Value

I have looked on rfkill and everything seems correct and the LED is lit, I'm using Arch Linux 4.2.3 kernel. It still works on Windows, so I'm lost here, is the device faulty or something?

Thanks in advance,

maintainer
#1 lore raw

Hi Julio,

Quoted 67 lines

I have a card reader with bluetooth controller built-in (Broadcom BCM2045A) and it stopped working suddenly some days ago as it appears down and I can't bring it up with hciconfig, this is what happens:

sudo hciconfig hci0 up
Can't init device hci0: Operation not supported (95)

This is the output of hcidump when running this command:

hcidump
HCI sniffer - Bluetooth packet analyzer ver 5.35
device: hci0 snap_len: 1500 filter: 0xffffffffffffffff

Quoted 1 line

HCI Event: Command Complete (0x0e) plen 4

Reset (0x03|0x0003) ncmd 1
status 0x00

Quoted 1 line

HCI Event: Command Complete (0x0e) plen 12

Read Local Supported Features (0x04|0x0003) ncmd 1 status 0x00
Features: 0xff 0xff 0x8d 0xfe 0x8f 0xf9 0x00 0x80

Quoted 1 line

HCI Event: Command Complete (0x0e) plen 12

Read Local Version Information (0x04|0x0001) ncmd 1 status 0x00
HCI Version: 2.0 (0x3) HCI Revision: 0x2000 LMP Version: 2.0 (0x3) LMP Subversion: 0x410d
Manufacturer: Broadcom Corporation (15)

Quoted 1 line

HCI Event: Command Complete (0x0e) plen 10

Read BD ADDR (0x04|0x0009) ncmd 1
status 0x00 bdaddr 25:7B:43:51:08:D3

Quoted 1 line

HCI Event: Command Complete (0x0e) plen 11

Read Buffer Size (0x04|0x0005) ncmd 1
status 0x00
ACL MTU 1017:8 SCO MTU 64:0

Quoted 1 line

HCI Event: Command Complete (0x0e) plen 7

Read Class of Device (0x03|0x0023) ncmd 1
status 0x00 class 0x000000

Quoted 1 line

HCI Event: Command Complete (0x0e) plen 252

Read Local Name (0x03|0x0014) ncmd 1
status 0x00 name 'BCM2045'

Quoted 1 line

HCI Event: Command Complete (0x0e) plen 6

Read Voice Setting (0x03|0x0025) ncmd 1
status 0x00 voice setting 0x0060

Quoted 1 line

HCI Event: Command Complete (0x0e) plen 5

Read Number of Supported IAC (0x03|0x0038) ncmd 1

Quoted 1 line

HCI Event: Command Complete (0x0e) plen 8

Read Current IAC LAP (0x03|0x0039) ncmd 1
IAC 0x9e8b33 (General Inquiry Access Code)

Quoted 1 line

HCI Event: Command Complete (0x0e) plen 4

Set Event Filter (0x03|0x0005) ncmd 1
status 0x00

Quoted 1 line

HCI Event: Command Complete (0x0e) plen 4

Write Connection Accept Timeout (0x03|0x0016) ncmd 1 status 0x00

Quoted 1 line

HCI Event: Command Complete (0x0e) plen 68

Read Local Supported Commands (0x04|0x0002) ncmd 1 status 0x00
Commands: ffffff03feffcfffffffffff0300f8ff07

Quoted 1 line

HCI Event: Command Complete (0x0e) plen 4

Write Inquiry Mode (0x03|0x0045) ncmd 1
status 0x00

Quoted 1 line

HCI Event: Command Complete (0x0e) plen 14

Read Local Extended Features (0x04|0x0004) ncmd 1 status 0x00 page 1 max 0
Features: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00

Quoted 1 line

HCI Event: Command Complete (0x0e) plen 4

Set Event Mask (0x03|0x0001) ncmd 1
status 0x00

Quoted 1 line

HCI Event: Command Complete (0x0e) plen 4

Write Default Link Policy Settings (0x02|0x000f) ncmd 1 status 0x00

Quoted 7 lines
Quoted 1 line

HCI Event: Command Complete (0x0e) plen 8

Read Page Scan Activity (0x03|0x001b) ncmd 1
status 0x00 interval 2048 window 18

Quoted 1 line

HCI Event: Command Complete (0x0e) plen 4

Delete Stored Link Key (0x03|0x0012) ncmd 1
status 0x11 deleted 2048
Error: Unsupported Feature or Parameter Value

for some reason this command is failing. That should not happen actually. What is the content of /sys/kernel/debug/usb/devices for this device.

Regards

Marcel

#2 lore raw

Hi Marcel,

Quoted 77 lines

Hi Julio,

Quoted 67 lines

I have a card reader with bluetooth controller built-in (Broadcom BCM2045A) and it stopped working suddenly some days ago as it appears down and I can't bring it up with hciconfig, this is what happens:

sudo hciconfig hci0 up
Can't init device hci0: Operation not supported (95)

This is the output of hcidump when running this command:

hcidump
HCI sniffer - Bluetooth packet analyzer ver 5.35
device: hci0 snap_len: 1500 filter: 0xffffffffffffffff

Quoted 1 line

HCI Event: Command Complete (0x0e) plen 4

    Reset (0x03|0x0003) ncmd 1
    status 0x00
Quoted 1 line

HCI Event: Command Complete (0x0e) plen 12

    Read Local Supported Features (0x04|0x0003) ncmd 1
    status 0x00
    Features: 0xff 0xff 0x8d 0xfe 0x8f 0xf9 0x00 0x80
Quoted 1 line

HCI Event: Command Complete (0x0e) plen 12

    Read Local Version Information (0x04|0x0001) ncmd 1
    status 0x00
    HCI Version: 2.0 (0x3) HCI Revision: 0x2000
    LMP Version: 2.0 (0x3) LMP Subversion: 0x410d
    Manufacturer: Broadcom Corporation (15)
Quoted 1 line

HCI Event: Command Complete (0x0e) plen 10

    Read BD ADDR (0x04|0x0009) ncmd 1
    status 0x00 bdaddr 25:7B:43:51:08:D3
Quoted 1 line

HCI Event: Command Complete (0x0e) plen 11

    Read Buffer Size (0x04|0x0005) ncmd 1
    status 0x00
    ACL MTU 1017:8 SCO MTU 64:0
Quoted 1 line

HCI Event: Command Complete (0x0e) plen 7

    Read Class of Device (0x03|0x0023) ncmd 1
    status 0x00 class 0x000000
Quoted 1 line

HCI Event: Command Complete (0x0e) plen 252

    Read Local Name (0x03|0x0014) ncmd 1
    status 0x00 name 'BCM2045'
Quoted 1 line

HCI Event: Command Complete (0x0e) plen 6

    Read Voice Setting (0x03|0x0025) ncmd 1
    status 0x00 voice setting 0x0060
Quoted 1 line

HCI Event: Command Complete (0x0e) plen 5

    Read Number of Supported IAC (0x03|0x0038) ncmd 1
Quoted 1 line

HCI Event: Command Complete (0x0e) plen 8

    Read Current IAC LAP (0x03|0x0039) ncmd 1
    IAC 0x9e8b33 (General Inquiry Access Code)
Quoted 1 line

HCI Event: Command Complete (0x0e) plen 4

    Set Event Filter (0x03|0x0005) ncmd 1
    status 0x00
Quoted 1 line

HCI Event: Command Complete (0x0e) plen 4

    Write Connection Accept Timeout (0x03|0x0016) ncmd 1
    status 0x00
Quoted 1 line

HCI Event: Command Complete (0x0e) plen 68

    Read Local Supported Commands (0x04|0x0002) ncmd 1
    status 0x00
    Commands: ffffff03feffcfffffffffff0300f8ff07
Quoted 1 line

HCI Event: Command Complete (0x0e) plen 4

    Write Inquiry Mode (0x03|0x0045) ncmd 1
    status 0x00
Quoted 1 line

HCI Event: Command Complete (0x0e) plen 14

    Read Local Extended Features (0x04|0x0004) ncmd 1
    status 0x00 page 1 max 0
    Features: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
Quoted 1 line

HCI Event: Command Complete (0x0e) plen 4

    Set Event Mask (0x03|0x0001) ncmd 1
    status 0x00
Quoted 1 line

HCI Event: Command Complete (0x0e) plen 4

    Write Default Link Policy Settings (0x02|0x000f) ncmd 1
    status 0x00
Quoted 7 lines
Quoted 1 line

HCI Event: Command Complete (0x0e) plen 8

    Read Page Scan Activity (0x03|0x001b) ncmd 1
    status 0x00 interval 2048 window 18
Quoted 1 line

HCI Event: Command Complete (0x0e) plen 4

    Delete Stored Link Key (0x03|0x0012) ncmd 1
    status 0x11 deleted 2048
    Error: Unsupported Feature or Parameter Value
Quoted 6 lines

for some reason this command is failing. That should not happen actually. What is the content of /sys/kernel/debug/usb/devices for this device.

Regards

Marcel

This is the content of /sys/kernel/debug/usb:

T: Bus=04 Lev=02 Prnt=02 Port=02 Cnt=02 Dev#= 3 Spd=12 MxCh= 0
D: Ver= 2.00 Cls=e0(wlcon) Sub=01 Prot=01 MxPS=64 #Cfgs= 1
P: Vendor=0a5c ProdID=2045 Rev= 1.12
S: Manufacturer=Broadcom Corp
S: Product=BCM2045A
S: SerialNumber=000000000000
C:* #Ifs= 4 Cfg#= 1 Atr=a0 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= 16 Ivl=1ms
E: Ad=82(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms
E: Ad=02(O) 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=83(I) Atr=01(Isoc) MxPS= 0 Ivl=1ms
E: Ad=03(O) 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=83(I) Atr=01(Isoc) MxPS= 9 Ivl=1ms
E: Ad=03(O) 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=83(I) Atr=01(Isoc) MxPS= 17 Ivl=1ms
E: Ad=03(O) 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=83(I) Atr=01(Isoc) MxPS= 25 Ivl=1ms
E: Ad=03(O) 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=83(I) Atr=01(Isoc) MxPS= 33 Ivl=1ms
E: Ad=03(O) 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=83(I) Atr=01(Isoc) MxPS= 49 Ivl=1ms
E: Ad=03(O) Atr=01(Isoc) MxPS= 49 Ivl=1ms
I:* If#= 2 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
E: Ad=84(I) Atr=02(Bulk) MxPS= 32 Ivl=0ms
E: Ad=04(O) Atr=02(Bulk) MxPS= 32 Ivl=0ms
I:* If#= 3 Alt= 0 #EPs= 0 Cls=fe(app. ) Sub=01 Prot=00 Driver=(none)

maintainer
#3 lore raw

Hi Julio,

Quoted 109 lines
Quoted 75 lines
Quoted 67 lines

I have a card reader with bluetooth controller built-in (Broadcom BCM2045A) and it stopped working suddenly some days ago as it appears down and I can't bring it up with hciconfig, this is what happens:

sudo hciconfig hci0 up
Can't init device hci0: Operation not supported (95)

This is the output of hcidump when running this command:

hcidump
HCI sniffer - Bluetooth packet analyzer ver 5.35
device: hci0 snap_len: 1500 filter: 0xffffffffffffffff

Quoted 1 line

HCI Event: Command Complete (0x0e) plen 4

    Reset (0x03|0x0003) ncmd 1
    status 0x00
Quoted 1 line

HCI Event: Command Complete (0x0e) plen 12

    Read Local Supported Features (0x04|0x0003) ncmd 1
    status 0x00
    Features: 0xff 0xff 0x8d 0xfe 0x8f 0xf9 0x00 0x80
Quoted 1 line

HCI Event: Command Complete (0x0e) plen 12

    Read Local Version Information (0x04|0x0001) ncmd 1
    status 0x00
    HCI Version: 2.0 (0x3) HCI Revision: 0x2000
    LMP Version: 2.0 (0x3) LMP Subversion: 0x410d
    Manufacturer: Broadcom Corporation (15)
Quoted 1 line

HCI Event: Command Complete (0x0e) plen 10

    Read BD ADDR (0x04|0x0009) ncmd 1
    status 0x00 bdaddr 25:7B:43:51:08:D3
Quoted 1 line

HCI Event: Command Complete (0x0e) plen 11

    Read Buffer Size (0x04|0x0005) ncmd 1
    status 0x00
    ACL MTU 1017:8 SCO MTU 64:0
Quoted 1 line

HCI Event: Command Complete (0x0e) plen 7

    Read Class of Device (0x03|0x0023) ncmd 1
    status 0x00 class 0x000000
Quoted 1 line

HCI Event: Command Complete (0x0e) plen 252

    Read Local Name (0x03|0x0014) ncmd 1
    status 0x00 name 'BCM2045'
Quoted 1 line

HCI Event: Command Complete (0x0e) plen 6

    Read Voice Setting (0x03|0x0025) ncmd 1
    status 0x00 voice setting 0x0060
Quoted 1 line

HCI Event: Command Complete (0x0e) plen 5

    Read Number of Supported IAC (0x03|0x0038) ncmd 1
Quoted 1 line

HCI Event: Command Complete (0x0e) plen 8

    Read Current IAC LAP (0x03|0x0039) ncmd 1
    IAC 0x9e8b33 (General Inquiry Access Code)
Quoted 1 line

HCI Event: Command Complete (0x0e) plen 4

    Set Event Filter (0x03|0x0005) ncmd 1
    status 0x00
Quoted 1 line

HCI Event: Command Complete (0x0e) plen 4

    Write Connection Accept Timeout (0x03|0x0016) ncmd 1
    status 0x00
Quoted 1 line

HCI Event: Command Complete (0x0e) plen 68

    Read Local Supported Commands (0x04|0x0002) ncmd 1
    status 0x00
    Commands: ffffff03feffcfffffffffff0300f8ff07
Quoted 1 line

HCI Event: Command Complete (0x0e) plen 4

    Write Inquiry Mode (0x03|0x0045) ncmd 1
    status 0x00
Quoted 1 line

HCI Event: Command Complete (0x0e) plen 14

    Read Local Extended Features (0x04|0x0004) ncmd 1
    status 0x00 page 1 max 0
    Features: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
Quoted 1 line

HCI Event: Command Complete (0x0e) plen 4

    Set Event Mask (0x03|0x0001) ncmd 1
    status 0x00
Quoted 1 line

HCI Event: Command Complete (0x0e) plen 4

    Write Default Link Policy Settings (0x02|0x000f) ncmd 1
    status 0x00
Quoted 7 lines
Quoted 1 line

HCI Event: Command Complete (0x0e) plen 8

    Read Page Scan Activity (0x03|0x001b) ncmd 1
    status 0x00 interval 2048 window 18
Quoted 1 line

HCI Event: Command Complete (0x0e) plen 4

    Delete Stored Link Key (0x03|0x0012) ncmd 1
    status 0x11 deleted 2048
    Error: Unsupported Feature or Parameter Value
Quoted 6 lines

for some reason this command is failing. That should not happen actually. What is the content of /sys/kernel/debug/usb/devices for this device.

Regards

Marcel

This is the content of /sys/kernel/debug/usb:

T: Bus=04 Lev=02 Prnt=02 Port=02 Cnt=02 Dev#= 3 Spd=12 MxCh= 0
D: Ver= 2.00 Cls=e0(wlcon) Sub=01 Prot=01 MxPS=64 #Cfgs= 1
P: Vendor=0a5c ProdID=2045 Rev= 1.12
S: Manufacturer=Broadcom Corp
S: Product=BCM2045A
S: SerialNumber=000000000000
C:* #Ifs= 4 Cfg#= 1 Atr=a0 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= 16 Ivl=1ms
E: Ad=82(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms
E: Ad=02(O) 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=83(I) Atr=01(Isoc) MxPS= 0 Ivl=1ms
E: Ad=03(O) 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=83(I) Atr=01(Isoc) MxPS= 9 Ivl=1ms
E: Ad=03(O) 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=83(I) Atr=01(Isoc) MxPS= 17 Ivl=1ms
E: Ad=03(O) 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=83(I) Atr=01(Isoc) MxPS= 25 Ivl=1ms
E: Ad=03(O) 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=83(I) Atr=01(Isoc) MxPS= 33 Ivl=1ms

Quoted 8 lines

E: Ad=03(O) 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=83(I) Atr=01(Isoc) MxPS= 49 Ivl=1ms
E: Ad=03(O) Atr=01(Isoc) MxPS= 49 Ivl=1ms
I:* If#= 2 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
E: Ad=84(I) Atr=02(Bulk) MxPS= 32 Ivl=0ms
E: Ad=04(O) Atr=02(Bulk) MxPS= 32 Ivl=0ms
I:* If#= 3 Alt= 0 #EPs= 0 Cls=fe(app. ) Sub=01 Prot=00 Driver=(none)

I sent a patch to the mailing list that might fix this. Please try it out.

Regards

Marcel

#4 lore raw

Hi Marcel,

Quoted 120 lines

Hi Julio,

Quoted 109 lines
Quoted 75 lines
Quoted 67 lines

I have a card reader with bluetooth controller built-in (Broadcom BCM2045A) and it stopped working suddenly some days ago as it appears down and I can't bring it up with hciconfig, this is what happens:

sudo hciconfig hci0 up
Can't init device hci0: Operation not supported (95)

This is the output of hcidump when running this command:

hcidump
HCI sniffer - Bluetooth packet analyzer ver 5.35
device: hci0 snap_len: 1500 filter: 0xffffffffffffffff

Quoted 1 line

HCI Event: Command Complete (0x0e) plen 4

     Reset (0x03|0x0003) ncmd 1
     status 0x00
Quoted 1 line

HCI Event: Command Complete (0x0e) plen 12

     Read Local Supported Features (0x04|0x0003) ncmd 1
     status 0x00
     Features: 0xff 0xff 0x8d 0xfe 0x8f 0xf9 0x00 0x80
Quoted 1 line

HCI Event: Command Complete (0x0e) plen 12

     Read Local Version Information (0x04|0x0001) ncmd 1
     status 0x00
     HCI Version: 2.0 (0x3) HCI Revision: 0x2000
     LMP Version: 2.0 (0x3) LMP Subversion: 0x410d
     Manufacturer: Broadcom Corporation (15)
Quoted 1 line

HCI Event: Command Complete (0x0e) plen 10

     Read BD ADDR (0x04|0x0009) ncmd 1
     status 0x00 bdaddr 25:7B:43:51:08:D3
Quoted 1 line

HCI Event: Command Complete (0x0e) plen 11

     Read Buffer Size (0x04|0x0005) ncmd 1
     status 0x00
     ACL MTU 1017:8 SCO MTU 64:0
Quoted 1 line

HCI Event: Command Complete (0x0e) plen 7

     Read Class of Device (0x03|0x0023) ncmd 1
     status 0x00 class 0x000000
Quoted 1 line

HCI Event: Command Complete (0x0e) plen 252

     Read Local Name (0x03|0x0014) ncmd 1
     status 0x00 name 'BCM2045'
Quoted 1 line

HCI Event: Command Complete (0x0e) plen 6

     Read Voice Setting (0x03|0x0025) ncmd 1
     status 0x00 voice setting 0x0060
Quoted 1 line

HCI Event: Command Complete (0x0e) plen 5

     Read Number of Supported IAC (0x03|0x0038) ncmd 1
Quoted 1 line

HCI Event: Command Complete (0x0e) plen 8

     Read Current IAC LAP (0x03|0x0039) ncmd 1
     IAC 0x9e8b33 (General Inquiry Access Code)
Quoted 1 line

HCI Event: Command Complete (0x0e) plen 4

     Set Event Filter (0x03|0x0005) ncmd 1
     status 0x00
Quoted 1 line

HCI Event: Command Complete (0x0e) plen 4

     Write Connection Accept Timeout (0x03|0x0016) ncmd 1
     status 0x00
Quoted 1 line

HCI Event: Command Complete (0x0e) plen 68

     Read Local Supported Commands (0x04|0x0002) ncmd 1
     status 0x00
     Commands: ffffff03feffcfffffffffff0300f8ff07
Quoted 1 line

HCI Event: Command Complete (0x0e) plen 4

     Write Inquiry Mode (0x03|0x0045) ncmd 1
     status 0x00
Quoted 1 line

HCI Event: Command Complete (0x0e) plen 14

     Read Local Extended Features (0x04|0x0004) ncmd 1
     status 0x00 page 1 max 0
     Features: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
Quoted 1 line

HCI Event: Command Complete (0x0e) plen 4

     Set Event Mask (0x03|0x0001) ncmd 1
     status 0x00
Quoted 1 line

HCI Event: Command Complete (0x0e) plen 4

     Write Default Link Policy Settings (0x02|0x000f) ncmd 1
     status 0x00
Quoted 7 lines
Quoted 1 line

HCI Event: Command Complete (0x0e) plen 8

     Read Page Scan Activity (0x03|0x001b) ncmd 1
     status 0x00 interval 2048 window 18
Quoted 1 line

HCI Event: Command Complete (0x0e) plen 4

     Delete Stored Link Key (0x03|0x0012) ncmd 1
     status 0x11 deleted 2048
     Error: Unsupported Feature or Parameter Value
Quoted 6 lines

for some reason this command is failing. That should not happen actually. What is the content of /sys/kernel/debug/usb/devices for this device.

Regards

Marcel

This is the content of /sys/kernel/debug/usb:

T: Bus=04 Lev=02 Prnt=02 Port=02 Cnt=02 Dev#= 3 Spd=12 MxCh= 0
D: Ver= 2.00 Cls=e0(wlcon) Sub=01 Prot=01 MxPS=64 #Cfgs= 1
P: Vendor=0a5c ProdID=2045 Rev= 1.12
S: Manufacturer=Broadcom Corp
S: Product=BCM2045A
S: SerialNumber=000000000000
C:* #Ifs= 4 Cfg#= 1 Atr=a0 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= 16 Ivl=1ms
E: Ad=82(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms
E: Ad=02(O) 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=83(I) Atr=01(Isoc) MxPS= 0 Ivl=1ms
E: Ad=03(O) 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=83(I) Atr=01(Isoc) MxPS= 9 Ivl=1ms
E: Ad=03(O) 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=83(I) Atr=01(Isoc) MxPS= 17 Ivl=1ms
E: Ad=03(O) 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=83(I) Atr=01(Isoc) MxPS= 25 Ivl=1ms
E: Ad=03(O) 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=83(I) Atr=01(Isoc) MxPS= 33 Ivl=1ms

Quoted 8 lines

E: Ad=03(O) 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=83(I) Atr=01(Isoc) MxPS= 49 Ivl=1ms
E: Ad=03(O) Atr=01(Isoc) MxPS= 49 Ivl=1ms
I:* If#= 2 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
E: Ad=84(I) Atr=02(Bulk) MxPS= 32 Ivl=0ms
E: Ad=04(O) Atr=02(Bulk) MxPS= 32 Ivl=0ms
I:* If#= 3 Alt= 0 #EPs= 0 Cls=fe(app. ) Sub=01 Prot=00 Driver=(none)

Quoted 6 lines

I sent a patch to the mailing list that might fix this. Please try it out.

Regards

Marcel

Thank you! I have tried the patch and my bluetooth controller works fine now.

Regards

#5 lore raw

Hi Julio,

Quoted 9 lines · Julio González Mejías
Quoted 6 lines

I sent a patch to the mailing list that might fix this. Please try it out.

Regards

Marcel

Thank you! I have tried the patch and my bluetooth controller works fine now.

Thanks for testing this. I've now applied the patch to bluetooth-next.

Johan