Quoting Madhusudan Singh <[EMAIL PROTECTED]>: > > It looks like you are running these programs as root so that shouldn't > > be the problem, but you might need to change the permissions on > > /dev/video* for normal users to get at those devices > > Yes that is not the problem. My quickcam express is not working in a > similar way :
The IBM camera driver just does this:
static int video_nr = -1;
if (video_register_device(&uvd->vdev, VFL_TYPE_GRABBER,video_nr) == -1) {
err("%s: video_register_device failed", proc);
return -EPIPE;
}
if (uvd->debug > 1) {
info("%s: video_register_device() successful", proc);
}
if (uvd->dev == NULL) {
err("%s: uvd->dev == NULL", proc);
return -EINVAL;
}
info("%s on /dev/video%d: canvas=%s videosize=%s",
(uvd->handle != NULL) ? uvd->handle->drvName : "???",
uvd->vdev.minor, tmp2, tmp1);
So if the device registration is successful then I guess videodev.o should
handle open() and other callbacks into the registered driver. If it
doesn't then it is broken, I suppose.
Dmitri
--
I develop for Linux for a living, I used to develop for DOS.
Going from DOS to Linux is like trading a glider for an F117.
(By [EMAIL PROTECTED], Lawrence Foard)
msg01557/pgp00000.pgp
Description: PGP signature
