Re: What am I doing wrong? IBMCAM not found

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



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

-- 
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 entropy@xxxxxxxxxxxxx, Lawrence Foard)

Attachment: pgp8peilildCZ.pgp
Description: PGP signature


[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