Traditional Culture Encyclopedia - Photography major - Where can I download the linux camera driver for free?

Where can I download the linux camera driver for free?

Using a camera in Ubuntu

Ubuntu8.04 and above drivers can recognize most cameras, but their compatibility is not good. Many cameras can only be recognized by Ekiga, but not by skype. We need to do some installation and debugging work to make the camera work better.

First, check the current usb port connection:

$ lsusb

Bus 005 Device 00 1: ID 0000:0000

Bus 004 Device 00 1: ID 0000:0000

Bus 003 Equipment 002: ID 0483:20 16 SGS Thomson Microelectronic Fingerprint Reader

Bus 003 Device 00 1: ID 0000:0000

Bus 002 Equipment 005: ID 0ac8:30 1b Z-Star Microelectronics Company ZC030 1 Webcam

Bus 002 Equipment 003: ID 046d:c0 1f Logitech.

Bus 002 Device 00 1: ID 0000:0000

Bus 00 1 device 00 1: ID 0000:0000.

From these information, we can see that the camera's Vendor_id=0ac8, product _ id = 301b; You can also see that the usb port that has been used in the graphical interface and Z-Star Microelectronics, a camera chip manufacturer, show that our camera has been recognized by the system. Let's get started:

1. download gspcav1-20071224.tar.gz and unzip it.

$ wget -c /~alien/...av 1-2007 1224 . tar . gz

$ tar zxvf gsp CAV 1-2007 1224 . tar . gz

2. Compile and install the driver

$ CD gsp CAV 1-2007 1224

$ cleaning

$ make

$ TERM sudo making and installing

3. Edit module loading option file

$ sudo gedit/etc/modprobe . d/options

Add an option for this driver (add a line at the end)

Option gspca force_rgb= 1

Install camera software Cheese

$ TERM sudo apt-get installing cheese

Activate the cheese test camera. If you can't get an image:

$ lsmod|grep gspca

gspca 643920 0

Video development 29440 2 gspca, zc030 1

usbcore 146028 6 gspca,zc030 1,usbhid,ehci_hcd,uhci_hcd

Delete zc030 1 module.

$ sudo modprobe -r zc030 1

Add gspca module

$ sudo modprobe gspca

Check:

$ lsmod |grep gspca

gspca 643920 0

videodev 29440 1 gspca

usbcore 146028 5 gspca,usbhid,ehci_hcd,uhci_hcd

Reinsurance:

$ lsmod |grep videodev

videodev 29440 1 gspca

v4l 1 _ compat 15492 1 videodev

v4 L2 _ common 18304 1 video dev

Usually cheese can get an image at this time. If not:

$ ls-l/ development/video 0

Root video 812008-05-16 23: 48/dev/video0

Modify authority

$ sudo chmod 777 /dev/video0

Crwxrwxrwx+ 1 root video810 2008-05-16 23: 48/dev/video0

In fact, there is a simpler way to use the terminal.

$ sudo apt-get installs gspca-source.

Finally, I would like to remind you that turning on desktop special effects will cause the video screen to pause. I saw this on the official Bug submission forum, which should confirm that it is a Bug, so don't be so dazzling when you want to use the camera for the time being.