Does your app use LIRC?
promac at gmail.com
Fri Aug 1 13:59:45 UTC 2008
On Fri, Aug 1, 2008 at 8:22 AM, Paulo Cavalcanti <promac at gmail.com> wrote:
> On Thu, Jul 31, 2008 at 9:48 AM, Paulo Cavalcanti <promac at gmail.com>wrote:
>> On Wed, Jul 30, 2008 at 3:11 PM, Bastien Nocera <bnocera at redhat.com>wrote:
>>> If your app uses liblirc_client, it would be nice if you could follow
>>> the instructions, and the two examples at:
>>> to make your application work out-of-the-box in Fedora 10.
>>> Elisa, Totem and Rhythmbox are already fixed.
>>> I'd have had a nice list using repoquery, but it just seems to hang
>>> there doing nothing (and then gives me useless answers, might just be
>>> Let me know if you have any questions about the setup.
>> I tried it on F8.
>> I had to upgrade
>> before installing
>> I also used lirc from CVS (the newest version I could get).
>> When I rebooted and run /usr/bin/gnome-lirc-properties, I got:
>> WARNING:root:/usr/share/doc/lirc-0.8.4/remotes/: Remote DVICO_MCE listed
>> twice in dvico/lircd.conf.fusionHDTV and dvico/lircd.conf.fusionHDTV.
>> WARNING:root:/usr/share/doc/lirc-0.8.4/remotes/: Remote PVR2000 listed
>> twice in leadtek/lircd.conf.PVR2000 and leadtek/lircd.conf.PVR2000.
>> WARNING:root:/usr/share/doc/lirc-0.8.4/remotes/: Remote BESTBUY listed
>> twice in bestbuy/lircd.conf.bestbuy2 and bestbuy/lircd.conf.bestbuy.
>> Traceback (most recent call last):
>> File "/usr/bin/gnome-lirc-properties", line 27, in <module>
>> gnome_lirc_properties.run(sys.argv[1:], datadir)
>> "/usr/lib/python2.5/site-packages/gnome_lirc_properties/__init__.py", line
>> 57, in run
>> return ui.RemoteControlProperties(gtk.glade.XML(ui_filename)).run()
>> line 55, in __init__
>> line 218, in __restore_hardware_settings
>> settings = lirc.HardwareConfParser(config.LIRC_HARDWARE_CONF)
>> File "/usr/lib/python2.5/site-packages/gnome_lirc_properties/lirc.py",
>> line 950, in __init__
>> key, value = tokens
>> ValueError: too many values to unpack
>> Any clue?
> The problem is that it is not able to parse my configuration file in
> LIRCD_OPTIONS="-H dev/input --device name='bttv IR (card=70)'"
> Note that this is a valid OPTION. It has been working with my remote for a
> long time ...
Upgrading to version 0.8.3 and using PolicyKit 0.9.2 from F10 made it work
However, it will take a long time until all remote codes out there are
to the standard lirc namespace, so the applications work out of the box.
Some keys do not even have a natural correspondence on my remote,
such as "snapshot", "scan", "loop", etc ... I would have to choose another
name for them
from the options in the namespace.
But the idea is interesting. I like standards.
Paulo Roma Cavalcanti
LCG - UFRJ
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the devel