All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andy Walls <awalls@md.metrocast.net>
To: Martin Dauskardt <martin.dauskardt@gmx.de>
Cc: linux-media@vger.kernel.org
Subject: Re: radio tuner but no V4L2_CAP_RADIO ?
Date: Sun, 13 Feb 2011 16:35:56 -0500	[thread overview]
Message-ID: <1297632956.2401.11.camel@localhost> (raw)
In-Reply-To: <201102132039.07632.martin.dauskardt@gmx.de>

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



      reply	other threads:[~2011-02-13 21:35 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-13 19:39 radio tuner but no V4L2_CAP_RADIO ? Martin Dauskardt
2011-02-13 21:35 ` Andy Walls [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1297632956.2401.11.camel@localhost \
    --to=awalls@md.metrocast.net \
    --cc=linux-media@vger.kernel.org \
    --cc=martin.dauskardt@gmx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.