[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: No keyboard or mouse in X



On Fri, Jul 06, 2001 at 12:38:45PM -0700, Geoffrey Romer wrote:
> tatus: O
> Content-Length: 1943
> Lines: 42
> 
> I've been having some trouble setting up a friend with a Debian system.
> 
> First, I installed Debian 2.2 (stable) from CD, using the normal install
> methods. The mouse (a USB mouse) worked fine under X, using /dev/psaux (I 
> think). The keyboard (a PS/2 keybaord) worked at the console, but not under 
> X. On further investigation, we found that a USB keyboard would work under 
> both X and the console.
> 
> In an attempt to rectify this and other problems, I switched to deb-unstable,
> including an upgrade to XFree4 and kernel 2.4.5. After the upgrade was
> complete, we found that the keyboard worked at the console, but neither
> the keyboard nor the mouse worked under X. This was true of both the PS/2 and
> USB keyboards, the USB mouse, and the USB mouse, fitted with an adapter and
> plugged into the PS/2 port.
> 
> Investigating further I found the following odd behavior: running cat 
> /dev/psaux produces the message "keyboard: Timeout - AT keyboard not present?"
> Wiggling the mouse then produces garbage, as would be expected for a working
> mouse.
> 
> XF86Config is set up to listen to /dev/psaux, and yet X simply doesn't
> recognize keyboard or mouse input. I don't think it's a protocol problem, 
> because moving the mouse produces no response at all, rather than the garbled
> pointer behavior a bad protocol would suggest.
> 
> Ideally, we'd like the PS/2 keyboard and the USB mouse to work, but if anyone
> can suggest a way to get any combination of keyboard and mouse working, I'd
> be grateful.

	Hi Geoffrey,

	I hope you don't mind, but I am going to paste the contents of a
reply that I sent out just the other day on my version of how to get a
Microsoft USB Intellimouse Optical working. I also use a PS/2 keyboard
with the above mouse and have never had any problem with the keyboard
setup, until the other day I installed this version of X, 4.1.0-0pre1v3
and then I did not choose the proper number of keys for my keyboard. The
fist time I through the configuration/setup I chose 101 key keyboard. So
then when that didn't work I did...

dpkg-reconfigure -plow xserver-xfree86

and chose 104 key's and it was good. I hope the following helps you with
the mouse.


(pasted in portion)

        I'll try and help you out here. I use /dev/usbmouse, but
/dev/input/mice applies to the device file in the same way.
I'll get to it in a sec. First, you don't have all the modules you need
loaded. I put them in /etc/modules so that they load when I boot up.
You're missing 'hid', 'mousedev', and I don't have/use a module called
'usbmouse' myself just to let you know. My mouse is the same as the one
you have. So, you'll need to make sure you have those modules in your
kernel config. Here's my relevent modules listing for you...

lsmod

mousedev
hid
input
usb-uhci
usbcore


Then, (my example will be with /dev/usbmouse)once you've got the modules
thing straightened out, go into /dev and make the device file with the
correct major and minor numbers, 13 and 32 respectively. The 13 63
doesn't work for me.

cd /dev
rm -fv usbmouse
mknod usbmouse c 13 32

Now that the device file is made, as long as the modules are properly
loaded, you should be able to test it by catting it to stdout...

cat /dev/usbmouse

This will give you a bunch of strange characters as you move the mouse
around. Now you should be ready to start X.



        Good Luck, and again, I HTH!,


		Jim Richards


> -- 
> Geoffrey M. Romer
> gromer@hmc.edu
> ---
> "Never let your sense of morals prevent you from doing what is right"
>                                                           -Salvor Hardin
> "I can't leave you alone with this man! He might be a tenor!"
>                                                           -Fred Astaire
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
> with a subject of "unsubscribe". Trou

Attachment: binYpX_MGfNuj.bin
Description: PGP Key 0x0062D7A7.

Attachment: pgpJ10wgguNuX.pgp
Description: PGP signature


Reply to: