Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I need to install a USB 3G modem to a Windows virtual machine (running on OVM). The modem will be plugged on a Linux host. (Would Windows be easier?)

I don't understand what the following README file says.

For newer kernels ( >=2.6.28 ), try linux-staging code!

This directory contains the source code of usbip drivers for mainline kernel.

[How to make USB/IP drivers]
    1. cd $(top)/drivers/{version}/

    2. make KSOURCE=/usr/src/kernel-source-2.6.20

            KSOURCE is the directory that your kernel was built.

    3. If succeed, usbip_common_mod.ko, vhci-hcd.ko and usbip.ko are built.

    4. Copy these kernel modules to client and server hosts.

    5. Don't forget to make USB/IP tools. See $(top)/src/README.

The result of my cat /proc/version is:

Linux version 2.6.39-400.209.1.el6uek.x86_64 (mockbuild@ca-build44.us.oracle.com) (gcc version 4.4.6 20110731 (Red Hat 4.4.6-3) (GCC) )

What is this linux-staging code? It says I'll need it.

Another thing is that the MAKE call requires the KSOURCE location, but I've checked it and it's empty.

I should download and extract the 2.6.39 kernel source there, right?

Where should I put the generated .ko files as instructed by item 4?

share|improve this question
The .ko files are going to go in one of the subdirectories under here: ls /lib/modules/uname -r/kernel. – slm Nov 22 '13 at 12:52
How will I know what subdirectories should they go? I took a look and there are many, even under ../kernel/drivers/usb/ – GxFlint Nov 22 '13 at 12:59
There's usually a target in the make file, make install that will do this for you. – slm Nov 22 '13 at 13:06

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.