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

Re: Does your app use LIRC?





On Fri, Aug 1, 2008 at 8:22 AM, Paulo Cavalcanti <promac gmail com> wrote:


On Thu, Jul 31, 2008 at 9:48 AM, Paulo Cavalcanti <promac gmail com> wrote:


On Wed, Jul 30, 2008 at 3:11 PM, Bastien Nocera <bnocera redhat com> wrote:
If your app uses liblirc_client, it would be nice if you could follow
the instructions, and the two examples at:
https://fedoraproject.org/wiki/Features/BetterLIRCSupport#User_Experience

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
me...).

Let me know if you have any questions about the setup.



Hi,

I tried it on F8.
I had to upgrade

PolicyKit-0.8-2.fc8.x86_64.rpm
PolicyKit-devel-0.8-2.fc8.x86_64.rpm
PolicyKit-docs-0.8-2.fc8.x86_64.rpm
PolicyKit-gnome-0.8-4.fc8.x86_64.rpm
PolicyKit-gnome-demo-0.8-4.fc8.x86_64.rpm
PolicyKit-gnome-devel-0.8-4.fc8.x86_64.rpm
PolicyKit-gnome-libs-0.8-4.fc8.x86_64.rpm

before installing

gnome-lirc-properties-0.2.5-1.fc8.noarch.rpm

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)
  File "/usr/lib/python2.5/site-packages/gnome_lirc_properties/__init__.py", line 57, in run
    return ui.RemoteControlProperties(gtk.glade.XML(ui_filename)).run()
  File "/usr/lib/python2.5/site-packages/gnome_lirc_properties/ui/RemoteControlProperties.py", line 55, in __init__
    self.__restore_hardware_settings()
  File "/usr/lib/python2.5/site-packages/gnome_lirc_properties/ui/RemoteControlProperties.py", 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 /etc/sysconfig:

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 on F8.

However, it will take a long time until all remote codes out there are converted
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

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