From: James S. <jsi...@li...> - 2001-04-12 23:17:04
|
Has anyone tried evtest out. I tested out on a system with a PS/2 keyboard and a USB mouse at work. The PS/2 keyboard is working for the console as did the USB mouse with gpm. I wrote a program to access both devices but it didn't work. So I though to try out evtest. It also failed. Here is the info for my system: <6>uhci.c: USB UHCI at I/O 0xd000, IRQ 5 <6>uhci.c: detected 2 ports <6>usb.c: new USB bus registered, assigned bus number 2 <6>hub.c: USB hub found <6>hub.c: 2 ports detected <6>Initializing USB Mass Storage driver... <6>usb.c: registered new driver usb-storage <6>USB Mass Storage support registered. <6>serio0: i8042 KBD port at 0x60,0x64 irq 1 <6>serio1: i8042 AUX port at 0x60,0x64 irq 12 <6>Keyboard attaching to VT <6>keyboard.c: Adding keyboard: input0 <6>input0: AT Set 2 keyboard on serio0 <6>usb.c: registered new driver hid <6>mice: PS/2 mouse device common for all mice <6>event0: Event device for input0 <7>uhci.c: root-hub INT complete: port1: 58a port2: 5ab data: 6 <7>uhci.c: root-hub INT complete: port1: 58a port2: 49b data: 6 <7>uhci.c: root-hub INT complete: port1: 588 port2: 5a9 data: 6 <7>uhci.c: root-hub INT complete: port1: 58a port2: 49b data: 6 <4>Freeing unused kernel memory: 224k freed <7>uhci.c: root-hub INT complete: port1: 588 port2: 5a5 data: 2 <7>uhci.c: root-hub INT complete: port1: 58a port2: 49b data: 6 <6>hub.c: USB new device connect on bus1/2, assigned device number 2 <7>uhci.c: root-hub INT complete: port1: 588 port2: 5a5 data: 2 <6>event1: Event device for input1 <6>mouse0: PS/2 mouse device for input1 <6>input1: USB HID v1.00 Mouse [Microsoft Microsoft Wheel Mouse Optical=AE]= on usb1:2.0 <7>uhci.c: root-hub INT complete: port1: 58a port2: 49b data: 6 <6>hub.c: USB new device connect on bus2/2, assigned device number 2 <6>hub.c: USB hub found <6>hub.c: 4 ports detected <7>uhci.c: root-hub INT complete: port1: 588 port2: 5a5 data: 2 <6>Adding Swap: 132088k swap-space (priority -1) <7>uhci.c: root-hub INT complete: port1: 588 port2: 495 data: 2 <7>uhci.c: root-hub INT complete: port1: 588 port2: 5a5 data: 2 Results from evtest Input driver version is 16.144.0 Input device ID: bus 0x0 vendor 0x0 product 0x5 version 0x0 Input device name: "Unknown" Supported events: Testing ... (interrupt to exit) evtest: error reading: Inappropriate ioctl for device This result is for BOTH 2.4.3 and ruby. The second device was not even see by evtest for my ruby kernel. Any ideas? Please tell me your results. Thank you. |