[REQUEST] USBIP

Got a feature request? Great! Post your ideas here!

Moderator: Lillian.W@AST

Post Reply
User avatar
Nazar78
Posts: 2002
youtube meble na wymiar Warszawa
Joined: Wed Jul 17, 2019 10:21 pm
Location: Singapore
Contact:

[REQUEST] USBIP

Post by Nazar78 »

Just sharing a request I made to Asustor. Think it's good that we share these info to encourage Asustor to implement them and rather not just being forwarded to the backend engineers then lost touch no news. This can be easily achieved on native Linux distro. Also can be use on the NAS in VM (not containers like docker or LXC due to missing kernel module) i.e. VirtualBox but the overhead sucks, around 5-10% host CPU usage even when the client is idle.
Hello,

I've mentioned this request in one of my support tickets long ago but now I want to make an official request. In the latest ADM 4, Asustor already provided the kernel modules for USBIP however it's not complete. It's still missing the vhci-hcd.ko.

Please help to include this kernel module vhci-hcd.ko in the next release. Asustor could then subsequently add an ability to the ADM file manager to connect to wireless storage/peripherals. This is a big plus for one of ADM OS features, which have yet to be been seen on other NAS manufacturers! I'm aware there's a 3rd party VirtualHere but why miss the chance of using open-source to enrich the ADM OS?

I've already been using this usbip for quite some time on the AS5403T, refer below, self-compiled the missing module then load it to the system. The usbip utility provided by Asustor is also not working (can't connect) but I managed to fixed this in chroot environment using the local hwdata. Looking forward for this feature near future!

Code: Select all

(Chroot)root@Nimbustor4:~# lsmod|grep usbip
usbip_host             24576  0
usbip_core             16384  2 usbip_host,vhci_hcd
(Chroot)root@Nimbustor4:~# usbip list -r MEG-Trident-X10
Exportable USB devices
======================
 - MEG-Trident-X10
        1-6: Sony Corp. : MicroVault Flash Drive (054c:0243)
           : USB\VID_054C&PID_0243\OF07042710736
           : (Defined at Interface level) (00/00/00)
           :  0 - Mass Storage / SCSI / Bulk-Only (08/06/50)

(Chroot)root@Nimbustor4:~# usbip attach -r MEG-Trident-X10 -b 1-6
(Chroot)root@Nimbustor4:~# usbip port
Imported USB devices
====================
Port 00: <Port in Use> at High Speed(480Mbps)
       Sony Corp. : MicroVault Flash Drive (054c:0243)
       3-1 -> usbip://MEG-Trident-X10:3240/1-6
           -> remote bus/dev 001/006
(Chroot)root@Nimbustor4:~# mkdir -p /mnt/sdj1
(Chroot)root@Nimbustor4:~# mount /dev/sdj1 /mnt/sdj1
(Chroot)root@Nimbustor4:~# ll /mnt/sdj1
total 339M
drwxr-xr-x 2 root root 4.0K Oct 15  2021  LOST.DIR
drwxr-xr-x 2 root root 4.0K Jun 17  2021 'System Volume Information'
-rwxr-xr-x 1 root root 292M Oct 15  2021  Cosmic-OS_n7100_7.1.1_20170314_1.4-OFFICIAL.zip
-rwxr-xr-x 1 root root  32M Jun  3  2021  EB926IMS.C50
-rwxr-xr-x 1 root root 2.3M Jun 17  2021  MSI_SnapShot_00.bmp
-rwxr-xr-x 1 root root 2.3M Jun 17  2021  MSI_SnapShot.bmp
-rwxr-xr-x 1 root root  11K Jun 17  2021  MsOcFile.ocb
-rwxr-xr-x 1 root root  11M Oct 15  2021  octo4a-1.0.1.apk
-rwxr-xr-x 1 root root    5 May 12 22:52  test.txt
(Chroot)root@Nimbustor4:~# umount /mnt/sdj1
(Chroot)root@Nimbustor4:~# usbip detach -p0
usbip: info: Port 0 is now detached!
AS5304T - 16GB DDR4 - ADM-OS modded on 2GB RAM
Internal:
- 4x10TB Toshiba RAID10 Ext4-Journal=Off
External 5 Bay USB3:
- 4x2TB Seagate modded RAID0 Btrfs-Compression
- 480GB Intel SSD for modded dm-cache (initramfs auto update patch) and Apps

When posting, consider checking the box "Notify me when a reply is posted" to get faster response
Post Reply

Return to “Feature Requests”