I have now the keypad device 'recognized' by the kernel 2.6.15 and the following devices:
Linux axis 2.6.15 #4 PREEMPT Tue Dec 26 22:26:20 BRST 2006 cris unknown cat /proc/devices Character devices: 1 mem 2 pty 3 ttyp 4 ttyS 4 ttyS 5 /dev/tty 5 /dev/console 5 /dev/ptmx 10 misc 13 input 90 mtd 108 ppp 120 etrax gpio 121 ds1302 123 i2c 128 ptm 136 pts 180 usb 188 ttyUSB 189 usb_device Message during boot: crisv10_irq dbg: ctr_status_irq, controller status: host_mode started crisv10_irq dbg: ctr_status_irq, controller status: host_mode started running usb 1-1: new low speed USB device using hc-crisv10 and address 2 input: USB Compliant Keypad as /class/input/input-1 input: USB HID v1.10 Keyboard [USB Compliant Keypad] on usb-hc- crisv10.0-1 This is after i unplug and plug again: crisv10_timer warning: Found enabled EP for epid 2, starting bulk channel. crisv10_timer warning: Found enabled EP for epid 2, starting bulk channel. crisv10_timer warning: Found enabled EP for epid 0, starting bulk channel. crisv10_timer warning: Found enabled EP for epid 0, starting bulk channel. crisv10_timer warning: Found enabled EP for epid 2, starting bulk channel. crisv10_timer warning: Found enabled EP for epid 0, starting bulk channel. usb 1-1: new low speed USB device using hc-crisv10 and address 4 input: USB Compliant Keypad as /class/input/input0 input: USB HID v1.10 Keyboard [USB Compliant Keypad] on usb-hc- crisv10.0-1 crisv10_timer warning: Found enabled EP for epid 2, starting bulk channel. Anyone knows how to get characters from the new device? What should be the exact device name to OPEN? I have tried to open the following device names without success: /class/input/input0 /dev/class/input/input0 /input input /dev/usb_device0 Any help would be apreciated........ thanks --- In [email protected], "xfingerfox32" <[EMAIL PROTECTED]> wrote: > > Hi John, > > I had to re-install SDK in order to get a working kernel again. > I tried to follow what Patrick Bury did for kernel 2.4 > (message #1959), kernel config only. > > Here we go: > > 1) Device is a Leadership mini keypad > 2) It works fine for Fedora 4 > 3) Here is what it says: > > T: Bus=03 Lev=01 Prnt=01 Port=02 Cnt=01 Dev#= 2 Spd=1.5 MxCh= 0 > D: Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 > P: Vendor=05a4 ProdID=9840 Rev= 1.10 > S: Product=USB Compliant Keypad > C:* #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr= 48mA > I: If#= 0 Alt= 0 #EPs= 1 Cls=03(HID ) Sub=01 Prot=01 Driver=usbhid > E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl=13ms > > 4) Here is what foxboard says (without setting HID) > drivers/usb/host/hc_crisv10.c: USB controller in host mode. > drivers/usb/host/hc_crisv10.c: USB controller in host mode. > drivers/usb/host/hc_crisv10.c: USB controller started. > drivers/usb/host/hc_crisv10.c: USB controller in host mode. > drivers/usb/host/hc_crisv10.c: USB controller started. > drivers/usb/host/hc_crisv10.c: USB controller running. > usb 1-1: new low speed USB device using ETRAX 100LX and address 103 > drivers/usb/host/hc_crisv10.c: Got epid attn for control endpoint, > epid 0 > drivers/usb/host/hc_crisv10.c: 3rd error for epid 0 > drivers/usb/host/hc_crisv10.c: Completing ctrl urb with status -71. > drivers/usb/host/hc_crisv10.c: Got epid attn for control endpoint, > epid 0 > drivers/usb/host/hc_crisv10.c: 3rd error for epid 0 > drivers/usb/host/hc_crisv10.c: Completing ctrl urb with status -71. > drivers/usb/host/hc_crisv10.c: Got epid attn for control endpoint, > epid 0 > drivers/usb/host/hc_crisv10.c: 3rd error for epid 0 > drivers/usb/host/hc_crisv10.c: Completing ctrl urb with status -71. > usb 1-1: device descriptor read/64, error -71 > drivers/usb/host/hc_crisv10.c: Got epid attn for control endpoint, > epid 0 > drivers/usb/host/hc_crisv10.c: 3rd error for epid 0 > drivers/usb/host/hc_crisv10.c: Completing ctrl urb with status -71. > drivers/usb/host/hc_crisv10.c: Got epid attn for control endpoint, > epid 0 > drivers/usb/host/hc_crisv10.c: 3rd error for epid 0 > drivers/usb/host/hc_crisv10.c: Completing ctrl urb with status -71. > drivers/usb/host/hc_crisv10.c: Got epid attn for control endpoint, > epid 0 > drivers/usb/host/hc_crisv10.c: 3rd error for epid 0 > drivers/usb/host/hc_crisv10.c: Completing ctrl urb with status -71. > usb 1-1: device descriptor read/64, error -71 > drivers/usb/host/hc_crisv10.c: USB controller in host mode. > drivers/usb/host/hc_crisv10.c: USB controller in host mode. > drivers/usb/host/hc_crisv10.c: USB controller started. > drivers/usb/host/hc_crisv10.c: USB controller in host mode. > drivers/usb/host/hc_crisv10.c: USB controller started. > drivers/usb/host/hc_crisv10.c: USB controller running. > hub 1-0:1.0: Cannot enable port 1. Maybe the USB cable is bad? > drivers/usb/host/hc_crisv10.c: USB controller in host mode. > drivers/usb/host/hc_crisv10.c: USB controller in host mode. > drivers/usb/host/hc_crisv10.c: USB controller started. > drivers/usb/host/hc_crisv10.c: USB controller in host mode. > drivers/usb/host/hc_crisv10.c: USB controller started. > drivers/usb/host/hc_crisv10.c: USB controller running. > hub 1-0:1.0: Cannot enable port 1. Maybe the USB cable is bad? > drivers/usb/host/hc_crisv10.c: USB controller in host mode. > drivers/usb/host/hc_crisv10.c: USB controller in host mode. > drivers/usb/host/hc_crisv10.c: USB controller started. > drivers/usb/host/hc_crisv10.c: USB controller in host mode. > drivers/usb/host/hc_crisv10.c: USB controller started. > drivers/usb/host/hc_crisv10.c: USB controller running. > hub 1-0:1.0: Cannot enable port 1. Maybe the USB cable is bad? > drivers/usb/host/hc_crisv10.c: USB controller in host mode. > drivers/usb/host/hc_crisv10.c: USB controller in host mode. > drivers/usb/host/hc_crisv10.c: USB controller started. > drivers/usb/host/hc_crisv10.c: USB controller in host mode. > drivers/usb/host/hc_crisv10.c: USB controller started. > drivers/usb/host/hc_crisv10.c: USB controller running. > usb 1-1: new low speed USB device using ETRAX 100LX and address 107 > drivers/usb/host/hc_crisv10.c: Got epid attn for control endpoint, > epid 0 > drivers/usb/host/hc_crisv10.c: 3rd error for epid 0 > drivers/usb/host/hc_crisv10.c: Completing ctrl urb with status -71. > drivers/usb/host/hc_crisv10.c: Got epid attn for control endpoint, > epid 0 > drivers/usb/host/hc_crisv10.c: 3rd error for epid 0 > drivers/usb/host/hc_crisv10.c: Completing ctrl urb with status -71. > drivers/usb/host/hc_crisv10.c: Got epid attn for control endpoint, > epid 0 > drivers/usb/host/hc_crisv10.c: 3rd error for epid 0 > drivers/usb/host/hc_crisv10.c: Completing ctrl urb with status -71. > usb 1-1: device descriptor read/64, error -71 > drivers/usb/host/hc_crisv10.c: Got epid attn for control endpoint, > epid 0 > drivers/usb/host/hc_crisv10.c: 3rd error for epid 0 > drivers/usb/host/hc_crisv10.c: Completing ctrl urb with status -71. > drivers/usb/host/hc_crisv10.c: Got epid attn for control endpoint, > epid 0 > drivers/usb/host/hc_crisv10.c: 3rd error for epid 0 > drivers/usb/host/hc_crisv10.c: Completing ctrl urb with status -71. > drivers/usb/host/hc_crisv10.c: Got epid attn for control endpoint, > epid 0 > drivers/usb/host/hc_crisv10.c: 3rd error for epid 0 > drivers/usb/host/hc_crisv10.c: Completing ctrl urb with status -71. > usb 1-1: device descriptor read/64, error -71 > drivers/usb/host/hc_crisv10.c: USB controller in host mode. > drivers/usb/host/hc_crisv10.c: USB controller in host mode. > drivers/usb/host/hc_crisv10.c: USB controller started. > drivers/usb/host/hc_crisv10.c: USB controller in host mode. > drivers/usb/host/hc_crisv10.c: USB controller started. > drivers/usb/host/hc_crisv10.c: USB controller running. > hub 1-0:1.0: Cannot enable port 1. Maybe the USB cable is bad? > drivers/usb/host/hc_crisv10.c: USB controller in host mode. > drivers/usb/host/hc_crisv10.c: USB controller in host mode. > drivers/usb/host/hc_crisv10.c: USB controller started. > drivers/usb/host/hc_crisv10.c: USB controller in host mode. > drivers/usb/host/hc_crisv10.c: USB controller started. > drivers/usb/host/hc_crisv10.c: USB controller running. > hub 1-0:1.0: Cannot enable port 1. Maybe the USB cable is bad? > drivers/usb/host/hc_crisv10.c: USB controller in host mode. > drivers/usb/host/hc_crisv10.c: USB controller in host mode. > drivers/usb/host/hc_crisv10.c: USB controller started. > drivers/usb/host/hc_crisv10.c: USB controller in host mode. > drivers/usb/host/hc_crisv10.c: USB controller started. > drivers/usb/host/hc_crisv10.c: USB controller running. > hub 1-0:1.0: Cannot enable port 1. Maybe the USB cable is bad? > drivers/usb/host/hc_crisv10.c: USB controller in host mode. > drivers/usb/host/hc_crisv10.c: USB controller in host mode. > drivers/usb/host/hc_crisv10.c: USB controller started. > drivers/usb/host/hc_crisv10.c: USB controller in host mode. > drivers/usb/host/hc_crisv10.c: USB controller started. > drivers/usb/host/hc_crisv10.c: USB controller running. > usb 1-1: new low speed USB device using ETRAX 100LX and address 111 > drivers/usb/host/hc_crisv10.c: Got epid attn for control endpoint, > epid 0 > drivers/usb/host/hc_crisv10.c: 3rd error for epid 0 > drivers/usb/host/hc_crisv10.c: Completing ctrl urb with status -71. > drivers/usb/host/hc_crisv10.c: Got epid attn for control endpoint, > epid 0 > drivers/usb/host/hc_crisv10.c: 3rd error for epid 0 > drivers/usb/host/hc_crisv10.c: Completing ctrl urb with status -71. > drivers/usb/host/hc_crisv10.c: Got epid attn for control endpoint, > epid 0 > drivers/usb/host/hc_crisv10.c: 3rd error for epid 0 > drivers/usb/host/hc_crisv10.c: Completing ctrl urb with status -71. > usb 1-1: device descriptor read/64, error -71 > drivers/usb/host/hc_crisv10.c: Got epid attn for control endpoint, > epid 0 > drivers/usb/host/hc_crisv10.c: 3rd error for epid 0 > drivers/usb/host/hc_crisv10.c: Completing ctrl urb with status -71. > drivers/usb/host/hc_crisv10.c: Got epid attn for control endpoint, > epid 0 > drivers/usb/host/hc_crisv10.c: 3rd error for epid 0 > drivers/usb/host/hc_crisv10.c: Completing ctrl urb with status -71. > drivers/usb/host/hc_crisv10.c: Got epid attn for control endpoint, > epid 0 > drivers/usb/host/hc_crisv10.c: 3rd error for epid 0 > drivers/usb/host/hc_crisv10.c: Completing ctrl urb with status -71. > usb 1-1: device descriptor read/64, error -71 > drivers/usb/host/hc_crisv10.c: USB controller in host mode. > drivers/usb/host/hc_crisv10.c: USB controller in host mode. > drivers/usb/host/hc_crisv10.c: USB controller started. > drivers/usb/host/hc_crisv10.c: USB controller in host mode. > drivers/usb/host/hc_crisv10.c: USB controller started. > drivers/usb/host/hc_crisv10.c: USB controller running. > [EMAIL PROTECTED] /root]drivers/usb/host/hc_crisv10.c: USB controller in > host mode. > drivers/usb/host/hc_crisv10.c: USB controller in host mode. > drivers/usb/host/hc_crisv10.c: USB controller started. > drivers/usb/host/hc_crisv10.c: USB controller in host mode. > drivers/usb/host/hc_crisv10.c: USB controller started. > drivers/usb/host/hc_crisv10.c: USB controller running. > usb 1-1: new low speed USB device using ETRAX 100LX and address 103 > drivers/usb/host/hc_crisv10.c: Got epid attn for control endpoint, > epid 0 > drivers/usb/host/hc_crisv10.c: 3rd error for epid 0 > drivers/usb/host/hc_crisv10.c: Completing ctrl urb with status -71. > drivers/usb/host/hc_crisv10.c: Got epid attn for control endpoint, > epid 0 > drivers/usb/host/hc_crisv10.c: 3rd error for epid 0 > drivers/usb/host/hc_crisv10.c: Completing ctrl urb with status -71. > drivers/usb/host/hc_crisv10.c: Got epid attn for control endpoint, > epid 0 > drivers/usb/host/hc_crisv10.c: 3rd error for epid 0 > drivers/usb/host/hc_crisv10.c: Completing ctrl urb with status -71. > usb 1-1: device descriptor read/64, error -71 > drivers/usb/host/hc_crisv10.c: Got epid attn for control endpoint, > epid 0 > drivers/usb/host/hc_crisv10.c: 3rd error for epid 0 > drivers/usb/host/hc_crisv10.c: Completing ctrl urb with status -71. > drivers/usb/host/hc_crisv10.c: Got epid attn for control endpoint, > epid 0 > drivers/usb/host/hc_crisv10.c: 3rd error for epid 0 > drivers/usb/host/hc_crisv10.c: Completing ctrl urb with status -71. > drivers/usb/host/hc_crisv10.c: Got epid attn for control endpoint, > epid 0 > drivers/usb/host/hc_crisv10.c: 3rd error for epid 0 > drivers/usb/host/hc_crisv10.c: Completing ctrl urb with status -71. > usb 1-1: device descriptor read/64, error -71 > drivers/usb/host/hc_crisv10.c: USB controller in host mode. > drivers/usb/host/hc_crisv10.c: USB controller in host mode. > drivers/usb/host/hc_crisv10.c: USB controller started. > drivers/usb/host/hc_crisv10.c: USB controller in host mode. > drivers/usb/host/hc_crisv10.c: USB controller started. > drivers/usb/host/hc_crisv10.c: USB controller running. > hub 1-0:1.0: Cannot enable port 1. Maybe the USB cable is bad? > drivers/usb/host/hc_crisv10.c: USB controller in host mode. > drivers/usb/host/hc_crisv10.c: USB controller in host mode. > drivers/usb/host/hc_crisv10.c: USB controller started. > drivers/usb/host/hc_crisv10.c: USB controller in host mode. > drivers/usb/host/hc_crisv10.c: USB controller started. > drivers/usb/host/hc_crisv10.c: USB controller running. > hub 1-0:1.0: Cannot enable port 1. Maybe the USB cable is bad? > drivers/usb/host/hc_crisv10.c: USB controller in host mode. > drivers/usb/host/hc_crisv10.c: USB controller in host mode. > drivers/usb/host/hc_crisv10.c: USB controller started. > drivers/usb/host/hc_crisv10.c: USB controller in host mode. > drivers/usb/host/hc_crisv10.c: USB controller started. > drivers/usb/host/hc_crisv10.c: USB controller running. > hub 1-0:1.0: Cannot enable port 1. Maybe the USB cable is bad? > drivers/usb/host/hc_crisv10.c: USB controller in host mode. > drivers/usb/host/hc_crisv10.c: USB controller in host mode. > drivers/usb/host/hc_crisv10.c: USB controller started. > drivers/usb/host/hc_crisv10.c: USB controller in host mode. > drivers/usb/host/hc_crisv10.c: USB controller started. > drivers/usb/host/hc_crisv10.c: USB controller running. > usb 1-1: new low speed USB device using ETRAX 100LX and address 107 > drivers/usb/host/hc_crisv10.c: Got epid attn for control endpoint, > epid 0 > drivers/usb/host/hc_crisv10.c: 3rd error for epid 0 > drivers/usb/host/hc_crisv10.c: Completing ctrl urb with status -71. > drivers/usb/host/hc_crisv10.c: Got epid attn for control endpoint, > epid 0 > drivers/usb/host/hc_crisv10.c: 3rd error for epid 0 > drivers/usb/host/hc_crisv10.c: Completing ctrl urb with status -71. > drivers/usb/host/hc_crisv10.c: Got epid attn for control endpoint, > epid 0 > drivers/usb/host/hc_crisv10.c: 3rd error for epid 0 > drivers/usb/host/hc_crisv10.c: Completing ctrl urb with status -71. > usb 1-1: device descriptor read/64, error -71 > drivers/usb/host/hc_crisv10.c: Got epid attn for control endpoint, > epid 0 > drivers/usb/host/hc_crisv10.c: 3rd error for epid 0 > drivers/usb/host/hc_crisv10.c: Completing ctrl urb with status -71. > drivers/usb/host/hc_crisv10.c: Got epid attn for control endpoint, > epid 0 > drivers/usb/host/hc_crisv10.c: 3rd error for epid 0 > drivers/usb/host/hc_crisv10.c: Completing ctrl urb with status -71. > drivers/usb/host/hc_crisv10.c: Got epid attn for control endpoint, > epid 0 > drivers/usb/host/hc_crisv10.c: 3rd error for epid 0 > drivers/usb/host/hc_crisv10.c: Completing ctrl urb with status -71. > usb 1-1: device descriptor read/64, error -71 > drivers/usb/host/hc_crisv10.c: USB controller in host mode. > drivers/usb/host/hc_crisv10.c: USB controller in host mode. > drivers/usb/host/hc_crisv10.c: USB controller started. > drivers/usb/host/hc_crisv10.c: USB controller in host mode. > drivers/usb/host/hc_crisv10.c: USB controller started. > drivers/usb/host/hc_crisv10.c: USB controller running. > hub 1-0:1.0: Cannot enable port 1. Maybe the USB cable is bad? > drivers/usb/host/hc_crisv10.c: USB controller in host mode. > drivers/usb/host/hc_crisv10.c: USB controller in host mode. > drivers/usb/host/hc_crisv10.c: USB controller started. > drivers/usb/host/hc_crisv10.c: USB controller in host mode. > drivers/usb/host/hc_crisv10.c: USB controller started. > drivers/usb/host/hc_crisv10.c: USB controller running. > hub 1-0:1.0: Cannot enable port 1. Maybe the USB cable is bad? > drivers/usb/host/hc_crisv10.c: USB controller in host mode. > drivers/usb/host/hc_crisv10.c: USB controller in host mode. > drivers/usb/host/hc_crisv10.c: USB controller started. > drivers/usb/host/hc_crisv10.c: USB controller in host mode. > drivers/usb/host/hc_crisv10.c: USB controller started. > drivers/usb/host/hc_crisv10.c: USB controller running. > hub 1-0:1.0: Cannot enable port 1. Maybe the USB cable is bad? > drivers/usb/host/hc_crisv10.c: USB controller in host mode. > drivers/usb/host/hc_crisv10.c: USB controller in host mode. > drivers/usb/host/hc_crisv10.c: USB controller started. > drivers/usb/host/hc_crisv10.c: USB controller in host mode. > drivers/usb/host/hc_crisv10.c: USB controller started. > drivers/usb/host/hc_crisv10.c: USB controller running. > usb 1-1: new low speed USB device using ETRAX 100LX and address 111 > drivers/usb/host/hc_crisv10.c: Got epid attn for control endpoint, > epid 0 > drivers/usb/host/hc_crisv10.c: 3rd error for epid 0 > drivers/usb/host/hc_crisv10.c: Completing ctrl urb with status -71. > drivers/usb/host/hc_crisv10.c: Got epid attn for control endpoint, > epid 0 > drivers/usb/host/hc_crisv10.c: 3rd error for epid 0 > drivers/usb/host/hc_crisv10.c: Completing ctrl urb with status -71. > drivers/usb/host/hc_crisv10.c: Got epid attn for control endpoint, > epid 0 > drivers/usb/host/hc_crisv10.c: 3rd error for epid 0 > drivers/usb/host/hc_crisv10.c: Completing ctrl urb with status -71. > usb 1-1: device descriptor read/64, error -71 > drivers/usb/host/hc_crisv10.c: Got epid attn for control endpoint, > epid 0 > drivers/usb/host/hc_crisv10.c: 3rd error for epid 0 > drivers/usb/host/hc_crisv10.c: Completing ctrl urb with status -71. > drivers/usb/host/hc_crisv10.c: Got epid attn for control endpoint, > epid 0 > drivers/usb/host/hc_crisv10.c: 3rd error for epid 0 > drivers/usb/host/hc_crisv10.c: Completing ctrl urb with status -71. > drivers/usb/host/hc_crisv10.c: Got epid attn for control endpoint, > epid 0 > drivers/usb/host/hc_crisv10.c: 3rd error for epid 0 > drivers/usb/host/hc_crisv10.c: Completing ctrl urb with status -71. > usb 1-1: device descriptor read/64, error -71 > drivers/usb/host/hc_crisv10.c: USB controller in host mode. > drivers/usb/host/hc_crisv10.c: USB controller in host mode. > drivers/usb/host/hc_crisv10.c: USB controller started. > drivers/usb/host/hc_crisv10.c: USB controller in host mode. > drivers/usb/host/hc_crisv10.c: USB controller started. > drivers/usb/host/hc_crisv10.c: USB controller running.106 > > 5) The light keeps blinking while fox tries to detecd the device > > As you are an expert, i will follow your instruction > > Thank you John if you could help me with some directions. > > Alexander > > --- In [email protected], john@ wrote: > > > > can you print theboot log up to the point where it dies and what > device > > is it exactly that you are trying to attach ? have you plugged it > into > > a normal linux box and run "cat /proc/bus/usb/devices" to see what > cdc > > it is ? > > > > On 15.12.2006 at , you wrote: > > > Hi all, > > > > > > Has someone configured the kernel 2.6 to recognize a USB Kwypad? > > > I have tried to set HID Interface, but the image hangs during the > > boot. > > > Any suggestion would be really apreciated. > > > > > > rgds > > > > > > Alexander > > > > > > > > > > > >
