LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 08-22-2006, 08:09 AM   #1
sonicbhoc
Member
 
Registered: Aug 2006
Distribution: Gentoo
Posts: 61

Rep: Reputation: 15
I need help with keyboard buttons (compaqeak8)


I think I posted this in the wrong thread earlier...

I've been ripping my hair out trying to figure this crap out.

Someone help... I have a Compaq Easy Access Keyboard (8 key), running under PCLinuxOS.

I have xorg-x11 6.8.

uname -a prints:
2.6.16.27.tex1.lve #1 Mon Jul 31 15:59:12 WST 2006 i686 Pentium III (Coppermine) unknown GNU/Linux

in KDE, I set the keyboard option to my keyboard.

In xorg.conf, I have the proper keyboard layout (compaqeak8).

I can't get khotkeys working. I don't see it on the menu, and if I type it in, nothing happens. at all.

I did, however, set up lineakd (Linux Easy Access Keys Daemon) with the proper options. However, the keycodes are all over 127 in the defs file. I can fix that on my own after I map the keys though.

I have a setkeycodes issue... It won't let me map anything above 127. However, I don't know which keys are being used by the keyboard...

I do know that, after I sort this whole thing out, that I should put the setkeycodes in the rc.local file so that it runs automatically at startup. My problem is figuring out what to set the keycodes to.

I've been doing this forever and I can't get it. I have every other piece of hardware working nearly perfectly (DRI included). Once this is done, I can get this PC shipped out to my pastor. In other words, the sooner the better!
 
Old 08-22-2006, 09:52 AM   #2
oneandoneis2
Senior Member
 
Registered: Nov 2003
Location: London, England
Distribution: Ubuntu
Posts: 1,460

Rep: Reputation: 48
Have you got xev installed?
 
Old 08-23-2006, 05:45 AM   #3
sonicbhoc
Member
 
Registered: Aug 2006
Distribution: Gentoo
Posts: 61

Original Poster
Rep: Reputation: 15
xev doesn't even print out blanks. and in my dmesg the infamous "use setkeycodes" message spams almost the whole output.
 
Old 08-23-2006, 10:37 AM   #4
ciotog
Member
 
Registered: Mar 2004
Location: Canada
Distribution: Slackware current
Posts: 728
Blog Entries: 2

Rep: Reputation: 43
To use xev the event window has to have focus - are you sure this is the case?

Gentoo-wiki has one of the best HOWTOs for setting up multimedia keyboards I've seen:
http://gentoo-wiki.com/HOWTO_Use_Multimedia_Keys
 
Old 08-23-2006, 12:46 PM   #5
sonicbhoc
Member
 
Registered: Aug 2006
Distribution: Gentoo
Posts: 61

Original Poster
Rep: Reputation: 15
I know about that already, but every time I try to set keycodes based on the ones listed there (convert to decimal, add 128, which also puts the keys in exact alignment with the lineak defs file) I get the error that the number I added was "out of range" and it's really annoying <_<

I have everything set up perfectly except for the keycodes. All of the config files for lineak, xorg.conf and the programs themselves are set up, all I need to do is get the stupid setkeycodes thing fixed.
 
  


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
Help binding mouse buttons to keyboard buttons Eckstona Linux - Hardware 6 09-24-2006 07:28 AM
multimedia keyboard buttons on linux??? Sammael Linux - Hardware 5 06-26-2006 01:00 AM
HI, I have a problem with the multimedia buttons in my keyboard... SpOmA Linux - Hardware 10 09-21-2004 07:05 PM
Using extra keyboard buttons? Anjin Mandriva 2 05-24-2004 04:11 AM
gnome and additional buttons on keyboard Bogdan Linux - Software 3 05-27-2003 11:57 AM

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

All times are GMT -5. The time now is 12:34 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