linux驱上摄像头

debian方便啊……

插入摄像头,运行lsusb:
6# lsusb
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 009: ID 045e:00b9 Microsoft Corp. Wireless Optical Mouse 3.0
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000
Bus 005 Device 014: ID 0a5c:2110 Broadcom Corp.
Bus 005 Device 015: ID 0483:2016 SGS Thomson Microelectronics Fingerprint Reader
Bus 005 Device 001: ID 0000:0000
Bus 004 Device 003: ID 0ac8:301b Z-Star Microelectronics Corp. ZC0301 WebCam
Bus 004 Device 001: ID 0000:0000

发现 Z-Star,ok,能认出来。

安装内核模块,用m-a编译安装gspca-source。

然后加载# modprobe gspca
mvision:/lib/modules/2.6.24-686# lsmod |grep spc
gspca 661028 0
videodev 26816 2 gspca,zc0301
usbcore 132776 7 gspca,zc0301,hci_usb,usbhid,uhci_hcd,ehci_hcd

现在驱上了,使用skype就能看了:

skype in linux

用kde4的kopete也可以:
kopete

Leave a Comment

Your email address will not be published. Required fields are marked *