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?
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.
- Related articles
- Why is Highway 50 called the loneliest highway in America?
- Writing pinyin
- Why does Mr. Bean feel funny in the show but serious in reality?
- Which gate is the entrance of Yudai Bridge in the Summer Palace to shoot the sunrise?
- Vision | Daily life of a Dongfeng South 4S shop before returning to work
- What if BBK's leaves wither?
- Is Qingshan Lake in Hangzhou fun? Brief introduction of Qingshan Lake in Hangzhou
- Where is the tobacco wholesale market in Liusha Town, Puning City, Jieyang?
- Who can introduce the city of Suizhou, Hubei? Thank you.
- Spring outing weekly diary 500 words