Well, it’s been a long time coming, but the kernel folks are finally dropping support for the Video4Linux 1 API in Linux 2.6.38. As a result, applications which depended on the API (such as tvtime) have to change to no longer use the old API.
At KernelLabs, tvtime is our “go-to” tool for demonstrating driver functionality to commercial customers, so it made sense for us to do the work to clean up the code. We’ve wanted to do this for a while, since the V4L1 cruft made the code much more complicated and therefore made testing that much harder.
In the end, it only took about an hour to remove the V4L1 dependency, and the results can be found here:
And as per usual, here are the commands required to build:
hg clone http://www.kernellabs.com/hg/~dheitmueller/tvtime
(or alternatively you can just run it where it lies by running ./src/tvtime)
If anybody notices any functional difference resulting from this change, please let me know. That is, unless you are expecting it to work with your very old V4L1-only device, in which case I might suggest spending $20 and buying a new card…