Jump to content

[Plugin] USB_Manager


SimonF

Recommended Posts

The plugin doesn't seem to work/install anymore after updating to 6.12.11:
/boot/config/plugins-error/usb_manager_serial_options_addon.plg - ERROR

 

Trying to install it again from the store results in this:
 

plugin: installing: usb_manager_serial_options_addon.plg
Executing hook script: pre_plugin_checks
plugin: downloading: usb_manager_serial_options_addon.plg ... done

Executing hook script: pre_plugin_checks

---------------------Downloading usb serial options, please wait...!------------------------
-----------------This could take some time, please don't close this window!-----------------

-----------ERROR - ERROR - ERROR - ERROR - ERROR - ERROR - ERROR - ERROR - ERROR---------------
----------------------------Can't download usb serial options --------------------------------
plugin: run failed: '/bin/bash' returned 1
Executing hook script: post_plugin_checks

 

Edited by NeoID
Link to comment
10 minutes ago, NeoID said:

The plugin doesn't seem to work/install anymore after updating to 6.12.11:
/boot/config/plugins-error/usb_manager_serial_options_addon.plg - ERROR

 

Trying to install it again from the store results in this:
 

plugin: installing: usb_manager_serial_options_addon.plg
Executing hook script: pre_plugin_checks
plugin: downloading: usb_manager_serial_options_addon.plg ... done

Executing hook script: pre_plugin_checks

---------------------Downloading usb serial options, please wait...!------------------------
-----------------This could take some time, please don't close this window!-----------------

-----------ERROR - ERROR - ERROR - ERROR - ERROR - ERROR - ERROR - ERROR - ERROR---------------
----------------------------Can't download usb serial options --------------------------------
plugin: run failed: '/bin/bash' returned 1
Executing hook script: post_plugin_checks

 

Do you need Serial_WWAN module?

 

CONFIG_USB_SERIAL_WWAN

Link to comment
3 minutes ago, SimonF said:

Do you need Serial_WWAN module?

 

CONFIG_USB_SERIAL_WWAN


Not quite sure. Do you know if it's used by the Huawei LTE sticks? If yes then I would need it as I use it for a SMS gateway.

Edited by NeoID
Link to comment
1 minute ago, NeoID said:


Not quite sure. Do you know if it's used by the Huawei LTE sticks? If yes then I would need it as I use it for a SMS gateway.

Yes maybe. Pack has been built so you should be able to install now.

  • Like 1
  • Thanks 1
Link to comment
2 minutes ago, NeoID said:

Not quite sure. Do you know if it's used by the Huawei LTE sticks? If yes then I would need it as I use it for a SMS gateway.

Build is now done, you can reinstall the plugin.

Sorry...

  • Thanks 2
Link to comment
11 minutes ago, ich777 said:

Build is now done, you can reinstall the plugin.

Sorry...

You are awesome SimonF/ich777. Thanks a lot for the support!
I had to re-insert the Huawei stick after updating the plugin, but now it works again :)

Edited by NeoID
  • Like 1
Link to comment
4 minutes ago, NeoID said:

You are awesome ich777. Thanks a lot for the support!
I had to re-insert the Huawei stick after updating the plugin, but now it works again :)

It is not needed in 7 as module is in base os so the plugin will not install.

  • Like 2
Link to comment
  • 4 weeks later...

Hello,

 

i have devices that have problems being passed trough to a VM.

Canon CanoScan LiDE 120 Scanner:

Can be passed trough and the driver installs, but if you scan something it reports that the device would be locked. There is a lock at the back, it is not locked and it wortks on native machines.

Dell Universal Dock D6000 Dockingstation with DisplayLink:

If i pass trough all parts and install the driver, DisplayLink:Dell_Universal_Dock_D6000 with Serialnumber 1803284219 gets Virsh Error

grafik.png.0a93e7c59e80d7802de670f69cd5d050.png

If the Device is connectet on an passed trough PCIe-USB3-controller it works without problems. But i want the flexibility to switch this device between running VMs and it is not an option to run a PCIe Switch to connect multiple USB3 controllers for this, than i could use real GPUs.

 

Are these known problems, an are there workarounds for these?

If you need more informations feel free to ask.

 

Thank You

Sebastian

Link to comment
55 minutes ago, BazzT92 said:

Hello,

 

i have devices that have problems being passed trough to a VM.

Canon CanoScan LiDE 120 Scanner:

Can be passed trough and the driver installs, but if you scan something it reports that the device would be locked. There is a lock at the back, it is not locked and it wortks on native machines.

Dell Universal Dock D6000 Dockingstation with DisplayLink:

If i pass trough all parts and install the driver, DisplayLink:Dell_Universal_Dock_D6000 with Serialnumber 1803284219 gets Virsh Error

grafik.png.0a93e7c59e80d7802de670f69cd5d050.png

If the Device is connectet on an passed trough PCIe-USB3-controller it works without problems. But i want the flexibility to switch this device between running VMs and it is not an option to run a PCIe Switch to connect multiple USB3 controllers for this, than i could use real GPUs.

 

