Thank your for your reply, I am currently not at my Mythbox but I will try that out later today, I only have to worry about the rx thread in zilog only if I want the HDPVR to receive from its IR receiver correct. <br><br><div class="gmail_quote">
On Fri, Jun 10, 2011 at 9:22 AM, Jarod Wilson <span dir="ltr">&lt;<a href="mailto:jarod@wilsonet.com">jarod@wilsonet.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On Jun 10, 2011, at 12:41 AM, Adam Jimerson wrote:<br>
<br>
&gt; Ok so I just bought a HDPVR to connect my satellite box to my Mythbox,<br>
&gt; so far everything is going well, I was able to cat /dev/video0 to a .ts<br>
&gt; file and had both video and sound with out having to update any firmware<br>
&gt; on the PVR (on the bottom of the box it says that it is a &quot;Rev F2&quot;).  I<br>
&gt; got if setup in myth for the most part but the trouble I have is during<br>
&gt; trying to set up the IR Transmitter and have several questions...<br>
&gt;<br>
&gt; 1. Following the directions on the Myth&#39;s wiki for the device step for<br>
&gt; for adding the HD-PVR to MythTV says &quot;Important Note: You must set a<br>
&gt; channel change script for the HD-PVR to work properly. If you don&#39;t care<br>
&gt; about channel changes, you can set it to /bin/true, but there absolutely<br>
&gt; must be a channel change script defined.&quot;  I would like to have myth be<br>
&gt; able to change the channel on my satellite box but what scripts is it<br>
&gt; referring to?<br>
<br>
</div>There are multiple channel changing scripts in the mythtv wiki, any<br>
that are for lirc can be adapted to work. There&#39;s also one linked to at<br>
another location I&#39;ll link to later on in this reply. :)<br>
<div class="im"><br>
<br>
&gt; 2. I have Lirc and the Lirc utilities package installed on my distro<br>
&gt; (Arch Linux) and upon starting lircd it sees the HD-PVR but I don&#39;t see<br>
&gt; a hardware.conf anywhere on my system, I tried using locate but it seems<br>
&gt; to not exists is this a problem?<br>
<br>
</div>hardware.conf is a not part of upstream lirc, despite what legions of<br>
Ubuntu users would lead you believe. It doesn&#39;t exist on most other<br>
distributions outside of Debian derivatives. All it does is feed params<br>
to your lirc initscript though. Fedora uses /etc/sysconfig/lirc to do<br>
similar, not entirely sure about other distros.<br>
<br>
Adding a standard lirc daemon config file that lircd itself reads is<br>
on my TODO list, so we *do* have a common centralized config, rather<br>
than every distribution rolling its own.<br>
<div class="im"><br>
<br>
&gt; 3. When checking dmesg the output of lirc_zilog is confusing:<br>
&gt;<br>
&gt; [107355.768180] lirc_dev: IR Remote Control driver registered, major 249<br>
&gt;<br>
&gt; [107355.768685] lirc_zilog: module is from the staging directory, the<br>
&gt; quality is unknown, you have been warned.<br>
&gt; [107355.769772] lirc_zilog: Zilog/Hauppauge IR driver initializing<br>
&gt;<br>
&gt; [107355.770554] lirc_zilog: probing IR Rx on Hauppage HD PVR I2C (i2c-6)<br>
&gt;<br>
&gt; [107355.770560] lirc_zilog: probe of IR Rx on Hauppage HD PVR I2C<br>
&gt; (i2c-6) done. Waiting on IR Tx.<br>
&gt; [107355.770568] lirc_zilog: probing IR Tx on Hauppage HD PVR I2C (i2c-6)<br>
&gt;<br>
&gt; 107355.770711] i2c i2c-6: lirc_dev: driver lirc_zilog registered at<br>
&gt; minor = 0<br>
&gt; [107355.795975] lirc_zilog: firmware haup-ir-blaster.bin not available<br>
&gt; (-2)<br>
<br>
</div>You&#39;re missing the necessary binary blaster index-to-signal-waveform<br>
data blob that has to be loaded into the driver for it to be able to<br>
actually transmit.<br>
<div class="im"><br>
<br>
&gt; [107355.796070] lirc_zilog: ir_probe: probing IR Tx on Hauppage HD PVR<br>
&gt; I2C (i2c-6) failed with -2<br>
&gt; [107355.796083] Zilog/Hauppauge i2c IR: probe of 6-0070 failed with<br>
&gt; error -2<br>
&gt; [107355.796126] lirc_zilog: initialization complete<br>
&gt;<br>
&gt; I take it by the fact that I only have a /dev/licrd and no /dev/lirc0<br>
&gt; that it failed?  If so is this a problem with the firmware on the PVR or<br>
&gt; a issue with the drivers for the IR Transmitter I didn&#39;t compile them<br>
&gt; manually just using the ones packaged by Arch (I didn&#39;t see any<br>
&gt; instructions on the wiki for it...)<br>
<br>
</div>Read up here:<br>
<br>
<a href="http://wilsonet.com/?p=40" target="_blank">http://wilsonet.com/?p=40</a><br>
<br>
Start at &quot;Either way, you still need a firmware image...&quot; though, since<br>
the earlier bits are all irrelevant, now that the patches to enable the<br>
IR part on the hdpvr are all upstream.<br>
<br>
Also, watch out for a zilog rx thread pegging your cpu, there&#39;s a bug<br>
in certain eras of lirc_zilog code, for which I just sent a patch upstream<br>
yesterday. Optionally, if you&#39;re not using the rx bit, load lirc_zilog<br>
with the module parameter tx_only=1.<br>
<br>
--<br>
Jarod Wilson<br>
<a href="mailto:jarod@wilsonet.com">jarod@wilsonet.com</a><br>
<br>
<br>
<br>
_______________________________________________<br>
mythtv-users mailing list<br>
<a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a><br>
<a href="http://www.mythtv.org/mailman/listinfo/mythtv-users" target="_blank">http://www.mythtv.org/mailman/listinfo/mythtv-users</a><br>
</blockquote></div><br>