]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
V4L/DVB (5039): Pvrusb2: Implement /dev/radioX
authorPantelis Koukousoulas <pakt223@freemail.gr>
Thu, 28 Dec 2006 02:09:55 +0000 (23:09 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Wed, 21 Feb 2007 15:34:23 +0000 (13:34 -0200)
commitae2b9e25fdfb63efed3659b19c5cc8778fd981ba
treefbe27d954b42b17e9f663a95fc2433d897568f24
parent99cfdf5cc6dbe0bd748d810953874d4e08051a9f
V4L/DVB (5039): Pvrusb2: Implement /dev/radioX

The "main" V4L2 interface patch. This is yet very incomplete, incorrect and
probably inappropriate for inclusion as-is, but at least with this I 'm able
to tune and play radio through a V4L2 program (pvr-radio.c, a "thumb" version
of ivtv-radio.c with just the essentials).

Therefore, it kinda gives an idea of what is needed to support this, hm,
interface (partly used also by e.g., kradio). Please point out any mistakes
on this code. I 'm sure I 'm messing up some struct initialization somewhere
but currently I 'm too lazy to actually think this through until I complete
the functionality (e.g., handle the VIDIOC_S_STD, ENUMINPUT, etc ioctls
appropriately).

Signed-off-by: Pantelis Koukousoulas <pakt223@freemail.gr>
Signed-off-by: Mike Isely <isely@pobox.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/pvrusb2/pvrusb2-v4l2.c