OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> X Keys For Ce-rh1 Audio Remote, Anyone with a C7/8x0 want to help?
papercrane
post Jul 20 2005, 11:40 AM
Post #1





Group: Members
Posts: 65
Joined: 23-February 04
From: Santa Rosa
Member No.: 1,997



I've successfully gotten lineakd to compile and work on my C3K and I'd like it to work for the other clamshells as well. lineakd is basically a daemon which runs in X and listens for special keypresses. When a key is pressed it will run any command you want. I've gotten it to work very well on my C3K with my CE-RH2 audio remote controlling mpd via mpc. mpd is the music player daemon and mpc is a controller for it. (I've also added other mpd clients to OE but that's beside the point.)

I'm looking for a C7/8x0 owner with a CE-RH1 audio remote to get me the X keycodes for their remote. To do this easily you need another linux machine with X installed (remember that you can always use Knoppix on, say, a Windows computer to do this). Bring up your Zaurus and get into GPE. Run "xhost" on the command line with the IP of the other Linux computer with X (ex: xhost 192.168.0.45). Go to the other linux computer and open a terminal. Set DISPLAY to go to your zaurus (ex: export DISPLAY=192.168.0.42:0.0). Now start "xev". You should see a window pop up on your zaurus. Now press each of the keys on the remote and look for the "keycode XXX" entry in the output. Note the keycode and which key it is. Post the info back here or PM it to me and I'll add support for the CE-RH1 to lineakd. I'll even help you set it up if you like. smile.gif
Go to the top of the page
 
+Quote Post
dbowden
post Jan 18 2006, 10:41 AM
Post #2





Group: Members
Posts: 48
Joined: 23-May 05
From: Detroit, Mi
Member No.: 7,194



QUOTE(papercrane @ Jul 20 2005, 02:40 PM)
I've successfully gotten lineakd to compile and work on my C3K and I'd like it to work for the other clamshells as well. lineakd is basically a daemon which runs in X and listens for special keypresses. When a key is pressed it will run any command you want. I've gotten it to work very well on my C3K with my CE-RH2 audio remote controlling mpd via mpc. mpd is the music player daemon and mpc is a controller for it. (I've also added other mpd clients to OE but that's beside the point.)

I'm looking for a C7/8x0 owner with a CE-RH1 audio remote to get me the X keycodes for their remote. To do this easily you need another linux machine with X installed (remember that you can always use Knoppix on, say, a Windows computer to do this). Bring up your Zaurus and get into GPE. Run "xhost" on the command line with the IP of the other Linux computer with X (ex: xhost 192.168.0.45). Go to the other linux computer and open a terminal. Set DISPLAY to go to your zaurus (ex: export DISPLAY=192.168.0.42:0.0). Now start "xev". You should see a window pop up on your zaurus. Now press each of the keys on the remote and look for the "keycode XXX" entry in the output. Note the keycode and which key it is. Post the info back here or PM it to me and I'll add support for the CE-RH1 to lineakd. I'll even help you set it up if you like.  smile.gif
*

Hmmmm... I couldn't get the keycodes from xev within x/Qt. I just installed it today, though so maybe I'll figure it out later.

The keycodes from http://www.areanine.gr.jp/~nyano/cerh1pad.html seem to match with what I'm seeing in Keyhelper (under Cacko rom) though, so they're probably right.

Here's the list as best I can make it out:
Play/Pause = 201c
Stop = 201d
FW = 201e
RW = 201f
Vol + = 2020
Vol - = 2021

Hope this helps!

David
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 24th October 2014 - 10:14 PM