Well, that was painful. After a full day working with the various cards, I managed to get all of them working.
A couple of caveats:
- The analog tuner on the HVR-1250 isn’t supported yet. The composite and s-video inputs are working but the mt2131 driver doesn’t have the required support for tuning to analog stations. The analog tuner is supported though on the HVR-1255, 1800 (both retail and OEM), 1850, etc. (since it’s a different chip)
- While ALSA audio when doing raw capture *is* working, it doesn’t seem to work with tvtime for some reason (I added the original ALSA capture support for tvtime a couple of years ago). It’s not working for any cx23885 device though, and this is not actually a regression. It does work if you do “arecord -D hw:2,0 | aplay”, suggesting it’s just some problem with the way the ALSA parameters are setup in the driver. Fortunately I’m pretty familiar with the tvtime code, so figuring out what is going on here shouldn’t be rocket science. 🙂
The changes themselves can be found at the following tree.
In addition to the HVR-1800 regression fixes, we’ve finally got analog support for the 1250 and 1255 that can be submitted upstream, which has been a hole in the support matrix for quite some time. Coming up with a set of changes to the cx25840 driver which properly supported all the different board variations ended up being more of a challenge than expected (adding the support while making sure not to break any of the existing boards). In fairness though, Steven did most of the actual work getting it to work in the first place; I just did a bunch of testing and shook out the bugs.
Feedback from users willing to compile the code and test is certainly welcome. This includes if you’re an HVR-1850 user and want to make sure I didn’t break anything. Just bear in mind that this sort of testing is intended for users who are familiar with compiling their own kernel, since doing it wrong can render your system unbootable (and no, I won’t help you figure out your problems with grub or if you end up rendering your system unbootable). Caveat emptor.
Thanks go out to tekdoc for doing a bunch of very useful investigation and git bisecting, as well as Britney Fransen for buying one of the HVR-1800 boards used for testing. And of course thanks to Steven Toth and our friends at Hauppauge for loaning me a handful of other boards to use for regression testing.