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

Re: How to get a camera working?



On Thu, Jul 21, 2011 at 8:26 AM, Rob Hurle <rob1940@gmail.com> wrote:
> I have a USB camera (with lenses so that it can function as a bit of a
> microscope).  It comes with drivers for M$ Windows but I'd like to get
> it going with my debian squeeze system:
>
>    debianrob:~> uname -a
>    Linux debianrob 2.6.32-5-686 #1 SMP Mon Jun 13 04:13:06 UTC 2011
> i686 GNU/Linux
>
> When I plug it in a new /dev appears:
>
>    debianrob:/home/rob# ll -t /dev | head
>    total 0
>    crw-rw-rw-  1 root root      5,   2 Jul 21 16:51 ptmx
>
> and /var/log/messages shows:
>
>    debianrob:/home/rob# tail /var/log/messages
>    Jul 21 16:24:04 debianrob kernel: [27190.320511] usb 1-3: new high
> speed USB device using ehci_hcd and address 4
>    Jul 21 16:24:04 debianrob kernel: [27190.456940] usb 1-3: New USB
> device found, idVendor=1871, idProduct=01b0
>    Jul 21 16:24:04 debianrob kernel: [27190.456944] usb 1-3: New USB
> device strings: Mfr=1, Product=2, SerialNumber=0
>    Jul 21 16:24:04 debianrob kernel: [27190.456946] usb 1-3: Product:
> AVEO Cheetah3 USB2.0 Device
>    Jul 21 16:24:04 debianrob kernel: [27190.456948] usb 1-3:
> Manufacturer: AVEO Technology Corp.
>    Jul 21 16:24:04 debianrob kernel: [27190.457038] usb 1-3:
> configuration #1 chosen from 1 choice
>
> The results of lsusb are:
>
>    debianrob:/var/log# lsusb
>    Bus 005 Device 002: ID 046d:c00e Logitech, Inc. M-BJ58/M-BJ69
> Optical Wheel Mouse
>    Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
>    Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
>    Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
>    Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
>    Bus 001 Device 004: ID 1871:01b0 Aveo Technology Corp.
>    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
>
> So the Aveo device is there.  However, if I try to access it I get
> error messages, like this one from camorama:
>
>    v4l2: unable to open '/dev/video0': No such file or directory
>
> I guess that I need a driver of some sort, and that it is not in the
> kernel 2.6.32-5-686.  Is this correct?  Has anyone any idea how I can
> get the driver?  Web searching has not been fruitful so far.  Any help
> would be appreciated.  Thanks to all.
>

Hi Rob,

/dev/ptmx has nothing to do with the camera; it is used for pseudo-terminals.

Try loading the modules "videodev, uvcvideo and v4l1_compat" manually,
and then run "file /dev/video0" to see if the video device is
registered. You can also see this in /var/log/messages" after loading
the modules.

Regards,
Burhan


Reply to: