June 8, 2001

Installing a USB mouse on an LTSP workstation
Matthew T. Jachimstal     matthew@uniqsys.com


I searched the archives for any mention of using a USB mouse on an LTS
workstation and didn't find anything, so I'll summarize what I
discovered today.

First, you'll need a kernel that supports USB, obviously. I used 2.2.18
for my setup.

I didn't have any of the USB modules in /tftpboot/lts/ltsroot/modules,
so I grabbed a copy of the kernel, dropped in the config file for the
rtl8139 and compiled the kernel. I grabbed the modules out of
/usr/src/linux/drivers/usb and dropped them into .../ltsroot/modules.
The 5 modules are: 
   usbcore.o
   uhci.o
   input.o
   mousedev.o
   usbmouse.o.

Edit .../ltsroot/etc/lts.conf, adding the following lines either as the
system default, or only to the workstations that need them:

    X_MOUSE_PROTOCOL  = "imps/2"
    X_MOUSE_DEVICE    = "/dev/input/mice"


Also in lts.conf, add the 5 modules to the MODULE_0x= lines, in the
order they are listed above. In .../ltsroot/dev, create a directory
input, and in .../dev/input create a symlink from .../dev/input/mice to
/tmp/mice. Edit the rc.local, adding the following:
   mknod /tmp/mice c 13 63
   chmod 666 /tmp/mice

Restart the workstation, and you should have USB mouse support! I don't
believe I've missed anything, but if you run into any troubles, give a
shout and I'll see if it jogs a memory. (I tried so many things today,
some of them are running together.)

Good luck,
Matthew


--
       Matthew T. Jachimstal        | Phone:  (419) 861-3331   .~.
         Software Engineer          | FAX:  (419) 861-3340     /V\
        Unique Systems, Inc.        | http://www.uniqsys.com  // \\
6920 Spring Valley Drive, Suite 106 | matthew@uniqsys.com    /(   )\
         Holland, OH 43528          |                         ^`~'^


