Welcome, Guest. Please login or register.
Did you miss your activation email?

Author Topic: [EN] usb question  (Read 3725 times)

Offline orinoco

  • User
  • Posts: 233
  • Bullshit artist
[EN] usb question
« 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:
« Last Edit: 2017/05/17, 15:01:04 by orinoco »

Offline tommy2

  • User
  • Posts: 128
Re: usb question
« Reply #1 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

Offline orinoco

  • User
  • Posts: 233
  • Bullshit artist
Re: usb question
« Reply #2 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...



Offline der_bud

  • User
  • Posts: 1.072
  • member
Re: usb question
« Reply #3 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
Du lachst? Wieso lachst du? Das ist doch oft so, Leute lachen erst und dann sind sie tot.