Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: MythTV: Users

FC8 --> F12 Upgrade: MythTV doesn't work with LIRC anymore

 

 

MythTV users RSS feed   Index | Next | Previous | View Threaded


a-j at a-j

Nov 19, 2009, 10:25 AM

Post #1 of 14 (2090 views)
Permalink
FC8 --> F12 Upgrade: MythTV doesn't work with LIRC anymore

Hi All,

I was successfully using Fedora Core 8 with MythTV 0.21 for a long time
now. With the recent release of 0.22, I started to plan a global
upgrade. I thought it would be good to upgrade Fedora on all of the
machines first and then to continue with MythTV 0.22 itself.

So I started with a frontend-only machine, upgrading it using a
'preupgrade' to FC12. It went more or less fine, with just a few minor
issues that I could solve myself. The machine is now up and running, I
only have two problems:


1. HDMI Audio pass-through from my 8600GT to a SONY TV does not work.
It was definitely working in FC8. I didn't analyze it yet, so it might
be just a misconfiguration in alsamixer, or it might be an 190.42
NVidia driver problem. I still have to check it out.


2. My mythfrontend doesn't work with LIRC anymore. And this is
weird! After upgrade to FC12 I recognized that lirc_atiusb module is
not shipped anymore. It took me some time to discover how to set up
and use 'atilibusb' instead. Now my LIRC seem to work fine, at least I
can see the keypresses in 'irw'. But my mythfrontend still refuses to
accept lirc commands. I'm still using an old MythTV 0.21:

# mythfrontend --version
Please include all output in bug reports.
MythTV Version : 19114M
MythTV Branch : branches/release-0-21-fixes
Library API : 0.21.20080304-1
Network Protocol : 40

When mythfrontend starts, I see the following error:

mythtv: could not connect to socket
mythtv: No such file or directory
2009-11-19 18:43:20.089 lirc_init failed for mythtv, see preceding messages

Unfortunately, passing '-v all' to the mythfrontend does not provide
any additional information regarding lirc. So I don't know which file
my mythfrontend is trying to open...

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

And my lircrc file still exists and is also accessible:
$ pwd
/home/mythtv/.mythtv
$ ls -l lircrc
-rw-r--r-- 1 mythtv mythtv 6181 2009-08-19 23:33 lircrc

So the problem is somewhere else. Could someone please advice what
else could be wrong between LIRC and MythTV?


--
Best regards,
Andrew

_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


jarod at wilsonet

Nov 19, 2009, 11:41 AM

Post #2 of 14 (2048 views)
Permalink
Re: FC8 --> F12 Upgrade: MythTV doesn't work with LIRC anymore [In reply to]

On Nov 19, 2009, at 1:25 PM, Andrew Junev wrote:

> Hi All,
>
> I was successfully using Fedora Core 8 with MythTV 0.21 for a long time
> now. With the recent release of 0.22, I started to plan a global
> upgrade. I thought it would be good to upgrade Fedora on all of the
> machines first and then to continue with MythTV 0.22 itself.
>
> So I started with a frontend-only machine, upgrading it using a
> 'preupgrade' to FC12. It went more or less fine, with just a few minor
> issues that I could solve myself. The machine is now up and running, I
> only have two problems:
>
>
> 1. HDMI Audio pass-through from my 8600GT to a SONY TV does not work.
> It was definitely working in FC8. I didn't analyze it yet, so it might
> be just a misconfiguration in alsamixer, or it might be an 190.42
> NVidia driver problem. I still have to check it out.
>
>
> 2. My mythfrontend doesn't work with LIRC anymore. And this is
> weird! After upgrade to FC12 I recognized that lirc_atiusb module is
> not shipped anymore. It took me some time to discover how to set up
> and use 'atilibusb' instead. Now my LIRC seem to work fine, at least I
> can see the keypresses in 'irw'. But my mythfrontend still refuses to
> accept lirc commands.

I presume you have your lircrc file button names matching the button names in lircd.conf after updating it for atilibusb?

> I'm still using an old MythTV 0.21:
>
> # mythfrontend --version
> Please include all output in bug reports.
> MythTV Version : 19114M
> MythTV Branch : branches/release-0-21-fixes
> Library API : 0.21.20080304-1
> Network Protocol : 40
>
> When mythfrontend starts, I see the following error:
>
> mythtv: could not connect to socket
> mythtv: No such file or directory
> 2009-11-19 18:43:20.089 lirc_init failed for mythtv, see preceding messages
>
> Unfortunately, passing '-v all' to the mythfrontend does not provide
> any additional information regarding lirc. So I don't know which file
> my mythfrontend is trying to open...
>
> 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).

