linux添加摄像头硬件,在Ubuntu 10.04上USB摄像头

root@Ubuntu1004:~# lsusb –v//使用lsusb –v命令可以查看详细的usb设备信息

Bus 001 Device 002: ID 0ac8:3450 Z-Star Microelectronics Corp.

Device Descriptor:

bLength18

bDescriptorType1

bcdUSB2.00

bDeviceClass239 Miscellaneous Device

bDeviceSubClass2 ?

bDeviceProtocol1 Interface Association

bMaxPacketSize064

idVendor0x0ac8 Z-Star Microelectronics Corp.

idProduct0x3450

bcdDevice1.a2

iManufacturer1 Vimicro Corp.

iProduct2 Altair USB2.0 Camera

iSerial0

bNumConfigurations1

Configuration Descriptor:

bLength9

bDescriptorType2

wTotalLength481

bNumInterfaces2

bConfigurationValue1

iConfiguration0

bmAttributes0x80

(Bus Powered)

MaxPower320mA

Interface Association:

bLength8

bDescriptorType11

bFirstInterface0

bInterfaceCount2

bFunctionClass14 Video

bFunctionSubClass3 Video Interface Collection

bFunctionProtocol0

iFunction2 Altair USB2.0 Camera

Interface Descriptor:

bLength9

bDescriptorType4

bInterfaceNumber0

bAlternateSetting0

bNumEndpoints1

bInterfaceClass14 Video

bInterfaceSubClass1 Video Control

bInterfaceProtocol0

iInterface2 Altair USB2.0 Camera

VideoControl Interface Descriptor:

bLength13

bDescriptorType36

bDescriptorSubtype1 (HEADER)

bcdUVC1.00

wTotalLength79

dwClockFrequency30.000000MHz

bInCollection1

baInterfaceNr( 0)1

VideoControl Interface Descriptor:

bLength18

bDescriptorType36

bDescriptorSubtype2 (INPUT_TERMINAL)

bTerminalID1

wTerminalType0x0201 Camera Sensor

bAssocTerminal0

iTerminal0

wObjectiveFocalLengthMin0

wObjectiveFocalLengthMax0

wOcularFocalLength0

bControlSize3

bmControls0x0002002a

Auto-Exposure Mode

Exposure Time (Absolute)

Focus (Absolute)

Focus, Auto

VideoControl Interface Descriptor:

bLength11

bDescriptorType36

bDescriptorSubtype5 (PROCESSING_UNIT)

Warning: Descriptor too short

bUnitID2

bSourceID1

wMaxMultiplier0

bControlSize2

bmControls0x0000177b

Brightness

Contrast

Saturation

Sharpness

Gamma

White Balance Temperature

Backlight Compensation

Gain

Power Line Frequency

White Balance Temperature, Auto

iProcessing0

bmVideoStandards0x 9

None

SECAM - 625/50

VideoControl Interface Descriptor:

bLength9

bDescriptorType36

bDescriptorSubtype3 (OUTPUT_TERMINAL)

bTerminalID3

wTerminalType0x0101 USB Streaming

bAssocTerminal0

bSourceID2

iTerminal0

VideoControl Interface Descriptor:

bLength28

bDescriptorType36

bDescriptorSubtype6 (EXTENSION_UNIT)

bUnitID4

guidExtensionCode{5dc717a9-1941-da11-ae0e-000d56ac7b4c}

bNumControl8

bNrPins1

baSourceID( 0)1

bControlSize3

bmControls( 0)0x59

bmControls( 1)0x80

bmControls( 2)0x80

iExtension0

Endpoint Descriptor:

bLength7

bDescriptorType5

bEndpointAddress0x81EP 1 IN

bmAttributes3

Transfer TypeInterrupt

Synch TypeNone

Usage TypeData

wMaxPacketSize0x000a1x 10 bytes

bInterval5

Interface Descriptor:

bLength9

bDescriptorType4

bInterfaceNumber1

bAlternateSetting0

bNumEndpoints0

bInterfaceClass14 Video

bInterfaceSubClass2 Video Streaming

bInterfaceProtocol0

iInterface0

VideoStreaming Interface Descriptor:

bLength14

bDescriptorType36

