|
一、VID和PID$ V7 T/ G: h3 y. w; c d, P
PID/VID唯一标识一个设备,HardwareID是为了给系统识别的 ,他是根据PID/VID而生成的。这个与序列号没什么关系,序列号一般都是厂家固化到芯片中的信息而已。GUID只是为了标志你安装的设备是属于一个什么类当中,这个类可以显示再设备管理器中。比如:你可以定义一个类,当然这个类有与系统中任何类都不同的GUID,然后选择一个图标和类名,就可以同网卡等其他设备一起显示在设备管理器下的根目录中了4 ^/ X* X7 o( G; H# J1 L9 T2 K
根据USB规范的规定,所有的USB设备都有供应商ID(VID)和产品识别码(PID),主机通过不同的VID和PID来区别不同的设备,VID和PID都是两个字节长,其中,供应商ID(VID)由供应商向USB执行论坛申请,每个供应商的VID是唯一的,PID由供应商自行决定,理论上来说,不同的产品、相同产品的不同型号、相同型号的不同设计的产品最好采用不同的PID,以便区别相同厂家的不同设备。) }# g9 r2 a: l( W+ p9 Z
VID和PID通常情况下有两种存储方式,第一种是主控生产商的VID和PID,存储在主控的bootcode中;第二种是设备生产商的VID和PID,该VID和PID存储在主控外部的非易失性存储设备中(EEPROM或Flash)的设备固件中,当USB设备连接主机时,如果固件中有设备生产商的VID和PID,会将该VID和PID报告给主机,而忽略主控生产商的VID和PID。所以理论上一个USB存储设备的VID应该是设备生产商的VID,而不是主控生产商的VID,这两个VID应该是不同的(主控生产商自己生产的设备除外)。# A6 b; J' D5 m) h7 w4 B* b: U
由于VID和PID重复并不会对产品的使用带来严重影响,很多USB设备生产商(山寨厂居多)为了方便,并不会向USB执行论坛申请自己的VID,而是依然沿用主控生产商的VID或随便向产品写入VID和PID;同时,正规厂家只需要申请VID,PID由厂家自行确定,所以存在相同型号的产品,可能采用了不同的主控(商业需要,很正常),而他们的PID是一样的,基于上述原因通过VID和PID就不能准确识别USB设备的主控型号,这个问题大家在使用USB设备的过程中需要注意。
' c8 H4 x5 S# O2 L3 W; V, R, L0 X! g5 }+ `3 e5 W/ x j! r1 w0 v; N; Q
- Z+ ?, e+ s$ w0 Z5 Q二、常用设备VID和PID% ~* |" b' }: G( g F- H S9 o0 K
1.摄像头VID和PID
( k% ], X: h/ j# s7 v- g O$ Z Z9 Z7 ~. F4 j9 J Q
! t' {: U" w U+ [. Y8 g9 A{USB_DEVICE (0x0733, 0x0430)}, /* Intel PC Camera Pro */
4 _' c# F0 R6 C+ y v! y4 p$ }+ W{USB_DEVICE (0x0733, 0x0401)}, /* Intel Create and Share */ ' m" e1 c( G2 W% a- w
{USB_DEVICE (0x99FA, 0x8988)}, /* Grandtec V.cap */ - I( A. L& E+ Q# @5 d: d3 w3 }
{USB_DEVICE (0x0733, 0x0402)}, /* ViewQuest M318B */ * e0 }; J" @1 S$ z% M
{USB_DEVICE (0x0733, 0x0110)}, /* ViewQuest VQ110 */ c! W% y7 K. p; g% T3 c
{USB_DEVICE (0x040A, 0x0002)}, /* Kodak DVC-325 */
. d+ n* i* r9 O& p{USB_DEVICE (0x055f, 0xc420)}, /* Mustek gSmart Mini 2 */
& A# G' W3 K v4 Y4 n2 t9 C' ^{USB_DEVICE (0x055f, 0xc520)}, /* Mustek gSmart Mini 3 */ * l( @( o7 X% r! `: g a6 {
{USB_DEVICE (0x041E, 0x400A)}, /* Creative PC-CAM 300 */ * [ w# q1 q2 F, D) f
{USB_DEVICE (0x084D, 0x0003)}, /* D-Link DSC-350 *// w0 w7 E, q& B5 e$ \
{USB_DEVICE (0x041E, 0x400B)}, /* Creative PC-CAM 600 */
1 ~% l; S @* w, ?! E' l9 p( F{USB_DEVICE (0x8086, 0x0630)}, /* Intel Pocket PC Camera */ 1 m c c' Z! A
{USB_DEVICE (0x8086, 0x0110)}, /* Intel Easy PC Camera */
) V' ^) m4 @* x) i{USB_DEVICE (0x0506, 0x00df)}, /* 3Com HomeConnect Lite */ 3 ]) J- Q' u1 Y6 T7 i
{USB_DEVICE (0x040a, 0x0300)}, /* Kodak EZ200 */
+ b% |4 d0 [' K{USB_DEVICE (0x04fc, 0x504b)}, /* Maxell MaxPocket LE 1.3 */% C1 e, {: @* M4 C
{USB_DEVICE (0x08ca, 0x2008)}, /* Aiptek Mini PenCam 2 M */ " p) O7 [, B6 V' e2 J! A
{USB_DEVICE (0x08ca, 0x0104)}, /* Aiptek PocketDVII 1.3 */ / @. s4 }3 d: Q; M) r
{USB_DEVICE (0x08ca, 0x2018)}, /* Aiptek Pencam SD 2M */
5 g0 V5 L+ ~: W% A) Z/ X7 |{USB_DEVICE (0x04fc, 0x504a)}, /* Aiptek Mini PenCam 1.3 */ 1 }7 u- l# A; \ E" E- g
{USB_DEVICE (0x055f, 0xc530)}, /* Mustek Gsmart LCD 3 */' U' d# F9 m5 X# h D) ?
{USB_DEVICE (0x055f, 0xc650)}, /* Mustek MDC5500Z */ 1 j' g5 M, X) u9 {/ {6 l4 M* L A
{USB_DEVICE (0x052b, 0x1513)}, /* Megapix V4 */; V$ O# r7 ~4 R, P, b' O8 Z' L7 m
{USB_DEVICE (0x08ca, 0x0103)}, /* Aiptek PocketDV */ + {$ r0 c; F* D) Z H
{USB_DEVICE (0x0af9, 0x0010)}, /* Hama USB Sightcam 100 */. d' b" X9 K+ O# U2 t; w- u
{USB_DEVICE (0x1776, 0x501c)}, /* Arowana 300K CMOS Camera */ % F/ U% I w6 u2 X9 d4 h5 D1 B& f
{USB_DEVICE (0x08ca, 0x0106)}, /* Aiptek Pocket DV3100+ */
& u, F8 B8 U* g{USB_DEVICE (0x08ca, 0x2010)}, /* Aiptek PocketCam 3M */
9 Y3 P" R3 V" r1 g3 k I2 R{USB_DEVICE (0x0458, 0x7004)}, /* Genius VideoCAM Express V2 */ . N( \. c n6 @+ N7 i8 m- U! Y9 c
{USB_DEVICE (0x04fc, 0x0561)}, /* Flexcam 100 */
: L7 A( h! [' a5 k7 H7 I5 y{USB_DEVICE (0x055f, 0xc430)}, /* Mustek Gsmart LCD 2 */ 1 g# {) {7 O, A
{USB_DEVICE (0x04fc, 0xffff)}, /* Pure DigitalDakota */ % j; w6 @2 e' {3 ~8 M- X( ~
{USB_DEVICE (0xabcd, 0xcdee)}, /* Petcam */
+ ^8 B. i, }- i5 H% h# Z+ o3 {# f{USB_DEVICE (0x04a5, 0x3008)}, /* Benq DC 1500 */ : n* t% T" f8 b0 ^3 p* c
{USB_DEVICE (0x046d, 0x0960)}, /* Logitech Inc. ClickSmart 420 */ + Z+ Y6 Z9 A$ Z; E7 v% d
{USB_DEVICE (0x046d, 0x0901)}, /* Logitech Inc. ClickSmart 510 */
$ G% t8 V9 k! ~) y{USB_DEVICE (0x04a5, 0x3003)}, /* Benq DC 1300 */ 7 k3 x3 A) }9 m
{USB_DEVICE (0x0af9, 0x0011)}, /* Hama USB Sightcam 100 */ 2 B9 O9 {( @4 n* L
{USB_DEVICE (0x055f, 0xc440)}, /* Mustek DV 3000 */ ; M' K0 w: k$ }& p& j
{USB_DEVICE (0x041e, 0x4013)}, /* Creative Pccam750 */ ) F; d z. X1 l
{USB_DEVICE (0x060b, 0xa001)}, /* Maxell Compact Pc PM3 */ ' E2 ^, {: R7 i+ U# V
{USB_DEVICE (0x04a5, 0x300a)}, /* Benq DC3410 */
& `* H4 ?4 H" v, z' |{USB_DEVICE (0x04a5, 0x300c)}, /* Benq DC1016 */ 4 B! p. G' x8 c9 \9 {7 r3 S
{USB_DEVICE (0x0461, 0x0815)}, /* Micro Innovation IC200 */3 c; s! M9 Q$ ?" l7 f
{USB_DEVICE (0x046d, 0x0890)}, /* Logitech QuickCam traveler */
0 J) v3 {0 D; a% j- J{USB_DEVICE (0x10fd, 0x7e50)}, /* FlyCam Usb 100 */
1 h/ z6 [& R, c, I7 [{USB_DEVICE (0x06e1, 0xa190)}, /* ADS Instant VCD */ 6 y* e9 a: j' r
{USB_DEVICE (0x055f, 0xc220)}, /* Gsmart Mini */
" o1 z9 o3 k& j8 u1 F{USB_DEVICE (0x0733, 0x2211)}, /* Jenoptik jdc 21 LCD */
3 E, f! T) N% c, v0 h9 s{USB_DEVICE (0x046d, 0x0900)}, /* Logitech Inc. ClickSmart 310 */
$ m% Q/ D2 P8 K0 b( Q{USB_DEVICE (0x055f, 0xc360)}, /* Mustek DV4000 Mpeg4 */ 6 U: X' s5 D) E+ w7 U
{USB_DEVICE (0x08ca, 0x2024)}, /* Aiptek DV3500 Mpeg4 */
" l5 b4 L! `% Y, X{USB_DEVICE (0x046d, 0x0905)}, /* Logitech ClickSmart820 */
$ M0 G" K+ y# @/ }{USB_DEVICE (0x05da, 0x1018)}, /* Digital Dream Enigma 1.3 */
! e- ?1 R3 r- I) e, p6 F7 O{USB_DEVICE (0x0c45, 0x6025)}, /* Xcam Shanga */
/ u+ {* t2 K; r4 S& `6 }0 @ |5 D{USB_DEVICE (0x0733, 0x1311)}, /* Digital Dream Epsilon 1.3 */
* v( l# d" Q3 X% b: k" {{USB_DEVICE (0x041e, 0x401d)}, /* Creative Webcam NX ULTRA */ + [2 Z e, S, O* G
{USB_DEVICE (0x08ca, 0x2016)}, /* Aiptek PocketCam 2 Mega */ 8 d! k. j$ ^; t7 V3 |
{USB_DEVICE (0x0734, 0x043b)}, /* 3DeMon USB Capture aka */6 W& `5 t' |) ^
{USB_DEVICE (0x041E, 0x4018)}, /* Creative Webcam Vista (PD1100) */. ]' _- N: }& l, ]& R
{USB_DEVICE (0x0546, 0x3273)}, /* Polaroid PDC2030*/$ c: e: y: q) i3 i3 N2 I
{USB_DEVICE (0x041e, 0x401f)}, /* Creative Webcam Notebook PD1171*/
. J' E( q9 a$ @& G) g: l! w8 m" d{USB_DEVICE (0x041e, 0x4017)}, /* Creative Webcam Mobile PD1090*/ . w8 O! t* c) x% d
{USB_DEVICE (0x046d, 0x08a2)}, /* Labtec Webcam Pro*/
v1 `9 G& ~- p6 x8 b# j& o- l{USB_DEVICE (0x055f, 0xd003)}, /* Mustek WCam300A*/ " n) }, x) E2 Y; p M* h0 a, k
{USB_DEVICE (0x0458, 0x7007)}, /* Genius VideoCam V2*/4 K8 }" W0 O6 G5 }/ G3 Y1 @
{USB_DEVICE (0x0458, 0x700c)}, /* Genius VideoCam V3*/
~4 K" S2 B5 Y3 Q/ `2 O{USB_DEVICE (0x0458, 0x700f)}, /* Genius VideoCam Web V2*/ 1 a& B/ f. w4 H; X& q" Z; x
{USB_DEVICE (0x041e, 0x401e)}, /* Creative Nx Pro*/
6 |8 V B6 G2 I5 C& G; a& ]& e# q{USB_DEVICE (0x0c45, 0x6029)}, /* spcaCam@150 */
9 H% X, M. y s v: U% ~) g{USB_DEVICE (0x0c45, 0x6009)}, /* spcaCam@120 */& Q1 j( A0 f1 M) o3 d* I
{USB_DEVICE (0x0c45, 0x600d)}, /* spcaCam@120 */! ?6 t" H S9 w, _+ q. c
{USB_DEVICE (0x04fc, 0x5330)}, /* Digitrex 2110*/
+ p/ D+ V& R* ~( Q4 _) _: W{USB_DEVICE (0x055f, 0xc540)}, /* Gsmart D30*/
; K& r( }$ W+ t+ k{USB_DEVICE (0x0ac8, 0x301b)}, /* Asam Vimicro*// S2 P( b' g# s) x0 w, l; T% r
{USB_DEVICE (0x041e, 0x403a)}, /* Creative Nx Pro 2*/5 o/ c F0 a5 L
{USB_DEVICE (0x055f, 0xc211)}, /* Kowa Bs888e Microcamera*/
* h) E. V% a- `1 ~4 H4 `{USB_DEVICE (0x0ac8, 0x0302)}, /* Z-star Vimicro zc0302*/
4 `/ @! f/ H: f" V1 j _{USB_DEVICE (0x0572, 0x0041)}, /* Creative Notebook cx11646*/
6 A- T& b* f% I+ {6 G{USB_DEVICE (0x08ca, 0x2022)}, /* Aiptek Slim 3200*/ 3 |8 K0 o* P/ @1 K5 F/ ^: H9 d
{USB_DEVICE (0x046d, 0x0921)}, /* Labtec Webcam */$ _8 l/ E/ n% L2 U& r$ U' H
{USB_DEVICE (0x046d, 0x0920)}, /* QC Express */
4 X: V# _+ t) V; ^! K; t( t{USB_DEVICE (0x0923, 0x010f)}, /* ICM532 cams */
0 \5 r" l! x( b' x1 Y0 l- B$ t* Z{USB_DEVICE (0x055f, 0xc200)}, /* Mustek Gsmart 300 */
+ h/ ?3 X/ j) R2 ~' l' z* T, `{USB_DEVICE (0x0733, 0x2221)}, /* Mercury Digital Pro 3.1p*/
. `) b$ b. X' v4 y{USB_DEVICE (0x041e, 0x4036)}, /* Creative Live ! */
' ^1 M: F3 s: v! `3 \( j{USB_DEVICE (0x055f, 0xc005)}, /* Mustek Wcam300A */
4 T- I+ M' J! v) `) |{USB_DEVICE (0x041E, 0x403b)}, /* Creative Webcam Vista (VF0010) */ ( |. W$ y% @* F
{USB_DEVICE (0x0545, 0x8333)}, /* Veo Stingray */
! ~5 u' F! w0 z% d8 z( F{USB_DEVICE (0x0545, 0x808b)}, /* Veo Stingray */
7 Z; n" z, u. s% {4 V! T! [{USB_DEVICE (0x10fd, 0x8050)}, /* Typhoon Webshot II USB 300k */
1 H* I/ E+ @! w8 n+ F1 O- B{USB_DEVICE (0x0000, 0x0000)}, /* MystFromOri Unknow Camera */* J, ?* i, D9 m! M
|
|