Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Write an article for LinuxForums Today! Win Great Prizes!
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > Your Distro > Redhat / Fedora Linux Help > Strange problem with keyboard

Forgot Password?
 Redhat / Fedora Linux Help   Help and discussion related to Redhat and Fedora Linux.

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds
Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 07-07-2005   #1 (permalink)
Just Joined!
 
Join Date: Jun 2005
Posts: 10
Strange problem with keyboard

Hello,

I have just installed the new kernel on my Fedora Core 4.
After I boot, it seems that the keyboard is not responding. The server (dual xeon) is running up fine and I can access it via a ssh.
The only problem is that the keyboard on boot seems dead (when the system goes at login stage, without X11).

To gain access to the server, i run a ssh from another pc on my net, I log into the system and I run kdm& to start x11, and after that the keyboard is working properly!

All has worked perfetcly until I have installed the latest Fedora Kernel smp via rpm.
Now If I boot from the previous kernel the problem still remains.

It seems that the keyboard dont resets at boot. (keyboard used: trust easy scroll silverline)

Anyone has one idea to solve this? It is very annoyng to start x11 from another pc!!

Thank you in advance!
inalto is offline  



Reply With Quote
Old 07-09-2005   #2 (permalink)
Just Joined!
 
Join Date: Apr 2005
Location: England
Posts: 33
keyboard at boot

hi,

does the mouse freeze as well?

-James.
jamesiniceland is offline   Reply With Quote
Old 07-09-2005   #3 (permalink)
Linux Engineer
 
psic's Avatar
 
Join Date: Nov 2004
Location: Ljubljana, Slovenia
Posts: 1,163
I'm not familiar with the model, is it USB? Kind of strange that the keyboard is not working in the CLI but works in the GUI. It sounds like something is starting in a later runlevel than it should...
psic is offline   Reply With Quote
Old 07-10-2005   #4 (permalink)
Just Joined!
 
Join Date: Jun 2005
Posts: 10
Hello,

No it is not an usb keyboard.
No the mouse don't freeze.
In dont have tried to change the keyboard for now, but i have made some tests.

If i want to unlock the keyboard i have to login from a remote shell and run the following command:

/usr/sbin/kbdrate
Code:
Typematic Rate set to 10,9 cps (delay = 250 ms)
with this command on the login screen appears this error:

Code:
atkbd.c: Unknown key pressed (translated set 2, code 0x8b on isa0060/serio0).
atkbd.c: Use 'setkeycodes e00b <keycode>' to make it known.
and I think here is the problem.

This is my keyboard:
http://trust.com/products/product.aspx?artnr=13157

maybe there is an "Unknown key that make my keyboard lookup on boot"

not a big problem because i can unlock the keyboard but is an annonyng problem that i have after I have upgraded to FC4.

now I try to solve the problem with the setkeycodes...

ps. this keyboard has an interesting "easy scroll" feature....
inalto is offline   Reply With Quote
Old 07-10-2005   #5 (permalink)
Just Joined!
 
Join Date: Jun 2005
Posts: 10
Hello,

I have solved the problem!

It was a keycodes problem due to the "easyscroll" feature of the keyboard.

My FC4 locked up the keyboard on boot because the kernel doesn't recognise some keycodes generated by the keyboard.

how I have solved the problem:

I have booted an login from a remote access.

i have unlocked the keyboard on the server with:
Code:
/usr/sbin/kbdrate
i get this error on the server:
Code:
atkbd.c: Unknown key pressed (translated set 2, code 0x8b on isa0060/serio0).
atkbd.c: Use 'setkeycodes e00b <keycode>' to make it known.
which means that some keycode is not recognised by the kernel.

with the command:
Code:
showkey
i have tried to find the key that generate the e00b keycode (was the easy scroll wheel) and then i find another e016 pressing the weel.

After I have mapped those keys with a "key up" an a "enter"
Code:
setkeycodes e00b 103
setkeycodes e016 28
I have rebooted and now all is working fine.
Now i change the keymaps to make it permanently.
It was the easy scroll feature that locked up all..
inalto is offline   Reply With Quote
Old 07-10-2005   #6 (permalink)
Linux Newbie
 
Join Date: Jul 2005
Location: classified
Posts: 246
Slick work! Guess the builders of this keyboard didn't think about Linux. How cool that you figured out how to fix it.
worker201 is offline   Reply With Quote
Old 07-10-2005   #7 (permalink)
Linux Engineer
 
psic's Avatar
 
Join Date: Nov 2004
Location: Ljubljana, Slovenia
Posts: 1,163
Great to hear you solved the problem! You should change the subject of your post to reflect this, maybe add a "solved" to the end of it.
psic is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 02:44 PM.






© 2000 - - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.1