--
Jarod Wilson
jarod [at] wilsonet



_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


a-j at a-j

Nov 19, 2009, 12:05 PM

Post #3 of 14 (2046 views)
Permalink
Re: FC8 --> F12 Upgrade: MythTV doesn't work with LIRC anymore [In reply to]

Hello Jarod,

Thursday, November 19, 2009, 10:41:27 PM, you wrote:

>> It took me some time to discover how to set up
>> and use 'atilibusb' instead. Now my LIRC seem to work fine, at least I
>> can see the keypresses in 'irw'. But my mythfrontend still refuses to
>> accept lirc commands.

> I presume you have your lircrc file button names matching the
> button names in lircd.conf after updating it for atilibusb?

Yes, button names do match.

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


--
Best Regards,
Andrew

_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


jarod at wilsonet

Nov 19, 2009, 12:44 PM

Post #4 of 14 (2039 views)
Permalink
Re: FC8 --> F12 Upgrade: MythTV doesn't work with LIRC anymore [In reply to]

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



_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


a-j at a-j

Nov 19, 2009, 1:29 PM

Post #5 of 14 (2034 views)
Permalink
Re: FC8 --> F12 Upgrade: MythTV doesn't work with LIRC anymore [In reply to]

Thursday, November 19, 2009, 11:44:52 PM, you wrote:

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

Ok, removed the --device part completely (I was also wondering why it
is there, but never tried to remove it before).


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

SELinux is disabled, I guess...
At least /etc/selinux/config contains:

SELINUX=disabled

and also my grub.conf there's also

selinux=0

parameter sent to kernel. So I think it's as much disabled as it is
possible...



