USB/IP 드라이버 컴파일 시 질문

USB/IP 드라이버 컴파일 시 질문

Windows 가상 머신(OVM에서 실행)에 USB 3G 모뎀을 설치해야 합니다. 모뎀이 Linux 호스트에 연결됩니다. (Windows에서는 더 쉬울까요?)

다음 README 파일의 내용을 이해할 수 없습니다.

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.

내 결과 cat /proc/version는 다음과 같습니다

Linux version 2.6.39-400.209.1.el6uek.x86_64 ([email protected]) (gcc version 4.4.6 20110731 (Red Hat 4.4.6-3) (GCC) )

이건 뭐죠 linux-staging code? 그것은 나에게 필요하다고 말합니다.

한 가지 더 중요한 점은 MAKE통화에 KSOURCE위치가 필요하지만 확인해 보니 비어 있다는 것입니다.

2.6.39거기에서 커널 소스를 다운로드하고 압축을 풀어야겠죠 ?

항목 4의 지시에 따라 생성된 .ko 파일을 어디에 넣어야 합니까?

관련 정보