摄像头是天敏的minicom,硬件像素30万,插值像素48万。最大分辨率640x480.
安装驱动的过程如下:
软件包是spca5xx-source。这是sourceforthespca5xxdriver。apt-get安装以后,在/usr/src/下面有驱动的源码包。解压后
[root@localhostspca5xx-20060501]#make
[root@localhostspca5xx-20060501]#makeinstall
[root@localhostspca5xx-20060501]#modprobespca5xx
看看驱动模块挂载好了没有?
[root@localhostspca5xx-20060501]#lsmod|grepspca5xx
spca5xx6599200
videodev70401spca5xx
我们再查看一下设备/dev/video0是否存在?
[root@localhostspca5xx-20060501]#ls-lh/dev/video0
crw-------1beinanroot81,006-0809:33/dev/video0
还可以这样查看硬件信息:
root@etch:~$lshal|grepvideo4linux
udi=''/org/freedesktop/Hal/devices/usb_device_ac8_303b_noserial_video4linux''
info.udi=''/org/freedesktop/Hal/devices/usb_device_ac8_303b_noserial_video4linux''(string)
linux.subsystem=''video4linux''(string)
video4linux.device=''/dev/video0''(string)
info.capabilities={''video4linux''}(stringlist)
info.category=''video4linux''(string)
linux.sysfs_path=''/sys/class/video4linux/video0''(string)
root@etch:~$lshal-l-uusb_device_ac8_303b_noserial
udi=''/org/freedesktop/Hal/devices/usb_device_ac8_303b_noserial''
info.udi=''/org/freedesktop/Hal/devices/usb_device_ac8_303b_noserial''(string)
linux.subsystem=''usb''(string)
linux.hotplug_type=1(0x1)(int)
usb_device.bus_number=2(0x2)(int)
usb_device.can_wake_up=false(bool)
usb_device.is_self_powered=false(bool)
usb_device.version_bcd=272(0x110)(int)
usb_device.speed_bcd=4608(0x1200)(int)
usb_device.linux.device_number=5(0x5)(int)
usb_device.num_ports=0(0x0)(int)
usb_device.max_power=160(0xa0)(int)
usb_device.device_revision_bcd=256(0x100)(int)
info.product=''PCCamera''(string)
usb_device.product=''PCCamera''(string)
info.vendor=''VimicroCorp.''(string)
usb_device.vendor=''VimicroCorp.''(string)
usb_device.product_id=12347(0x303b)(int)
usb_device.vendor_id=2760(0xac8)(int)
usb_device.device_protocol=0(0x0)(int)
usb_device.device_subclass=0(0x0)(int)
usb_device.device_class=255(0xff)(int)
usb_device.num_configurations=1(0x1)(int)
usb_device.linux.sysfs_path=''/sys/devices/pci0000:00/0000:00:1d.1/usb2/2-2''(string)
info.linux.driver=''usb''(string)
info.bus=''usb_device''(string)
info.parent=''/org/freedesktop/Hal/devices/usb_device_0_0_0000_00_1d_1''(string)
linux.sysfs_path_device=''/sys/devices/pci0000:00/0000:00:1d.1/usb2/2-2''(string)
linux.sysfs_path=''/sys/devices/pci0000:00/0000:00:1d.1/usb2/2-2''(string)
然后,可以安装应用软件。
软件1:gqcam
可以用apt-get来安装。运行命令如下:
root@etch:~$gqcam-v/dev/video0
这个东西的界面很大,几乎占了半个屏幕。不好用。
软件2:camstream
可以用apt-get来安装。还可以安装说明文档camstream-doc。
运行命令是:
root@etch:~$camstream
可以自己添加菜单项来运行它。
软件3:SpcaView软件包,包括一组工具
debian linux 安装摄像头debian linux 安装摄像头debian linux 安装摄像头debian linux 安装摄像头debian linux 安装摄像头debian linux 安装摄像头debian linux 安装摄像头debian linux 安装摄像头debian linux 安装摄像头debian linux 安装摄像头
阅读(842) | 评论(0) | 转发(0) |