From: Aivils S. <Aiv...@un...> - 2002-06-27 08:32:47
|
HI Svetljo >Hi i need help again :( >i probably went too far updating >Aivils Stoss's backstreet ruby from ruby's cvs >and now i think i need the keyboard interface in order to use keyboard, but i can >not compile keybdev : >depmod: *** Unresolved symbols in >/lib/modules/2.4.19-pre10aa2-jam2-backstreet2-2406kbd/kernel/drivers/input/keybdev.o >depmod: handle_scancode >depmod: keyboard_tasklet >depmod: kbd_ledfunc >make: *** [_modinst_post] Error 1 All linus-tree stuff is rewrited here. Keyboard interface put back in ruby CVS when ruby code ported into linux-dj. IMHO very hard get back keyboard interface. >so can smbd please help me to get keyboard working without keybdev or to get >keybdev working >i did booted the kernel, and i wasn't that surprised when i found out that i got no >repsonse from the keyboard >( the same was with the -dj tree ) >while cat /proc/bus/input/devices tells me >I: Bus=0003 Vendor=05fe Product=0011 Version=0000 >N: Name="Cypress Sem. PS2/USB Browser Combo Mouse" >P: Phys=usb1:1/input0 >D: Drivers=event2 mouse1 >B: EV=6 >B: KEY=1f0000 0 0 0 0 0 0 0 0 >B: REL=103 > >I: Bus=0011 Vendor=0002 Product=0002 Version=0100 >N: Name="PS2++ Logitech Mouse" >P: Phys=isa0060/serio1/input0 >D: Drivers=mouse0 event0 >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=event1 kbd >B: EV=120002 >B: KEY=41f9 fff9df20 efdfffdf ffefffff ffffffff fffffffe >B: LED=7 If You lost keyboard , You can play with kbd_connect() keyboard.c Any correctly detected keyboard call this to find free VT. --- drivers/char/keyboard.c.org Wed Apr 10 01:32:01 2002 +++ drivers/char/keyboard.c Thu Jun 27 11:12:01 2002 @@ -1089,16 +1089,19 @@ if(vt->next && !vt->next->keyboard ) { vt = vt->next; continue; } if (!vt->keyboard ) { vt->keyboard = handle; handle->private = vt; vt_map_input(vt); +/* Place here Your code like */ +/* printk("KBD_CONNECT: same keyboard mapped with %08x\n", vt); */ +/* vt has no name */ break; } vt = vt->next; } /* If we have more keyboards than VTs we still register the handler. * It is possible someone might add a graphics card thus needing the * keyboard later */ I try start Your kernel and get nasty old bug. tty_struct tty->termios are destroyed or uninitialized or filled with garbage. IMHO my backstreet-ruby has same bug, but that do not pop up. First I should find this, then do merging with CVS ruby. My knowlege is to few for fast work. Unfortunately I must finish one comercial project. Best regards Aivils |