novimusica / usbip-libusb-darwin

Darwin dependent code for USB/IP with libusb.
2 stars 0 forks source link

how to build #1

Open foxundermoon opened 7 years ago

foxundermoon commented 7 years ago

i am try to build usb/ip under macos 10.12.1. build success, but when i am run usbipd -d -D

usbip err: stub_server.c: 433 (do_standalone_mode) open usb.ids
usbip err: stub_driver.c:  33 (open_sysfs_stub_driver) usbip_common_mod.ko and usbip.ko must be loaded

** (process:36941): ERROR **: driver open failed
[1]    36940 trace trap  sudo usbipd -D -d

how can i load usbip_common_mod.ko and usbip.ko?

novimusica commented 7 years ago

Hi,

Have you done below?

cd drivers/usb/usbip/

insmod usb-core.ko

insmod usb-host.ko

2016年12月20日(火) 16:10 foxundermoon notifications@github.com:

i am try to build usb/ip under macos 10.12.1.

build success, but when i am run usbipd -d -D

usbip err: stub_server.c: 433 (do_standalone_mode) open usb.ids

usbip err: stub_driver.c: 33 (open_sysfs_stub_driver) usbip_common_mod.ko and usbip.ko must be loaded

(process:36941): ERROR : driver open failed

[1] 36940 trace trap sudo usbipd -D -d

how can i load usbip_common_mod.ko and usbip.ko?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/novimusica/usbip-libusb-darwin/issues/1, or mute the thread https://github.com/notifications/unsubscribe-auth/ASlAO6CfcVPQ3I6buhR-RP0hlU2BYwp8ks5rJ39cgaJpZM4LRiBn .

novimusica commented 7 years ago

If you are using with libusb, you can find tools/usb/usbip/libusb/src/usbipd_libusb 2016年12月20日(火) 17:33 nobuo iwata novimusica@gmail.com:

Hi,

Have you done below?

cd drivers/usb/usbip/

insmod usb-core.ko

insmod usb-host.ko

2016年12月20日(火) 16:10 foxundermoon notifications@github.com:

i am try to build usb/ip under macos 10.12.1.

build success, but when i am run usbipd -d -D

usbip err: stub_server.c: 433 (do_standalone_mode) open usb.ids

usbip err: stub_driver.c: 33 (open_sysfs_stub_driver) usbip_common_mod.ko and usbip.ko must be loaded

(process:36941): ERROR : driver open failed

[1] 36940 trace trap sudo usbipd -D -d

how can i load usbip_common_mod.ko and usbip.ko?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/novimusica/usbip-libusb-darwin/issues/1, or mute the thread https://github.com/notifications/unsubscribe-auth/ASlAO6CfcVPQ3I6buhR-RP0hlU2BYwp8ks5rJ39cgaJpZM4LRiBn .