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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
04-28-2003, 05:39 PM
|
#1
|
LQ Newbie
Registered: Oct 2002
Location: South Bend, Indiana
Distribution: Redhat
Posts: 29
Rep:
|
Keyboard Error Redhat 9.0 ???
Hi! I hope anyone outhere can help me with my Keyboard problem, when I installed Redhat 8.0 in my PC I have the same problem with my Keyboard... and I already ask for some help here and no one can answer or help me what to do with it ( I hope this time someone can help me ), so I waited for the next version "Redhat 9.0" but damn I was so disappointed when I still have the same Keyboard Problem!
I installed Redhat 9.0 perfectly but the only thing is that I can't log-in or use my Keyboard properly cause my Keyboard is so sensitive I.E.
Initializing ........ [ OK ]
Initializing ... etc.. [ OK ]
Initializing USB devices [ OK ]
Initizlizing Keyboard [ OK ]
Initializing Mouse [ OK ]
Initializing ... etc.. [ OK ]
Initializing ... [ OK ]
Then
Red Hat Linux 9.0 (2.4.20-8)
localhost....
login: <=-- after this I cant do anything, when I try to log-in and type Root it turns to Rrrrooooooootttt or try to log-in as a User it turns to Kkrrrrrrrriiissss or something like that, I hope you get the idea what Im trying to say here.
So please if you know how to fix this darn thing let me know so I can learn how to use Linux I'll appreciate it who ever helps me! Thanks in advance!!!
Note: My PC dont have a PS/2 slot or serial!
|
|
|
04-28-2003, 06:36 PM
|
#2
|
LQ Guru
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700
Rep:
|
kbdrate -r 5.0 -d 250
That'll set the rate to a max of 5 characters per second and the minimum time between keystrokes at 250 milliseconds. Check out the manpage when your done to tweak it down to exactly how you want it.
Cheers,
Finegan
P.S. just add that as a single line to /etc/rc.d/rc.local to get it to take effect every boot.
|
|
|
04-29-2003, 01:32 PM
|
#3
|
LQ Newbie
Registered: Oct 2002
Location: South Bend, Indiana
Distribution: Redhat
Posts: 29
Original Poster
Rep:
|
Quote:
Originally posted by finegan
kbdrate -r 5.0 -d 250
That'll set the rate to a max of 5 characters per second and the minimum time between keystrokes at 250 milliseconds. Check out the manpage when your done to tweak it down to exactly how you want it.
Cheers,
Finegan
P.S. just add that as a single line to /etc/rc.d/rc.local to get it to take effect every boot.
|
Finegan Thanks for your reply!
Can you please guide me how to do it...? cause i dont how can I edit and how to add that. Remeber I can't log-in as a Root or User so how can I edit that? Is this need to be done when its in booting process? Thanks for your time and hope you can guide me to this stuff.
|
|
|
04-29-2003, 02:14 PM
|
#4
|
LQ Guru
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700
Rep:
|
Oh wow, that's right, this thing is jumpy enough so as to not even allow for a login... If you've got this machine on a network you can use an ssh client like PuTTY to ssh into it, assuming you installed sshd on the machine... on redhat you'll have to ssh in as a user and then use the command su to become root.
Or... if the keyboard acted normal for install, you could try to use the install disk as a rescue disk and that'll at least get you to a command line. The best way to edit /etc/rc.d/rc.local is probably pico:
pico /etc/rc.d/rc.local
and just enter that line up there as it appears. Pico's commands are all at the bottom of the screen while your using it, its a pretty simple little editor. Post back if neither of those are options, I can show you how to get really creative.
Cheers,
Finegan
|
|
|
04-29-2003, 03:50 PM
|
#5
|
LQ Newbie
Registered: Oct 2002
Location: South Bend, Indiana
Distribution: Redhat
Posts: 29
Original Poster
Rep:
|
finegan
Hi! Im almost there, thanks to you I used the Rescue disk and it give me a command line as a Root, but when i try to edit "/etc/rc.d/rc.local" with pico it seems that theres no such file like that... or the file is empty "so if I add kbdrate -r 5.0 -d 250 in that file, the file has a single line only... is that right or am I editing the wrong file? Again, Thanks!!!
=================
I figured it out why Im getting "Error opening file" when i try to save it; cause there's no /rc.d/ sub-directory in /etc/ Are you sure you gave me the right Path ? Just wondering !! Thanks, hope you can still help me
Last edited by kris; 04-29-2003 at 04:15 PM.
|
|
|
04-29-2003, 04:33 PM
|
#6
|
LQ Guru
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700
Rep:
|
I'm pretty certain its still there, but the way RedHat monkeys with things its not surprising if they moved it...
locate rc.local
That'll show you where they put the bugger, its usually an empty init script, its the last one to run on boot, so its sort of a pre-built little script file for kludgey hacks like fixing a tempermental keyboard and the like.
Cheers,
Finegan
|
|
|
04-30-2003, 03:49 PM
|
#7
|
LQ Newbie
Registered: Oct 2002
Location: South Bend, Indiana
Distribution: Redhat
Posts: 29
Original Poster
Rep:
|
Finegan, Thanks for your reply!
I already find rc.local, I did the chroot /mnt/sysimage
so I can be in root environment, then I tried to edit the rc.local file with pico and joe but it says command error or something like that. The only editor I can use is vi why is that so? Can you please help me how can I edit it? cause I tried editing it in vi but its seems that I can't write to the file I dont know why... all I can do is to move the cursor up, down, left and right. Hope you can still help me, Thanks a lot!!!
- Kris -
|
|
|
04-30-2003, 05:06 PM
|
#8
|
Senior Member
Registered: Mar 2003
Location: Mexico City
Distribution: Fedora, Ubuntu & Mint
Posts: 1,679
Rep:
|
Kris
To edit with vi you have to know a few vi commands. Open your file like this.
#vi /etc/rc.d/rc.local
in order to EDIT in it you have to specify it to INSERT characters with the insert key. Once you've done that move in the document to where you want to edit and then insert the lines. Before you can save your file, you must EXIT insert mode with the escape key. to save your document and leave vi, you need to enter a colon character ( : ) followed by one of these letters (vi commands):
:w will write the document, but stay in the editor.
:q will quit the editor, if no changes are made.
:q! will quit the editor, even if chages are made the ! char is to override.
:x will write the document and exit the editor.
This is an exerpt of my rc.local file:
#!/bin/sh
#
# This script will be executed *after* all the other init scripts.
# You can put your own initialization stuff in here if you don't
# want to do the full Sys V style init stuff.
touch /var/lock/subsys/local
/sbin/hdparm -d1 /dev/hdc /dev/hdd <-- just in case you are interested, this line enables your CD devices to use DMA.
edit: As of Red Hat 9 there is no Pico anymore, just emacs or vi (which is the only I know how to use)
Last edited by Thetargos; 04-30-2003 at 05:13 PM.
|
|
|
05-01-2003, 01:26 PM
|
#9
|
LQ Newbie
Registered: Oct 2002
Location: South Bend, Indiana
Distribution: Redhat
Posts: 29
Original Poster
Rep:
|
Thetargos, Finegan Thanks for your help I appreciate it!!!
I already edited the /etc/rc.d/rc.local and add the line kbdrate -r 5.0 -d 250 to it ( by Thetargos help ) but its seems there's no effect on my keyboard, still my keyboard is so sensitive.... I wonder why???
I also tried different settings in kbdrate and nothing change with my keyboard it still so sensitive, when I type Root to log-in it turns to Rrroooooooottttt again! , Hope both of you guys can still help me. Thanks!!!
- Kris -
Last edited by kris; 05-01-2003 at 01:28 PM.
|
|
|
05-02-2003, 02:49 AM
|
#10
|
Senior Member
Registered: Mar 2003
Location: Mexico City
Distribution: Fedora, Ubuntu & Mint
Posts: 1,679
Rep:
|
Just a curious question here... is your keyboard USB? try with a USB-to-PS2 converter instead... I had the problem with my MS-Natural Keyboard attached to the USB port, solved it by removing it and just using the PS2 jack.
edit: I've read in the USB howto that you can actually change the speed of USB HID devices (most likely your problem), just don't remeber how to do that
Last edited by Thetargos; 05-02-2003 at 02:50 AM.
|
|
|
05-02-2003, 03:03 AM
|
#11
|
LQ Newbie
Registered: Oct 2002
Location: South Bend, Indiana
Distribution: Redhat
Posts: 29
Original Poster
Rep:
|
Quote:
Originally posted by Thetargos
Just a curious question here... is your keyboard USB? try with a USB-to-PS2 converter instead... I had the problem with my MS-Natural Keyboard attached to the USB port, solved it by removing it and just using the PS2 jack.
edit: I've read in the USB howto that you can actually change the speed of USB HID devices (most likely your problem), just don't remeber how to do that
|
Thetargos yes my Keyboard is a USB and I hate it I only wish my PC have a PS/2 slot or serial! Can you show me the link where you find those USB HID Devices stuff.... or can you just help me with this darn Keyboard.... please?? I'll appreciate it a lot!!! Thanks!!!
- Kris -
|
|
|
05-02-2003, 04:01 AM
|
#12
|
Senior Member
Registered: Mar 2003
Location: Mexico City
Distribution: Fedora, Ubuntu & Mint
Posts: 1,679
Rep:
|
Yes, sorry not to have given you the address, you can find it here:
The Linux Documentation Project
|
|
|
05-02-2003, 05:44 PM
|
#13
|
LQ Newbie
Registered: Oct 2002
Location: South Bend, Indiana
Distribution: Redhat
Posts: 29
Original Poster
Rep:
|
That's ok Thetargos and Thanks!!!!
I already search in The Linux Documentation Project , Google and Google Linux about my "Sensitive" USB Keyboard and I can't find some solution how to fix this problem, so please if anyone outhere [ Members , Moderators , Admin and even Linux Experts ] know how to fix this USB Keyboard Problem please help me and I'll appreciate it a lot .... Thanks!!! Hope you guys can guide me to this USB Keyboard stuff.
- Kris -
Last edited by kris; 05-02-2003 at 05:46 PM.
|
|
|
05-07-2003, 01:32 AM
|
#14
|
LQ Newbie
Registered: Oct 2002
Location: South Bend, Indiana
Distribution: Redhat
Posts: 29
Original Poster
Rep:
|
Damn, I guess no one here can help me with my Keyboard Problem!!!
Thanks anyway!!!
|
|
|
All times are GMT -5. The time now is 04:05 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|