[mythtv-users] FC8 --> F12 Upgrade: MythTV doesn't work with LIRC anymore

Jarod Wilson jarod at wilsonet.com
Thu Nov 19 20:44:52 UTC 2009


On Nov 19, 2009, at 3:05 PM, Andrew Junev wrote:

>>> I checked that /dev/lircd exists and is accessible by my mythtv user:
>>> $ ls -l /dev/lircd
>>> srw-rw-rw- 1 mythtv mythtv 0 2009-11-19 21:12 /dev/lircd
> 
>> That looks... wrong. With Fedora 12 (lirc 0.8.6, really), your
>> lircd socket should be /var/run/lirc/lircd, unless you've done
>> something to change it. But the socket move also requires adjusting
>> a pref somewhere in the frontend to tell it to look at the new
>> location as well. (this was an upstream lirc change, fwiw, not a
>> Fedora-specific one, though Fedora could stand to add a symlink to
>> the old location for the benefit of mythtv users, which is what
>> ubuntu did, iirc).
> 
> This is what I have in /var/run/lirc/ :
> 
> # ls -la /var/run/lirc/
> total 20
> drwxr-xr-x  2 root root 4096 2009-11-19 21:12 .
> drwxr-xr-x 33 root root 4096 2009-11-19 18:11 ..
> -rw-r--r--  1 root root    5 2009-11-19 21:12 lircd.pid
> #
> 
> So it's a pid file only...
> 
> 
> I actually have the following parameters passed to LIRC in my
> /etc/sysconfig/lirc :
> 
> LIRCD_OPTIONS="--driver=atilibusb --device=/dev/lirc0 --output=/dev/lircd"
> 
> Maybe this is somehow wrong? What should I use then?
> 
> And... 'irw' still shows correct keypresses...

Its partially wrong. The '--device=/dev/lirc0' part is wrong. There is no lirc device, that's for driver=default, which translates to "something that has an lirc kernel driver" The atilibusb driver is entirely userspace. Not sure that would be causing the problem you're seeing though. I'd double-check your frontend prefs to see what lircd socket its pointing at, but /dev/lircd is where I'd expect it to be pointing.

Oh. One other possibility... Got SELinux enabled? Could be that SELinux is denying mythtv access to /dev/lircd.

-- 
Jarod Wilson
jarod at wilsonet.com





More information about the mythtv-users mailing list