From: Aivils S. <Aiv...@un...> - 2002-12-27 08:45:13
|
>> Hi Aivilis, >> i wanted to ask you some questions, altough i couldn't find time for >> testing. > >I think he probably heard you the first time. I've now had about 20 copies >of this - why? ruby 2.4.20 backport several versions is buggy. Svetljo has right. Now available http://startx.times.lv/bruby-2.4.20-20021226.diff.bz2 Status: "beta" , stable for me Very small testers count not ensure "stable" status for all. Input drivers: MAR-2002 (2.5.2 ruby CVS) USB-HID: 25-SEP-2002 (Johan Deneux patch-2.4.19-ff3) VT-handler: 1-NOV-2002 (synced with ruby CVS) /proc file system support added for VT-handler. user can change VT<->keyboard bundle via /proc/bus/console/XX Aivils Stoss |
From: Svetoslav S. <ga...@st...> - 2002-12-27 09:39:44
Attachments:
vc_screen.c_devfs.diff
|
Quoting Aivils Stoss <Aiv...@un...>: > > >> Hi Aivilis, > >> i wanted to ask you some questions, altough i couldn't find time > for > >> testing. > > > >I think he probably heard you the first time. I've now had about 20 > copies > >of this - why? once again sorry, for some reason sf.net is resending my first mail all the time :( > ruby 2.4.20 backport several versions is buggy. Svetljo has right. with the small diff(attached) bruby20021221 is quite stable for me, [root@svetljo src]# uptime 10:28:43 up 1 day, 11:31, 7 users, load average: 1.15, 1.18, 1.11 [root@svetljo src]# dvd & divx viewing, several kernel compilations, iozone , bonnie++ and that all while seti@home is running :) > Now available > http://startx.times.lv/bruby-2.4.20-20021226.diff.bz2 > > Status: "beta" , stable for me > Very small testers count not ensure "stable" status for all. > > Input drivers: MAR-2002 (2.5.2 ruby CVS) > USB-HID: 25-SEP-2002 (Johan Deneux patch-2.4.19-ff3) > VT-handler: 1-NOV-2002 (synced with ruby CVS) > > /proc file system support added for VT-handler. > user can change VT<->keyboard bundle via is it intended to be so, somehow my second console doesn't report it's keyboard, i mean /proc/bus/console/01/keyboard is empty [root@svetljo src]# cat /proc/bus/console/00/keyboard isa0060/serio0/input0 [root@svetljo src]# cat /proc/bus/console/01/keyboard [root@svetljo src]# ls -l /proc/bus/console/0* /proc/bus/console/00: total 0 -rw-r--r-- 1 root root 0 Dec 27 10:31 keyboard /proc/bus/console/01: total 0 -rw-r--r-- 1 root root 0 Dec 27 10:31 keyboard [root@svetljo src]# 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= D: Drivers=mouse1 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= D: Drivers=kbd event2 B: EV=120002 B: KEY=7f ffe7207a c14057ff ffbeffdf ffffffff ffffffff fffffffe B: LED=1f 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 |
From: Aivils S. <Aiv...@un...> - 2002-12-27 10:13:15
|
Hi, Svetljo >is it intended to be so, somehow my second console doesn't report it's keyboard, >i mean /proc/bus/console/01/keyboard is empty > >[root@svetljo src]# cat /proc/bus/console/00/keyboard >isa0060/serio0/input0 >[root@svetljo src]# cat /proc/bus/console/01/keyboard > > 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 >[root@svetljo src]# ls -l /proc/bus/console/0* >/proc/bus/console/00: >total 0 >-rw-r--r-- 1 root root 0 Dec 27 10:31 keyboard > >/proc/bus/console/01: >total 0 >-rw-r--r-- 1 root root 0 Dec 27 10:31 keyboard >[root@svetljo src]# 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= Here must exist string of physical description of device. >D: Drivers=mouse1 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= >D: Drivers=kbd event2 >B: EV=120002 >B: KEY=7f ffe7207a c14057ff ffbeffdf ffffffff ffffffff fffffffe >B: LED=1f Your vc_screen.c patch is indentical my. Aivils Stoss |
From: Svetoslav S. <ga...@st...> - 2002-12-27 10:42:37
|
Hi Aiviles, > >is it intended to be so, somehow my second console doesn't report > it's > keyboard, > >i mean /proc/bus/console/01/keyboard is empty > > > >[root@svetljo src]# cat /proc/bus/console/00/keyboard > >isa0060/serio0/input0 > >[root@svetljo src]# cat /proc/bus/console/01/keyboard > > > > > > 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 > >[root@svetljo src]# 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= > > Here must exist string of physical description of device. > > >D: Drivers=mouse1 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= > >D: Drivers=kbd event2 > >B: EV=120002 > >B: KEY=7f ffe7207a c14057ff ffbeffdf ffffffff ffffffff fffffffe > >B: LED=1f the hid module was not loaded, i was useing usbkbd and usbmouse i suppose [root@svetljo input]# cat devices 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=0003 Vendor=05fe Product=0011 Version=0000 N: Name="Cypress Sem. PS2/USB Browser Combo Mouse" P: Phys= D: Drivers=mouse1 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= D: Drivers=kbd event2 B: EV=120002 B: KEY=7f ffe7207a c14057ff ffbeffdf ffffffff ffffffff fffffffe B: LED=1f 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 [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 ? svetljo |
From: Aivils S. <Aiv...@un...> - 2002-12-27 11:08:11
|
>> >> 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. Remember, usbkbd is boot protocol driver. Aivils Stoss |
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 |
From: Aivils S. <Aiv...@un...> - 2002-12-28 07:56:25
|
>i still seem to have 2 instead of one usb keyboard, My "BTC Multimetdia USB" keyboard has two USB interfaces. "Microsoft natural" has two. First is normal keyboard. Second is for additional multimedia buttons. You can recieve multimedia button events from /dev/input/eventN or keycodes from /dev/ttyNN - /dev/ttyNN+8 range. Before allow DUMB console for this keyboard interface. Unfortunately I cannot suggest a program. >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) I am not sure about mouses. Reboot may change device order. Aivils Stoss |