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 03-16-2004, 03:29 PM   #1
Narooze
LQ Newbie
 
Registered: Mar 2003
Location: Sweden
Distribution: Slackware
Posts: 21

Rep: Reputation: 15
Multimedia keys/mouse buttons


I've got to problems, the first being that I can't use the multimedia keys on my keyboard. I've got a Microsoft Natural Keyboard Pro which, other than the fact that it's made by MS, is quite good. Currently I've got XkbModel set to microsoft in XF86Config. What I'd like to do is to bind them to control xmms amongst other things and since I'm using Fluxbox I have to edit the keys file, but this is where the problem lies, binding keys isn't hard, I've done it lots of times, it's just that you have to know the key names. Using xev to find out the key name doesn't work, it only returns NoSymbol. Is there anyone who has done this, or anyone who's got any idea of what to do. I'm running Slack 9.1 if it matters btw.

My second problem is of a similar nature, I'd like to get the side buttons of my mouse to work in a useful fashion, namely as back and forward buttons in browsers, I've got a shitty A4Tech Optical GreatEye WheelMouse, but it does the job.

Any suggestions at all would be great.

// Narooze
 
Old 03-16-2004, 03:32 PM   #2
aaa
Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 46
Try LinEAK?

Post the mouse section of your /etc/X11/XF86Config
 
Old 03-16-2004, 03:51 PM   #3
Narooze
LQ Newbie
 
Registered: Mar 2003
Location: Sweden
Distribution: Slackware
Posts: 21

Original Poster
Rep: Reputation: 15
Thanks for your reply, I'll try LinEAK, and here's the mouse section of my XF86Config:

Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "ZAxisMapping" "4 5"
Option "ChordMiddle"
EndSection
 
Old 03-16-2004, 04:06 PM   #4
Narooze
LQ Newbie
 
Registered: Mar 2003
Location: Sweden
Distribution: Slackware
Posts: 21

Original Poster
Rep: Reputation: 15
I just tried compiling LinEAK, but it didn't work at all, it failed at the very first command of the make process:

bash-2.05b$ make
cd . && /bin/sh /home/narooze/stuff/temp/untarred/lineakd-0.8/admin/missing --run autoheader
Can't locate object method "path" via package "Autom4te::Request" at /usr/bin/autom4te line 81.
autoheader: /usr/bin/autom4te failed with exit status: 1
make: *** [config.h.in] Error 1
bash-2.05b$

Any clue?
 
Old 03-16-2004, 05:13 PM   #5
aaa
Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 46
See this:
http://www.linuxquestions.org/questi...hreadid=156527
And this:
http://jcatki.no-ip.org/imwheel/README
 
Old 03-17-2004, 04:45 AM   #6
Narooze
LQ Newbie
 
Registered: Mar 2003
Location: Sweden
Distribution: Slackware
Posts: 21

Original Poster
Rep: Reputation: 15
I'll try that too. I've found a solution to the keyboard problem though, echoing the following to xmodmap allowed me to bind the keys in an ordinary fashion:

Code:
keycode 234 = XF86Back
keycode 233 = XF86Forward
keycode 232 = XF86Stop
keycode 121 = XF86Refresh
keycode 229 = XF86Search
keycode 230 = XF86Favorites
keycode 130 = XF86HomePage

keycode 236 = XF86Mail

keycode 166 = XF86AudioMute
keycode 165 = XF86AudioLowerVolume
keycode 158 = XF86AudioRaiseVolume
keycode 159 = XF86AudioPlay
keycode 151 = XF86AudioStop
keycode 164 = XF86AudioPrev
keycode 162 = XF86AudioNext
keycode 129 = XF86AudioMedia

keycode 111 = XF86MyComputer

keycode 161 = XF86Calculator

keycode 227 = XF86Standby
I tried setting the xkbmodel to microsoftpro, which is meant to work with ms natural keyboard pro, though all of the keys didn't work. I also tried editing /etc/X11/xkb/symbols/inet, though that didn't work either, but now it works like a charm.

// Narooze
 
Old 04-19-2004, 09:46 PM   #7
SuSE_fan
LQ Newbie
 
Registered: Apr 2004
Location: Provo, Utah, USA
Distribution: SuSE 9.0 Professional
Posts: 19

Rep: Reputation: 0
Narooze,

I am having the same issue :
--
bash-2.05b$ make
cd . && /bin/sh /home/narooze/stuff/temp/untarred/lineakd-0.8/admin/missing --run autoheader
Can't locate object method "path" via package "Autom4te::Request" at /usr/bin/autom4te line 81.
autoheader: /usr/bin/autom4te failed with exit status: 1
make: *** [config.h.in] Error 1
bash-2.05b$
--

how did you fix it??
 
Old 04-20-2004, 01:01 AM   #8
Narooze
LQ Newbie
 
Registered: Mar 2003
Location: Sweden
Distribution: Slackware
Posts: 21

Original Poster
Rep: Reputation: 15
SuSE_fan,

I was never able to compile lineak, though I solved my problem. What I had to do was setting my xkbmodel to "microsoftpro" in XF86Config, though that obviously won't work if you don't actually have that keyboard. After I'd done that all the keys still wouldn't work, so I used xmodmap to set these right.

// Narooze
 
  


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
How to enable multimedia buttons? kornerr Linux - General 8 02-14-2006 03:18 AM
Multimedia keys killerbob Slackware 2 05-20-2005 09:21 PM
multimedia buttons v1pEr Linux - Laptop and Netbook 5 03-10-2005 11:24 AM
Program for keybinding of Multimedia buttons on keyboard alitrix Linux - Software 24 10-17-2004 07:23 PM
HI, I have a problem with the multimedia buttons in my keyboard... SpOmA Linux - Hardware 10 09-21-2004 07:05 PM


All times are GMT -5. The time now is 07:24 PM.

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