LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 04-28-2003, 05:39 PM   #1
kris
LQ Newbie
 
Registered: Oct 2002
Location: South Bend, Indiana
Distribution: Redhat
Posts: 29

Rep: Reputation: 15
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!
 
Old 04-28-2003, 06:36 PM   #2
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 72
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.
 
Old 04-29-2003, 01:32 PM   #3
kris
LQ Newbie
 
Registered: Oct 2002
Location: South Bend, Indiana
Distribution: Redhat
Posts: 29

Original Poster
Rep: Reputation: 15
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.
 
Old 04-29-2003, 02:14 PM   #4
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 72
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
 
Old 04-29-2003, 03:50 PM   #5
kris
LQ Newbie
 
Registered: Oct 2002
Location: South Bend, Indiana
Distribution: Redhat
Posts: 29

Original Poster
Rep: Reputation: 15
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.
 
Old 04-29-2003, 04:33 PM   #6
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 72
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
 
Old 04-30-2003, 03:49 PM   #7
kris
LQ Newbie
 
Registered: Oct 2002
Location: South Bend, Indiana
Distribution: Redhat
Posts: 29

Original Poster
Rep: Reputation: 15
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 -
 
Old 04-30-2003, 05:06 PM   #8
Thetargos
Senior Member
 
Registered: Mar 2003
Location: Mexico City
Distribution: Fedora, Ubuntu & Mint
Posts: 1,679

Rep: Reputation: 45
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.
 
Old 05-01-2003, 01:26 PM   #9
kris
LQ Newbie
 
Registered: Oct 2002
Location: South Bend, Indiana
Distribution: Redhat
Posts: 29

Original Poster
Rep: Reputation: 15
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.
 
Old 05-02-2003, 02:49 AM   #10
Thetargos
Senior Member
 
Registered: Mar 2003
Location: Mexico City
Distribution: Fedora, Ubuntu & Mint
Posts: 1,679

Rep: Reputation: 45
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.
 
Old 05-02-2003, 03:03 AM   #11
kris
LQ Newbie
 
Registered: Oct 2002
Location: South Bend, Indiana
Distribution: Redhat
Posts: 29

Original Poster
Rep: Reputation: 15
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 -
 
Old 05-02-2003, 04:01 AM   #12
Thetargos
Senior Member
 
Registered: Mar 2003
Location: Mexico City
Distribution: Fedora, Ubuntu & Mint
Posts: 1,679

Rep: Reputation: 45
Yes, sorry not to have given you the address, you can find it here:
The Linux Documentation Project
 
Old 05-02-2003, 05:44 PM   #13
kris
LQ Newbie
 
Registered: Oct 2002
Location: South Bend, Indiana
Distribution: Redhat
Posts: 29

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by Thetargos
Yes, sorry not to have given you the address, you can find it here:
The Linux Documentation Project

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.
 
Old 05-07-2003, 01:32 AM   #14
kris
LQ Newbie
 
Registered: Oct 2002
Location: South Bend, Indiana
Distribution: Redhat
Posts: 29

Original Poster
Rep: Reputation: 15
Damn, I guess no one here can help me with my Keyboard Problem!!!

Thanks anyway!!!
 
  


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 + redhat 9 kryptonate Linux - Hardware 0 11-26-2003 07:06 AM
Keyboard error atlesn Linux - Hardware 4 11-24-2003 04:04 PM
Keyboard Error Manuel-H Linux - General 0 05-02-2003 09:44 AM
keyboard shortcut for Redhat 8.0 korros Linux - Software 2 03-26-2003 12:22 PM
Keyboard Error kris Linux - Hardware 6 10-18-2002 03:43 PM

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

All times are GMT -5. The time now is 04:05 AM.

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