January 23, 20197 yr Hi @limetech I'd like to be able to use the usbip client inside a docker container, and for that I believe the vhci-hcd kernel module needs to exist on the host. Here is the message I received when trying to run modprobe vhci-hcd in a container (homeassistant): modprobe vhci-hcd modprobe: ERROR: ../libkmod/libkmod.c:586 kmod_search_moddep() could not open moddep file '/lib/modules/4.18.20-unRAID/modules.dep.bin' modprobe: FATAL: Module vhci-hcd not found in directory /lib/modules/4.18.20-unRAID And when trying to run it on the host: modprobe vhci-hcd modprobe: FATAL: Module vhci-hcd not found in directory /lib/modules/4.18.20-unRAID Thanks for your help! Joel
February 26, 20197 yr I'm running into the same issue, and trying to find workarounds without having to build a custom kernel. It's supposedly supposed to be built into the linux kernel by now, with binaries provided for different distros. Trying to use usbip/VirtualHere to share a USB device on another machine with a docker container. Here are some VirtualHere (basic) instructions to obtain vhci_hcd.ko and usbip-common.ko: https://www.virtualhere.com/client_configuration_faq
November 22, 20196 yr Hi, as I bought the unraid license a few days ago I would also love to have this posibillity. I can think of several ways to use it. Connect a drive for ripping audio/video from a local thin client or Z-wave/Zigbee sticks for home automation. Did you find a solution for this ?
November 23, 20196 yr I'll apreciate that. I beleive there will be several usecases for this as most of the "home"servers will be located outside the living spaces.
November 19, 20205 yr @limetech I tried to use virtualhere and I'm facing the same issue regarding the missing module. My use case is sharing the Mediacenter cdrom with the Logitech Media Server docker, so that I can play audio cds on the Mediacenter itself. Edited November 19, 20205 yr by cyruz
November 19, 20205 yr Community Expert I wonder if the new feature in 6.9 beta 35 to allow extra modules to be loaded will allow users to add this module?
November 19, 20205 yr 4 hours ago, itimpi said: I wonder if the new feature in 6.9 beta 35 to allow extra modules to be loaded will allow users to add this module? Actually I just compiled the required modules, so eventually there will be somebody doing this job and sharing them with the community. I'm on the stable though... Looks like the modules are stored in the bzmodules file in the flash that is also hashed. If somebody can confirm that modifying the bzmodules file and re-hashing it will work, I can give it a try. EDIT: I gave it a try, it worked. Edited November 20, 20205 yr by cyruz
December 23, 20205 yr I have started to create a plugin for the binaries usbip + usbipd and associated libraries. Plugin is available on CA I have been able to connect to a usbip host running on a pi-zerow Currently only tested on 6.9.0-rc2 client function. I cannot test the server side as usbip-host kernel module is not in the build would need to be added. root@Tower:/mnt/disks/CBM_Flash_Disk# usbip list -r 192.168.1.11 Exportable USB devices ====================== - 192.168.1.11 1-1: Chipsbank Microelectronics Co., Ltd : CBM2080 / CBM2090 Flash drive controller (0204:6025) : /sys/devices/platform/soc/20980000.usb/usb1/1-1 : (Defined at Interface level) (00/00/00) : 0 - Mass Storage / SCSI / Bulk-Only (08/06/50) root@Tower:/mnt/disks/CBM_Flash_Disk# lsusb | grep CBM Bus 005 Device 002: ID 0204:6025 Chipsbank Microelectronics Co., Ltd CBM2080 / CBM2090 Flash drive controller root@Tower:/mnt/disks/CBM_Flash_Disk# usbip port Imported USB devices ==================== Port 00: <Port in Use> at High Speed(480Mbps) Chipsbank Microelectronics Co., Ltd : CBM2080 / CBM2090 Flash drive controller (0204:6025) 5-1 -> usbip://192.168.1.11:3240/1-1 -> remote bus/dev 001/002 root@Tower:/mnt/disks/CBM_Flash_Disk# Edited December 28, 20205 yr by SimonF
January 16, 20215 yr @limetech Would it be possible to include usbip_host aswell as vhci_hcd and usbip_core. I have a compiled version of the usbip_host module to use for testing and it works fine. This is only required if you want to mount USB devices from unraid to another device(Top part in gui). Is anyone using USBIP as I am starting to create a plugin to provide an interface. Based on unassigned devices. Are there any specific requirements people are looking for? Already I have disabled the unraid flash from having an option to mount from the gui, and plan to disable USB devices if already in use i.e. in UD etc. This is how it is looking so far.
January 29, 20215 yr I have created two plugings for USBIP. 1) First one will install just usbip and usbipd. 2) Provides a GUI for USBIP. Both are in CA just search for USBIP. The GUI needs to have both installed as the commands are not included with the GUI.. You will find that some of the buttons will be disabled if the necessary modules are not loaded or commands are not found. At present it is still classed as Beta. Please feel free to try it out and leave feedback, additional feature requests on this support link. The usbip-host kernel module is not included within 6.9.0-rc2 but I can supply a version if required but it is Kernel specific, and will only work on 6.9.0-rc2. PM me about the module if you want to try it out. USBIPD can be started whilst the array is not working, but I have made the events shutdown usbipd when the system is stopped.
January 29, 20215 yr 1 hour ago, SimonF said: The usbip-host kernel module is not included within 6.9.0-rc2 but I can supply a version if required but it is Kernel specific, and will only work on 6.9.0-rc2. PM me about the module if you want to try it out. Should I create a Plugin with the usbip-host executable and also the module all in one Plugin and update it if a new version of Unraid is released? I think this would be more convenient...
January 29, 20215 yr 1 hour ago, SimonF said: I have created two plugings for USBIP. 1) First one will install just usbip and usbipd. 2) Provides a GUI for USBIP. Both are in CA just search for USBIP. The GUI needs to have both installed as the commands are not included with the GUI.. You will find that some of the buttons will be disabled if the necessary modules are not loaded or commands are not found. At present it is still classed as Beta. Please feel free to try it out and leave feedback, additional feature requests on this support link. The usbip-host kernel module is not included within 6.9.0-rc2 but I can supply a version if required but it is Kernel specific, and will only work on 6.9.0-rc2. PM me about the module if you want to try it out. USBIPD can be started whilst the array is not working, but I have made the events shutdown usbipd when the system is stopped. 1 minute ago, ich777 said: Should I create a Plugin with the usbip-host executable and also the module all in one Plugin and update it if a new version of Unraid is released? I think this would be more convenient... Just posted on your other thread... this module should have been integrated into your plugin.....
January 29, 20215 yr 2 hours ago, giganode said: Just posted on your other thread... this module should have been integrated into your plugin..... I have asked for it to be included in the stock as the other two modules for USBIP are already included. Which other thread? The module is only required if you want to use in host module, necessary modules are already included in rc2 client mode. Edited January 29, 20215 yr by SimonF
January 30, 20215 yr Will be updating soon to include all modules and commands as part of the gui plugin. And will remove the old just commands one. Thanks to @ich777 for the revised package including commands and modules.
January 31, 20215 yr Version 31.01.21 is now available on CA. If you have the existing commands plugin you dont neeed it anymore, but will co-exist. usbip-host module is now included through package provided by ich777.
Archived
This topic is now archived and is closed to further replies.