bDescriptorSubtype1 (INPUT_HEADER)

bNumFormats1

wTotalLength243

bEndPointAddress130

bmInfo0

bTerminalLink3

bStillCaptureMethod2

bTriggerSupport1

bTriggerUsage1

bControlSize1

bmaControls( 0)27

VideoStreaming Interface Descriptor:

bLength27

bDescriptorType36

bDescriptorSubtype4 (FORMAT_UNCOMPRESSED)

bFormatIndex1

bNumFrameDescriptors5

guidFormat{59555932-0000-1000-8000-00aa00389b71}

bBitsPerPixel16

bDefaultFrameIndex1

bAspectRatioX0

bAspectRatioY0

bmInterlaceFlags0x00

Interlaced stream or variable: No

Fields per frame: 1 fields

Field 1 first: No

Field pattern: Field 1 only

bCopyProtect0

VideoStreaming Interface Descriptor:

bLength34

bDescriptorType36

bDescriptorSubtype5 (FRAME_UNCOMPRESSED)

bFrameIndex1

bmCapabilities0x00

Still image unsupported

wWidth640

wHeight480

dwMinBitRate768000

dwMaxBitRate196608000

dwMaxVideoFrameBufferSize614400

dwDefaultFrameInterval333333

bFrameIntervalType2

dwFrameInterval( 0)333333

dwFrameInterval( 1)666667

VideoStreaming Interface Descriptor:

bLength34

bDescriptorType36

bDescriptorSubtype5 (FRAME_UNCOMPRESSED)

bFrameIndex2

bmCapabilities0x00

Still image unsupported

wWidth352

wHeight288

dwMinBitRate768000

dwMaxBitRate196608000

dwMaxVideoFrameBufferSize202752

dwDefaultFrameInterval333333

bFrameIntervalType2

dwFrameInterval( 0)333333

dwFrameInterval( 1)666667

VideoStreaming Interface Descriptor:

bLength34

bDescriptorType36

bDescriptorSubtype5 (FRAME_UNCOMPRESSED)

bFrameIndex3

bmCapabilities0x00

Still image unsupported

wWidth320

wHeight240

dwMinBitRate768000

dwMaxBitRate196608000

dwMaxVideoFrameBufferSize153600

dwDefaultFrameInterval333333

bFrameIntervalType2

dwFrameInterval( 0)333333

dwFrameInterval( 1)666667

VideoStreaming Interface Descriptor:

bLength34

bDescriptorType36

bDescriptorSubtype5 (FRAME_UNCOMPRESSED)

bFrameIndex4

bmCapabilities0x00

Still image unsupported

wWidth176

wHeight144

dwMinBitRate768000

dwMaxBitRate196608000

dwMaxVideoFrameBufferSize50688

dwDefaultFrameInterval333333

bFrameIntervalType2

dwFrameInterval( 0)333333

dwFrameInterval( 1)666667

VideoStreaming Interface Descriptor:

bLength34

bDescriptorType36

bDescriptorSubtype5 (FRAME_UNCOMPRESSED)

bFrameIndex5

bmCapabilities0x00

Still image unsupported

wWidth160

wHeight120

dwMinBitRate768000

dwMaxBitRate196608000

dwMaxVideoFrameBufferSize38400

dwDefaultFrameInterval333333

bFrameIntervalType2

dwFrameInterval( 0)333333

dwFrameInterval( 1)666667

VideoStreaming Interface Descriptor:

bLength26

bDescriptorType36

bDescriptorSubtype3 (STILL_IMAGE_FRAME)

bEndpointAddress0

bNumImageSizePatterns5

wWidth( 0)640

wHeight( 0)480

wWidth( 1)352

wHeight( 1)288

wWidth( 2)320

wHeight( 2)240

wWidth( 3)176

wHeight( 3)144

wWidth( 4)160

wHeight( 4)120

bNumCompressionPatterns5

VideoStreaming Interface Descriptor:

bLength6

bDescriptorType36

bDescriptorSubtype13 (COLORFORMAT)

bColorPrimaries0 (Unspecified)

bTransferCharacteristics0 (Unspecified)

bMatrixCoefficients0 (Unspecified)

Interface Descriptor:

