0

i have a 10 Port USB hub connected to my ODroid N2 running Ubuntu. On that hub i have a set of devices, among them are 2 similar camera systems.

What is happening is, that on boot only one camera is detected and shown in lshw and the other is not. When i unplug the "unrecognized" one and replug it in, it is recognized and i have 2 cameras.

I noticed that both have the same serial. Does that mean the second is not detected because Linux thinks it registered it already. Is that even possible?

Any help to recognize both cameras at boot time is much appreciated.

BEFORE UNPLUG

 *-usb:1
        description: USB hub
        product: USB3.2 Hub
        vendor: GenesysLogic
        physical id: 4
        bus info: usb@2:1.2.4
        version: 93.07
        capabilities: usb-3.20
        configuration: driver=hub slots=4 speed=5000Mbit/s
      *-usb
           description: Video
           product: PayCam
           vendor: RYS, Inc.
           physical id: 2
           bus info: usb@2:1.2.4.2
           version: 0.01
           serial: 00000001
           capabilities: usb-3.00
           configuration: driver=uvcvideo maxpower=800mA speed=5000Mbit/s

AFTER UNPLUG

   *-usb:1
        description: USB hub
        product: USB3.2 Hub
        vendor: GenesysLogic
        physical id: 4
        bus info: usb@2:1.2.4
        version: 93.07
        capabilities: usb-3.20
        configuration: driver=hub slots=4 speed=5000Mbit/s
      *-usb:0
           description: Video
           product: PayCam
           vendor: RYS, Inc.
           physical id: 2
           bus info: usb@2:1.2.4.2
           version: 0.01
           serial: 00000001
           capabilities: usb-3.00
           configuration: driver=uvcvideo maxpower=800mA speed=5000Mbit/s
      *-usb:1
           description: Video
           product: PayCam
           vendor: RYS, Inc.
           physical id: 3
           bus info: usb@2:1.2.4.3
           version: 0.01
           serial: 00000001
           capabilities: usb-3.00
           configuration: driver=uvcvideo maxpower=800mA speed=5000Mbit/s

Camera (https://astar.ai/pages/calicam) USB hub(https://www.exsys-shop.de/shopware/en/categories/usb-products/503/10-port-usb-3.2-gen-1-metal-hub-with-15kv-esd-surge-protection-a-ports)

7
  • If it is aviable, can you plug the second camera on a USB port directly on your machine, not on a hub?
    – Tloz
    May 14 at 7:45
  • 1
    Systematically debug this: (1) Does the same happen with both cameras directly plugged in? If not, it's related to the hub. (2) Does the same happen with a different hub (if you have one)? If not, it's a problem with that particular hub, probably nothing you can do about it. (3) Do you get the same problem with both camers plugged in, and hub unplugged and re-plugged? If yes, makes it easier to debug. (4) Use Wireshark on the USB ports and see if there's a difference in messages when the hub is used.
    – dirkt
    May 14 at 7:51
  • it is the same when plugging both into the odroid. And also if one is on the odroid and one on the hub. So due to that I guess it is a linux thing May 14 at 8:05
  • This hub seems to have an optional power supply. Do you have an external power supply connected to it, and what are its ratings amp,volts?
    – cybernard
    May 16 at 14:26
  • It has a 24v supply that can supply up to 60A (there are a few other things connected to iot, but at time of testing nothing is drawing energy). @dirkt do you think that reinitializing the USB after boot can help, I read something about restating udev. But have no idea how to do it properly. May 17 at 9:28

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.