Hello,
I’m using a Mikrotik RB760igs (mt7621 - MIPSEL architecture) with the latest OpenWrt 21.02.1 firmware.
I would like to use this device as an usbip server but I get errors.
I’ve installed these packages: usbutils kmod-usb-ohci usbip-server usbip-client kmod-usb-core kmod-usb-storage kmod-usb-uhci kmod-usb-ohci kmod-usb2 kmod-usb3
The daemon is started with usbipd &
root@OpenWrt:~# ps w | grep usbipd
2863 root 1280 S usbipd
4853 root 1252 S grep usbipd
root@OpenWrt:~#
First test: with a Logitech USB Receiver connected
root@OpenWrt:~# lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux 5.4.154 xhci-hcd xHCI Host Controller
Bus 004 Device 001: ID 1d6b:0003 Linux 5.4.154 vhci_hcd USB/IP Virtual Host Controller
Bus 001 Device 003: ID 046d:c52b Logitech USB Receiver
Bus 001 Device 001: ID 1d6b:0002 Linux 5.4.154 xhci-hcd xHCI Host Controller
Bus 003 Device 001: ID 1d6b:0002 Linux 5.4.154 vhci_hcd USB/IP Virtual Host Controller
root@OpenWrt:~#
But after the command “usbip list -l” I get this error: “usbip: error: problem getting device attributes: No such file or directory” and the Logitech Receiver is not recognized.
root@OpenWrt:~# usbip list -l
- busid usb2 (1d6b:0003)
Linux Foundation : 3.0 root hub (1d6b:0003)
usbip: error: problem getting device attributes: No such file or directory
Sometimes, I get a different result and the Logitech Receiver seems to be recognized but with the same error
root@OpenWrt:~# usbip list -l
- busid 1-1 (046d:c52b)
Logitech, Inc. : Unifying Receiver (046d:c52b)
- busid usb1 (1d6b:0002)
Linux Foundation : 2.0 root hub (1d6b:0002)
- busid usb1 (1d6b:0002)
Linux Foundation : 2.0 root hub (1d6b:0002)
usbip: error: problem getting device attributes: No such file or directory
I’ve tried with different USB devices but with the same result and when I would like to connect a client, the link doesn’t work properly or the link is disconnected. I have URB errors on the usbip server : usbip-host 1-1: unlinked by a call to usb_unlink_urb()
I’ve also tried with a TP-Link Archer C7 v5 based on Atheros QCA956X with OpenWrt 21.02.1, same result and same errors.
What I’m doing wrong?
Do you know how to fix it?
Kind regards,