LinuxQuestions.org
Visit Jeremy's Blog.
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 06-07-2004, 10:15 AM   #1
hotel-lima
Member
 
Registered: Sep 2003
Distribution: Debian (server), Ubuntu (workstation)
Posts: 39

Rep: Reputation: 15
Multimedia Keyboard Support


Hi,

I want to use the additional keys of my Cyboard multimedia keyboard from Cherry (Model RS 13000 Combo), mainly the volume and mute keys.
Is there a possibility to use this in Linux.

Any hints would be appreciated.

Thanks in advance,
hotel-lima
 
Old 06-07-2004, 10:32 PM   #2
alv6
LQ Newbie
 
Registered: Jun 2004
Distribution: Gentoo
Posts: 13

Rep: Reputation: 0
There is a very good chance.
First the keyboard may just send these as regular keys with nonstandard keycodes. In this case you will just need to map them to some actions through some program. GNOME and KDE will do
Other keyboard use special system called hotkeys defined in the Human interface device protocol. Microsoft keyboards follow that. And if the code is not defined it will send some other keycode as well.

So your keyboard should generate the keycodes if it follows one of these methods. The only danger is that the driver will map two keys to the same keycode.

You may still need to configure these keys (Microsft standard ones are mapped correctly to the MEDIA keys AFAIK) through tools like xmodmap.

But then again, I may give you wrong advice. I have read that section of the kernel, but I do not know if it is correct for ALL keyboards.
 
Old 06-13-2004, 12:28 PM   #3
Villain
LQ Newbie
 
Registered: Jan 2004
Location: Munich,Germany
Distribution: Slackware 10 - 2.6.7
Posts: 25

Rep: Reputation: 15
these are the steps you have to do (i think)

to determine the keycode use "xev"
edit your ~/.Xmodmap and use F13-F20 because your keyboard doesnt have these keys (i guess)
make sure your Xmodmap will be used
edit the shortcut keys of the programs
 
Old 06-13-2004, 02:01 PM   #4
hotel-lima
Member
 
Registered: Sep 2003
Distribution: Debian (server), Ubuntu (workstation)
Posts: 39

Original Poster
Rep: Reputation: 15
Hi,

thank you very much for this hint.
It works perfectly.
I wrote scripts which control amix and xmms (see "amix -h" and "xmms -h"). I start these scripts from KDE in background. I created a folder in the KDE startmenu in which I include links to the scirpts. These links are activated upon pressing a hotkey defined in ~/.Xmodmap.

EVERYTHING works with Linux, you've only to know how to do it! :-)

Thank you!

Greetings,
hotel-lima
 
  


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
No keyboard on FC3 or Ubuntu--MS Multimedia Keyboard (PS/2) TravisOSF Linux - Hardware 4 03-04-2008 05:21 PM
Multimedia keyboard tayyab Linux - Hardware 2 08-14-2005 03:54 PM
Multimedia Keyboard support for Fedora 2 gsrikanth Linux - Hardware 2 10-22-2004 12:05 PM
Multimedia keyboard. vexer Linux - Hardware 8 05-25-2003 03:15 AM
Multimedia keyboard Goog Linux - Newbie 2 03-18-2003 05:17 PM

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

All times are GMT -5. The time now is 11:45 PM.

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