Following the announcement by the Mythbuntu team that the Mythbuntu distribution is to close down, this sub-forum is now closed to new threads. You will still be able to post to existing threads for the time being. Should you need volunteer support for Mythbuntu, or for MythTV installed in one of the Ubuntu flavours, please start a new thread in the Multimedia Software sub-forum.

Applied updates, broke HDPVR

This happened the last time I applied updates, but for some reason I went insane this morning and applied updates again. Sure enough, after I rebooted, my Mythbuntu 10.04 system didn't recognize that my HD-PVR was there.

I went to the mythtv wiki page on the HD-PVR and followed their instructions for recompiling the driver. In the "make" step, though, I get the following error:

I tried searching for "atomic.h" errors and HDPVR but didn't turn anything up.

What do I need to do to recompile and install the drivers? Or barring that, is it just easier to somehow upgrade to the latest Mythbuntu running on 11.04? Does that have enough built-in support so that HD-PVR drivers don't break each time I do a system update?

I just double-checked and I hit the same error when I try to make the driver.

EDIT: this message I get when I do the "make stagingconfig" step seems relevant in retrospect, but I'm not sure what else I can do to solve it:

Code:

Preparing to compile for kernel version 2.6.35
***WARNING:*** You do not have the full kernel sources installed.
This does not prevent you from building the v4l-dvb tree if you have the
kernel headers, but the full kernel source may be required in order to use
make menuconfig / xconfig / qconfig.
If you are experiencing problems building the v4l-dvb tree, please try
building against a vanilla kernel before reporting a bug.
Vanilla kernels are available at http://kernel.org.
On most distros, this will compile a newly downloaded kernel:
cp /boot/config-`uname -r` <your kernel dir>/.config
cd <your kernel dir>
make all modules_install install
Please see your distro's web site for instructions to build a new kernel.

Last edited by ceenvee703; August 1st, 2011 at 11:46 AM.
Reason: additional info

Re: Applied updates, broke HDPVR

Ah, so if the issue is when it's trying to refresh the kernel config, follow exactly what it's telling you. The kernel config that matches those headers is stored in /boot. You can copy it into place here.

Re: Applied updates, broke HDPVR

Do you have any other video capture cards installed in the box?
I have 10.10 and when I reboot it loses the HDPVR and I have to go into Mythtv-setup and change the video device. I tried to set it always use video0, but it seems to alternate between that and video1 when it reboots, so I try not to reboot that often. I need to remove the analog cards since they will not be usefull when the cable converts to all digital, that should fix the problem for me.

Re: Applied updates, broke HDPVR

Originally Posted by uteck

Do you have any other video capture cards installed in the box?
I have 10.10 and when I reboot it loses the HDPVR and I have to go into Mythtv-setup and change the video device. I tried to set it always use video0, but it seems to alternate between that and video1 when it reboots, so I try not to reboot that often. I need to remove the analog cards since they will not be usefull when the cable converts to all digital, that should fix the problem for me.

That sound alot like a race condition, the kernel loads the modules in what ever order it finds the hardware, so sometimes your HDPVR comes up as video0 othertimes as video1.

Search through the forums for a udev/video0 thread. Theres a python script that creates symbolic links for video0 and video1 that always point to the same device (/dev/hdpvr -> /dev/videoX).