Raspberry pi USBカメラ情報 表示
コマンド覚書。
lsusb,lsusb bus:device -v
fswebcam -r 1280×720 img.jpg
fswebcam -r 1280×720 –no-banner img.jpg
guvcview
とか。
pi@pizero:~ $ lsusb Bus 001 Device 003: ID 0411:015d BUFFALO INC. (formerly MelCo., Inc.) WLI-UC-GN Wireless LAN Adapter [Ralink RT3070] Bus 001 Device 004: ID 045e:0779 Microsoft Corp. LifeCam HD-3000 Bus 001 Device 002: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
pi@pizero:~ $ lsusb -s 001:004 -v Bus 001 Device 004: ID 045e:0779 Microsoft Corp. LifeCam HD-3000 Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 2.00 bDeviceClass 239 Miscellaneous Device --(中略) ----------- dwFrameInterval( 4) 1333333 VideoStreaming Interface Descriptor: bLength 34 bDescriptorType 36 bDescriptorSubtype 5 (FRAME_UNCOMPRESSED) bFrameIndex 2 bmCapabilities 0x01 Still image supported wWidth 1280 wHeight 720 dwMinBitRate 110592000 dwMaxBitRate 147456000 dwMaxVideoFrameBufferSize 1843200 dwDefaultFrameInterval 1000000 bFrameIntervalType 2 dwFrameInterval( 0) 1000000 dwFrameInterval( 1) 1333333 VideoStreaming Interface Descriptor: bLength 38 bDescriptorType 36 --(後略) -----------