[mythtv-users] LIRC and MythBuntu 10.10

Greg Hormann ghormann at alumni.indiana.edu
Sat Apr 16 11:31:58 UTC 2011


On Fri, Apr 15, 2011 at 1:47 PM, Jarod Wilson <jarod at wilsonet.com> wrote:
>>> My suggestion for anyone running Ubuntu that is experiencing IR driver
>>> issues is to go this route:
>>>
>>> http://linuxtv.org/wiki/index.php/How_to_Obtain,_Build_and_Install_V4L-DVB_Device_Drivers
>>
>> Um.  I'll have to play with this some more.  I tried it a few weeks
>> ago, but ended up with a build failure that didn't appear to be
>> firedtv related. I'll spend some more time on it this time...
>
> Its occasionally a losing battle keeping all the latest media tree
> code compiling on older kernels. Report build failures to
> linux-media at vger.kernel.org and we'll try to get them fixed and/or
> offer work-arounds.
>

With a little bit of work, I did get it installed. But unfortunately
it still locks up after just a few recordings.

Building (Solved)
----------------------------------
1) Hit the same build problem again.  Luckily I found s a message
Jared posted on Monday with the workaround.
http://sourceforge.net/mailarchive/message.php?msg_id=27353778

2) Rebooted

$ dmesg | grep lirc
[   13.993572] lirc_dev: IR Remote Control driver registered, major 249
[   13.994707] lirc_zilog: module is from the staging directory, the
quality is unknown, you have been warned.
[   13.995144] lirc_zilog: disagrees about version of symbol
lirc_register_driver
[   13.995147] lirc_zilog: Unknown symbol lirc_register_driver (err -22)

After some digging figured out that LIRC_ZILOG was no longer in the
default v4l/.config file.  So I went an added the line below rebuild,
and reinstalled

CONFIG_LIRC_ZILOG=m

3) After the reboot, things look better.

[   48.016937] lirc_dev: IR Remote Control driver registered, major 249
[   48.172058] lirc_zilog: Zilog/Hauppauge IR driver initializing
[   48.173048] lirc_zilog: probing IR Rx on Hauppage HD PVR I2C (i2c-0)
[   48.173115] lirc_zilog: probe of IR Rx on Hauppage HD PVR I2C
(i2c-0) done. Waiting on IR Tx.
[   48.173120] lirc_zilog: probe of IR Rx on Hauppage HD PVR I2C (i2c-0) done
[   48.173131] lirc_zilog: probing IR Tx on Hauppage HD PVR I2C (i2c-0)
[   48.193085] i2c i2c-0: lirc_dev: lirc_register_driver: sample_rate: 0
[   48.193134] i2c i2c-0: lirc_dev: driver lirc_zilog registered at minor = 0
[   48.193137] lirc_zilog: IR unit on Hauppage HD PVR I2C (i2c-0)
registered as lirc0 and ready
[   48.193139] lirc_zilog: probe of IR Tx on Hauppage HD PVR I2C (i2c-0) done
[   48.193161] lirc_zilog: initialization complete


Running (Still an issue)
-----------------------------------
Light testing seemed good, but the hd-pvr stil locked up after a few
channel changes with back-to-back recoding scheduled. Infact, it looks
like it was throwing errors much of the the time, I just didn't
notice.

kern.log
======================================

Apr 15 20:35:45 tvServer kernel: [  179.299956] lirc_zilog:
Zilog/Hauppauge IR blaster firmware version 2.1.0 loaded
Apr 15 20:35:45 tvServer kernel: [  179.565700] lirc_zilog:
i2c_master_recv failed with -5 -- keeping last read buffer
Apr 15 20:35:45 tvServer kernel: [  179.578544] lirc_zilog:
i2c_master_recv failed with -5 -- keeping last read buffer
Apr 15 20:35:46 tvServer kernel: [  180.485824] lirc_zilog:
i2c_master_recv failed with -5 -- keeping last read buffer
Apr 15 20:35:46 tvServer kernel: [  180.498767] lirc_zilog:
i2c_master_recv failed with -5 -- keeping last read buffer

[snip] <- Stated getting zero byte recordings at midnight.

Apr 16 00:04:05 tvServer kernel: [12679.629307] lirc_zilog:
i2c_master_recv failed with -110 -- keeping last read buffer
Apr 16 00:04:07 tvServer kernel: [12680.889321] lirc_zilog:
i2c_master_send failed with -110
Apr 16 00:04:07 tvServer kernel: [12680.889326] lirc_zilog: polling
the IR receiver chip failed, trying reset
Apr 16 00:04:08 tvServer kernel: [12681.989332] lirc_zilog:
i2c_master_send failed with -110
Apr 16 00:04:08 tvServer kernel: [12681.989338] lirc_zilog: polling
the IR receiver chip failed, trying reset
Apr 16 00:04:09 tvServer kernel: [12683.089181] lirc_zilog:
i2c_master_send failed with -110

mythbackend.log
======================================
2011-04-10 11:59:20.402 AnalogSM(/dev/video0), Error: Start encoding failed
                        eno: Resource temporarily unavailable (11)
2011-04-10 11:59:20.751 AnalogSM(/dev/video0), Error: Start encoding failed
                        eno: Resource temporarily unavailable (11)



ghormann at tvServer:/var/log$ lsusb
======================================
Bus 002 Device 005: ID 2040:4903 Hauppauge

ghormann at tvServer:/var/log$ grep -i firmware kern.log | tail
======================================
Apr 15 20:33:31 tvServer kernel: [   12.928818] hdpvr 2-1.3:1.0:
firmware version 0x15 dated Jun 17 2010 09:26:53
Apr 15 20:35:45 tvServer kernel: [  179.299956] lirc_zilog:
Zilog/Hauppauge IR blaster firmware version 2.1.0 loaded


More information about the mythtv-users mailing list