Chinaunix首页 | 论坛 | 博客
  • 博客访问: 10814
  • 博文数量: 7
  • 博客积分: 15
  • 博客等级: 民兵
  • 技术积分: 45
  • 用 户 组: 普通用户
  • 注册时间: 2011-04-09 10:09
文章分类
文章存档

2011年(7)

我的朋友
最近访客

分类:

2011-09-11 15:15:18

  Linux UVC driver and tools

自从法国佬那一网站在内地访问不了之后,很多想学习的朋友都感觉无从下手了,每次都从以前的文档里拷来拷去,结果也没找到什么新意的玩意。而且好不容易用另外的方式看了一下老外的那个网站,发现和以前没什么变化,支持的还那些摄像头,毕竟已经做了这么多贡献,也够累的了。

不过新产品还在上市,而且我们也在用,在linux下做驱动,还是得有后来的同志们跟上,找到找志去,无意中发现,linux的计划,已经对几乎市场上的大多摄像头进行开发,现将原文转如,方便参考。

以下来源:

The Linux UVC projects is currently focussing on kernel support for UVC devices. The driver implements the Video4Linux 2 (V4L2) API. Support for V4L1 is not planned.The following table lists the UVC features supported by the Linux UVC driver.

The table below lists known UVC devices. Other UVC compliant video input devices are very likely to be supported. If your UVC device is not listed below, please report it to the Linux UVC development mailing list. You need to subscribe to the list before posting.

For Logitech UVC webcams, the QuickCam Team website hosts a very detailed list of cameras models with part numbers and chipset models.

  • Device works
  • Device works with issues
  • Device is untested
  • Device doesn't work
