Bluetooth Dongle USB [ 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode) ]

You have a problem with Salix? Post here and we'll do what we can to help.
Post Reply
inukaze
Posts: 66
Joined: 24. Nov 2024, 18:42

Bluetooth Dongle USB [ 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode) ]

Post by inukaze »

Hi there today i buy a cheap generic Bluethooh Dongle USB (looks like this the unique brand/model sells generic on caracas, capital city of venezuela)
i change to root

Code: Select all

sudo su
i check is read by system

Code: Select all

lsusb
Bus 001 Device 007: ID 058f:6362 Alcor Micro Corp. Flash Card Reader/Writer
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 004: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)
Bus 002 Device 002: ID 045e:028e Microsoft Corp. Xbox360 Controller
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Ok by the moment i just need filter the bluetooh dongle device :

Code: Select all

lsusb -d 0a12:0001
Bus 002 Device 004: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)
Well now i want the detailed verbose information about this device

Code: Select all

lsusb -v -d 0a12:0001
Bus 002 Device 004: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 224 Wireless
bDeviceSubClass 1 Radio Frequency
bDeviceProtocol 1 Bluetooth
bMaxPacketSize0 64
idVendor 0x0a12 Cambridge Silicon Radio, Ltd
idProduct 0x0001 Bluetooth Dongle (HCI mode)
bcdDevice 88.91
iManufacturer 0
iProduct 2 BT DONGLE10
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 0x00b1
bNumInterfaces 2
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xe0
Self Powered
Remote Wakeup
MaxPower 100mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 3
bInterfaceClass 224 Wireless
bInterfaceSubClass 1 Radio Frequency
bInterfaceProtocol 1 Bluetooth
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0010 1x 16 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x02 EP 2 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 224 Wireless
bInterfaceSubClass 1 Radio Frequency
bInterfaceProtocol 1 Bluetooth
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x03 EP 3 OUT
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0000 1x 0 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0000 1x 0 bytes
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 1
bNumEndpoints 2
bInterfaceClass 224 Wireless
bInterfaceSubClass 1 Radio Frequency
bInterfaceProtocol 1 Bluetooth
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x03 EP 3 OUT
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0009 1x 9 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0009 1x 9 bytes
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 2
bNumEndpoints 2
bInterfaceClass 224 Wireless
bInterfaceSubClass 1 Radio Frequency
bInterfaceProtocol 1 Bluetooth
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x03 EP 3 OUT
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0011 1x 17 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0011 1x 17 bytes
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 3
bNumEndpoints 2
bInterfaceClass 224 Wireless
bInterfaceSubClass 1 Radio Frequency
bInterfaceProtocol 1 Bluetooth
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x03 EP 3 OUT
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0019 1x 25 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0019 1x 25 bytes
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 4
bNumEndpoints 2
bInterfaceClass 224 Wireless
bInterfaceSubClass 1 Radio Frequency
bInterfaceProtocol 1 Bluetooth
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x03 EP 3 OUT
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0021 1x 33 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0021 1x 33 bytes
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 5
bNumEndpoints 2
bInterfaceClass 224 Wireless
bInterfaceSubClass 1 Radio Frequency
bInterfaceProtocol 1 Bluetooth
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x03 EP 3 OUT
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0031 1x 49 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0031 1x 49 bytes
bInterval 1
Device Status: 0x0001
Self Powered
Well probably i just need the resumed information

Code: Select all

lsusb -v | grep -A 20 "ID 0a12:0001"
Bus 002 Device 004: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 224 Wireless
bDeviceSubClass 1 Radio Frequency
bDeviceProtocol 1 Bluetooth
bMaxPacketSize0 64
idVendor 0x0a12 Cambridge Silicon Radio, Ltd
idProduct 0x0001 Bluetooth Dongle (HCI mode)
bcdDevice 88.91
iManufacturer 0
iProduct 2 BT DONGLE10
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 0x00b1
bNumInterfaces 2
i install the packages i need

Code: Select all

slapt-get --update ; slapt-get --install bluez ; ldconfig
i activate the module

Code: Select all

modprobe btusb

Code: Select all

lsmod | grep btusb
btusb 57344 0
btrtl 24576 1 btusb
btbcm 24576 1 btusb
btintel 40960 1 btusb
bluetooth 524288 12 btrtl,btintel,btbcm,bnep,btusb

