From: Svetoslav S. <ga...@st...> - 2002-06-27 09:02:15
|
Hi thanks for the fast reply > 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. > > > If You lost keyboard , You can play with kbd_connect() keyboard.c > Any correctly detected keyboard call this to find free VT. > i'll take a look , just upladed diff between your and my drivers/char/keyboard.c and smth else the patch you made about XFree (and this one as well) shouldn't it be smth like : --- linux.orig/drivers/char/keyboard.c Wed Apr 10 01:32:01 2002 +++ linux/drivers/char/keyboard.c Thu Jun 27 11:12:01 2002 and not : > --- drivers/char/keyboard.c.org Wed Apr 10 01:32:01 2002 > +++ drivers/char/keyboard.c Thu Jun 27 11:12:01 2002 what if it didn't find keyboard.c.orig > @@ -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. which one :) > 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 thanks once again for the fast reply svetljo |