LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 12-09-2004, 08:50 AM   #1
Fear58
Member
 
Registered: Feb 2004
Location: Reno, Nevada
Distribution: Mandrake 9.2
Posts: 221

Rep: Reputation: 30
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
 
Old 12-09-2004, 09:26 AM   #2
rjlee
Senior Member
 
Registered: Jul 2004
Distribution: Ubuntu 7.04
Posts: 1,994

Rep: Reputation: 76
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.
 
Old 12-09-2004, 06:26 PM   #3
Fear58
Member
 
Registered: Feb 2004
Location: Reno, Nevada
Distribution: Mandrake 9.2
Posts: 221

Original Poster
Rep: Reputation: 30
tryed all what you said, I thought it was pretty common sense to do all that too, but still, nothing.
 
Old 12-10-2004, 10:26 AM   #4
rjlee
Senior Member
 
Registered: Jul 2004
Distribution: Ubuntu 7.04
Posts: 1,994

Rep: Reputation: 76
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)?
 
Old 12-10-2004, 06:47 PM   #5
Fear58
Member
 
Registered: Feb 2004
Location: Reno, Nevada
Distribution: Mandrake 9.2
Posts: 221

Original Poster
Rep: Reputation: 30
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
 
Old 12-11-2004, 07:28 AM   #6
rjlee
Senior Member
 
Registered: Jul 2004
Distribution: Ubuntu 7.04
Posts: 1,994

Rep: Reputation: 76
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
 
Old 12-11-2004, 08:19 AM   #7
LavaDevil94
LQ Guru
 
Registered: Jul 2003
Distribution: Gentoo 2004.2: Who needs exmmpkg when you have emerge?
Posts: 1,795

Rep: Reputation: 47
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.
 
Old 12-11-2004, 09:30 AM   #8
Fear58
Member
 
Registered: Feb 2004
Location: Reno, Nevada
Distribution: Mandrake 9.2
Posts: 221

Original Poster
Rep: Reputation: 30
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
 
Old 12-11-2004, 09:31 AM   #9
Fear58
Member
 
Registered: Feb 2004
Location: Reno, Nevada
Distribution: Mandrake 9.2
Posts: 221

Original Poster
Rep: Reputation: 30
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
usb keyboard and soundcard conflict (sound set to keyboard?) netsurf Linux - Hardware 2 04-09-2005 07:08 AM
USB Keyboard Failing at USB Filesystem Mount Time ciaran_skye Fedora 0 08-06-2004 02:09 AM
USB Keyboard: I need to load USB at startup time. joeyjwc Linux - Newbie 6 06-25-2004 10:48 AM
No USB Mouse or USB Keyboard after Shutdown ooliquidice Linux - Hardware 3 10-09-2003 02:05 PM
USB cable modem kills usb keyboard sketi Linux - Hardware 1 02-22-2003 06:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 10:06 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration