Why is ls -l /dev/serial/by-id not found?


Recommended Posts

I'm trying to forward an USB device into my docker. But somehow I do not have /dev/ttyUSB* devices. Neither /dev/ttyACM*. Trying to passthrough by-serial like others in the support threads suggests but:

 

image.thumb.png.4e33c54622ee610fe6cfd06381ced667.png

 

Passing through the USB device into VM's is no problem. So the devices are available and can be used.

 

What is going on here?

 

Link to comment
15 hours ago, Leandres said:

I'm trying to forward an USB device into my docker. But somehow I do not have /dev/ttyUSB* devices. Neither /dev/ttyACM*. Trying to passthrough by-serial like others in the support threads suggests but:

 

image.thumb.png.4e33c54622ee610fe6cfd06381ced667.png

 

Passing through the USB device into VM's is no problem. So the devices are available and can be used.

 

What is going on here?

 

What does lsusb show?

 

Provide output lsusb -vvs 001:054 replace bus:device which matches the value that you device has.

 

Is it a serial adapter?

 

 

Link to comment

@SimonF

It is an USB PCIe card (extender).

 

root@Pasithea:~# lsusb -vvs 001:006

Bus 001 Device 006: ID 05e3:0608 Genesys Logic, Inc. Hub
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            9 Hub
  bDeviceSubClass         0 
  bDeviceProtocol         1 Single TT
  bMaxPacketSize0        64
  idVendor           0x05e3 Genesys Logic, Inc.
  idProduct          0x0608 Hub
  bcdDevice           60.90
  iManufacturer           0 
  iProduct                1 USB2.0 Hub
  iSerial                 0 
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength       0x0019
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower              100mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0 
      bInterfaceProtocol      0 Full speed (or root) hub
      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     0x0001  1x 1 bytes
        bInterval              12
Hub Descriptor:
  bLength               9
  bDescriptorType      41
  nNbrPorts             4
  wHubCharacteristic 0x00e9
    Per-port power switching
    Per-port overcurrent protection
    TT think time 32 FS bits
    Port indicators
  bPwrOn2PwrGood       50 * 2 milli seconds
  bHubContrCurrent    100 milli Ampere
  DeviceRemovable    0x00
  PortPwrCtrlMask    0xff
 Hub Port Status:
   Port 1: 0000.0100 power
   Port 2: 0000.0100 power
   Port 3: 0000.0100 power
   Port 4: 0000.0100 power
Device Qualifier (for other device speed):
  bLength                10
  bDescriptorType         6
  bcdUSB               2.00
  bDeviceClass            9 Hub
  bDeviceSubClass         0 
  bDeviceProtocol         0 Full speed (or root) hub
  bMaxPacketSize0        64
  bNumConfigurations      1
can't get debug descriptor: Resource temporarily unavailable
Device Status:     0x0001
  Self Powered

Link to comment
5 hours ago, Leandres said:

@SimonF

It is an USB PCIe card (extender).

 

root@Pasithea:~# lsusb -vvs 001:006

Bus 001 Device 006: ID 05e3:0608 Genesys Logic, Inc. Hub
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            9 Hub
  bDeviceSubClass         0 
  bDeviceProtocol         1 Single TT
  bMaxPacketSize0        64
  idVendor           0x05e3 Genesys Logic, Inc.
  idProduct          0x0608 Hub
  bcdDevice           60.90
  iManufacturer           0 
  iProduct                1 USB2.0 Hub
  iSerial                 0 
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength       0x0019
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower              100mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0 
      bInterfaceProtocol      0 Full speed (or root) hub
      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     0x0001  1x 1 bytes
        bInterval              12
Hub Descriptor:
  bLength               9
  bDescriptorType      41
  nNbrPorts             4
  wHubCharacteristic 0x00e9
    Per-port power switching
    Per-port overcurrent protection
    TT think time 32 FS bits
    Port indicators
  bPwrOn2PwrGood       50 * 2 milli seconds
  bHubContrCurrent    100 milli Ampere
  DeviceRemovable    0x00
  PortPwrCtrlMask    0xff
 Hub Port Status:
   Port 1: 0000.0100 power
   Port 2: 0000.0100 power
   Port 3: 0000.0100 power
   Port 4: 0000.0100 power
Device Qualifier (for other device speed):
  bLength                10
  bDescriptorType         6
  bcdUSB               2.00
  bDeviceClass            9 Hub
  bDeviceSubClass         0 
  bDeviceProtocol         0 Full speed (or root) hub
  bMaxPacketSize0        64
  bNumConfigurations      1
can't get debug descriptor: Resource temporarily unavailable
Device Status:     0x0001
  Self Powered

So this is a PCIe USB card? Can you provide diagnostics?

Link to comment

Since I don't need the PCIe USB card I removed it. Somehow I can now do ls -l on /dev/serial/by-id. So that probleem seems solved for now. But a new weird problem appeared:

 

image.png.f4b6166530eec61c8061b162f053a542.png

 

An USB device which worked perfectly and super stable and plugged in one of the standard USB ports now show up twice. This problem leads to not beeing able to passthrough the USB device into a VM:

 

image.png.2f61a3099e90ff81858e7d9cd57176ee.png

 

And if I want to select one, after updating the template both checkboxes are marked which prevents the VM to start.....

 

image.png.62c50c912b6faa21396d88bd85dd323f.png

 

Never seen this behavior before.

 

Link to comment
1 hour ago, Leandres said:

Since I don't need the PCIe USB card I removed it. Somehow I can now do ls -l on /dev/serial/by-id. So that probleem seems solved for now. But a new weird problem appeared:

 

image.png.f4b6166530eec61c8061b162f053a542.png

 

An USB device which worked perfectly and super stable and plugged in one of the standard USB ports now show up twice. This problem leads to not beeing able to passthrough the USB device into a VM:

 

image.png.2f61a3099e90ff81858e7d9cd57176ee.png

 

And if I want to select one, after updating the template both checkboxes are marked which prevents the VM to start.....

 

image.png.62c50c912b6faa21396d88bd85dd323f.png

 

Never seen this behavior before.

 

Do you have two of the same device type in the system?

 

When you removed the card did you adjust any vfio mappings you may have had as the pci ids may have changed.

 

VM manager template does not support two of the same devices. But you can use my VM Manager to do that if required.

 

post diagnostics as that will give more info about your system.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.