Debian USB camera (chip ZC0301) Driver Installed

Source: Internet
Author: User
Tags dmesg
Debian install USB camera (chip ZC0301) driver-Linux release version technology-Debian information, the following is read details. Insert USB camera
$ 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 0133: 8150 Realtek semiconducorp. RTL8150 Fast Ethernet Adapter
Bus 001 Device 002: ID 0ace: 1215 ZyDAS
Bus 001 Device 001: ID :0000

ZC0301 WebCam is the chip of our USB camera, and the kernel supports drivers.
Drivers/media/video/zc0301/, supports V4L2.

$ Apt-get install spca5xx-source
[Confirmation Source:
Deb http://debian.cn99.com/debian etch main contrib non-free
Deb-src http://debian.cn99.com/debian etch main contrib non-free
]

Let's see where the source code is pulled.
$ Dpkg-L spca5xx-source
/.
/Usr
/Usr/src
/Usr/src/spca5xx-source.tar.bz2
/Usr/share
/Usr/share/doc
/Usr/share/doc/spca5xx-source
/Usr/share/doc/spca5xx-source/README-SONIX
/Usr/share/doc/spca5xx-source/README-TV8532
/Usr/share/doc/spca5xx-source/RGB-YUV % 2fmodule-setting
/Usr/share/doc/spca5xx-source/README. Debian
/Usr/share/doc/spca5xx-source/copyright
/Usr/share/doc/spca5xx-source/changelog.gz
/Usr/share/doc/spca5xx-source/README.gz
/Usr/share/doc/spca5xx-source/changelog.Debian.gz
/Usr/share/modass
/Usr/share/modass/overrides
/Usr/share/modass/overrides/spca5xx-source

$ Cd/usr/src
$ Tar jxf spca5xx-source.tar.bz2
$ Cd modules/spca5xx/

Refer to the INSTALL file
$ Make clean
$ Make
$ Make install

Load Module
$ Modprobe spca5xx
$ Lsmod | grep sp
Spca5xx 642544 0
Videodev 21120 2 spca5xx, zc0301
Pcspkr 3072 0
Usbcore 112644 7 spca5xx, zc0301, zd1211b, rtl8150, usbhid, ohci_hcd
[Pcspkr was originally available before modprobe]
At this time,/dev/video0 is ready.

Install an application
$ Apt-get install camorama

Run camorama.

Another camera (chip sn9c101) can be used directly this time because the spca driver has been installed.
The following figure shows the dmesg information during plugging.

Usb 1-2: new full speed USB device using ohci_hcd and address 4
Usb 1-2: configuration #1 chosen from 1 choice
Linux video capture interface: v2.00
/Usr/src/modules/spca5xx/drivers/usb/spca5xx. c: USB SPCA5XX camera found. SONIX sn9c101 + Tas 5110
/Usr/src/modules/spca5xx/drivers/usb/spca5xx. c: [spca5xx_probe: 5480] Camera type SN9C
/Usr/src/modules/spca5xx/drivers/usb/spca5xx. c: [spca5xx_getcapability: 1765] maxw 352 maxh 288 minw 160 minh 120
Usbcore: registered new driver spca5xx
/Usr/src/modules/spca5xx/drivers/usb/spca5xx. c: spca5xx driver 00.60.00 registered
Sn9c102: V4L2 driver for SN9C10x PC Camera Controllers v1: 1.27
Usbcore: registered new driver sn9c102
Usb 1-2: USB disconnect, address 4
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.