下面就是支持的摄像头型号:
Device ID Name Manufacturer Status
0402:5606 USB 2.0 Camera (VIT D2010 notebooks) ALi Corporation
0408:030c HP Webcam (HP Pavilion DV6744 and DV6750) Quanta Computer
041e:4057 Creative Live! Cam Optia Creative Labs
041e:4058 Creative Live! Cam Optia AF Creative Labs
041e:4063 Creative Live! Cam Video IM Pro Creative Labs []
041e:4065 Creative Live! Cam Optia Pro Creative Labs
041e:406a Creative Live! Cam Notebook Ultra Creative Labs
0458:505e Genius iSlim 330 Genius
0458:7055 Genius iSlim 2020AF Genius
0458:705d Genius iSlim 2000AF Genius
0458:706e Genius eFace 2025 Genius
0458:7071 Genius iSlim 1300 V2 Genius
045e:00f8 Microsoft LifeCam NX-6000 Microsoft
045e:075d Microsoft LifeCam Cinema Microsoft
046d:0802 Logitech Webcam C200 Logitech
046d:0804 Logitech Webcam C250 Logitech
046d:0805 Logitech Webcam C300 Logitech
046d:0807 Logitech Webcam C500 Logitech
046d:0808 Logitech Webcam C600 Logitech
046d:0809 Logitech Webcam Pro 9000 Logitech
046d:080a Logitech Portable Webcam C200 Logitech
046d:08c1 Logitech Quickcam Fusion Logitech [,]
046d:08c2 Logitech Quickcam Orbit/Sphere MP Logitech [,]
046d:08c3 Logitech Quickcam for Notebooks Pro Logitech [,]
046d:08c5 Logitech Quickcam Pro 5000 Logitech [,]
046d:08c6 Logitech Quickcam OEM Dell Notebook Logitech [,]
046d:08c7 Logitech Quickcam OEM Cisco VT Camera II Logitech [,]
046d:08c9 Logitech Quickcam Ultra Vision Logitech [,]
046d:08ca Logitech Quickcam Fusion (2006 model) Logitech [,]
046d:08cb Logitech Quickcam for Notebooks Pro (2006 model) Logitech [,]
046d:08cc Logitech Quickcam Orbit/Sphere MP (2006 model) Logitech [,]
046d:08ce Logitech Quickcam Pro 5000 (2006 model) Logitech [,]
046d:0990 Logitech Quickcam Pro 9000
Logitech Quickcam Pro 9000 for Business
Logitech []
046d:0991 Logitech Quickcam Pro for Notebooks (2007 model)
Logitech Quickcam Pro for Notebooks for Business
Logitech
046d:0992 Logitech Quickcam Communicate Deluxe Logitech
046d:0994 Logitech Quickcam Orbit/Sphere AF Logitech
046d:09a1 Logitech Quickcam Communicate MP/S5500
Logitech Quickcam Communicate MP for Business
Logitech
046d:09a2 Logitech Quickcam Communicate Deluxe/S7500 Logitech
046d:09a4 Logitech Quickcam E 3500 Logitech
046d:09a5 Logitech Quickcam 3000 for Business Logitech
046d:09a6 Logitech Quickcam Vision Pro Logitech
046d:09b0 Acer OrbiCam (Acer notebooks) Logitech
046d:09b2 Fujitsu Webcam (Fujitsu-Siemens notebooks) Logitech []
046d:09c0 Quickcam for Dell Notebooks (Dell notebooks) Logitech [,]
046d:09c1 Logitech Quickcam Deluxe for Notebooks
Logitech Quickcam Deluxe for Notebooks for Business
Logitech [,]
0471:0331 Philips SPC 1300NC Philips
0471:0332 Philips SPC 1000NC Philips
0471:0333 Philips SPC 620NC Philips
0471:0334 Philips SPC 520/525NC Philips
0471:2034 Philips SPC 530NC Philips
0471:2037 Philips SPC 1330NC Philips
0471:2038 Philips SPC 2050NC Philips
0474:0722 Sanyo W33SA Sanyo Electric
0474:02da Sanyo Xacti HD2000 Sanyo Electric
0489:d00a Traveler DC 8900 Schenker Inc.
04cb:014c Fujifilm FinePix A340 Fujifilm
04cb:016f Fujifilm FinePix S5500 Zoom Fujifilm
04cb:0172 Fujifilm FinePix E550 Fujifilm
04da:2318 Panasonic Camcorder NV-GS11/230/250 (webcam mode) Panasonic
04da:231a Panasonic Camcorder NV-GS11/230/250 (DV mode) Panasonic
04da:231d Panasonic Camcorder NV-GS27/37/320/500 (webcam mode) Panasonic
04da:231e Panasonic Camcorder NV-GS27/37/320/500 (DV mode) Panasonic
04f2:a133 Chicony USB 2.0 1.3MP UVC Camera Chicony Electronics
04f2:a13c HP KQ246AA 8.0MP Deluxe Webcam Chicony Electronics
04f2:a13e Panda 10C Chicony Electronics
04f2:a147 Medion P86004 2MP Webcam with Headset Chicony Electronics
04f2:b008 Chicony USB 2.0 Camera Chicony Electronics
04f2:b012 Chicony 1.3M UVC Webcam (Asus G1S notebooks) Chicony Electronics []
04f2:b013 Chicony USB 2.0 Camera (Lenovo 3000 N200 notebooks) Chicony Electronics
04f2:b015 Chicony VGA 24fps UVC Webcam (HP notebooks) Chicony Electronics
04f2:b016 Chicony VGA 30fps UVC Webcam (HP notebooks) Chicony Electronics
04f2:b018 Chicony 2M UVC Webcam (Compal notebooks) Chicony Electronics
04f2:b021 ViewSonic 1.3M, USB2.0 Webcam (ViewSonic VX2255WMB screens) Chicony Electronics []
04f2:b022 Gateway USB 2.0 Webcam (One C34xx notebooks) Chicony Electronics
04f2:b023 Gateway USB 2.0 Webcam (HP Pavilion DV9560EG notebooks) Chicony Electronics
04f2:b024 USB 2.0 Webcam (Packard Bell notebooks) Chicony Electronics
04f2:b027 Gateway USB 2.0 Webcam (Gateway T-1616 notebooks) Chicony Electronics
04f2:b029 USB 2.0 1.3M UVC WebCam (Asus F6S notebooks) Chicony Electronics
04f2:b033 USB 2.0 1.3M UVC WebCam (Asus M70VM notebooks) Chicony Electronics
04f2:b044 Acer CrystalEye webcam (Acer Aspire 5535 notebooks) Chicony Electronics
04f2:b062 CNF7045 (Packard-Bell notebooks) Chicony Electronics
04f2:b070 Toshiba Satellite L350D notebooks Chicony Electronics
04f2:b071 CNF71297 (Asus N10JA2 netbooks and K50IN notebooks) Chicony Electronics []
04f2:b073 CNF7231 (MSI MS-1722 ID1 notebooks) Chicony Electronics
04f2:b082 CKA7227 (HP EliteBook 2530p notebooks) Chicony Electronics
04f2:b083 CKF7063 (HP Compaq 6830s notebooks) Chicony Electronics
04f2:b105 Lenovo EasyCamera (Lenovo IdeaPad Y530 notebooks) Chicony Electronics
04f2:b106 CNF7246 (Asus G71V notebooks) Chicony Electronics
04f2:b107 CNF7070 (HP 2133 notebooks) Chicony Electronics
058f:3820 Future Boy PC USB Webcam (Alcor Micro AU3820 chipset) Alcor Micro
05a9:2640 OmniVision OV2640 (Dell Inspiron 1420/1720 notebooks) OmniVision
05a9:2643 OmniVision Monitor Webcam (Dell SP2208WFP) OmniVision
05a9:2649 OmniVision Monitor Webcam (Dell SP2309W) OmniVision
05a9:7670 OmniVision OV7670 (Dell XPS m1330 notebooks) OmniVision
05ac:8502 Apple built-in iSight Apple []
05c8:0103 FO13FF-65 PC-CAM Foxlink
05ca:18a1 Integrated Webcam (Dell Studio 1535 notebooks) Ricoh
064e:a100 Acer OrbiCam (Acer notebooks) SuYin
064e:a101 Acer CrystalEye webcam (Acer notebooks) SuYin
064e:a103 Acer OrbiCam (Acer Aspire 7730ZG-343G32Mn notebooks) SuYin
064e:a110 HP Webcam (HP TX2000 notebooks) SuYin
064e:a111 USB 2.0 Camera (Datron TW7A notebooks) SuYin
064e:a116 USB 2.0 UVC 1.3M WebCam (Asus N20A notebooks) SuYin []
064e:a117 Acer HD Crystal Eye webcam (Acer 4930 notebooks) SuYin
064e:a118 Integrated Webcam (Dell Mini 9 netbooks) SuYin
064e:d101 Acer Crystal Eye webcam (Acer Aspire One AOA150-Ab netbooks) SuYin
06f8:3005 Hercules Dualpix Exchange Guillemot Corp.
06f8:3007 Hercules Dualpix Chat and Show Guillemot Corp.
06f8:300a Hercules Dualpix Infinite Guillemot Corp.
06f8:3020 Hercules Webcam EC300 (Malata PC-81005 netbooks and clones) Guillemot Corp.
090c:b370 Silicon Motion SM370 Silicon Motion
090c:b371 Silicon Motion SM371 Silicon Motion
093a:2700 iSonic W002
A4Tech PK-635K
Digital Innovations 1.3MP Webcam
Pixart Imaging
093a:2800 DealExtreme USB 2.0 Camera Pixart Imaging
093a:2900 Agama V-315 Pixart Imaging
0ac8:0336 Elecom UCAM-DLQ30 (Vimicro VC0336 chipset) Solid Years
0ac8:3313 TopSpeed USB 2.0 Camera B. Vimicro
0ac8:332d Vega USB 2.0 Camera (AOC screens and Techsolo TCA-4900) Vimicro
0ac8:3330 Sirius USB 2.0 Camera (Xinyi Y867 LCD Prince) Vimicro
0ac8:3343 Sirius USB 2.0 Camera (Fujitsu A6110 notebook) Vimicro
0ac8:3410 Venus USB 2.0 Camera (Minoru3D) Vimicro []
0ac8:3420 Venus USB 2.0 Camera (Tevion MD 85872 and Minoru3D) Vimicro []
0ac8:3450 A4Tech PK-333E A4Tech
0ac8:c302 Vega USB 2.0 Camera (Samsung Q45 notebook) Vimicro
0ac8:c303 Saturn USB 2.0 Camera (Samsung screens) Vimicro
0ac8:c315 HP Elite Autofocus Webcam Vimicro
0c45:62c0 Sonix USB 2.0 Camera (Acer Aspire 5050 and HP Pavilion DV6000 notebooks)
Trust SpotLight Webcam Pro
Sonix Technology
0c45:62e0 MSI Starcam Racer Sonix Technology
0c45:62f1 Avatec CMA-L688
HueHD
Sonix Technology
HueHD
[]
0c45:63e0 Sonix Integrated Webcam (found in Dell notebooks) Sonix Technology
0c45:63ea Laptop Integrated Webcam 2M (found in Dell Studio 1555 notebooks) Sonix Technology
0c45:6415 Laptop Integrated Webcam 1.3M (found in Dell Inspiron 13z notebooks) Sonix Technology
0e8d:0004 MediaTek MT6227 phone MediaTek Inc
13d3:509b USB 2.0 Camera (found in Asus EeePC T91 netbooks) Genesys Logic Technology
13d3:5130 USB 2.0 Camera (Asus K50IE notebooks) Sonix Technology []
145f:013e Trust Megapixel USB2 WB-5600R Trust
145f:013f Trust Megapixel USB2 Auto Focus Webcam Trust
145f:0142 Trust WB-6250X Webcam Trust
145f:015b Trust WB-8500X Webcam Trust
174f:5212 Syntek USB 2.0 UVC PC Camera (HP Spartan notebooks) Syntek
174f:5215 Syntek USB 2.0 UVC PC Camera (upcoming UMPC device) Syntek
174f:5271 Syntek USB 2.0 UVC PC Camera (upcoming UMPC device) Syntek
174f:5931 Syntek USB 2.0 UVC PC Camera (Samsung Q310 notebooks) Syntek
174f:5a11 Unknown (Asus A8Sc notebook) Unknown
174f:5a31 Sonix USB 2.0 Camera (Asus M50SV notebook) Sonix
174f:5a35 Sonix USB 2.0 Camera (Asus F3KE and G2S notebook) Sonix []
174f:8a12 Syntek USB 2.0 UVC PC Camera (Packard Bell Easynote MX52 notebooks) Syntek
174f:8a33 Syntek USB 2.0 UVC PC Camera (Asus U3S notebooks) Syntek
174f:8a34 Syntek USB 2.0 UVC PC Camera (JAOtech Smart Terminal) Syntek
1778:0204 PEVO corp IPEVO Point 2 View
17dc:0202 Miricle 307K Thermoteknix
17ef:480b Integrated Camera(Lenovo SL400 and SL500 notebooks) Lenovo
1871:01f0 Aveo Technology USB 2.0 Camera Aveo Technology
1871:0306 Aveo Technology USB 2.0 Camera Aveo Technology
18cd:cafe Pico iMage Ecamm
18ec:3288 FSC WebCam V30S ArkMicro []
18ec:3290 USB 2.0 PC Camera (Sabrent WCM-6LNV) ArkMicro
18ec:3299 USB 2.0 PC Camera (model number QC3231) ArkMicro
199e:8101 DFx 21BU04 ImagingSource
19ab:1000 Bodelin ProScope HR Bodelin
19ff:0102 Dynex 1.3MP Webcam Dynex
1b3b:2951 MSI StarCam 370i Unknown
1c4f:3000 SiGma Micro USB Web Camera SiGma Micro
1cac:a332 Kinstone C8 webcam (Vimicro chipset) Kinstone
1cac:b288 Kinstone C18 webcam (Sonix chipset) Kinstone
1e4e:0100 USB 2.0 Camera Etron Technologies []
22b8:6006 Motorola MOTOROKR E6 Motorola
5986:0100 Acer OrbiCam (Acer notebooks) Bison Electronics
5986:0101 USB2.0 Camera (Packard Bell Easynote SJ notebooks) Bison Electronics
5986:0102 Acer Crystal Eye webcam (Acer TravelMate 7720 notebooks) Bison Electronics
5986:0200 Acer OrbiCam (Acer notebooks) Bison Electronics
5986:0202 Bison (Fujitsu-Siemens Amilo SI2636 notebooks) Bison Electronics
5986:0203 Bison (Advent 4211 and MSI Wind notebooks) Bison Electronics
5986:0205 Lenovo EasyCamera (Lenovo N500 and U330 notebooks) Bison Electronics []
5986:0241 Bison (MSI Wind Top AE1900 nettop) Bison Electronics
eb1a:2571 eMPIA 27xx based camera (unbranded) eMPIA Technology
eb1a:2761 eMPIA 2761 based camera (unbranded) eMPIA Technology
eb1a:2771 eMPIA 2771 based camera (Intelbras iPlug notebook) eMPIA Technology

