[GEM-dev] udev dv input

Georg Holzmann grhPD at gmx.at
Wed Dec 14 21:26:30 CET 2005


Hallo gem-devs!

As I use udev now I cannot use the dv input in Gem anymore.
The problem is the following (i think):
with devfs the device was /dev/dv1394 (on my computer)
now (udev) the device is on my computer /dev/dv1394/0

The problem is, that /dev/dv1394 is hardcoded in videoDV4L.cpp, so 
changing line 194:

       if ((fd=open("/dev/dv1394", O_RDWR)) < 0)    {

to:

       if ((fd=open("/dev/dv1394/0", O_RDWR)) < 0)    {

fixes the problem !

So we would need an additional message, to set the proper device - don't 
know which one... (pix_video is already very confusing)
anyway, I don't have the time to make a clean implementation now - have 
to make a video till friday ... :)

LG
Georg




More information about the GEM-dev mailing list