Code: Select all

dmesg | grep -i bluetooth
[ 7066.483337] Bluetooth: Core ver 2.22
[ 7066.483927] NET: Registered PF_BLUETOOTH protocol family
[ 7066.483930] Bluetooth: HCI device and connection manager initialized
[ 7066.483936] Bluetooth: HCI socket layer initialized
[ 7066.483938] Bluetooth: L2CAP socket layer initialized
[ 7066.483944] Bluetooth: SCO socket layer initialized
[ 7066.501588] Bluetooth: hci0: CSR: Setting up dongle with HCI ver=12 rev=0201; LMP ver=12 subver=0201; manufacturer=10
[ 7066.501596] Bluetooth: hci0: CSR: Unbranded CSR clone detected; adding workarounds and force-suspending once...
[ 7424.825652] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 7424.825657] Bluetooth: BNEP filters: protocol multicast
[ 7424.825662] Bluetooth: BNEP socket layer initialized
[ 8538.896938] Bluetooth: hci0: CSR: Setting up dongle with HCI ver=12 rev=0201; LMP ver=12 subver=0201; manufacturer=10
[ 8538.896946] Bluetooth: hci0: CSR: Unbranded CSR clone detected; adding workarounds and force-suspending once...
[ 8538.896949] Bluetooth: hci0: CSR: Failed to suspend the device for our Barrot 8041a02 receive-issue workaround
[ 8563.963571] Bluetooth: hci0: CSR: Setting up dongle with HCI ver=12 rev=0201; LMP ver=12 subver=0201; manufacturer=10
[ 8563.963579] Bluetooth: hci0: CSR: Unbranded CSR clone detected; adding workarounds and force-suspending once...
[ 8563.963584] Bluetooth: hci0: CSR: Failed to suspend the device for our Barrot 8041a02 receive-issue workaround
[ 8701.373542] Bluetooth: hci0: CSR: Setting up dongle with HCI ver=12 rev=0201; LMP ver=12 subver=0201; manufacturer=10
[ 8701.373550] Bluetooth: hci0: CSR: Unbranded CSR clone detected; adding workarounds and force-suspending once...
[ 8701.373553] Bluetooth: hci0: CSR: Failed to suspend the device for our Barrot 8041a02 receive-issue workaround

Code: Select all

[ /etc/rc.d/rc.bluetooth restart
Starting Bluetooth services: bluetoothd hciconfig sdptool hciattach
[1]+ Hecho /usr/sbin/bluetoothd

Code: Select all

bluetoothctl
[bluetooth]# power on
No default controller available
exit

Code: Select all

sudo hcitool dev
Devices:

i open a new tab on a terminal window and again i switch to root account in this another tab
in the first tab i ran

Code: Select all

btmon
> HCI Event: Command Complete (0x0e) plen 4 #48 [hci0] 230.038007
Set Event Filter (0x03|0x0005) ncmd 1
Status: Unknown HCI Command (0x01)
= Close Index: 00:1A:7D:DA:71:13 [hci0] 230.038107
@ RAW Close: hciconfig {0x0001} 230.041609
i switch to the another terminal tab to do the follow things

Code: Select all

hciconfig hci0 down
hciconfig hci0 up
Can't init device hci0: Invalid request code (56)

Code: Select all

hciconfig
hci0: Type: Primary Bus: USB
BD Address: 00:1A:7D:DA:71:13 ACL MTU: 679:8 SCO MTU: 48:16
DOWN
RX bytes:367 acl:0 sco:0 events:12 errors:0
TX bytes:37 acl:0 sco:0 commands:12 errors:0

Code: Select all

bluetoothctl
Waiting to connect to bluetoothd...[bluetooth]# Agent registered

Code: Select all

[bluetooth]# power on
No default controller available

Code: Select all

[bluetooth]# agent on
Agent is already registered

Code: Select all

[bluetooth]# scan on
No default controller available

Code: Select all

[bluetooth]# exit
i switch back to the first tab to see the added things to output of btmon
@ RAW Open: hciconfig (privileged) version 2.22 {0x0001} 34.705143
= Open Index: 00:1A:7D:DA:71:13 [hci0] 34.760637
= Index Info: 00:1A:7D:DA:71:13 (Cambridge Silicon Radio) [hci0] 34.760657
< HCI Command: Read Local Version Information (0x04|0x0001) plen 0 #1 [hci0] 34.760688
> HCI Event: Command Complete (0x0e) plen 12 #2 [hci0] 34.765543
Read Local Version Information (0x04|0x0001) ncmd 1
Status: Success (0x00)
HCI version: Bluetooth 5.3 (0x0c) - Revision 513 (0x0201)
LMP version: Bluetooth 5.3 (0x0c) - Subversion 513 (0x0201)
Manufacturer: Cambridge Silicon Radio (10)
< HCI Command: Reset (0x03|0x0003) plen 0 #3 [hci0] 34.765689
> HCI Event: Command Complete (0x0e) plen 4 #4 [hci0] 34.775540
Reset (0x03|0x0003) ncmd 1
Status: Success (0x00)
< HCI Command: Read Local Supported Features (0x04|0x0003) plen 0 #5 [hci0] 34.775584
> HCI Event: Command Complete (0x0e) plen 12 #6 [hci0] 34.778536
Read Local Supported Features (0x04|0x0003) ncmd 1
Status: Success (0x00)
Features: 0xbf 0x3e 0x4d 0xfa 0xd8 0x3d 0x7b 0xc7
3 slot packets
5 slot packets
Encryption
Slot offset
Timing accuracy
Role switch
Sniff mode
Power control requests
Channel quality driven data rate (CQDDR)
SCO link
HV2 packets
HV3 packets
CVSD synchronous data
Power control
Transparent synchronous data
Flow control lag (most significant bit)
Enhanced Data Rate ACL 2 Mbps mode
Enhanced inquiry scan
Interlaced inquiry scan
Interlaced page scan
RSSI with inquiry results
Extended SCO link (EV3 packets)
AFH capable peripheral
AFH classification peripheral
LE Supported (Controller)
3-slot Enhanced Data Rate ACL packets
5-slot Enhanced Data Rate ACL packets
Pause encryption
AFH capable central
AFH classification central
Enhanced Data Rate eSCO 2 Mbps mode
Extended Inquiry Response
Simultaneous LE and BR/EDR (Controller)
Secure Simple Pairing
Encapsulated PDU
Erroneous Data Reporting
Non-flushable Packet Boundary Flag
Link Supervision Timeout Changed Event
Inquiry TX Power Level
Enhanced Power Control
Extended features
Unknown features (0x4000000000000000)
< HCI Command: Read Local Version Information (0x04|0x0001) plen 0 #7 [hci0] 34.778622
> HCI Event: Command Complete (0x0e) plen 12 #8 [hci0] 34.781535
Read Local Version Information (0x04|0x0001) ncmd 1
Status: Success (0x00)
HCI version: Bluetooth 5.3 (0x0c) - Revision 513 (0x0201)
LMP version: Bluetooth 5.3 (0x0c) - Subversion 513 (0x0201)
Manufacturer: Cambridge Silicon Radio (10)
< HCI Command: Read BD ADDR (0x04|0x0009) plen 0 #9 [hci0] 34.781560
> HCI Event: Command Complete (0x0e) plen 10 #10 [hci0] 34.784538
Read BD ADDR (0x04|0x0009) ncmd 1
Status: Success (0x00)
Address: 00:1A:7D:DA:71:13 (cyber-blue(HK)Ltd)
< HCI Command: Read Buffer Size (0x04|0x0005) plen 0 #11 [hci0] 34.784626
> HCI Event: Command Complete (0x0e) plen 11 #12 [hci0] 34.787541
Read Buffer Size (0x04|0x0005) ncmd 1
Status: Success (0x00)
ACL MTU: 679 ACL max packet: 8
SCO MTU: 48 SCO max packet: 16
< HCI Command: Read Class of Device (0x03|0x0023) plen 0 #13 [hci0] 34.787581
> HCI Event: Command Complete (0x0e) plen 7 #14 [hci0] 34.790536
Read Class of Device (0x03|0x0023) ncmd 1
Status: Success (0x00)
Class: 0x000000
Major class: Miscellaneous
Minor class: 0x00
< HCI Command: Read Local Name (0x03|0x0014) plen 0 #15 [hci0] 34.790575
> HCI Event: Command Complete (0x0e) plen 252 #16 [hci0] 34.808537
Read Local Name (0x03|0x0014) ncmd 1
Status: Success (0x00)
Name: CSR8510 A10

< HCI Command: Read Voice Setting (0x03|0x0025) plen 0 #17 [hci0] 34.808570
> HCI Event: Command Complete (0x0e) plen 6 #18 [hci0] 34.811536
Read Voice Setting (0x03|0x0025) ncmd 1
Status: Success (0x00)
Setting: 0x0000
Input Coding: Linear
Input Data Format: 1's complement
Input Sample Size: 8-bit
# of bits padding at MSB: 0
Air Coding Format: CVSD
< HCI Command: Read Number of Supported IAC (0x03|0x0038) plen 0 #19 [hci0] 34.811562
> HCI Event: Command Complete (0x0e) plen 5 #20 [hci0] 34.814538
Read Number of Supported IAC (0x03|0x0038) ncmd 1
Status: Success (0x00)
Number of IAC: 2
< HCI Command: Read Current IAC LAP (0x03|0x0039) plen 0 #21 [hci0] 34.814566
> HCI Event: Command Complete (0x0e) plen 8 #22 [hci0] 34.817538
Read Current IAC LAP (0x03|0x0039) ncmd 1
Status: Success (0x00)
Number of IAC: 1
Access code: 0x9e8b33 (General Inquiry)
< HCI Command: Set Event Filter (0x03|0x0005) plen 1 #23 [hci0] 34.817562
Type: Clear All Filters (0x00)
> HCI Event: Command Complete (0x0e) plen 4 #24 [hci0] 34.820536
Set Event Filter (0x03|0x0005) ncmd 1
Status: Unknown HCI Command (0x01)
= Close Index: 00:1A:7D:DA:71:13 [hci0] 34.820595
@ RAW Close: hciconfig {0x0001} 34.823850
Well searching on internet i found
1 - This is generic clonic fake of CSR dongles -> https://askubuntu.com/questions/1168123 ... ce-working
2 - i found this article -> https://askubuntu.com/questions/915235/ ... 20-generic

But i dont have time to do that until the weekend

3 - i am thinking to download and install manually Linux 6.1 but in the kernel.org site i saw the line :
longterm: 6.1.157 2025-10-19 [tarball] [pgp] [patch] [inc. patch] [view diff] [browse] [changelog]
Which file(s) i need to download, i want to compile the " kernel-huge " with this version, because i have a GPU, Nvidia GT 620 (MSI).
and probablye just the slackbuilds :

nvidia-legacy390-kernel (390.157)
nvidia-legacy390-driver (390.157)

was the top limit version of linux in 6.1, i remember at the begin of year i try install the drivers on artix linux with linux 6.2 and never works and becuase of that i install Salix.

4 - A Curiosity i saw on Ubuntu Forum -> https://askubuntu.com/questions/1208296 ... d-0a120001
Someone says, just edit file, make some modifications based on certain numbers, and compile again the bluetooh module and try if works.

Is prefer try first the 4 step or directly try the 3 step ?
inukaze
Posts: 66
Joined: 24. Nov 2024, 18:42

Re: Bluetooth Dongle USB [ 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode) ]

Post by inukaze »

Just for Future Referencias, i not should forgot visit the follow url -> https://elinux.org/RPi_USB_Bluetooth_ad ... h_adapters
User avatar
gapan
Salix Wizard
Posts: 6403
Joined: 6. Jun 2009, 17:40

Re: Bluetooth Dongle USB [ 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode) ]

Post by gapan »

If you're asking which file to download, that should be the one labeled "tarball".

There are instructions here: https://docs.salixos.org/user/kernel-compilation/
Image
Image
inukaze
Posts: 66
Joined: 24. Nov 2024, 18:42

Re: Bluetooth Dongle USB [ 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode) ]

Post by inukaze »

well then the tarball.

Someone knows if a gpu Nvidia GT 620 with drivers 390.157 works on Linux 6.12.54 or Linux 6.6.113 ?
User avatar
gapan
Salix Wizard
Posts: 6403
Joined: 6. Jun 2009, 17:40

Re: Bluetooth Dongle USB [ 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode) ]

Post by gapan »

I don't know for certain, but it probably does not work with those kernels.

I can see a report here that it works with kernel 6.0.x: https://forums.developer.nvidia.com/t/3 ... 6-0/230959

but others say it doesn't.
Image
Image
Post Reply