Upgrading to Ubuntu 10.10 caused my HDPVR ir blaster to stop working, again…
I had to re-figure out how I got it working int he first place, so I figured I’d write it down this time.
Ubuntu 10.10 comes with hdpvr drivers compiled and included in /lib/modules/2.6.35-24-generic/kernel/drivers/media/video/hdpvr/hdpvr.ko
BUT these drivers DO NOT support using the IR blaster function.
So you have to compile them yourself.
The lirc_zilog driver which is needed is included with 10.10 ubuntu ( it is in the staging area: /lib/modules/2.6.35-24-generic/kernel/drivers/staging/lirc/lirc_zilog.ko)
But in previous versions I had to compile that separately, but this time it worked using the distributed version.
To get the hdpvr drivers recompiled, I used the source code I had working before. I think I got it from the links on this page: http://www.mythtv.org/wiki/HD-PVR
Which has the software linked here: http://www.themainlan.com/mythtv/hdpvr-blaster-drivers.tar.gz
Usually the drill when you get a new kernel is to go to the directory for the hdpvr and
make clean
make
and copy the hdpvr.ko file to the appropriate /lib/modules directory
But this time it wouldn’t compile.
I had to change some function calls that had been renamed in the new kernel:
Change:
usb_buffer_alloc() to usb_alloc_coherent()
and
usb_buffer_free() to usb_free_coherent()
And the the video_is_unregistered function call to be changed to ( ! video_is_registered )
All working again — and now I have mythtv 0.24 🙂
I have the apps in /usr2/apps/hdpvr ( got the