[mythtv-users] HDPVR Blaster

Tom Bongiorno two.bits.11 at gmail.com
Sun Jul 10 18:50:02 UTC 2011


On Thu, Jul 7, 2011 at 11:11 PM, Tom Bongiorno <two.bits.11 at gmail.com>wrote:

> On Thu, Jul 7, 2011 at 1:08 PM, Michael Lynch <lynchmv at gmail.com> wrote:
>
>> Tom, I *just* got it working.  I must admit, I followed the wiki
>> instructions and kept failing.  I came across an irc log where Bierdo
>> was helping echosysp with a similar issue with the hdpvr module.  I
>> read along with that and noticed that the wiki makes it seem like you
>> can select just the pvr related modules in the v4l/.conf file to
>> compile, but that apparently isn't true.  I had to compile all of the
>> modules from the media_build tree and then install them and *then*
>> make sure that there weren't any duplicate modules after the install.
>> There were some and I had to clean those up, though I must admit, I
>> only cleaned up the hdvpr, lirc_zilog, lirc_dev and v4l_compat
>> modules.  After that, I got:
>>
>> v4l2_compat_ioctl32: Unknown symbol put_compat_timespec (err 0)
>>
>> in dmesg after trying to insert the hdpvr module, so I copied over my
>> original v4l2-compat-ioctl32.ko from my kernel tree to the module
>> location, ran depmod -a and then had success.  Then I modprob'd
>> lirc_zilog and got my /dev/lirc0 device.  Success!
>>
>>
>>
>> On Thu, Jul 7, 2011 at 10:01 AM, Tom Bongiorno <two.bits.11 at gmail.com>
>> wrote:
>> > On Thu, Jul 7, 2011 at 8:59 AM, Michael Lynch <lynchmv at gmail.com>
>> wrote:
>> >>
>> >> I'm in the process of moving my backend to a new machine and am having
>> >> issues getting the HDPVR blaster to work.  I've followed the wiki page
>> >> for enabling the transmitter and am not having any luck when inserting
>> >> the lirc_zilog module.  The module loads fine but does not create the
>> >> /dev/lirc* device.  Any suggestions on where to go from here?  Here is
>> >> my relevant system info, if more is needed, please let me know.
>> >>
>> >> root at mythtv:~# uname -a
>> >> Linux mythtv 2.6.37.6 #3 SMP Sat Apr 9 22:49:32 CDT 2011 x86_64
>> >> Intel(R) Core(TM)2 CPU          6600  @ 2.40GHz GenuineIntel GNU/Linux
>> >>
>> >> root at mythtv:~# cat /etc/slackware-version
>> >> Slackware 13.37.0
>> >>
>> >> root at mythtv:~# lircd -n
>> >> lircd: lircd(default) ready, using /var/run/lirc/lircd
>> >> lircd: accepted new client on /var/run/lirc/lircd
>> >> lircd: could not get file information for /dev/lirc
>> >> lircd: default_init(): No such file or directory
>> >> lircd: WARNING: Failed to initialize hardware
>> >> lircd: error processing command: SEND_ONCE blaster select
>> >> lircd: hardware does not support sending
>> >> lircd: removed client
>> >>
>> >> root at mythtv:~# modinfo lirc_zilog
>> >> filename:
>> >>
>> >> /lib/modules/
>> 2.6.37.6/kernel/drivers/linux/drivers/staging/lirc/lirc_zilog.ko
>> >> alias:          lirc_pvr150
>> >> license:        GPL
>> >> author:         Gerd Knorr, Michal Kochanowicz, Christoph Bartelmus,
>> >> Ulrich Mueller, Stefan Jahn, Jerome Brock, Mark Weaver, Andy Walls
>> >> description:    Zilog/Hauppauge infrared transmitter driver (i2c stack)
>> >> depends:        i2c-core,lirc_dev
>> >> vermagic:       2.6.37.6 SMP mod_unload
>> >> parm:           minor:Preferred minor device number (int)
>> >> parm:           debug:Enable debugging messages (bool)
>> >> parm:           tx_only:Only handle the IR transmit function (bool)
>> >>
>> >>
>> >> dmesg output after 'modprobe lirc_zilog debug=1 ':
>> >> [34628.832421] lirc_zilog: Zilog/Hauppauge IR driver initializing
>> >> [34628.833411] lirc_zilog: initialization complete
>> >>
>> >> /var/log/message output after 'modprobe lirc_zilog debug=1' :
>> >> Jul  7 07:55:11 mythtv udevd[1216]: seq 1709 queued, 'add' 'module'
>> >> Jul  7 07:55:11 mythtv udevd[1216]: passed 118 bytes to netlink
>> >> monitor 0x61f1f0
>> >> Jul  7 07:55:11 mythtv udevd-work[2069]: seq 1709 running
>> >> Jul  7 07:55:11 mythtv udevd-work[2069]: device 0x633970 has devpath
>> >> '/module/lirc_zilog'
>> >> Jul  7 07:55:11 mythtv udevd-work[2069]: no db file to read
>> >> /dev/.udev/db/+module:lirc_zilog: No such file or directory
>> >> Jul  7 07:55:11 mythtv udevd-work[2069]: RUN
>> >> 'socket:@/org/freedesktop/hal/udev_event'
>> >> /lib/udev/rules.d/90-hal.rules:2
>> >> Jul  7 07:55:11 mythtv udevd-work[2069]: passed 101 bytes to socket
>> >> monitor 0x633970
>> >> Jul  7 07:55:11 mythtv udevd-work[2069]: passed -1 bytes to netlink
>> >> monitor 0x633620
>> >> Jul  7 07:55:11 mythtv udevd-work[2069]: seq 1709 processed with 0
>> >> Jul  7 07:55:11 mythtv udevd[1216]: seq 1709 done with 0
>> >> Jul  7 07:55:11 mythtv kernel: [28846.771131] lirc_zilog:
>> >> Zilog/Hauppauge IR driver initializing
>> >> Jul  7 07:55:11 mythtv udevd[1216]: seq 1710 queued, 'add' 'drivers'
>> >> Jul  7 07:55:11 mythtv udevd[1216]: passed 140 bytes to netlink
>> >> monitor 0x61f1f0
>> >> Jul  7 07:55:11 mythtv udevd-work[2069]: seq 1710 running
>> >> Jul  7 07:55:11 mythtv udevd-work[2069]: device 0x621220 has devpath
>> >> '/bus/i2c/drivers/Zilog!Hauppauge i2c IR'
>> >> Jul  7 07:55:11 mythtv udevd-work[2069]: no db file to read
>> >> /dev/.udev/db/+drivers:Zilog!Hauppauge i2c IR: No such file or
>> >> directory
>> >> Jul  7 07:55:11 mythtv udevd-work[2069]: device 0x633730 has devpath
>> >> '/bus/i2c/drivers'
>> >> Jul  7 07:55:11 mythtv udevd-work[2069]: device 0x633ab0 has devpath
>> >> '/bus/i2c'
>> >> Jul  7 07:55:11 mythtv udevd-work[2069]: RUN
>> >> 'socket:@/org/freedesktop/hal/udev_event'
>> >> /lib/udev/rules.d/90-hal.rules:2
>> >> Jul  7 07:55:11 mythtv udevd-work[2069]: passed 144 bytes to socket
>> >> monitor 0x621220
>> >> Jul  7 07:55:11 mythtv udevd-work[2069]: passed -1 bytes to netlink
>> >> monitor 0x633620
>> >> Jul  7 07:55:11 mythtv udevd-work[2069]: seq 1710 processed with 0
>> >> Jul  7 07:55:11 mythtv udevd[1216]: seq 1710 done with 0
>> >> Jul  7 07:55:11 mythtv kernel: [28846.772349] lirc_zilog:
>> >> initialization complete
>> >> _______________________________________________
>> >> mythtv-users mailing list
>> >> mythtv-users at mythtv.org
>> >> http://www.mythtv.org/mailman/listinfo/mythtv-users
>> >
>> > Michael,
>> >
>> > Nice timing!  I am having the same exact issue as we speak.  I am using
>> > Mythbuntu 11.04.
>> >
>> > Ubuntu 11.04 (GNU/Linux 2.6.38-8-generic i686)
>> >
>> > Comcast completely broke Firewire control with a recent guide overhaul
>> and I
>> > need this to change channels.
>> >
>> > -Tom
>> >
>> > _______________________________________________
>> > mythtv-users mailing list
>> > mythtv-users at mythtv.org
>> > http://www.mythtv.org/mailman/listinfo/mythtv-users
>> >
>> >
>> _______________________________________________
>> mythtv-users mailing list
>> mythtv-users at mythtv.org
>> http://www.mythtv.org/mailman/listinfo/mythtv-users
>>
>
> Michael,  Thanks for the info.  I will have to re-read the instructions,
> but I was under the impression that there was little I had to do from the
> wiki.
>
> "Ubuntu/MythBuntu 11.04 currently has built-in support for the HD-PVR's IR
> Blaster. Follow the steps below to enable the IR transmitter."
>
> I thought I followed the 10 or so steps.  I hope to try again this weekend.
>  I know I screwed something up tinkering.
>
> -Tom
>

Doh!!!!!

I am an idiot!  Of the few steps that I have to do to get this working, I
skipped one.  I don't know how, but I did.  I forgot to copy the firmware
into the /lib/firmware directory.  This fixed my no /dev/lirc0 problem.

My new problem is that I cannot get it to blast anything.  After an hour or
two, I realized that the Hauppauge IR Blaster cable if proprietary and my
generic IR Blaster cable and 3.5 to 2.5mm adapter were not going to work.  I
ordered it from Hauppauge for under $10 shipped.  For completeness, I will
report if I get it working when I receive the cable.

BTW, since I am running Mythbuntu 11.04, there is no compilation necessary.
I just have to follow "Steps to Enable IR Transmitter" from the "IR
Transmitter Support" section.  I think! :)

-Tom
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.mythtv.org/pipermail/mythtv-users/attachments/20110710/48c509a5/attachment.html 


More information about the mythtv-users mailing list