Re: What am I doing wrong? IBMCAM not found

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Thanks for your response.
In my case, video4linux support is compiled as a module.
What I do is to run a script ./quickcam.sh to load the modules. Should I
instead compile the support into the kernel ?




On Mon, 10 Dec 2001, Dmitri wrote:

> Quoting Madhusudan Singh <chhabra@xxxxxxxxxxxxxx>:
>
> > > 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
>
>





[Index of Archives]     [Linux DVB]     [Video Disk Recorder]     [Asterisk]     [Photo]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Free Photo Albums]     [Fedora Users]     [Fedora Women]     [ALSA Users]     [ALSA Devel]     [Linux USB]

Powered by Linux