도와주세요!!
Target(ARM Core MCU) 에서 libusb-1.0을 사용한 Application을 테스트 하는데,
libusb_init() 에서 -99 에러가 납니다. 디버깅 해보니
check_usb_vfs("/dev/bus/usb")에서 에러가 났더군요
즉, /dev 폴더밑에 usb 폴더가 없습니다.
어떻게 해야 하는지 도움을 요청드립니다.
참고로 Target의 환경은
Ubuntu 10.04, Kernel Versioin : 2.6.32-71-generic
libsub-1.0.8
[root@kk]# dmesg | grep USB
[ 2.900000] usbhid: USB HID core driver
[root@jibe-eek /dev]#
[root@kk]# ls -al /dev
total 0
drwxr-xr-x 6 root root 0 Jan 1 07:13 ./
drwxr-xr-x 18 root root 0 Jan 1 01:00 ../
drwxr-xr-x 5 root root 0 Jan 1 07:13 .udev/
crw------- 1 root tty 5, 1 Jan 1 07:13 console
crw-rw---- 1 root root 10, 63 Jan 1 07:13 cpu_dma_latency
crw-rw---- 1 root root 29, 0 Jan 1 07:13 fb0
crw-rw-rw- 1 root sys 1, 7 Jan 1 07:13 full
crw-rw---- 1 root root 10, 183 Jan 1 07:13 hw_random
crw-rw---- 1 root root 89, 0 Jan 1 07:13 i2c-0
drwxr-xr-x 2 root root 0 Jan 1 07:13 input/
crw-rw---- 1 root root 1, 11 Jan 1 07:13 kmsg
srw-rw-rw- 1 root root 0 Jan 1 07:13 log=
brw-rw---- 1 root disk 7, 0 Jan 1 07:13 loop0
brw-rw---- 1 root disk 7, 1 Jan 1 07:13 loop1
brw-rw---- 1 root disk 7, 2 Jan 1 07:13 loop2
brw-rw---- 1 root disk 7, 3 Jan 1 07:13 loop3
brw-rw---- 1 root disk 7, 4 Jan 1 07:13 loop4
brw-rw---- 1 root disk 7, 5 Jan 1 07:13 loop5
brw-rw---- 1 root disk 7, 6 Jan 1 07:13 loop6
brw-rw---- 1 root disk 7, 7 Jan 1 07:13 loop7
crw-r----- 1 root root 1, 1 Jan 1 07:13 mem
crw-rw---- 1 root root 10, 62 Jan 1 07:13 network_latency
crw-rw---- 1 root root 10, 61 Jan 1 07:13 network_throughput
crw-rw-rw- 1 root sys 1, 3 Jan 1 07:13 null
crw-rw-rw- 1 root tty 5, 2 Jan 1 07:13 ptmx
drwxr-xr-x 2 root root 0 Jan 1 01:00 pts/
crw-r--r-- 1 root root 1, 8 Jan 1 07:13 random
crw-rw---- 1 root root 254, 0 Jan 1 07:13 rtc0
drwxr-xr-x 2 root root 0 Jan 1 07:13 shm/
crw-rw-rw- 1 root tty 5, 0 Jan 1 07:13 tty
crw------- 1 root root 4, 64 Jan 1 07:43 ttyS0
crw-rw---- 1 root root 4, 65 Jan 1 07:13 ttyS1
crw-rw---- 1 root root 4, 66 Jan 1 07:13 ttyS2
crw-r--r-- 1 root root 1, 9 Jan 1 07:13 urandom
crw-rw---- 1 root root 10, 130 Jan 1 07:13 watchdog
crw-rw-rw- 1 root root 1, 5 Jan 1 07:13 zero