First and second generation Logitech webcams suffer from firmware bug which make the camera somehow unstable. As the issue is timing-related, the exact impact of the bug on a particular user can't be predicted. If you plan to buy a Logitech webcam, consider getting one of the models not affected by the bug. More information about the issue, including possible workarounds, are available on the QuickCam Team website.

Starting at version 2.6.22, the Linux kernel includes a USB audio bug fix which triggers a (possibly identical to the above) bug in first and second generation Logitech webcams. See the for a workaround.

This camera module is known to be mounted upside-down in some notebooks. Applications that use the libv4l library should display the video correctly, as libv4l detects upside-down cameras and rotates the image automatically. See Hans de Goede's post on the linux-uvc-devel mailing list for more information. For applications that don't use libv4l, try holding your computer upside-down.

iSight webcams require a proprietary firmware that can't be redistributed. Tools to extract the firmware from the MacOS X driver and load it into the device are available at .

Video corruption has been noticed when the camera is connected to a USB 1.1 controller. For better performances, connect the camera to a USB 2.0 controller.

Some revisions of this model suffer from issues similar to those described in []. Only specific part numbers are affected. See Logitech UVC devices list for more information.

Creative Labs released at least two different devices under the Live! Cam Video IM Pro model name. While the one listed in this table is UVC compatible, the other(s) might not be. If in doubt, check the webcam USB product ID.

Resolutions below 640x480 might only work at the full 30fps frame rate.

This Device ID is known to be used by several different webcams among which at least one is currently not supported by the driver. If you plan to buy this camera make sure it matches the product name.

The camera has been reported not to work when connected to a USB 1.1 hub.

The HueHD camera claims to have a true 2MP CMOS sensor, but the highest resolution available seems to be 640x480.

关于下载问题:If you are a developer, or if you're interested in tracking the Linux UVC driver, you probably want to get a local copy of the source code repository. You should get yourself familiar with GIT and clone the uvcvideo repository. To help save bandwidth, please follow these instructions:

git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git uvcvideo
cd uvcvideo
git remote add uvcvideo git://linuxtv.org/pinchartl/uvcvideo.git
git remote update
git checkout -b uvcvideo-master uvcvideo/uvcvideo

不过下载是一个漫长的过程,而且速度貌似还不怎么滴,得有耐心。今天先转载到这里了。明天继续写。

阅读(1421) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~