LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Can't setup USB keyboard now please help (https://www.linuxquestions.org/questions/linux-hardware-18/cant-setup-usb-keyboard-now-please-help-264438/)

Fear58 12-09-2004 08:50 AM

Can't setup USB keyboard now please help
 
It used to work just fine, until after I installed the Nvidia video driver for my Linux Mandrake 10.1 box. My USB keyboard is my main keyboard, the one on my desk. This PS/2 keyboard I'm using now is a backup, incase screw ups like this happen. I can't seem to find how to setup the keyboard in harddrake, can I do it from the command line somehow? Thanks

rjlee 12-09-2004 09:26 AM

USB keyboards are fairly easy to autodetect, so if harddrake can't find it then I suspect it's a problem with the keyboard.

This may sound like an obvious question, but have you tried unplugging and replugging the keyboard prior to running harddrake (preferably into a different USB port)? This will reinitialize the keyboard driver in case it's gotten itself into a mess. Also, you might try unplugging your PS/2 keyboard and driving harddrake with the mouse just in case it's only trying to look for one keyboard.

Fear58 12-09-2004 06:26 PM

tryed all what you said, I thought it was pretty common sense to do all that too, but still, nothing.

rjlee 12-10-2004 10:26 AM

Are there any messages in /var/log/messages about your keyboard? Does plugging it in cause any messages to be added (even if they seem irrelevant)?

Fear58 12-10-2004 06:47 PM

Can't see anything, but I can tell you this.

I noticed the USB keyboard stopped working as soon as I upgraded to the 2.6 kernel, everything worked fine in 2.4. I had to upgrade to 2.6 because for some reason, that's the only way the Nvidia driver would work for me in mandrake 10.1 The keyboard still does not function... any help?


Aren't there commands you could use to mount devides like keyboard? I remember the cmd started with something likt mnt/ I think

rjlee 12-11-2004 07:28 AM

You can't mount a character device (like a keyboard) onto the filesystem; you can only mount block devices like hard-disks and memory, or virtual filesystems.

Firstly, let's check if you have USB keyboard support in your kernel
Code:

zcat /proc/config.gz | grep USB | less
The lines you need to see are:
Quote:

CONFIG_USB=y
CONFIG_USB_HIDINPUT=y
If the first line ends in =m then you'll need to make sure that your usb module is loaded:
Code:

modprobe usbcore
You may also need a modprobe usbhid; I'm not sure off hand.

You can also check if your keyboard is listed in /proc/bus/usb/devices (look at the Manufacturer and Product lines). If that directory's empty then you can mount it with
Code:

mount usbfs /proc/bus/usb

LavaDevil94 12-11-2004 08:19 AM

Have you tried using the keyboard with a USB-PS/2 adaptor? They're very useful, and you won't have to take up a USB port just for the keyboard.

Fear58 12-11-2004 09:30 AM

Quote:

Originally posted by LavaDevil94
Have you tried using the keyboard with a USB-PS/2 adaptor? They're very useful, and you won't have to take up a USB port just for the keyboard.
Actually I have, I have a PS/2 adaptor on my mouse ( I know, Don't really need one on my mouse) but still no go

Fear58 12-11-2004 09:31 AM

Quote:

Originally posted by Fear58
Actually I have, I have a PS/2 adaptor on my mouse ( I know, Don't really need one on my mouse) and put it on my keyboard connection, still no go.


All times are GMT -5. The time now is 03:08 PM.