Siduction Forum

Siduction Forum => Hardware - Support => Topic started by: orinoco on 2017/05/17, 14:57:53

Title: usb question
Post by: orinoco on 2017/05/17, 14:57:53
Hello,


I have a question about usb-addressing. There is a usb-bluetooth-stick which is detected by the kernel like
Code: [Select]
Mai 17 14:53:35 tuxor2 kernel: usb 7-2: new full-speed USB device number 3 using uhci_hcd Mai 17 14:53:35 tuxor2 kernel: usb 7-2: New USB device found, idVendor=0a12, idProduct=0001
Mai 17 14:53:35 tuxor2 kernel: usb 7-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
Mai 17 14:53:35 tuxor2 kernel: usb 7-2: Product: Bluetooth V2.0 Dongle
Mai 17 14:53:35 tuxor2 kernel: usb 7-2: Manufacturer: Bluetooth v2.0


but lsusb says


Code: [Select]
Bus 007 Device 003: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)
I had expected

Code: [Select]
Bus 007 Device 002:
Title: Re: usb question
Post by: tommy2 on 2017/05/17, 17:00:38
I don't understand your problem, the kernel found and as I see it set up the device for you to use, correct? Than I would great full that I did not have to do it myself by hand, it found it and gave it an address maybe not what you expected but an address. ;D


tommy2
Title: Re: usb question
Post by: orinoco on 2017/05/22, 22:52:06
I was just astonished about the bus-numbering. Sometimes it is not enough to see it working - it is always interesting to know why it is working this way...


Excuse my curiosity...


Title: Re: usb question
Post by: der_bud on 2017/05/23, 15:33:14
The number 2 in "usb 7-2" seems to have a different meaning as the text behind it (first line) says "...USB device number 3...", so there is the matching 3 for lsusb.
I haven't read through this, but does it give you some hints? : https://unix.stackexchange.com/questions/297178/how-usb-bus-number-and-device-number-been-assigned