Multiple USB keyboards ?

William Park opengeometry-FFYn/CNdgSA at public.gmane.org
Fri Dec 5 00:06:10 UTC 2003


On Thu, Dec 04, 2003 at 05:08:40AM -0500, Tim Writer wrote:
> William Park <opengeometry-FFYn/CNdgSA at public.gmane.org> writes:
> 
> > I have multiple video cards (agp, pci) and multiple mouses (serial,
> > ps/2, usb) working independently.  That is, I can choose which
> > should be selected when bringing up X.  
> > 
> > But, multiple keyboards are all shared; so, you can press keys from
> > any keyboard.  How do you get them working independently?  
> 
> By having a separate XF86Config for each keyboard, mouse, and video
> card combination.  Each XF86Config would have its own InputDevice
> sections for its respective keyboard and mouse.  The trick is to know
> which device (in /dev) represents which keyboard or mouse.  This is
> obviouse if you have say one PS/2 keyboard, one USB keyboard, one PS/2
> mouse, and one USB mouse.  But it's tricky if you have multiple USB
> keyboards and mice since they will be assigned entries in /dev/input
> dynamically.  As long as you keep them permanently plugged in, you
> should be able to figure out what's what by trial and error.
> 
> Note, while I have used USB keyboards and mice, I haven't tried this
> type of setup so YMMV.

Found it! -- http://cambuca.ldhs.cetuc.puc-rio.br/multiuser/

I got this working on my Slackware-9.1, kernel-2.4.23, and
XFree86-4.3.0.  Key insights are
    - modprobe -r keybdev
    - modprobe evdev

-- 
William Park, Open Geometry Consulting, <opengeometry-FFYn/CNdgSA at public.gmane.org>
Linux solution for data management and processing. 
--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list