From: Svetoslav S. <ga...@st...> - 2002-12-27 16:38:11
|
Quoting Aivils Stoss <Aiv...@un...>: > > >> > >> Seems some going wrong with USB-HID driver. > >> "cat /proc/bus/console/01/keyboard" equivalent P: Phys= in > >> /proc/bus/input/devices > >> also (struct input_dev *dev)->phys in code > > > >the hid module was not loaded, i was useing usbkbd and usbmouse i > suppose > > > > According Votech Pavlik's recommendations usbkbd and usbmouse should not > be > used at all ! > Please use instead USB-HID. Read this mailing list. > USB-HID recognize all Your input devices. > > >[root@svetljo input]# > > > >seems wierd to me, now it appears that i have 2 usb keyboards, > >but i have only one, may be this explains why i still have > >/proc/bus/console/01/keyboard empty , > >will the system hang if i unplug & plug the usb keyboard while the 2nd > X > server > >is running, can this help ? > > In abstract You can replug USB devices any times. > Practicaly You should try it. i just removed the modules usbkbd & usbmouse, (over ssh so i should check wether everything is OK , when i get home) but it's still strange to me [root@svetljo rc.d]# cat /proc/bus/input/devices I: Bus=0003 Vendor=05fe Product=0011 Version=0000 N: Name="Cypress Sem. PS2/USB Browser Combo Mouse" P: Phys=usb2:2.4/input0 D: Drivers=mouse2 event3 B: EV=6 B: KEY=1f0000 0 0 0 0 0 0 0 0 B: REL=103 I: Bus=0003 Vendor=046d Product=c303 Version=0700 N: Name="Logitech USB Keyboard" P: Phys=usb2:2.2.1/input0 D: Drivers=kbd event2 B: EV=120002 B: KEY=10000 7f ffe00000 7ff ffbeffdf ffffffff ffffffff fffffffe B: LED=7 I: Bus=0003 Vendor=046d Product=c303 Version=0700 N: Name="Logitech USB Keyboard" P: Phys=usb2:2.2.1/input1 D: Drivers=kbd event4 B: EV=100002 B: KEY=1078 1800d100 1e0000 0 0 0 I: Bus=0011 Vendor=0002 Product=0002 Version=0100 N: Name="PS2++ Logitech Mouse" P: Phys=isa0060/serio1/input0 D: Drivers=mouse0 event1 B: EV=6 B: KEY=70000 0 0 0 0 0 0 0 0 B: REL=3 I: Bus=0011 Vendor=0001 Product=0002 Version=ab02 N: Name="AT Set 2 keyboard" P: Phys=isa0060/serio0/input0 D: Drivers=kbd event0 B: EV=120002 B: KEY=41f9 fff9df20 efdfffdf ffefffff ffffffff fffffffe B: LED=7 i still seem to have 2 instead of one usb keyboard, and the usb mouse was registered as mouse2 not mouse1, (before remooving usbmouse it was mouse1, so i suppose now i don't have mouse under the second X) but /proc/bus/console/keyboard now shows the usb keyboard. by the way shouldn't they complain that the device is used, and the module can not be remooved( i mean usbkbd & usbmouse) > Remember, usbkbd is boot protocol driver. > i'll have it in mind :) svetljo |