public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
* radio tuner but no V4L2_CAP_RADIO ?
@ 2011-02-13 19:39 Martin Dauskardt
  2011-02-13 21:35 ` Andy Walls
  0 siblings, 1 reply; 2+ messages in thread
From: Martin Dauskardt @ 2011-02-13 19:39 UTC (permalink / raw)
  To: linux-media

The following cards have a Multi Standard tuner with radio:
KNC One TV-Station DVR (saa7134) FMD1216MEX
HVR1300 (cx88-blackbird) Philips FMD1216ME
/dev/radio0 is present and working.

Both drivers do not report the radio when using VIDIOC_QUERYCAP.

Is this a bug, or is there no clear specification that a driver must report 
this?

Is there are any other way to check radio for support (besides trying to open 
a matching radio device) ?

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: radio tuner but no V4L2_CAP_RADIO ?
  2011-02-13 19:39 radio tuner but no V4L2_CAP_RADIO ? Martin Dauskardt
@ 2011-02-13 21:35 ` Andy Walls
  0 siblings, 0 replies; 2+ messages in thread
From: Andy Walls @ 2011-02-13 21:35 UTC (permalink / raw)
  To: Martin Dauskardt; +Cc: linux-media

On Sun, 2011-02-13 at 20:39 +0100, Martin Dauskardt wrote:
> The following cards have a Multi Standard tuner with radio:
> KNC One TV-Station DVR (saa7134) FMD1216MEX
> HVR1300 (cx88-blackbird) Philips FMD1216ME
> /dev/radio0 is present and working.
> 
> Both drivers do not report the radio when using VIDIOC_QUERYCAP.
> 
> Is this a bug, or is there no clear specification that a driver must report 
> this?

The V4L2 API spec is unclear on this subject in most places, but it is
*very* clear here:

http://linuxtv.org/downloads/v4l-dvb-apis/radio.html#id2682669

"Devices supporting the radio interface set the V4L2_CAP_RADIO and
V4L2_CAP_TUNER or V4L2_CAP_MODULATOR flag in the capabilities field of
struct v4l2_capability returned by the VIDIOC_QUERYCAP ioctl."

Those drivers have bugs.

Regards,
Andy

> Is there are any other way to check radio for support (besides trying to open 
> a matching radio device) ?



> --
> To unsubscribe from this list: send the line "unsubscribe linux-media" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-02-13 21:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-13 19:39 radio tuner but no V4L2_CAP_RADIO ? Martin Dauskardt
2011-02-13 21:35 ` Andy Walls

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox