Ian Zimmerman <i...@buug.org> writes:

>>>>>> "Ben" == Ben Pfaff <b...@cs.stanford.edu> writes:
>
> Ben> Ian Zimmerman <i...@buug.org> writes:
>>> With ADS InstantFM USB radio, kernel 2.6.29.2 and radio_si470x driver
>>> I get:
>>> 
>>> i...@foolinux:~$ fm 102.1 ioctl VIDIOCSTUNER: Invalid argument
>>> 
>>> Note that the device *can* be tuned with the radio program from the
>>> radio package, so this is not a hardware or driver problem.  I
>>> suspect a compatibility issue (v4l v1 vs v2?)
>
> Ben> This is probably the case, because fmtools uses v4l v1.
>
> Ben> Is your kernel compiled with the v4l1 options?
> Ben> CONFIG_VIDEO_ALLOW_V4L1=y CONFIG_VIDEO_V4L1_COMPAT=y
>
> ~$ fgrep V4L1 /boot/config-2.6.29.3matica1 
> # CONFIG_VIDEO_ALLOW_V4L1 is not set
> CONFIG_VIDEO_V4L1_COMPAT=y
>
> When I was configuring the kernel, I assumed I needed one or the other,
> not both.  Was I wrong?

It looks like CONFIG_VIDEO_V4L1_COMPAT=y should be sufficient,
except for radio drivers that only support v4l1.  We know that
isn't the case for your driver, since it works with the "radio"
program.

Probably, fmtools needs support for v4l2.  I will add this to my
to-do list.  (My to-do is quite long, so I cannot make any
promises about when I will get around to it.)

Thank you for the report.
-- 
"The road to hell is paved with convenient shortcuts."
--Peter da Silva



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to