Matthias Saou wrote:
> Danny Haak wrote :
> 
>> The first is Lirc. Can anyone point me to some instructions on how to
>> set it up? I found a generator in the elisa directory, but that one
>> crashed after setting up a lot of buttons, and the destination file is
>> almost empty. I found out that the structure should be like:
>>
>> mceusb 000000037ff07bde KEY_GO_RIGHT
>> mceusb 000000037ff07bdf KEY_GO_UP
>> mceusb 000000037ff07be1 KEY_GO_LEFT
>> mceusb 000000037ff07be0 KEY_GO_DOWN
>>
>> But, where is the list which actions are available? Furthermore, these
>> buttons seem to work, but the repeat/delay settings is quite wrong. Is
>> there a way to set that?
> 
> I'd be very interested in getting lirc to work too. All applications
> I've used with lirc so far only require :
>  * A documented list of actions available
>    (see "xine --keymap=lirc" output for a good example)
>  * A documented name for the application, would be "elisa" here
> 
> And from there on just edits ~/.lircrc in order to associate remotes
> and buttons to the application's actions.
> 
> I haven't been able to find any lirc documentation for elisa 0.5, nor
> has any of my testing worked at all. It also seems that elisa wants to
> do things differently, although I'm not completely sure about that.


Lirc works "out of the box" for me - Fedora 9, gnome and Elisa 5.8.



I have a ~/.elisa-0.5/elisa_input_map with the following:

Streamzap_PC_Remote 00000000000028cc KEY_PAGE_UP
Streamzap_PC_Remote 00000000000028ce KEY_PAGE_DOWN
Streamzap_PC_Remote 00000000000028cb KEY_MUTE
Streamzap_PC_Remote 00000000000028de KEY_SEEK_FORWARD
Streamzap_PC_Remote 00000000000028d8 KEY_PAUSE
Streamzap_PC_Remote 00000000000028d1 KEY_GO_LEFT
Streamzap_PC_Remote 00000000000028da KEY_PREVIOUS
Streamzap_PC_Remote 00000000000028d2 KEY_OK
Streamzap_PC_Remote 00000000000028d5 KEY_MENU
Streamzap_PC_Remote 00000000000028d0 KEY_GO_UP
Streamzap_PC_Remote 00000000000028d3 KEY_GO_RIGHT
Streamzap_PC_Remote 00000000000028cd KEY_VOL_UP
Streamzap_PC_Remote 00000000000028d6 KEY_EXIT
Streamzap_PC_Remote 00000000000028cf KEY_VOL_DOWN
Streamzap_PC_Remote 00000000000028d9 KEY_STOP
Streamzap_PC_Remote 00000000000028dd KEY_SEEK_BACKWARD
Streamzap_PC_Remote 00000000000028e0 KEY_INC_PLAYBACK_SPEED
Streamzap_PC_Remote 00000000000028d7 KEY_PLAY
Streamzap_PC_Remote 00000000000028e1 KEY_DEC_PLAYBACK_SPEED
Streamzap_PC_Remote 00000000000028db KEY_NEXT
Streamzap_PC_Remote 00000000000028c5 KEY_5
Streamzap_PC_Remote 00000000000028c4 KEY_4
Streamzap_PC_Remote 00000000000028c7 KEY_7
Streamzap_PC_Remote 00000000000028c6 KEY_6
Streamzap_PC_Remote 00000000000028c1 KEY_1
Streamzap_PC_Remote 00000000000028c0 KEY_0
Streamzap_PC_Remote 00000000000028c3 KEY_3
Streamzap_PC_Remote 00000000000028c2 KEY_2
Streamzap_PC_Remote 00000000000028c9 KEY_9
Streamzap_PC_Remote 00000000000028c8 KEY_8
Streamzap_PC_Remote 00000000000028d4 KEY_GO_DOWN

And the following added to ~/.elisa-0.5/elisa.conf

[lirc.lirc_input:LircInput]
# filename of the LIRC config map to use
input_map = '/home/users/mp3/.elisa-0.5/lirc_input_map'
delay = '0'
repeat = '10'
device = '/dev/lircd'


Not sure if "delay" and "repeat" actually work, but my remote works fine
for me with these settings, so I have not changed them.

Have a look at http://arnaud.quette.free.fr/lirc/lirc-nns.html for a
list of the new, common key-names to use


Rgds.

Ola Thoresen





-- 
         _,--',   _._.--._____
  .--.--';_'-.', ";_      _.,-'   Ola Thoresen
 .'--'.  _.'    {`'-;_ .-.>.'
       '-:_      )  / `' '=.      It is easier to fix Unix
         ) >     {_/,     /~)     than to live with Windows
         |/               `^ .'

Reply via email to