Upgrading MythTV
Well this Monday evening, I attempted to upgrade my MythTV box from the gentoo-sources kernel 2.6.17 to 2.6.20 so it would support my new HD-5500 card. Let me state that I started this at about 4:30pm and my shows that I wanted to record started at 8pm (24 and Two and a Half Men). The kernel upgrade started out smoothly and I built everything into it that I needed. I followed Gentoo’s guide to kernel upgrading just to make sure I didn’t miss anything and it went rather smoothly. I knew I would also need to update IVTV to support my kernel. This process was the difficult one.
So after realizing that in grub I called my kernel bzImage instead of kernel like I normally do, I had to update grub to get it to boot, IVTV did not work as expected. I attempted an upgrade to IVTV 10.1 which supports kernels 2.6.20-r1. I then realized that I had just built 2.6.20-r6 so to avoid and issues later, I just rebuilt the kernel using 2.6.20-r1. After booting with the 2.6.20-r1 kernel I tried the install of IVTV again. This time I received the following errors:
* CONFIG_VIDEO_HELPER_CHIPS_AUTO: should not be set. But it is.
* CONFIG_VIDEO_WM8775: is not set when it should be.
* CONFIG_VIDEO_MSP3400: is not set when it should be.
* CONFIG_VIDEO_CX25840: is not set when it should be.
* CONFIG_VIDEO_TUNER: is not set when it should be.
* CONFIG_VIDEO_SAA711X: is not set when it should be.
* CONFIG_VIDEO_CX2341X: is not set when it should be.
* CONFIG_VIDEO_SAA7127: is not set when it should be.
* CONFIG_VIDEO_TVEEPROM: is not set when it should be.
After some quick research, I figured out that in the newer kernels under the device drivers section / multimedia devices / video capture devices, the default setting is Autoselect pertinent encoders/decoders and other helper chip. So I disabled it and went in to individually pick the modules I needed. After several tries, I finally just picked all of them so it would install and went back later to filter through the list.
The list that worked for me was the following.
- <M> Simple audio decoder chips
- <M> Micronas MSP34xx audio decoders
- <M> Wolfson Microelectronics WM8775 audio ADC with input mixer
- <M> BT819A VideoStream decoder
- <M> BT856 VideoStream decoder
- <M> BT866 VideoStream decoder
- <M> Philips SAA7110 video decoder
- <M> Philips SAA7111 video decoder
- <M> Philips SAA7114 video decoder
- <M> Philips SAA7113/4/5 video decoders
- <M> Philips SAA7191 video decoder
- <M> Conexant CX2584x audio/video decoders
- <*> Conexant CX2341x MPEG encoders
- <M> Philips SAA7127/9 digital video encoders
- <M> Philips SAA7185 video encoder
After IVTV installed I rebooted and tried things out. IVTV was recognizing my Hauppauge card, but when trying to view the tuner, all I got was black. At this point, it is about 7:15pm so I’m starting to panic. I did rmmod of IVTV and modprobe IVTV to reload it and try again. When I ran a dmesg, I saw several lines like this at the end of each tuner= i2c hardware 0×00000001 (cx2584x) not found for command 0xc008561c. When searching this error, I found others that had the problem, but no solutions so I decided this post was a good idea. I then tried different versions of IVTV, but the same error messages, so I decided it must be something wrong with my kernel, yet I was unsure. I had looked over my old settings and had everything set. It is now 8:00pm and it is still not working. It actually took me till after 10pm to finally get it. I had actually looked at the answer earlier that night, but didn’t realize it. This page contained the answer for me. I looked at it when building my kernel: On the top screen is what the new kernels need and the bottom is what my 2.6.17 had. Something I looked over on the new kernel was that I had I2C support as built in instead of as a module. After all that work, that solved my problem. Hopefully this helps any of you out there with this issue.
During much of this work, I ended up with kernel 2.6.19 and IVTV 0.9.1 and the problem was solved. I then upgraded to IVTV 10.1 and it still was working so I’m sure I could go back to my 2.6.20 kernel and I probably will here soon.