LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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 10-05-2002, 09:18 PM   #1
rsphaeroides
LQ Newbie
 
Registered: Oct 2002
Location: nyc
Distribution: Redhat 7.3
Posts: 2

Rep: Reputation: 0
usb keyboard install/comfigure


I've been searching high and low for a way to get my usb keyboard to work. The consensus seems to be to toss it out and use a PS2. So far I've just set it aside... I like the feel of it, and finding a solution to the problem seems like a better idea than contributing to the landfill.
I've installed Redhat 7.3 (using an old PS2 keyboard as suggested by the consensus), and the really frustrating thing is that the HP USB "internet" keyboard that I'm trying to use is actually one of the choices during the install, but it still doesn't work.
Any input would be appreciated.
Thanks,
Ray
 
Old 10-06-2002, 06:02 AM   #2
mrGee
Member
 
Registered: Dec 2001
Location: Netherlands
Distribution: redhat suse mandrake freebsd
Posts: 344

Rep: Reputation: 30
Hi
I don't use any usb but i came across some usb
issues in suse see these;
http://sdb.suse.de/en/sdb/html/usb80.html
http://sdb.suse.de/en/sdb/html/usb_prob73.html
and there ares some others in their supportdatabase
concering older kernels.
Maybe you can extract a solution for your redhat distro,
keep in mind that suse keeps config files etc. on other places
then redhat
Hope this leads to some sort of solution
regards
 
Old 10-06-2002, 06:13 AM   #3
NSKL
Senior Member
 
Registered: Jan 2002
Location: Rome, Italy ; Novi Sad, Srbija; Brisbane, Australia
Distribution: Ubuntu / ITOS2008
Posts: 1,207

Rep: Reputation: 46
I beleive you need to load usb-core, and usb hid modules (i dont know the exact names) but USB HID should handle your keyboard. Somehow find out the names of the modules for usb his and usb core / generic support (perhaps look in /etc/modules.conf) then use modprobe to load them as root, THEN plug in your USB keyboard, and check /var/log/syslog if it gives any signs of life.
If it does, cool, you need a way to make it a default keyboard, i have no idea how, i guess you should change some symlinks in /dev but i dunno which ones, i have never done this. If it doesn't work, look in syslog, and /var/log/messages if it gives any clues, maybe you should consider recompiling the kernel as well...
HTH
-NSKL
 
Old 10-06-2002, 11:48 AM   #4
rsphaeroides
LQ Newbie
 
Registered: Oct 2002
Location: nyc
Distribution: Redhat 7.3
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks,
I'm still working through these suggestions, but I had a couple of questions. NSKL, I found a listing in /etc/modules.conf for
alias usb-controller usb-uhci
is this the usb hid module you refer me to?
When booting I get messages

mounting USB filesystem succeeded
initializing USB HID interface (usb-uhci) suceeded
initializing usb keyboard succeeded
initializing usb mouse succeeded

that makes it appear that all is well.

Also I have been unable to locate anything like a usb core, any further guidance there?

The keyboard works in LILO but not in the login window, and the mouse (which is USB) works if I connect it directly to the hub in the back of the computer OR if I connect the keyboard and then connect the mouse to the keyboard. In other words, the USB hub seems to be communicating, and signals can travel through the keyboard (from the mouse) but the keys on the keyboard still don't do anything.
Thanks,
Ray
 
Old 10-06-2002, 12:22 PM   #5
NSKL
Senior Member
 
Registered: Jan 2002
Location: Rome, Italy ; Novi Sad, Srbija; Brisbane, Australia
Distribution: Ubuntu / ITOS2008
Posts: 1,207

Rep: Reputation: 46
Ok, forget about usb-core etc... since you said that at startup you are told:
mounting USB filesystem succeeded
initializing USB HID interface (usb-uhci) suceeded
initializing usb keyboard succeeded
initializing usb mouse succeeded
Which means all these steps are already done for you.
Now, thr problem seems to be that your keyboard is a file in /dev just for simplicity i will assume its /dev/usbkey (BUT its not, i dont know what it is, you will have to find this out somehow, perhaps look through /proc/usb) and the normal keyboard is /dev/key (and again its not, im only explaining it, you will need to find out what normal keyboard is, maybe some user will know to tell, but i dont) now what you have to do is symlink (ln -s) /dev/usbkey to /dev/key to make your system think that your usb keyboard is the normal keyboard.
Things you need to do:
1. Find out what /dev/file is your usb keyboard represented by
2. Find out what /dev/file are normal keyboards represented by
3. Symlink usb keyboard /dev file to normal keyboard /dev file

Now, i have never done something like this before, which means i might be totally wrong, but that is the only thing that came to my mind. It's kinda like a blindman leading a blindman, so i suggest wait to see if someone else can give you a better answer before following what i said.
Sorry i couldnt give you a clear answer... but i tried
-NSKL
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 during install xhx Slackware - Installation 6 05-05-2005 02:56 PM
SuSE 9.1 and USB Keyboard cannot Install claudius753 Linux - Newbie 4 12-21-2004 11:11 AM
Lost USB Keyboard during install sheepdogj15 Slackware - Installation 2 06-24-2004 01:21 AM
9.0 install / USB keyboard. generic_moron Slackware 15 09-08-2003 02:20 AM
USB keyboard fails at install urinater Linux - Hardware 5 12-20-2002 12:06 AM


All times are GMT -5. The time now is 02:00 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration