From: <Aiv...@un...> - 2003-03-26 13:33:40
|
>Is it possible to get two consoles running on 2.5.65+? no >I have this hardware: >AGP Radeon >PCI Rage128 >USB mouse >PS2 mouse >USB keyboard >PS2 keyboard > >If I can't get two consoles, how can I separate the >USB mouse/keyboard from controlling the boot console? You can manipulate with drivers/char/keyboard.c --- linux-2.5.66/drivers/char/keyboard.c 2003-03-24 22:00:19.000000000 +0000 +++ linux-2.5.66/drivers/char/keyboard.c.chg 2003-03-26 15:22:30.000000000 +0000 @@ -1166,7 +1166,7 @@ static struct input_handle *kbd_connect( if ((i == BTN_MISC) && !test_bit(EV_SND, dev->evbit)) return NULL; - + if(strcmp(dev->phys,"isa0060/serio1/input0")) return NULL; if (!(handle = kmalloc(sizeof(struct input_handle), GFP_KERNEL))) return NULL; memset(handle, 0, sizeof(struct input_handle)); I am not assured about this patch. This one should accept PS/2 keyboard and reject all others keyboards. read about Your keyborads in /proc/bus/input/devices . Aivils Stoss |