[mythtv-users] zilog-rx-i2c high cpu usage, lirc_zilog errors

Jarod Wilson jarod at wilsonet.com
Sat Jun 4 17:46:02 UTC 2011


On Jun 4, 2011, at 10:10 AM, Chris Payne wrote:

>   PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND                                 
> On Fri, Jun 3, 2011 at 10:43 PM, Greg Mitchell <greg at nodecam.com> wrote:
> Chris Payne wrote:
> 
> On Fri, Jun 3, 2011 at 4:08 PM, <greg at nodecam.com <mailto:greg at nodecam.com>> wrote:
> 
> 
>    I'm not using a lirc receiver at all - my backend is rarely used as a
>    frontend, so I haven't bothered setting it up.
> 
>    I followed the guide at
>    http://www.blushingpenguin.com/mark/blog/?p=24 to
>    get the hdpvr blaster going.  I can't remember what code set I wound up
>    using, but I think it was in the 130 range.  I'll look it up when I get
>    home.
> 
>  Hi Greg-
> 
> I managed to get my setup working. I found a config that worked in this old mythtv post (before I subscribed)
> 
> 130 is the code set I'm using.  Are you sure the HDPVR is what's changing your channels for you?  The blaster on the HDPVR doesn't transmit whatever codes lirc tells it to (unless something has changed in the driver since I got mine set up)  Is it possible that your MCE device is actually doing the blasting?
> 
> I've attached my lircd.conf here anyway, maybe it will prove useful to some future mailing list archaeologist...
> 
> FWIW, Jarod Wilson monitors this list, and he's what you might call an expert on lirc/Fedora.  If you post a message with a lirc-y Fedora-y subject, you might attract his attention.  :)

Yeah, I read the list, but if the subject doesn't look at all interesting
to me (and Sasktel IPTV counts as such), I just hit delete without reading
any of the actual contents of the thread. Only way I can keep up with the
list. :)


> A quick comparison does confirm we are using the same codes, I must have not had my blaster aligned properly when trying the test codes. I am 100%sure that the HDPVR is doing the blasting, as confirmed by it not working when the IRBlaster is not aligned exactly right. My MCE IR receiver is in a different location, out of line of sight of the STB.
> 
> Things are working well, one last detail is that I am seeing high cpu usage from this related process:
> 
>  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND                                 
>  1645 root      20   0     0    0    0 R 99.2  0.0   1238:40 zilog-rx-i2c-1                          
> 
> And some messages whenever the channel change script runs:
> 
> Jun  3 19:00:02 hptv lircd-0.9.0[1649]: accepted new client on /var/run/lirc/lircd1
> Jun  3 19:00:02 hptv lircd-0.9.0[1649]: removed client
> Jun  3 19:00:02 hptv kernel: [28087.235192] lirc_zilog: i2c_master_recv failed with -5 -- keeping last read buffer
> Jun  3 19:00:02 hptv kernel: [28087.248190] lirc_zilog: i2c_master_recv failed with -5 -- keeping last read buffer
> Jun  3 19:00:03 hptv lircd-0.9.0[1649]: accepted new client on /var/run/lirc/lircd1
> Jun  3 19:00:03 hptv lircd-0.9.0[1649]: removed client
> Jun  3 19:00:03 hptv kernel: [28088.148469] lirc_zilog: i2c_master_recv failed with -5 -- keeping last read buffer
> Jun  3 19:00:03 hptv kernel: [28088.161470] lirc_zilog: i2c_master_recv failed with -5 -- keeping last read buffer
> 
> Which I am still investigating.

I've seen similar reported recently on the #linuxtv irc channel. Do you have
just one hdpvr, or are there two? Guess I need to do some investigation, but
my hdpvr recently got promoted from devel toy to being in use in my production
mythtv setup, which complicates things. Maybe I should see about just getting
another one...

-- 
Jarod Wilson
jarod at wilsonet.com





More information about the mythtv-users mailing list