Still no change in mythfrontend behavior, though... :-(
Where do I find mythfrontend preferences regarding remote control? Is
it something that is stored locally on the frontend?



--
Best regards...
Andrew

_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


fmerrill1 at gmail

Nov 19, 2009, 2:02 PM

Post #6 of 14 (2039 views)
Permalink
Re: FC8 --> F12 Upgrade: MythTV doesn't work with LIRC anymore [In reply to]

On Thu, Nov 19, 2009 at 4:29 PM, Andrew Junev <a-j [at] a-j> wrote:
> Thursday, November 19, 2009, 11:44:52 PM, you wrote:
>
>
>
> Still no change in mythfrontend behavior, though... :-(
> Where do I find mythfrontend preferences regarding remote control? Is
> it something that is stored locally on the frontend?
>
>
>
> --
> Best regards...
> Andrew
>

Have you check your Frontend setup to make sure it's correct?

Should be in Setup:General --> 8th page --> LIRC Daemon socket:
That should be set to /var/run/lirc/lircd

Frank
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


a-j at a-j

Nov 19, 2009, 9:37 PM

Post #7 of 14 (2005 views)
Permalink
Re: FC8 --> F12 Upgrade: MythTV doesn't work with LIRC anymore [In reply to]

Hello Frank,

Friday, November 20, 2009, 1:02:01 AM, you wrote:

> Have you check your Frontend setup to make sure it's correct?

> Should be in Setup:General --> 8th page --> LIRC Daemon socket:
> That should be set to /var/run/lirc/lircd

Ummm, I don't have 8th page in Setup:General. It ends on the 7th
page with "Automatically run mythfilldatabase" settings.
I couldn't find anything LIRC-related in "General" at all...


> Frank

--
Best regards,
Andrew


_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


jppoet at gmail

Nov 19, 2009, 10:08 PM

Post #8 of 14 (2004 views)
Permalink
Re: FC8 --> F12 Upgrade: MythTV doesn't work with LIRC anymore [In reply to]

On Thu, Nov 19, 2009 at 10:37 PM, Andrew Junev <a-j [at] a-j> wrote:
> Hello Frank,
>
> Friday, November 20, 2009, 1:02:01 AM, you wrote:
>
>> Have you check your Frontend setup to make sure it's correct?
>
>> Should be in Setup:General -->  8th page --> LIRC Daemon socket:
>> That should be set to /var/run/lirc/lircd
>
> Ummm, I don't have 8th page in Setup:General. It ends on the 7th
> page with "Automatically run mythfilldatabase" settings.
> I couldn't find anything LIRC-related in "General" at all...

The setting for LIRC Daemon socket is on page 9 of Setup:General, when
running trunk.
I don't think that setting existed in 0.21, though.

You can also tell lircd where to create that file using --output:

lircd --device=/dev/lirc1 --output=/dev/lircd

Pretty sure "old" place was /dev/lircd, so starting up lircd like that
might make it work for you.


John
--
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


a-j at a-j

Nov 20, 2009, 2:27 AM

Post #9 of 14 (1984 views)
Permalink
Re: FC8 --> F12 Upgrade: MythTV doesn't work with LIRC anymore [In reply to]

Hello John,

Friday, November 20, 2009, 9:08:37 AM, you wrote:

> On Thu, Nov 19, 2009 at 10:37 PM, Andrew Junev <a-j [at] a-j> wrote:
>> Hello Frank,
>>
>> Friday, November 20, 2009, 1:02:01 AM, you wrote:
>>
>>> Have you check your Frontend setup to make sure it's correct?
>>
>>> Should be in Setup:General -->  8th page --> LIRC Daemon socket:
>>> That should be set to /var/run/lirc/lircd
>>
>> Ummm, I don't have 8th page in Setup:General. It ends on the 7th
>> page with "Automatically run mythfilldatabase" settings.
>> I couldn't find anything LIRC-related in "General" at all...

> The setting for LIRC Daemon socket is on page 9 of Setup:General, when
> running trunk.
> I don't think that setting existed in 0.21, though.

> You can also tell lircd where to create that file using --output:

> lircd --device=/dev/lirc1 --output=/dev/lircd

I'm already doing that:
LIRCD_OPTIONS="--driver=atilibusb --output=/dev/lircd"

And /dev/lircd is there and is accessible:
# ls -l /dev/lircd
srw-rw-rw- 1 root root 0 2009-11-20 08:26 /dev/lircd
#

> Pretty sure "old" place was /dev/lircd, so starting up lircd like that
> might make it work for you.

Unfortunately it does not... :-(
What else might be causing the problem?


> John

--
Best regards,
Andrew


_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


a-j at a-j

Nov 20, 2009, 5:22 AM

Post #10 of 14 (1976 views)
Permalink
Re: FC8 --> F12 Upgrade: MythTV doesn't work with LIRC anymore [In reply to]

Friday, November 20, 2009, 1:27:26 PM, you wrote:

> Hello John,

> Friday, November 20, 2009, 9:08:37 AM, you wrote:

>> On Thu, Nov 19, 2009 at 10:37 PM, Andrew Junev <a-j [at] a-j> wrote:
>>> Hello Frank,
>>>
>>> Friday, November 20, 2009, 1:02:01 AM, you wrote:
>>>
>>>> Have you check your Frontend setup to make sure it's correct?
>>>
>>>> Should be in Setup:General -->  8th page --> LIRC Daemon socket:
>>>> That should be set to /var/run/lirc/lircd
>>>
>>> Ummm, I don't have 8th page in Setup:General. It ends on the 7th
>>> page with "Automatically run mythfilldatabase" settings.
>>> I couldn't find anything LIRC-related in "General" at all...

>> The setting for LIRC Daemon socket is on page 9 of Setup:General, when
>> running trunk.
>> I don't think that setting existed in 0.21, though.

>> You can also tell lircd where to create that file using --output:

>> lircd --device=/dev/lirc1 --output=/dev/lircd

> I'm already doing that:
> LIRCD_OPTIONS="--driver=atilibusb --output=/dev/lircd"

> And /dev/lircd is there and is accessible:
> # ls -l /dev/lircd
> srw-rw-rw- 1 root root 0 2009-11-20 08:26 /dev/lircd
> #

>> Pretty sure "old" place was /dev/lircd, so starting up lircd like that
>> might make it work for you.

> Unfortunately it does not... :-(
> What else might be causing the problem?

Hugh, it's not only mythfrontend that does not work with LIRC after
upgrade to F12! I just realised mplayer does exactly the same, with a
similar error message:

MPlayer SVN-r29800-4.4.2 (C) 2000-2009 MPlayer Team
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

So it looks like only 'irw' is working with my LIRC. :-(
What do I do with it?!

I'm really out of ideas...


P.S. BTW, I sorted out the HDMI audio pass-through issue. I just
needed to unmute another S/PDIF output (somehow I got two of them in
alsamixer, probably one is on the back plane and another one is an
internal connector on the motherboard). Audio is working fine for me now!

--
Best regards,
Andrew

_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


jarod at wilsonet

Nov 20, 2009, 6:01 AM

Post #11 of 14 (1977 views)
Permalink
Re: FC8 --> F12 Upgrade: MythTV doesn't work with LIRC anymore [In reply to]

On Nov 20, 2009, at 8:22 AM, Andrew Junev wrote:

>>> The setting for LIRC Daemon socket is on page 9 of Setup:General, when
>>> running trunk.
>>> I don't think that setting existed in 0.21, though.
>
>>> You can also tell lircd where to create that file using --output:
>
>>> lircd --device=/dev/lirc1 --output=/dev/lircd
>
>> I'm already doing that:
>> LIRCD_OPTIONS="--driver=atilibusb --output=/dev/lircd"
>
>> And /dev/lircd is there and is accessible:
>> # ls -l /dev/lircd
>> srw-rw-rw- 1 root root 0 2009-11-20 08:26 /dev/lircd
>> #
>
>>> Pretty sure "old" place was /dev/lircd, so starting up lircd like that
>>> might make it work for you.
>
>> Unfortunately it does not... :-(
>> What else might be causing the problem?
>
> Hugh, it's not only mythfrontend that does not work with LIRC after
> upgrade to F12! I just realised mplayer does exactly the same, with a
> similar error message:
>
> MPlayer SVN-r29800-4.4.2 (C) 2000-2009 MPlayer Team
> mplayer: could not connect to socket
> mplayer: No such file or directory
> Failed to open LIRC support. You will not be able to use your remote control.
>
> So it looks like only 'irw' is working with my LIRC. :-(
> What do I do with it?!
>
> I'm really out of ideas...

Output of...

rpm -qa lirc\*

...please. I'm wondering if your lirc packages aren't quite in order after the big upgrade...

My F12 frontend where everything is working just fine:

$ rpm -qa lirc\*
lirc-0.8.6-1.fc12.x86_64
lirc-libs-0.8.6-1.fc12.x86_64

If you have anything different than that, I'd yank all the lirc bits currently installed and reinstall them.

--
Jarod Wilson
jarod [at] wilsonet



_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


a-j at a-j

Nov 20, 2009, 7:08 AM

Post #12 of 14 (1973 views)
Permalink
Re: FC8 --> F12 Upgrade: MythTV doesn't work with LIRC anymore [In reply to]

Hello Jarod,

Friday, November 20, 2009, 5:01:16 PM, you wrote:

> On Nov 20, 2009, at 8:22 AM, Andrew Junev wrote:

>>>> The setting for LIRC Daemon socket is on page 9 of Setup:General, when
>>>> running trunk.
>>>> I don't think that setting existed in 0.21, though.
>>
>>>> You can also tell lircd where to create that file using --output:
>>
>>>> lircd --device=/dev/lirc1 --output=/dev/lircd
>>
>>> I'm already doing that:
>>> LIRCD_OPTIONS="--driver=atilibusb --output=/dev/lircd"
>>
>>> And /dev/lircd is there and is accessible:
>>> # ls -l /dev/lircd
>>> srw-rw-rw- 1 root root 0 2009-11-20 08:26 /dev/lircd
>>> #
>>
>>>> Pretty sure "old" place was /dev/lircd, so starting up lircd like that
>>>> might make it work for you.
>>
>>> Unfortunately it does not... :-(
>>> What else might be causing the problem?
>>
>> Hugh, it's not only mythfrontend that does not work with LIRC after
>> upgrade to F12! I just realised mplayer does exactly the same, with a
>> similar error message:
>>
>> MPlayer SVN-r29800-4.4.2 (C) 2000-2009 MPlayer Team
>> mplayer: could not connect to socket
>> mplayer: No such file or directory
>> Failed to open LIRC support. You will not be able to use your remote control.
>>
>> So it looks like only 'irw' is working with my LIRC. :-(
>> What do I do with it?!
>>
>> I'm really out of ideas...

> Output of...

> rpm -qa lirc\*

> ...please. I'm wondering if your lirc packages aren't quite in order after the big upgrade...

> My F12 frontend where everything is working just fine:

> $ rpm -qa lirc\*
> lirc-0.8.6-1.fc12.x86_64
> lirc-libs-0.8.6-1.fc12.x86_64

> If you have anything different than that, I'd yank all the lirc
> bits currently installed and reinstall them.

I thought about it too!
I had some old LIRC-related packages left from FC8. So I removed
everything related to LIRC (including the new .f12 packages) and then
reinstalled LIRC again. My 'rpm -qa |grep lirc' gave me the same
output as above - only the new packages.
Though, the problem was still there.



Then I decided something could be wrong with '--output' option of
LIRC. So I removed it, leaving just:

LIRCD_OPTIONS="--driver=atilibusb"

I restarted LIRC and made a symlink:

ln -s /var/run/lirc/lircd /dev/lircd

Just tried it with MythTV and ... IT WORKED !!!

I really don't know why "--output=/dev/lircd" does not work as
expected. Maybe it's a bug in LIRC, or maybe it has a real reason to
be like that. Anyway, letting LIRC create default device and then
symlinking to it seem to solve the problem!!!


A new issue is there though: each keypress on my remote now makes a
double action, for example a single press of "Down" key in the menu
moves the cursor two positions down. I think I had such a problem some
years ago when I was starting to set MythTV up for the first time. I
don't remember what was the reason for such a behavior exactly, but
I'll have a closer look at my lircd.conf file. I think the answer is
somewhere close now.


--
Best regards,
Andrew

_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


jarod at wilsonet

Nov 20, 2009, 7:14 AM

Post #13 of 14 (1962 views)
Permalink
Re: FC8 --> F12 Upgrade: MythTV doesn't work with LIRC anymore [In reply to]

On Nov 20, 2009, at 10:08 AM, Andrew Junev wrote:

> Then I decided something could be wrong with '--output' option of
> LIRC. So I removed it, leaving just:
>
> LIRCD_OPTIONS="--driver=atilibusb"
>
> I restarted LIRC and made a symlink:
>
> ln -s /var/run/lirc/lircd /dev/lircd
>
> Just tried it with MythTV and ... IT WORKED !!!
>
> I really don't know why "--output=/dev/lircd" does not work as
> expected. Maybe it's a bug in LIRC, or maybe it has a real reason to
> be like that. Anyway, letting LIRC create default device and then
> symlinking to it seem to solve the problem!!!

The symlink shouldn't, in theory, matter. I'd be more inclined to think perhaps mythfrontend was trying to connect to /var/run/lirc/lircd. Can you remove the symlink, restart mythfrontend and see if its still working?

> A new issue is there though: each keypress on my remote now makes a
> double action, for example a single press of "Down" key in the menu
> moves the cursor two positions down. I think I had such a problem some
> years ago when I was starting to set MythTV up for the first time. I
> don't remember what was the reason for such a behavior exactly, but
> I'll have a closer look at my lircd.conf file. I think the answer is
> somewhere close now.


You can add 'repeat=1' (or higher values as necessary) to each button config in your lircrc where you want repeats suppressed.

--
Jarod Wilson
jarod [at] wilsonet



_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


a-j at a-j

Nov 20, 2009, 8:29 AM

Post #14 of 14 (1953 views)
Permalink
Re: FC8 --> F12 Upgrade: MythTV doesn't work with LIRC anymore - solved! [In reply to]

Friday, November 20, 2009, 6:14:41 PM, you wrote:

> The symlink shouldn't, in theory, matter. I'd be more inclined to
> think perhaps mythfrontend was trying to connect to
> /var/run/lirc/lircd. Can you remove the symlink, restart
> mythfrontend and see if its still working?

Yep! It works!
So MythTV is intelligent enough to determine a new location for LIRC
device? And I was stupid enough to change that location manually,
therefore getting a three-days fun trying to track it down... :(


>> A new issue is there though: each keypress on my remote now makes a
>> double action, for example a single press of "Down" key in the menu
>> moves the cursor two positions down. I think I had such a problem some
>> years ago when I was starting to set MythTV up for the first time. I
>> don't remember what was the reason for such a behavior exactly, but
>> I'll have a closer look at my lircd.conf file. I think the answer is
>> somewhere close now.


> You can add 'repeat=1' (or higher values as necessary) to each
> button config in your lircrc where you want repeats suppressed.

I think 'repeat=1' (or any other number) is supposed to turn repeats
on instead. Anyway, setting a 'delay=5' instead of 'delay=3' after
each 'repeat=1' actually solved my repeating problem as well.

So my remote is completely back now! :)


Thanks to all who commented and supported me in tracking this problem!
I really appreciate it, guys!


I will soon continue with the upgrade on the other machine:
mythbackend is next...


--
Best regards,
Andrew

_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users

MythTV users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.