On 09/01/07, Roy Souther <[EMAIL PROTECTED]> wrote:
I have a few terminals where the users have fancy wireless keyboards and
mice that connect using only one USB port. I cannot find any information
about how to make a USB keyboard & mouse work. I do know about the
lts.confoption X_MOUSE_DEVICE = "/dev/input/mice" and this works for
PS/2 KB's and
USB mice but what can I do when they are both on one USB. The terminal is
the Norhtec and the USB keyboard is enabled in BIOS and works fine right
from power up until X starts. As soon as X starts the keyboard is dead and
moving the mouse around only moves the mouse pointer up and down in the
center of the screen.

I had posted this on the list a few days back. What is happening is that the
device needs to get recognised as hiddev rather than usbmouse. If the module
for usbmouse gets loaded first then this mouse only will vertically up and
down. Once in a while the things work because the hiddev module gets loaded
before usbmouse.

What you need to do.
1. There is no special line needed as the mouse will be automatically
recognised.
2. You need to edit the file /opt/ltsp/i386/etc/rc.sysinit and add a section
for recognising the HIDDEV before the probe for usbmouse. To do this change
the following section:

echo "Checking for USB keyboard and mouse..."
for MODULE in input usbmouse usbkbd; do
 modprobe ${MODULE} >/dev/null 2>&1
done

Change this to:

echo "Loading for USBHID..."
for MODULE in input usbhid hiddev; do
 modprobe ${MODULE} >/dev/null 2>&1
done
wait 1
echo "Checking for USB keyboard and mouse..."
for MODULE in input usbmouse usbkbd; do
 modprobe ${MODULE} >/dev/null 2>&1
done

This ensures that usbhid and hiddev modules get loaded first and then all
things work. HTH

--
Wishing you very best for the New Year 2007
Regards,
Sudev Barar
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_____________________________________________________________________
Ltsp-discuss mailing list.   To un-subscribe, or change prefs, goto:
      https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help,   try #ltsp channel on irc.freenode.net

Reply via email to