Senin, 16 Juni 2008

Acer Aspire 4310, Acer CrystalEye webcam (064e:a101) on Ubuntu Linux

The Ubuntu Linux version is:
$ cat /etc/issue.net
Ubuntu 7.04
The Linux kernel version is:
$ uname -a
Linux xxx-laptop 2.6.20-15-generic #2 SMP Sun Apr 15 07:36:31 UTC 2007 i686 GNU/Linux

The fresh install will detect the webcam:
dmesg | grep Crystal
[ 22.116000] uvcvideo: Found UVC 1.00 device Acer CrystalEye webcam (064e:a101)
Camorama and other applications that do not support v4l2 will not work. The webcam driver uvcvideo (linux-uvc) supports v4l2 only. v4l1 is officially deprecated.
To test, you can use Ekiga softphone or to take webcam snapshots use luvcview.
Source code: http://mxhaard.free.fr/spca50x/Investigation/uvc/luvcview-20070512.tar.gz
Mirror: http://premrara.googlepages.com/luvcview-20070512.tar.gz
You will also need libsdl1.2-dev (for SDL libraries) and build-essential (for building tools like gcc and make utility).
$ sudo aptitude install build-essential libsdl1.2-dev
$ wget http://mxhaard.free.fr/spca50x/Investigation/uvc/luvcview-20070512.tar.gz
$ tar zxvf luvcview-20070512.tar.gz
$ cd luvcview-20070512
$ make
$ make install
To make it user-friendly, create a Custom Application Launcher pointed to this script:
#!/bin/bash
# will place snapshots in Desktop
cd ~/Desktop
# will produce pnm: Netpbm PPM “rawbits” image data,
# instead of default MJPEG format that the webcam does not support
luvcview -f yuv
If you have questions, post them at http://www.ubuntuforums.org and point them from here.

Tidak ada komentar:

Posting Komentar

Silahkan kirim komentar anda tentang blog ini dengan bahasa yang sopan dan santun.