LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 08-14-2019, 06:27 AM   #1
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Rep: Reputation: Disabled
How to tell bluetooth version via lsusb or other means?


Does anyone know how to tell the
bluetooth version from lusb or some other way?

It's a USB dongle:

Code:
Bus
001 Device 007: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI
mode)
Device Descriptor:
  bLength		 18
  bDescriptorType	 
1
  bcdUSB	       1.10
  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
USB1.1-A******
  iSerial		  0 
  bNumConfigurations	  1
 
Configuration Descriptor:
    bLength		    9
    bDescriptorType    
    2
    wTotalLength	  177
    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:	   0x0000
  (Bus Powered)
 
Old 08-14-2019, 06:56 AM   #2
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
I found a few suggestions by googling for detect bluetooth version on linux, but haven't tried them. I doubt that lsusb is the right tool; it knows about USB, but not Bluetooth. It looks like you need hcitool.

Last edited by berndbausch; 08-14-2019 at 06:57 AM. Reason: added hcitool
 
Old 08-14-2019, 07:08 AM   #3
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Original Poster
Rep: Reputation: Disabled
Unfortunately hcitool doesn't see it. hciconfig does, but I've no idea what
the info means. I posted in another thread about it not working. This is the
hciconfig output anyway:

Code:
hci0:   Type: Primary  Bus: USB
BD Address: 00:1A:7D:DA:71:11  ACL MTU: 679:9  SCO MTU: 48:16
DOWN
RX bytes:574 acl:0 sco:0 events:30 errors:0
TX bytes:368 acl:0 sco:0 commands:30 errors:0
Features: 0xff 0xff 0xcd 0xfa 0xdb 0xbf 0x7b 0x87
Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
Link policy: RSWITCH HOLD SNIFF PARK
Link mode: SLAVE ACCEPT
If anyone can decypher it, it would be handy.
 
Old 08-14-2019, 07:13 AM   #4
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,976

Rep: Reputation: 7337Reputation: 7337Reputation: 7337Reputation: 7337Reputation: 7337Reputation: 7337Reputation: 7337Reputation: 7337Reputation: 7337Reputation: 7337Reputation: 7337
probably: https://askubuntu.com/questions/5918...n-on-my-laptop
 
Old 08-14-2019, 07:19 AM   #5
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Original Poster
Rep: Reputation: Disabled
hciconfig doesn't show HCI Version unfortunately :/
 
Old 08-14-2019, 07:30 AM   #6
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,976

Rep: Reputation: 7337Reputation: 7337Reputation: 7337Reputation: 7337Reputation: 7337Reputation: 7337Reputation: 7337Reputation: 7337Reputation: 7337Reputation: 7337Reputation: 7337
didn't you forget hciconfig -a ?
Actually here is the official page: https://www.bluetooth.com/specificat...ler-interface/
 
Old 08-14-2019, 07:46 AM   #7
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by pan64 View Post
didn't you
forget hciconfig -a ?
Actually here is
the official page:
https://www.bluetooth.com/specificat.../> interface/
I used -a but this dongle isn't working and doesn't
give any other info out than I posted above.

It was advertised as V 5.0, but I
see the same product and vendor IDs used for a v 2.0 dongle, which should work
OOTB according to 3 posts in the HCL and info I've found while trying to get it
to work.

I would think it strange that a company would update and keep the
same IDs, so I'm suspicious to say the least.
 
Old 08-14-2019, 07:54 AM   #8
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,976

Rep: Reputation: 7337Reputation: 7337Reputation: 7337Reputation: 7337Reputation: 7337Reputation: 7337Reputation: 7337Reputation: 7337Reputation: 7337Reputation: 7337Reputation: 7337
hciconfig hci0 version
http://domoticx.com/usb-stick-blueto...con-radio-ltd/
 
Old 08-14-2019, 08:38 AM   #9
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Original Poster
Rep: Reputation: Disabled
I've just tested it on a friend's Windows laptop and it does at least work after the software is installed.

I think I'll just have to put this one down as not for nix.
 
  


Reply

Tags
bluetooth, dongle, usb, version



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Bluetooth Linux Stack Gets Improvements for Bluetooth LE Joypads, Other Devices LXer Syndicated Linux News 0 12-19-2017 06:50 AM
[SOLVED] bluetooth dongle + bluetooth speaker but no sound on the bluetooth speaker vonbiber Slackware 4 05-11-2017 09:53 AM
please help me to add k-means code to my ANTNET? I want k-means code neda_71 Linux - Virtualization and Cloud 1 07-23-2016 05:40 PM
modprobe, iwconfig, lsusb and other missing commands dubya Linux - Newbie 3 05-04-2004 09:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 12:06 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration