Jump to content

sajty

Members
  • Posts

    5
  • Joined

  • Last visited

  1. In the meantime, I have found a workaround, which may be useful to others who want to do the same as me. Copy the tools from nearest kernel: apt install linux-tools-5.11.0-22-generic cp -r /usr/lib/linux-tools/5.11.0-22-generic /usr/lib/linux-tools/$(uname -r) Then you can use usbip, like this: echo "load usbip-core kernel module" ssh root@odroidc4 "(lsmod | grep usbip_core) || modprobe usbip-core" echo "load usbip-host kernel module" ssh root@odroidc4 "(lsmod | grep usbip_host) || modprobe usbip-host" echo "start usbipd daemon" ssh root@odroidc4 "pidof usbipd || usbipd -D" echo "available devices:" ssh root@odroidc4 "usbip list -l" echo "binding device 1-1.4 to usbip" ssh root@odroidc4 "usbip bind -b 1-1.4" echo "attaching to remote device 1-1.4" usbip attach -r odroidc4 -b 1-1.4
  2. Thanks Werner for opening the thread and adding the implementation link. It seems the build process of linux-tools should be very similar to the linux-headers-current-meson64 package.
  3. That doesn't help, because the issue is that usbip tool/executable, that is available in linux-tools-* packages are not installed. However there is no linux-tools-* for this kernel. root@odroidc4:~# modprobe usbip_core usbip_host root@odroidc4:~# lsmod | grep usb usbip_host 36864 0 usbip_core 40960 1 usbip_host root@odroidc4:~# usbip --help WARNING: usbip not found for kernel 5.10.57 You may need to install the following packages for this specific kernel: linux-tools-5.10.57-meson64 linux-cloud-tools-5.10.57-meson64 You may also want to install one of the following packages to keep up to date: linux-tools-meson64 linux-cloud-tools-meson64
  4. So what does that mean? How can I get usbip working? I have the kernel modules installed on my system. I have used usbip on Bananapi M1 on armbian, but that had a different kernel. However I don't see any linux-tools package for my kernel and I think that is the issue. root@odroidc4:~# ls -1 /lib/modules/5.10.57-meson64/kernel/drivers/usb/usbip usbip-core.ko usbip-host.ko usbip-vudc.ko vhci-hcd.ko root@odroidc4:~# sudo apt install linux-tools-current linux-tools-current-meson64 linux-tools-5.10.57-meson64 linux-cloud-tools-5.10.57-meson64 linux-tools-meson64 linux-cloud-tools-meson64 Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package linux-tools-current E: Unable to locate package linux-tools-current-meson64 E: Unable to locate package linux-tools-5.10.57-meson64 E: Couldn't find any package by glob 'linux-tools-5.10.57-meson64' E: Unable to locate package linux-cloud-tools-5.10.57-meson64 E: Couldn't find any package by glob 'linux-cloud-tools-5.10.57-meson64' E: Unable to locate package linux-tools-meson64 E: Unable to locate package linux-cloud-tools-meson64 root@odroidc4:~# usbip --help WARNING: usbip not found for kernel 5.10.57 You may need to install the following packages for this specific kernel: linux-tools-5.10.57-meson64 linux-cloud-tools-5.10.57-meson64 You may also want to install one of the following packages to keep up to date: linux-tools-meson64 linux-cloud-tools-meson64
  5. Hi, This is my first post on this forum. I'm using armbian for 5 years and I really appreciate the work of all the people who contributed to it. However, I have replaced a Bananapi M1 with Odroid C4, but the kernel doesn't work with usbip anymore. Is it possible to enable usbip somehow? I want to get my usb scanner without Linux drivers to work through Wi-Fi. root@odroidc4:~# usbip WARNING: usbip not found for kernel 5.10.57 You may need to install the following packages for this specific kernel: linux-tools-5.10.57-meson64 linux-cloud-tools-5.10.57-meson64 You may also want to install one of the following packages to keep up to date: linux-tools-meson64 linux-cloud-tools-meson64 Note: I tried to install the suggested linux-tools-* packages, but the packages are not available in the repository. Thanks, Peter
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines