public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
* Enable IR on hdpvr
@ 2011-01-10  0:36 Jason Gauthier
       [not found] ` <8AFBEFD7-69E3-4E71-B155-EA773C2FED43@wilsonet.com>
  0 siblings, 1 reply; 19+ messages in thread
From: Jason Gauthier @ 2011-01-10  0:36 UTC (permalink / raw)
  To: linux-media@vger.kernel.org

Hey all,

   I've been a long time MythTV user, and earlier this year purchased two Hauppauge HDPVRs.   I was running the Mythbuntu distribution (10.04) which had a 2.6.32.

Using a custom hdpvr module, I had the IR bits turned on, and a custom lirc_zilog (which was not standard in the kernel then).  
When hdpvr.ko would load, it would enable the IR chipset, and lirc_zilog would pick it up.  Occasionally, I would an oops, and I believe this is why the IR pieces were disabled to begin with.

Well, a ton of changes have occurred since .32, to .37.  Namely, I2C changes.  The custom code I have won't compile at all.  
So, I started doing some more digging, and I discovered the linuxtv git repository.  Recently, Andy Walls put some piece in place that interested me.

I pulled the tree down, and worked with it a while.  What I am trying to do is re-enable the IR transmitter in the hdprv module. I've done plenty of development but, unfortunately, this is a bit over my head.   

After reading through these three patches:
http://www.mail-archive.com/linux-media@vger.kernel.org/msg26264.html
http://www.mail-archive.com/linux-media@vger.kernel.org/msg07588.html
http://www.mail-archive.com/linux-media@vger.kernel.org/msg07589.html

It looks very close to what I am interested in.  

I've spent awhile messing with this, but just haven't gotten anywhere.    Does anyone know what it would take, or how, to enable the IR bits on the hdpvr code?

I did simply try changing:

       /* until i2c is working properly */
       retval = 0; /* hdpvr_register_i2c_ir(dev); */
       if (retval < 0)

so that it would register with i2c.
Doing so returns a positive registration with I2C, but the lirc_zilog driver doesn't see the chip when it loads. (The lirc_zilog is now in the kernel, yay)

Really appreciate any help!

Thanks,

Jason


^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2011-05-22  3:17 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-10  0:36 Enable IR on hdpvr Jason Gauthier
     [not found] ` <8AFBEFD7-69E3-4E71-B155-EA773C2FED43@wilsonet.com>
2011-01-10 12:07   ` Andy Walls
2011-01-10 12:12   ` Maybe I'll hack on lirc_zilog.c this coming weekend (Re: Enable IR on hdpvr) Andy Walls
2011-01-10 19:51     ` Jarod Wilson
2011-01-10 12:24   ` Enable IR on hdpvr Janne Grunau
2011-01-10 14:25   ` Jason Gauthier
2011-01-10 19:50     ` Jarod Wilson
2011-01-12  4:40       ` Jarod Wilson
2011-01-12 13:49         ` Jason Gauthier
2011-01-12 23:45           ` Andy Walls
2011-01-13  2:16             ` Jason Gauthier
2011-01-13  5:31               ` Andy Walls
2011-05-21 18:19               ` Jason Gauthier
2011-05-21 18:46                 ` Jason Gauthier
2011-05-22  2:02                   ` [SOLVED] " Jason Gauthier
2011-05-22  2:13                     ` [SOLVED (not really)] " Jason Gauthier
2011-05-22  3:02                     ` [SOLVED] " Andy Walls
2011-05-22  3:17                       ` Jason Gauthier
2011-01-13  5:23             ` Andy Walls

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox