|
一、VID和PID
( V) f" r1 t- }; L PID/VID唯一标识一个设备,HardwareID是为了给系统识别的 ,他是根据PID/VID而生成的。这个与序列号没什么关系,序列号一般都是厂家固化到芯片中的信息而已。GUID只是为了标志你安装的设备是属于一个什么类当中,这个类可以显示再设备管理器中。比如:你可以定义一个类,当然这个类有与系统中任何类都不同的GUID,然后选择一个图标和类名,就可以同网卡等其他设备一起显示在设备管理器下的根目录中了
/ P8 Y$ ^8 |( N# O$ I 根据USB规范的规定,所有的USB设备都有供应商ID(VID)和产品识别码(PID),主机通过不同的VID和PID来区别不同的设备,VID和PID都是两个字节长,其中,供应商ID(VID)由供应商向USB执行论坛申请,每个供应商的VID是唯一的,PID由供应商自行决定,理论上来说,不同的产品、相同产品的不同型号、相同型号的不同设计的产品最好采用不同的PID,以便区别相同厂家的不同设备。
5 @+ D* Q9 O& i6 E: g VID和PID通常情况下有两种存储方式,第一种是主控生产商的VID和PID,存储在主控的bootcode中;第二种是设备生产商的VID和PID,该VID和PID存储在主控外部的非易失性存储设备中(EEPROM或Flash)的设备固件中,当USB设备连接主机时,如果固件中有设备生产商的VID和PID,会将该VID和PID报告给主机,而忽略主控生产商的VID和PID。所以理论上一个USB存储设备的VID应该是设备生产商的VID,而不是主控生产商的VID,这两个VID应该是不同的(主控生产商自己生产的设备除外)。% e' Z# V7 f: ^6 A& a& ]/ v& H
由于VID和PID重复并不会对产品的使用带来严重影响,很多USB设备生产商(山寨厂居多)为了方便,并不会向USB执行论坛申请自己的VID,而是依然沿用主控生产商的VID或随便向产品写入VID和PID;同时,正规厂家只需要申请VID,PID由厂家自行确定,所以存在相同型号的产品,可能采用了不同的主控(商业需要,很正常),而他们的PID是一样的,基于上述原因通过VID和PID就不能准确识别USB设备的主控型号,这个问题大家在使用USB设备的过程中需要注意。
# n m. G* u0 ]! ~! E+ h) E& i. u( d- u" V
. ~( @; Z6 S& g ~. J% w: s* N二、常用设备VID和PID3 _0 K6 g8 n+ R% [5 x
1.摄像头VID和PID7 k& q1 ^9 a& D1 _0 R* M, c
+ @1 |( z, a2 a- }0 O. d& S" \5 G, i
! M" F: E% Z+ U% z{USB_DEVICE (0x0733, 0x0430)}, /* Intel PC Camera Pro */ 2 F$ E1 ?; O1 L/ G
{USB_DEVICE (0x0733, 0x0401)}, /* Intel Create and Share */
' J B" n" Z! O+ _3 R{USB_DEVICE (0x99FA, 0x8988)}, /* Grandtec V.cap */ ! L0 a$ g$ F. w3 j
{USB_DEVICE (0x0733, 0x0402)}, /* ViewQuest M318B */ - M9 O5 ]( \. }" U) P7 z
{USB_DEVICE (0x0733, 0x0110)}, /* ViewQuest VQ110 */
) G. t" k. l8 u+ X" G{USB_DEVICE (0x040A, 0x0002)}, /* Kodak DVC-325 */
- Y9 p! Q7 I ~3 j+ Z; `{USB_DEVICE (0x055f, 0xc420)}, /* Mustek gSmart Mini 2 */
" x$ O9 M. x/ S* b$ R0 a4 o8 o9 k{USB_DEVICE (0x055f, 0xc520)}, /* Mustek gSmart Mini 3 */ 0 _0 n% j+ u1 w5 h% ^
{USB_DEVICE (0x041E, 0x400A)}, /* Creative PC-CAM 300 */
$ F' T+ H0 p5 u8 H{USB_DEVICE (0x084D, 0x0003)}, /* D-Link DSC-350 */
4 h( e2 b- c/ M Q7 c, ]+ C{USB_DEVICE (0x041E, 0x400B)}, /* Creative PC-CAM 600 */1 A7 t$ y6 q" I; M
{USB_DEVICE (0x8086, 0x0630)}, /* Intel Pocket PC Camera */ % v4 K" X$ }1 i7 V8 b
{USB_DEVICE (0x8086, 0x0110)}, /* Intel Easy PC Camera */
0 n( V5 G0 n! O2 i{USB_DEVICE (0x0506, 0x00df)}, /* 3Com HomeConnect Lite */ : L! d, w4 B( @. S( o. c% H& G
{USB_DEVICE (0x040a, 0x0300)}, /* Kodak EZ200 */ 7 Y1 n+ f$ ]% S1 T$ E& G# {
{USB_DEVICE (0x04fc, 0x504b)}, /* Maxell MaxPocket LE 1.3 */
5 r$ H) I8 P4 I$ D6 m8 f5 {0 {! j{USB_DEVICE (0x08ca, 0x2008)}, /* Aiptek Mini PenCam 2 M */
" d' ]7 \6 V( e* j{USB_DEVICE (0x08ca, 0x0104)}, /* Aiptek PocketDVII 1.3 */ 5 p1 i8 o1 j) w6 o( q! ?' U
{USB_DEVICE (0x08ca, 0x2018)}, /* Aiptek Pencam SD 2M */
# m+ t: |) Z M2 x$ Q{USB_DEVICE (0x04fc, 0x504a)}, /* Aiptek Mini PenCam 1.3 */ }1 B+ v& k. h9 [% U1 z
{USB_DEVICE (0x055f, 0xc530)}, /* Mustek Gsmart LCD 3 */
! r6 W2 S, i8 _! i% U3 e{USB_DEVICE (0x055f, 0xc650)}, /* Mustek MDC5500Z */
: p5 s% @) s3 j7 Q3 O$ h{USB_DEVICE (0x052b, 0x1513)}, /* Megapix V4 */0 ~3 j. i% a6 e: F1 \
{USB_DEVICE (0x08ca, 0x0103)}, /* Aiptek PocketDV */ 7 I+ M2 y- t1 Q. `7 ]" n. T9 E; o
{USB_DEVICE (0x0af9, 0x0010)}, /* Hama USB Sightcam 100 */, ^+ l5 X* I3 ^
{USB_DEVICE (0x1776, 0x501c)}, /* Arowana 300K CMOS Camera */ ' Q/ H) _- s) _, r, A( E: f
{USB_DEVICE (0x08ca, 0x0106)}, /* Aiptek Pocket DV3100+ */ 2 {' w+ p/ l! G% a. q
{USB_DEVICE (0x08ca, 0x2010)}, /* Aiptek PocketCam 3M */ ( S2 E" O2 X w
{USB_DEVICE (0x0458, 0x7004)}, /* Genius VideoCAM Express V2 */ : Z8 q% e- c/ _* p
{USB_DEVICE (0x04fc, 0x0561)}, /* Flexcam 100 */+ U1 _$ W+ o( j3 r
{USB_DEVICE (0x055f, 0xc430)}, /* Mustek Gsmart LCD 2 */ - m2 l( q5 r; w2 c7 `' ]
{USB_DEVICE (0x04fc, 0xffff)}, /* Pure DigitalDakota */ ; B. T- t! G7 ?# ?% I2 m, z
{USB_DEVICE (0xabcd, 0xcdee)}, /* Petcam */4 a/ M* K$ u0 ~1 a- y
{USB_DEVICE (0x04a5, 0x3008)}, /* Benq DC 1500 */
9 i- G/ f+ b0 f) Y' D+ b{USB_DEVICE (0x046d, 0x0960)}, /* Logitech Inc. ClickSmart 420 */ : N7 [# [! s" b' }
{USB_DEVICE (0x046d, 0x0901)}, /* Logitech Inc. ClickSmart 510 */
" R/ ]7 R5 c z- M' j& r{USB_DEVICE (0x04a5, 0x3003)}, /* Benq DC 1300 */
, n7 F5 b+ {. p% ~{USB_DEVICE (0x0af9, 0x0011)}, /* Hama USB Sightcam 100 */
% S6 {7 ?' M7 q0 h. a( E{USB_DEVICE (0x055f, 0xc440)}, /* Mustek DV 3000 */ ' O% U( w0 Q/ U/ C4 c- f
{USB_DEVICE (0x041e, 0x4013)}, /* Creative Pccam750 */ ' a3 _/ ^- a" W7 I
{USB_DEVICE (0x060b, 0xa001)}, /* Maxell Compact Pc PM3 */ % L6 ~: N: |8 R, e' A
{USB_DEVICE (0x04a5, 0x300a)}, /* Benq DC3410 */ 4 L% g1 _0 C2 I& L7 y" x$ M! O
{USB_DEVICE (0x04a5, 0x300c)}, /* Benq DC1016 */ & ^& n" h1 x' i; i" W) J P
{USB_DEVICE (0x0461, 0x0815)}, /* Micro Innovation IC200 */
8 u% o0 {2 o( f# M6 C v) e3 z8 l9 b{USB_DEVICE (0x046d, 0x0890)}, /* Logitech QuickCam traveler */
1 V3 Z4 [7 ?# T ?3 _{USB_DEVICE (0x10fd, 0x7e50)}, /* FlyCam Usb 100 */
z Q+ q+ M. X{USB_DEVICE (0x06e1, 0xa190)}, /* ADS Instant VCD */
* X/ r! N- s3 C{USB_DEVICE (0x055f, 0xc220)}, /* Gsmart Mini */
0 G' e& X) ~3 _3 C4 `5 L{USB_DEVICE (0x0733, 0x2211)}, /* Jenoptik jdc 21 LCD */
, s9 C, D Y5 R: i) |% A$ G$ C. v{USB_DEVICE (0x046d, 0x0900)}, /* Logitech Inc. ClickSmart 310 */( b% X6 }8 ~! g+ M2 F5 Z
{USB_DEVICE (0x055f, 0xc360)}, /* Mustek DV4000 Mpeg4 */
% z: _! j4 r+ \ y* }# b, J3 i, u P+ ]{USB_DEVICE (0x08ca, 0x2024)}, /* Aiptek DV3500 Mpeg4 */
- U: L0 I' [2 t5 ?( L& ]{USB_DEVICE (0x046d, 0x0905)}, /* Logitech ClickSmart820 */ / W! I" g- _8 e1 [
{USB_DEVICE (0x05da, 0x1018)}, /* Digital Dream Enigma 1.3 */
/ l: c+ J1 f$ s4 f Q; |{USB_DEVICE (0x0c45, 0x6025)}, /* Xcam Shanga */
/ L0 ]; N, O# b5 V8 J0 [{USB_DEVICE (0x0733, 0x1311)}, /* Digital Dream Epsilon 1.3 */ . {5 z. i' ` \! K/ c
{USB_DEVICE (0x041e, 0x401d)}, /* Creative Webcam NX ULTRA */ / Z3 U, [1 f! \( [: g
{USB_DEVICE (0x08ca, 0x2016)}, /* Aiptek PocketCam 2 Mega */
1 N K$ N$ e/ Z( o{USB_DEVICE (0x0734, 0x043b)}, /* 3DeMon USB Capture aka */) e! l, Z; g4 u% t9 R4 N
{USB_DEVICE (0x041E, 0x4018)}, /* Creative Webcam Vista (PD1100) */ |$ [, `( q- Y
{USB_DEVICE (0x0546, 0x3273)}, /* Polaroid PDC2030*/
5 |8 h* g' o* F) j0 V0 T T{USB_DEVICE (0x041e, 0x401f)}, /* Creative Webcam Notebook PD1171*/
8 F3 h* F, I z, G' }: Z8 \{USB_DEVICE (0x041e, 0x4017)}, /* Creative Webcam Mobile PD1090*/
( v8 ?) x" B) v4 v{USB_DEVICE (0x046d, 0x08a2)}, /* Labtec Webcam Pro*/
1 a8 \ |0 Z6 N; m{USB_DEVICE (0x055f, 0xd003)}, /* Mustek WCam300A*/
9 x. |. f% ~7 |" P2 Z$ A; y{USB_DEVICE (0x0458, 0x7007)}, /* Genius VideoCam V2*/6 \8 Y( M1 R0 W( r- T8 f# R" `+ V
{USB_DEVICE (0x0458, 0x700c)}, /* Genius VideoCam V3*/
1 O5 q3 D& Q) t3 k{USB_DEVICE (0x0458, 0x700f)}, /* Genius VideoCam Web V2*/
# A O8 A# q& ~9 E- j0 p S{USB_DEVICE (0x041e, 0x401e)}, /* Creative Nx Pro*/ " Q+ y& ]5 V( x& W
{USB_DEVICE (0x0c45, 0x6029)}, /* spcaCam@150 */ ' R1 w2 M1 G$ z! ?
{USB_DEVICE (0x0c45, 0x6009)}, /* spcaCam@120 */
! a. @) I/ N# I. q{USB_DEVICE (0x0c45, 0x600d)}, /* spcaCam@120 */9 s ], F' R' R/ ], e! w! M
{USB_DEVICE (0x04fc, 0x5330)}, /* Digitrex 2110*/
2 c; t8 \' @2 _0 S. r{USB_DEVICE (0x055f, 0xc540)}, /* Gsmart D30*/
! L" u5 l) B+ D: \- q/ Z7 V{USB_DEVICE (0x0ac8, 0x301b)}, /* Asam Vimicro*/8 |6 o: O) `* n1 \ Z8 X
{USB_DEVICE (0x041e, 0x403a)}, /* Creative Nx Pro 2*/! U1 ]$ D' ?* p9 o4 _# L
{USB_DEVICE (0x055f, 0xc211)}, /* Kowa Bs888e Microcamera*/
/ {2 ?+ L$ T/ g e7 A r+ V{USB_DEVICE (0x0ac8, 0x0302)}, /* Z-star Vimicro zc0302*/
1 l! v1 k3 U/ d/ t. h, V" g$ `{USB_DEVICE (0x0572, 0x0041)}, /* Creative Notebook cx11646*/, {* J F5 `: ~) b2 H9 n* z
{USB_DEVICE (0x08ca, 0x2022)}, /* Aiptek Slim 3200*/
0 [5 O0 m! |; v1 p{USB_DEVICE (0x046d, 0x0921)}, /* Labtec Webcam */
& T3 \ S5 L6 a( ?{USB_DEVICE (0x046d, 0x0920)}, /* QC Express */
8 t7 E" T3 C8 L6 m% T* N% a6 w; N{USB_DEVICE (0x0923, 0x010f)}, /* ICM532 cams */ $ ^& [- v0 X ~6 u0 Q, U* Q6 E( |2 @
{USB_DEVICE (0x055f, 0xc200)}, /* Mustek Gsmart 300 */8 z% v0 F1 e3 o7 [( Q
{USB_DEVICE (0x0733, 0x2221)}, /* Mercury Digital Pro 3.1p*/ 4 g1 g- F( s; c+ K8 M! d$ A
{USB_DEVICE (0x041e, 0x4036)}, /* Creative Live ! */
5 ^5 K6 c. x# ?5 p{USB_DEVICE (0x055f, 0xc005)}, /* Mustek Wcam300A */ ! h5 b9 D! i6 E" D
{USB_DEVICE (0x041E, 0x403b)}, /* Creative Webcam Vista (VF0010) */
; W: l1 B' l/ A) c6 q" a* f{USB_DEVICE (0x0545, 0x8333)}, /* Veo Stingray */ v, [. X* S! m; G* m! u8 M
{USB_DEVICE (0x0545, 0x808b)}, /* Veo Stingray */ / j6 q# P7 f, \; O! U* M* f
{USB_DEVICE (0x10fd, 0x8050)}, /* Typhoon Webshot II USB 300k */
8 I+ s$ g; V0 U: e# |{USB_DEVICE (0x0000, 0x0000)}, /* MystFromOri Unknow Camera */
" x+ J) x. M5 Z/ i |
|