Install a camera in Debian Linux

Source: Internet
Author: User
Install the camera under Debian Linux-Debian Technology for the Linux release. For details, refer to the following section. The camera is tianmin's minicom, with 0.3 million hardware pixels and 0.48 million interpolation pixels. The maximum resolution is 640x480.

The driver installation process is as follows:
The package is a spca5xx-source. This is the source for the spca5xx driver. After apt-get is installed, a driver source code package is available under/usr/src. Decompress the package

[Root @ localhost spca5xx-20060501] # make
[Root @ localhost spca5xx-20060501] # make install
[Root @ localhost spca5xx-20060501] # modprobe spca5xx

Check if the driver module has been mounted?
[Root @ localhost spca5xx-20060501] # lsmod | grep spca5xx
Spca5xx 659920 0
Videodev 7040 1 spca5xx

Check whether/dev/video0 exists?
[Root @ localhost spca5xx-20060501] # ls-lh/dev/video0
Crw ------- 1 beinan root 81, 0 06-08 09:33/dev/video0

You can also view the hardware information as follows:

Root @ etch :~ $ Lshal | grep video4linux

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 '} (string list)

Info. category = 'video4linux '(string)

Linux. sysfs_path = '/sys/class/video4linux/video0' (string)


Root @ etch :~ $ Lshal-l-u usb_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 = 'pc Camera '(string)

Usb_device.product = 'pc Camera '(string)

Info. vendor = 'vimicro Corp. '(string)

Usb_device.vendor = 'vimicro Corp. '(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/PCIe 0000: 00/0000: 00: 1d. 1/usb2/2-2' (string)

Linux. sysfs_path = '/sys/devices/pci0000: 00/0000: 00: 1d. 1/usb2/2-2' (string)

Then, you can install the application software.

Software 1: gqcam

You can use apt-get for installation. Run the following command:

Root @ etch :~ $ Gqcam-v/dev/video0

The interface for this item is very large, and almost half of the screen is occupied. It is not easy to use.

Software 2: camstream

You can use apt-get for installation. You can also install the camstream-doc documentation.

Run the following command:

Root @ etch :~ $ Camstream

You can add a menu item to run it.

Software 3: SpcaView software package, including a set of tools

I just heard about this. Never used.
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.