임베디드 리눅스 커널 포팅 중 USB 드라이버때문에 문의드립니다.
망고보드의 imx6Quad 보드에서 리눅스 포팅 작업중에 있습니다.
USB 호스트로 동작하기 위해 menuconfig에서 usb 드라이버를 포함시켰습니다.
기존의 소스에서는 USB 2개짜리 허브에서 잘 동작하는 것을 확인하였습니다. 하지만 제가 USB 관련 드라이버를 제거 하였다가 다시 포함 시켰더니, USB 허브를 인식하지 못하는 것 같습니다.
아래는 인식이 잘 될 때 usb 관련 부팅 메시지입니다.
root@imx6qsabresd:~# dmesg | grep -i usb
[ 0.391711] usb_otg_vbus: 5000 mV
[ 0.392087] usb_h1_vbus: 5000 mV
[ 0.396555] usbcore: registered new interface driver usbfs
[ 0.396660] usbcore: registered new interface driver hub
[ 0.396839] usbcore: registered new device driver usb
[ 3.125292] usbcore: registered new interface driver asix
[ 3.129523] usbcore: registered new interface driver ax88179_178a
[ 3.134454] usbcore: registered new interface driver cdc_ether
[ 3.139088] usbcore: registered new interface driver net1080
[ 3.143576] usbcore: registered new interface driver cdc_subset
[ 3.148287] usbcore: registered new interface driver zaurus
[ 3.152726] usbcore: registered new interface driver cdc_ncm
[ 3.157107] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 3.166241] usbcore: registered new interface driver cdc_acm
[ 3.170654] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[ 3.177497] usbcore: registered new interface driver usb-storage
[ 3.182475] usbcore: registered new interface driver usbserial
[ 3.187098] usbcore: registered new interface driver option
[ 3.191483] usbserial: USB Serial support registered for GSM modem (1-port)
[ 3.215495] ci_hdrc ci_hdrc.1: new USB bus registered, assigned bus number 1
[ 3.240196] ci_hdrc ci_hdrc.1: USB 2.0 started, EHCI 1.00
[ 3.244473] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 3.249992] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 3.255971] usb usb1: Product: EHCI Host Controller
[ 3.259575] usb usb1: Manufacturer: Linux 3.10.53 ehci_hcd
[ 3.263811] usb usb1: SerialNumber: ci_hdrc.1
[ 3.267895] hub 1-0:1.0: USB hub found
[ 3.280501] usbcore: registered new interface driver xpad
[ 3.284712] usbcore: registered new interface driver usb_acecad
[ 3.289435] usbcore: registered new interface driver aiptek
[ 3.293856] usbcore: registered new interface driver gtco
[ 3.298059] usbcore: registered new interface driver hanwang
[ 3.302555] usbcore: registered new interface driver kbtab
[ 3.306880] usbcore: registered new interface driver wacom
[ 3.590203] usb 1-1: new high-speed USB device number 2 using ci_hdrc
[ 3.759273] usb 1-1: New USB device found, idVendor=05e3, idProduct=0608
[ 3.764745] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[ 3.770661] usb 1-1: Product: USB2.0 Hub
[ 3.806876] hub 1-1:1.0: USB hub found
[ 3.812415] usbcore: registered new interface driver uvcvideo
[ 3.812420] USB Video Class driver (1.1.1)
[ 3.868670] usbcore: registered new interface driver btusb
[ 4.897037] usbcore: registered new interface driver usbhid
[ 4.901376] usbhid: USB HID core driver
[ 4.924035] usbcore: registered new interface driver snd-usb-audio
[ 5.101309] usb_otg_vbus: disabling
[ 5.112265] android_usb gadget: Mass Storage Function, version: 2009/09/11
[ 5.117849] android_usb gadget: Number of LUNs=1
[ 5.124979] android_usb gadget: android_usb ready
하지만 제가 작업 중에 USB 관련 드라이버를 제거하였다가 다시 menuconfig로 포함시켰더니 아래와 같이 USB 허브를 인식하지 못하는 것 같습니다.
root@imx6qsabresd:/proc# dmesg | grep -i usb
[ 0.176764] usb_otg_vbus: 5000 mV
[ 0.177158] usb_h1_vbus: 5000 mV
[ 0.181563] usbcore: registered new interface driver usbfs
[ 0.181674] usbcore: registered new interface driver hub
[ 0.181859] usbcore: registered new device driver usb
[ 1.243214] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 1.252404] usbcore: registered new interface driver cdc_acm
[ 1.256820] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[ 1.263679] usbcore: registered new interface driver usb-storage
[ 1.268659] usbcore: registered new interface driver usbserial
[ 1.273348] usbcore: registered new interface driver option
[ 1.277736] usbserial: USB Serial support registered for GSM modem (1-port)
[ 2.269799] usbcore: registered new interface driver usbhid
[ 2.274145] usbhid: USB HID core driver
[ 2.471844] usb_h1_vbus: disabling
[ 2.473957] usb_otg_vbus: disabling
제가 무엇을 놓친 건지 알 수 있을까요?
답변 주시면 정말 감사하겠습니다.
댓글 달기