Hello everyone, I removed udev from my linux to make my board boot faster. And I have some issue with my USB Keyboard. First when I just update Nand and I boot I have this error message : usb 1-2: device not accepting address 2, error -71 But the keyboard work fine. I can use the command evtest /dev/input/event2 and it is fine. But if I boot with my keyboard plug on the board or if I use the command : echo mem > /sys/power/state I have the error : hub 1-0:1.0: unable to enumerate USB device on port 2 And I can't find my keyboard in /sys/bus/usb or /proc/bus/usb And if I use evtest I have evtest: No such device Someone have any idea how to fix the problem. I really need to not use udev because on my board I just plug a SD card and this keyboard. Thanks for reading me
Problem USB Keyboard without udev
For help there is my dmesg when I boot with the keyboard plugged : ehci-omap ehci-omap.0: starting TI EHCI USB Controller ehci-omap ehci-omap.0: TLL RESET DONE ehci-omap ehci-omap.0: OMAP3 ES version > ES2.1 ehci-omap ehci-omap.0: UHH setup done, uhh_hostconfig=21c ehci-omap ehci-omap.0: OMAP-EHCI Host Controller drivers/usb/core/inode.c: creating file 'devices' drivers/usb/core/inode.c: creating file '001' ehci-omap ehci-omap.0: new USB bus registered, assigned bus number 1 ehci-omap ehci-omap.0: park 0 ehci-omap ehci-omap.0: irq 77, io mem 0x48064800 ehci-omap ehci-omap.0: reset command 090b02 park=3 ithresh=9 period=1024 Reset H ALT ehci-omap ehci-omap.0: init command 010009 (park)=0 ithresh=1 period=256 RUN ehci-omap ehci-omap.0: USB 2.0 started, EHCI 1.00 usb usb1: default language 0x0409 usb usb1: udev 1, busnum 1, minor = 0 usb usb1: New USB device found, idVendor=1d6b, idProduct=0002 usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 usb usb1: Product: OMAP-EHCI Host Controller usb usb1: Manufacturer: Linux 2.6.32 ehci_hcd usb usb1: SerialNumber: ehci-omap.0 usb usb1: uevent usb usb1: usb_probe_device usb usb1: configuration #1 chosen from 1 choice usb usb1: adding 1-0:1.0 (config #1, interface 0) usb 1-0:1.0: uevent hub 1-0:1.0: usb_probe_interface hub 1-0:1.0: usb_probe_interface - got id hub 1-0:1.0: USB hub found hub 1-0:1.0: 3 ports detected hub 1-0:1.0: standalone hub hub 1-0:1.0: individual port power switching hub 1-0:1.0: individual port over-current protection hub 1-0:1.0: power on to power good time: 20ms hub 1-0:1.0: local power source is good hub 1-0:1.0: enabling power on all ports drivers/usb/core/inode.c: creating file '001' ehci-omap ehci-omap.0: ...powerup ports... ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver ohci_hcd: block sizes: ed 64 td 64 udc: OMAP UDC driver, version: 4 October 2004 (iso) (dma) input: gpio-keys as /devices/platform/gpio-keys/input/input0 input: TWL4030 Keypad as /devices/platform/i2c_omap.1/i2c-1/1-004a/twl4030_keypa d/input/input1 using rtc device, twl_rtc, for alarms twl_rtc twl_rtc: rtc core: registered twl_rtc as rtc0 i2c /dev entries driver ehci-omap ehci-omap.0: GetStatus port 2 status 001803 POWER sig=j CSC CONNECT hub 1-0:1.0: port 2: status 0501 change 0001 Registered led device: sys_led Registered led device: user_led usbcore: registered new interface driver hiddev usbcore: registered new interface driver usbhid usbhid: USB HID core driver Advanced Linux Sound Architecture Driver Version 1.0.21. hub 1-0:1.0: state 7 ports 3 chg 0004 evt 0000 hub 1-0:1.0: port 2, status 0501, change 0000, 480 Mb/s ... ehci-omap ehci-omap.0: port 2 high speed ehci-omap ehci-omap.0: GetStatus port 2 status 001005 POWER sig=se0 PE CONNECT ... ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 1 ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 2 ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 3 ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 4 ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 5 ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 6 ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 7 ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 8 ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 9 ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 10 ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 11 ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 12 ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 13 ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 14 ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 15 ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 16 ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 17 ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 18 ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 19 ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 20 ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 21 ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 22 ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 23 ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 24 ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 25 ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 26 ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 27 ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 28 ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 29 ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 30 ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 31 ehci-omap ehci-omap.0: devpath 2 ep0in 3strikes ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 1 ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 2 ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 3 ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 4 ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 5 ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 6 ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 7 ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 8 ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 9 ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 10 ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 11 ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 12 ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 13 ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 14 ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 15 ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 16 ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 17 ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 18 ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 19 ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 20 ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 21 ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 22 ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 23 ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 24 ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 25 ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 26 ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 27 ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 28 ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 29 ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 30 ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 31 ehci-omap ehci-omap.0: devpath 2 ep0in 3strikes ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 1 ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 2 ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 3 ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 4 ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 5 ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 6 ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 7 ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 8 ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 9 ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 10 ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 11 ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 12 ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 13 ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 14 ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 15 ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 16 ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 17 ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 18 ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 19 ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 20 ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 21 ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 22 ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 23 ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 24 ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 25 ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 26 ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 27 ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 28 ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 29 ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 30 ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 31 ehci-omap ehci-omap.0: devpath 2 ep0in 3strikes UBIFS: recovery completed UBIFS: mounted UBI device 0, volume 0, name "rootfs" UBIFS: file system size: 256112640 bytes (250110 KiB, 244 MiB, 1985 LEBs) UBIFS: journal size: 9033728 bytes (8822 KiB, 8 MiB, 71 LEBs) UBIFS: media format: w4/r0 (latest is w4/r0) UBIFS: default compressor: lzo UBIFS: reserved for root: 0 bytes (0 KiB) VFS: Mounted root (ubifs filesystem) on device 0:12. Freeing init memory: 108K mmc0: host does not support reading read-only switch. assuming write-enable. mmc0: new high speed SD card at address 0002 mmcblk0: mmc0:0002 00000 1.86 GiB mmcblk0: p1 ehci-omap ehci-omap.0: port 2 high speed ehci-omap ehci-omap.0: GetStatus port 2 status 001007 POWER sig=se0 PE CSC CONNE CT hub 1-0:1.0: unable to enumerate USB device on port 2 hub 1-0:1.0: state 7 ports 3 chg 0000 evt 0004 ehci-omap ehci-omap.0: GetStatus port 2 status 003002 POWER OWNER sig=se0 CSC hub 1-0:1.0: port 2, status 0100, change 0001, 12 Mb/s hub 1-0:1.0: debounce: port 2: total 100ms stable 100ms status 0x100
Update : I re implement udev but even with udev the USB Keyboard is not working. Someone have an idea?
I am using OMAP3. My CPU is ARMv7 The board is a SBC8530 you can found on this website : http://www.armkits.com/Product/sbc8530.asp