bLength9

bDescriptorType4

bInterfaceNumber1

bAlternateSetting1

bNumEndpoints1

bInterfaceClass14 Video

bInterfaceSubClass2 Video Streaming

bInterfaceProtocol0

iInterface0

Endpoint Descriptor:

bLength7

bDescriptorType5

bEndpointAddress0x82EP 2 IN

bmAttributes5

Transfer TypeIsochronous

Synch TypeAsynchronous

Usage TypeData

wMaxPacketSize0x00801x 128 bytes

bInterval1

Interface Descriptor:

bLength9

bDescriptorType4

bInterfaceNumber1

bAlternateSetting2

bNumEndpoints1

bInterfaceClass14 Video

bInterfaceSubClass2 Video Streaming

bInterfaceProtocol0

iInterface0

Endpoint Descriptor:

bLength7

bDescriptorType5

bEndpointAddress0x82EP 2 IN

bmAttributes5

Transfer TypeIsochronous

Synch TypeAsynchronous

Usage TypeData

wMaxPacketSize0x02001x 512 bytes

bInterval1

Interface Descriptor:

bLength9

bDescriptorType4

bInterfaceNumber1

bAlternateSetting3

bNumEndpoints1

bInterfaceClass14 Video

bInterfaceSubClass2 Video Streaming

bInterfaceProtocol0

iInterface0

Endpoint Descriptor:

bLength7

bDescriptorType5

bEndpointAddress0x82EP 2 IN

bmAttributes5

Transfer TypeIsochronous

Synch TypeAsynchronous

Usage TypeData

wMaxPacketSize0x04001x 1024 bytes

bInterval1

Interface Descriptor:

bLength9

bDescriptorType4

bInterfaceNumber1

bAlternateSetting4

bNumEndpoints1

bInterfaceClass14 Video

bInterfaceSubClass2 Video Streaming

bInterfaceProtocol0

iInterface0

Endpoint Descriptor:

bLength7

bDescriptorType5

bEndpointAddress0x82EP 2 IN

bmAttributes5

Transfer TypeIsochronous

Synch TypeAsynchronous

Usage TypeData

wMaxPacketSize0x0b002x 768 bytes

bInterval1

Interface Descriptor:

bLength9

bDescriptorType4

bInterfaceNumber1

bAlternateSetting5

bNumEndpoints1

bInterfaceClass14 Video

bInterfaceSubClass2 Video Streaming

bInterfaceProtocol0

iInterface0

Endpoint Descriptor:

bLength7

bDescriptorType5

bEndpointAddress0x82EP 2 IN

bmAttributes5

Transfer TypeIsochronous

Synch TypeAsynchronous

Usage TypeData

wMaxPacketSize0x0c002x 1024 bytes

bInterval1

Interface Descriptor:

bLength9

bDescriptorType4

bInterfaceNumber1

bAlternateSetting6

bNumEndpoints1

bInterfaceClass14 Video

bInterfaceSubClass2 Video Streaming

bInterfaceProtocol0

iInterface0

Endpoint Descriptor:

bLength7

bDescriptorType5

bEndpointAddress0x82EP 2 IN

bmAttributes5

Transfer TypeIsochronous

Synch TypeAsynchronous

Usage TypeData

wMaxPacketSize0x13803x 896 bytes

bInterval1

Interface Descriptor:

bLength9

bDescriptorType4

bInterfaceNumber1

bAlternateSetting7

bNumEndpoints1

bInterfaceClass14 Video

bInterfaceSubClass2 Video Streaming

bInterfaceProtocol0

iInterface0

Endpoint Descriptor:

bLength7

bDescriptorType5

bEndpointAddress0x82EP 2 IN

bmAttributes5

Transfer TypeIsochronous

Synch TypeAsynchronous

Usage TypeData

wMaxPacketSize0x14003x 1024 bytes

bInterval1

Device Qualifier (for other device speed):

bLength10

bDescriptorType6

bcdUSB2.00

bDeviceClass239 Miscellaneous Device

bDeviceSubClass2 ?

bDeviceProtocol1 Interface Association

bMaxPacketSize064

bNumConfigurations1

Device Status:0x0000

(Bus Powered)

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值