插入USB摄像头,
$ dmesg
Linux video capture interface: v2.00
zc0301: V4L2 driver for ZC0301[P] Image Processor and Control Chip v1:1.05
usb 1-2: ZC0301[P] Image Processor and Control Chip detected (vid/pid 0x0AC8/0x301B)
usb 1-2: No supported image sensor detected
usbcore: registered new driver zc0301
$ lsusb
Bus 001 Device 005: ID 0ac8:301b Z-Star Microelectronics Corp. ZC0301 WebCam
Bus 001 Device 004: ID 0bda:8150 Realtek Semiconductor Corp. RTL8150 Fast Ethernet Adapter
Bus 001 Device 002: ID 0ace:1215 ZyDAS
Bus 001 Device 001: ID 0000:0000
ZC0301 WebCam就是我们USB摄像头的芯片,内核是有驱动支持的。
drivers/media/video/zc0301/, 支持V4L2.
$ apt-get install spca5xx-source
[确认源:
deb etch main contrib non-free
deb-src etch main contrib non-free
]
看看源码放在哪里拉
$ dpkg -L spca5xx-source