Are these known problems, an are there workarounds for these?

If you need more informations feel free to ask.

 

Thank You

Sebastian

Can you provide the following for the scanner.

 

root@computenode:~# lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 05e3:0610 Genesys Logic, Inc. Hub
Bus 001 Device 003: ID 1462:7d25 Micro Star International MYSTIC LIGHT 
Bus 001 Device 004: ID 05e3:0608 Genesys Logic, Inc. Hub
Bus 001 Device 005: ID 0a05:7211 Unknown Manufacturer hub
Bus 001 Device 006: ID 0781:5567 SanDisk Corp. Cruzer Blade
Bus 001 Device 007: ID 0781:5567 SanDisk Corp. Cruzer Blade
Bus 001 Device 008: ID 2109:2817 VIA Labs, Inc. USB2.0 Hub             
Bus 001 Device 009: ID 0781:5567 SanDisk Corp. Cruzer Blade
Bus 001 Device 010: ID 05e3:0608 Genesys Logic, Inc. Hub
Bus 001 Device 011: ID 0a05:7211 Unknown Manufacturer hub
Bus 001 Device 012: ID 2516:01b5 Cooler Master Co., Ltd. Intel ARC RGB Controller
Bus 001 Device 013: ID 0658:0200 Sigma Designs, Inc. Aeotec Z-Stick Gen5 (ZW090) - UZB
Bus 001 Device 014: ID 0bda:c811 Realtek Semiconductor Corp. 802.11ac NIC
Bus 001 Device 015: ID 0781:5567 SanDisk Corp. Cruzer Blade
Bus 001 Device 016: ID 0781:5567 SanDisk Corp. Cruzer Blade
Bus 001 Device 017: ID 0781:5567 SanDisk Corp. Cruzer Blade
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 002: ID 05e3:0626 Genesys Logic, Inc. Hub
Bus 002 Device 003: ID 174c:55aa ASMedia Technology Inc. ASM1051E SATA 6Gb/s bridge, ASM1053E SATA 6Gb/s bridge, ASM1153 SATA 3Gb/s bridge, ASM1153E SATA 6Gb/s bridge
Bus 002 Device 004: ID 05e3:0749 Genesys Logic, Inc. SD Card Reader and Writer
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub

 

Value in this next step is the bus and ID for the device. 
root@computenode:~# lsusb -vvvs 002:003

Bus 002 Device 003: ID 174c:55aa ASMedia Technology Inc. ASM1051E SATA 6Gb/s bridge, ASM1053E SATA 6Gb/s bridge, ASM1153 SATA 3Gb/s bridge, ASM1153E SATA 6Gb/s bridge
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               3.00
  bDeviceClass            0 [unknown]
  bDeviceSubClass         0 [unknown]
  bDeviceProtocol         0 
  bMaxPacketSize0         9
  idVendor           0x174c ASMedia Technology Inc.
  idProduct          0x55aa ASM1051E SATA 6Gb/s bridge, ASM1053E SATA 6Gb/s bridge, ASM1153 SATA 3Gb/s bridge, ASM1153E SATA 6Gb/s bridge
  bcdDevice            1.00
  iManufacturer           2 ASMedia
  iProduct                3 USB 3.0 Device
  iSerial                 1 H311010250          
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength       0x0079
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0xc0
      Self Powered
    MaxPower                0mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass         8 Mass Storage
      bInterfaceSubClass      6 SCSI
      bInterfaceProtocol     80 Bulk-Only
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0400  1x 1024 bytes
        bInterval               0
        bMaxBurst              15
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0400  1x 1024 bytes
        bInterval               0
        bMaxBurst              15
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       1
      bNumEndpoints           4
      bInterfaceClass         8 Mass Storage
      bInterfaceSubClass      6 SCSI
      bInterfaceProtocol     98 
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0400  1x 1024 bytes
        bInterval               0
        bMaxBurst              15
        MaxStreams             32
        Data-in pipe (0x03)
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0400  1x 1024 bytes
        bInterval               0
        bMaxBurst              15
        MaxStreams             32
        Data-out pipe (0x04)
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0400  1x 1024 bytes
        bInterval               0
        bMaxBurst              15
        MaxStreams             32
        Status pipe (0x02)
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x04  EP 4 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0400  1x 1024 bytes
        bInterval               0
        bMaxBurst               0
        Command pipe (0x01)
Binary Object Store Descriptor:
  bLength                 5
  bDescriptorType        15
  wTotalLength       0x0016
  bNumDeviceCaps          2
  USB 2.0 Extension Device Capability:
    bLength                 7
    bDescriptorType        16
    bDevCapabilityType      2
    bmAttributes   0x00000002
      HIRD Link Power Management (LPM) Supported
  SuperSpeed USB Device Capability:
    bLength                10
    bDescriptorType        16
    bDevCapabilityType      3
    bmAttributes         0x00
    wSpeedsSupported   0x000e
      Device can operate at Full Speed (12Mbps)
      Device can operate at High Speed (480Mbps)
      Device can operate at SuperSpeed (5Gbps)
    bFunctionalitySupport   1
      Lowest fully-functional device speed is Full Speed (12Mbps)
    bU1DevExitLat          10 micro seconds
    bU2DevExitLat        2047 micro seconds
can't get debug descriptor: Resource temporarily unavailable
Device Status:     0x000d
  Self Powered
  U1 Enabled
  U2 Enabled
root@computenode:~# 

Link to comment

Hello SimonF,

 

here the Data.

 

@C246:~# lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 004: ID 051d:0003 American Power Conversion UPS
Bus 001 Device 007: ID 0557:7000 ATEN International Co., Ltd Hub
Bus 001 Device 010: ID 0557:2419 ATEN International Co., Ltd Virtual mouse/keyboard device
Bus 001 Device 016: ID 2109:2815 VIA Labs, Inc. USB2.0 Hub             
Bus 001 Device 020: ID 1b1c:1b13 Corsair Vengeance K70RGB keyboard
Bus 001 Device 021: ID 09da:9090 A4Tech Co., Ltd. XL-730K / XL-750BK / XL-755BK Mice
Bus 001 Device 023: ID 0d8c:0102 C-Media Electronics, Inc. CM106 Like Sound Device
Bus 001 Device 024: ID 0d8c:0102 C-Media Electronics, Inc. CM106 Like Sound Device
Bus 001 Device 029: ID 214b:7250 Huasheng Electronics USB2.0 HUB
Bus 001 Device 030: ID 214b:7250 Huasheng Electronics USB2.0 HUB
Bus 001 Device 031: ID 09da:9090 A4Tech Co., Ltd. XL-730K / XL-750BK / XL-755BK Mice
Bus 001 Device 032: ID 258a:1006 SINO WEALTH USB KEYBOARD
Bus 001 Device 037: ID 05e3:0610 Genesys Logic, Inc. Hub
Bus 001 Device 038: ID 05e3:0610 Genesys Logic, Inc. Hub
Bus 001 Device 039: ID 05e3:0608 Genesys Logic, Inc. Hub
Bus 001 Device 040: ID 06c4:c411 Bizlink International Corp. D6000 Controller
Bus 001 Device 041: ID 04a9:190e Canon, Inc. CanoScan LiDE 120
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 002: ID 0951:1666 Kingston Technology DataTraveler 100 G3/G4/SE9 G2/50
Bus 002 Device 004: ID 2109:0815 VIA Labs, Inc. USB3.0 Hub             
Bus 002 Device 008: ID 05e3:0620 Genesys Logic, Inc. GL3523 Hub
Bus 002 Device 009: ID 05e3:0620 Genesys Logic, Inc. GL3523 Hub
Bus 002 Device 010: ID 17e9:6006 DisplayLink Dell Universal Dock D6000

 

@C246:~# lsusb -vvvs 001:041

Bus 001 Device 041: ID 04a9:190e Canon, Inc. CanoScan LiDE 120
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass          255 Vendor Specific Class
  bDeviceSubClass       255 Vendor Specific Subclass
  bDeviceProtocol       255 Vendor Specific Protocol
  bMaxPacketSize0        64
  idVendor           0x04a9 Canon, Inc.
  idProduct          0x190e CanoScan LiDE 120
  bcdDevice            7.04
  iManufacturer           1 Canon
  iProduct                2 CanoScan
  iSerial                 0
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength       0x0027
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0xa0
      (Bus Powered)
      Remote Wakeup
    MaxPower              500mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           3
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass    255 Vendor Specific Subclass
      bInterfaceProtocol    255 Vendor Specific Protocol
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0001  1x 1 bytes
        bInterval               8
Device Qualifier (for other device speed):
  bLength                10
  bDescriptorType         6
  bcdUSB               2.00
  bDeviceClass          255 Vendor Specific Class
  bDeviceSubClass       255 Vendor Specific Subclass
  bDeviceProtocol       255 Vendor Specific Protocol
  bMaxPacketSize0        64
  bNumConfigurations      1
can't get debug descriptor: Resource temporarily unavailable
Device Status:     0x0000
  (Bus Powered)

 

Link to comment
10 minutes ago, Masterwishx said:

is this plugin mostly useful for vms ?

Yes. But does add support for usbip if required. There is an add on usb gsm modems before 7 now in base os.

 

Does support auto hot plugging into a vm.

 

What is your use case?

Link to comment
47 minutes ago, SimonF said:

Yes. But does add support for usbip if required. There is an add on usb gsm modems before 7 now in base os.

 

Does support auto hot plugging into a vm.

 

What is your use case?

 

Nothing special not using VMs for now, only dockers. 

On usb have ups, keyboard, usb-hdd, usb only printer connected to main pc now. 

Maybe to make test for ups in vm... 

Maybe convert printer to usbip.... 

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.

×
×
  • Create New...