Re: [Rhythmbox-devel] rhythmbox lirc plugin



Gary,

I don't remember how any of this works; I haven't done any real work
on the lirc plugin in years and I don't have any lirc hardware any
more. It's better to send questions like this to the rhythmbox-devel
mailing list.

On Mon, Feb 14, 2011 at 4:12 AM, Gary Johnson <gary johnson 53 gmail com> wrote:
> Can you shed some light on how the lirc rhythmbox is supposed to be
> configured?
>
> 1) I am interested in starting a How To for using LIRC with ubuntu.  I would
> like to do more of a this is what to do then forum entries.
>
> BTW, I can get rhythmbox to work in ubuntu 10.10 with LIRC with the
> play/pause and Mute  and vol up and vol down keys
>
> I am working on getting Next to work (Alt - R)
>
>
> The Short Story is I have written DLLS, but I am not a Linux guy.  I wrote
> my first shell script in 5 minutes, it took me a day to figure out you
> needed to put a . in front of it to get it to execute.
>
>
> 2) Here are a few ambiguous things
>
> A)
> one ubuntiu forum post said put a file called rhythmbox
> ~./lirc
> another said
> ~./lircrc
>
> B)
> Another said make the key mappings the same
>
> /home/ubugj/.lircrc/rhythmbox
>
> begin
>  prog = Rhythmbox
>  remote = *
>  button = Play
>  repeat = 1
>  config = play
> end
> ....
>
> But I don't see how it works
>
> /usr/share/lirc/remotes/imon/lircd.conf.imon-antec-veris
>
> #
> # this config file was hand-generated
> # using lirc-0.8.4a (imon) on Fri Nov  7 13:55:44 2008
> #
> # contributed by Jarod Wilson <jarod wilsonet com>
> #I wrote my first shell script in 5 minutes, it took me a day to figure out
> you needed to put a . in front of it to get it to execute.
> # brand:                       Antec Veris
> .....
> ...
>       begin codes
>           KEY_EXIT                 0x2881d5b700000201 # AppExit
>           KEY_POWER                0x289115b700000201 # Power
>           KEY_RECORD               0x298115b700000201 # Record
>           KEY_PLAY                 0x2a8115b700000201 # Play
>
> /etc/lirc/lircd.conf points to these 2 files
>
> include </usr/share/lirc/remotes/imon/lircd.conf.imon-antec-veris>
> include </etc/lirc/lircd.conf.gnome>
>
> c)  irw shows output from vol up, down, play, pause and arrow keys, but
> nothing for anything like
>        KEY_FASTFORWARD
>        KEY_NEXT
>
> root@ubugj-DellD600:/home/ubugj# irw
>
> ^[[B^[[B^[[B^[[A^[[A^[[A^[[A^[[D^[[D^[[D
>
>
> d) rhythmbox -d   output
> ....
>
> (11:19:33) [0x9e50e68] [playing_source_changed_cb] rb-mpris-plugin.c:971:
> emitting CanPause change
> (11:19:33) [0x9e50e68] [prev_action_sensitive_cb] rb-mpris-plugin.c:988:
> emitting CanGoPrevious change
> (11:19:33) [0x9e50e68] [next_action_sensitive_cb] rb-mpris-plugin.c:979:
> emitting CanGoNext change
>
> [window_focus_cb] rb-mmkeys-plugin.c:153: window got focus, re-grabbing
> media keys
> (11:19:33) [0x9e50e68] [bus_cb] rb-player-gst.c:541: playbin reached state
> READY
>
> (11:19:34) [0x9e50e68] [bus_cb] rb-player-gst.c:541: playbin reached state
> PAUSED
> (11:19:34) [0x9e50e68] [bus_cb] rb-player-gst.c:541: playbin reached state
> PLAYING
>
> ?  I am expecting to see something like KEY_PLAY
> ?  CanGoNext
>
>
>
> 3)
>
> # /etc/lirc/hardware.conf
> #
> #Chosen Remote Control
> REMOTE="None"
> REMOTE_MODULES=""
> REMOTE_DRIVER="devinput"
>
> what seems to work for me is
> REMOTE_DEVICE="/dev/input/event4"
>
> which was pulled from a post that saiddo a lsusb and find find the event for
> your device found by doing ls -l /dev/input/by-id/
>
> rwxrwxrwx 1 root root 9 2011-02-12 13:06 usb-15c2_0042-event-mouse ->
> ../event6
>
> REMOTE_DEVICE="/dev/lirc0" "/dev/input/event4"
> REMOTE_DEVICE="name=iMON\?Remote\?\(15c2:0042\)"
>
>
>
> --
> No act of kindness is ever wasted.
>
> Don't worry about people stealing your ideas. If your ideas are any good,
> you'll have to ram them down people's throats. -Howard Aiken
>
> So far as I can remember, there is not one word in the Gospels in praise of
> intelligence. -Bertrand Ruybe ssell
>
> It's not that I mind your dishonesty so much, it's that you think I'm stupid
> -Charlie Brown , It's the Great Pumpkin.
>
>
> http://GaryJohnsonInfo.Info
>
>
>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]