Summary: | mplayer "UNKNOWN TUNER TYPE" HVR-950 linux-headers 2.6.28 media-video/mplayer-1.0_rc2_p28288 media-video/mplayer-1.0_rc2_p28058-r1 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Techwolf <techwolf.lupindo> |
Component: | Current packages | Assignee: | Gentoo Media-video project <media-video> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 273358 | ||
Attachments: | Get mplayer to accept DVB API 5. |
Description
Techwolf
2009-01-18 17:18:30 UTC
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 |