[vlc] v4l in VLC no longer works with 2.6.15-rc1 drivers

C.Y.M cym at syphir.sytes.net
Mon Nov 14 20:55:51 CET 2005


There have been changes in the 2.6.15-rc1 dvb drivers that have broken v4l
access modules to dvb cards.  If I use the following command, VLC works fine
with 2.6.14.2 kernel.

vlc -vvv v4l:/dev/video0:adev=/dev/dsp:audio=1:norm=ntsc:size=512x480 --sout
'#transcode{vcodec=DIV3,vb=756,acodec=mp3,ab=192,deinterlace}:std{access=http,mux=asf,url=:1234}'


This same command fails when booting up with 2.6.15-rc1.  I believe this may
have to do with the following change in the dvb driver:


--SNIP--

--- dvb-kernel/linux/drivers/media/dvb/dvb-core/dvbdev.c.orig   1 Jul 2005
23:19:48 -0000       1.44
+++ dvb-kernel/linux/drivers/media/dvb/dvb-core/dvbdev.c        5 Nov 2005
17:15:19 -0000
@@ -235,7 +235,7 @@ int dvb_register_device(struct dvb_adapt
                        S_IFCHR | S_IRUSR | S_IWUSR,
                        "dvb/adapter%d/%s%d", adap->num, dnames[type], id);

-       class_device_create(dvb_class, MKDEV(DVB_MAJOR, nums2minor(adap->num,
type, id)),
+       class_device_create(dvb_class, NULL, MKDEV(DVB_MAJOR,
nums2minor(adap->num, type, id)),
                            NULL, "dvb%d.%s%d", adap->num, dnames[type], id);

        dprintk("DVB: register adapter%d/%s%d @ minor: %i (0x%02x)\n",

--SNIP--


Would anyone happen to have a solution to this?

Best Regards,

-- 
This is the vlc mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://www.videolan.org/support/lists.html



More information about the vlc mailing list