Something changed between linux-headers 2.6.27 and linux-headers 2.6.28 that breaks mplayer with the HVR-950 and possiable other tuners. The workaround is to "emerge -av =sys-kernel/linux-headers-2.6.27-r2" and then re-emerge mplayer. Reproducible: Always Steps to Reproduce: 1.emerge -avuD world, this pulls in linux-headers 2.6.28 2.update or re-emerge mplayer, this might be included in step 1. Actual Results: mplayer dvb:// will result in "UNKNOWN TUNER TYPE" Expected Results: Play dvb broadcasts, that are mandatory after February 17, 2009 for the USA. mplayer tv:// -tv driver=v4l2:alsa:immediatemode=0:adevice=hw.1,0:norm=ntsc:chanlist=us-bcast -vf pp,eq2 works just fine with 2.6.27 or 2.6.28 headers, but will useless after February 17, 2009
Confirm this is still happening. Neither upstream nor gentoo has offered any fixes save being trapped on linux-headers-2.6.27. This appears to affect all ATSC DVB frontends (I've got a HVR-980 also affected). I checked out the mythtv trunk, apparently they fixed this as of 2008-12-06 by just blindly accepting the new DVB_API_VERSION (5) as reported by linux-headers. I can't find any other changes in their code that refer to this version bump, so I guess it must have been sufficient. I can't find any docs about DVB API 5 to confirm or deny this. I did the same simple patch against mplayer, and it appears to work fine. I attached this patch, and I'm in process of submitting it upstream.
Created attachment 182579 [details, diff] Get mplayer to accept DVB API 5.
Well, DVB-API Version 5 is compatible to Version 3. That is it supports all the same ioctls as Version 3. The only addition is the so called s2api, that is a new ioctl to set various frontend parameters for tuner and demod that was not possible with API Version 3. So it is perfectly valid to accept Version 3 || Version 5 in the sources. We did the same for VDR.
can we apply this then so we can stabilize 2.6.28 ?
(In reply to comment #4) > can we apply this then so we can stabilize 2.6.28 ? > This code is in the MPlayer 20090731 that's going stable now for Security bug, and is already stable for amd64/hppa. I guess this is RESOLVED, FIXED. /* kernel headers >=2.6.28 have version 5. * * FIXME: are there any real differences between 3.1 and 5? */ #if (DVB_API_VERSION == 3 && DVB_API_VERSION_MINOR >= 1) || DVB_API_VERSION == 5 #define DVB_ATSC 1 #endif