Messages in this thread | | | Date | Sun, 27 Sep 1998 09:22:47 -0400 (EDT) | From | Vladimir Dergachev <> | Subject | Re: Dual keyboard (with thinkpad 560X) |
| |
Related to this: is it possible to use one of Ps/2 to serial adapters to connect a Ps/2 keyboard ? Will it get damaged ? (or not ?)
Vladimir Dergachev
PS Regarding heavy modifications: see GGI homepage: http://synergy.caltech.edu/~ggi/
On Sun, 27 Sep 1998, Pavel Machek wrote:
> Hi! > > It is possible to connect two keyoards to one computer. (I'll describe > concrete steps to do this with thinkpad 560X, altrough it should work > on any PS/2-mouse-capable computer). > > 0. Modify kernel to always detect psaux device > > --- clean//drivers/char/psaux.c Fri Sep 11 20:54:24 1998 > +++ linux/drivers/char/psaux.c Fri Sep 25 12:04:17 1998 > @@ -617,7 +617,7 @@ > psaux_fops.release = release_qp; > } else > #endif > - if (aux_device_present == 0xaa) { > + if (1 || (aux_device_present == 0xaa)) { > printk(KERN_INFO "PS/2 auxiliary pointing device detected -- driver installed.\n"); > aux_present = 1; > } else { > > 1. Thinkpad: Turn trackpoint off, reboot for change to take effect, > wait for linux to come up, CONNECT PS/2 KEYBOARD WHILE UP & RUNNING. > 2. killall gpm (in case it touches /dev/psaux) > 3. try attached software, leds on keyboard should blink and strange > scancodes should appear as you press keys on secondary > keyboard. (You'll need r/w privileges to /dev/psaux). > > Strange is that keycodes are _not_ normal PC scancodes (I pressed ESC > F1 F2 F3 F4 > > (76)(f0)(76)(5)(f0)(5)(6)(f0)(6)(4)(f0)(4)(c)(f0)(c) > > : release is prefixed with f0 etc. I would like to know what these > are... > > And now, what issues it brings up: It is possible to create 2-console > machine from normally available components: you take PC, keyboard, > ps/2 keyboard, VGA and MDA (or good-PCI-VGA + good-PCI-VGA), and you > are done. I think that it would be nice to support this - > unfortunately this needs heavy modifications to current input device > support... > > Pavel > -- > I'm really pavel@atrey.karlin.mff.cuni.cz. Pavel > Look at http://atrey.karlin.mff.cuni.cz/~pavel/ ;-).
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |