Hello
I got a USB-microscope from Aldi supermarket. When I attach it to my
computer with Ubuntu 11.10, the following is written to syslog. After
that, there is the output from lsusb. I expect it will use the
uvcvideo-module, because other AVEO Technology Corp. microscope do, but
I don't know for sure. Please let me know if you need more info.
>From syslog:
kernel: [ 1486.944217] usb 2-5: new high speed USB device number 4 using
ehci_hcd
udevd[307]: seq 1977 queued, 'add' 'usb'
udevd[307]: passed 257 bytes to netlink monitor 0x215c21f8
udevd[503]: seq 1977 running
udevd[503]: device 0x215c5078 has devpath
'/devices/pci0000:00/0000:00:1d.7/usb2/2-5'
udevd[503]: no db file to read /run/udev/data/c189:131: No such file or
directory
udevd[503]: PROGRAM 'mtp-probe
/sys/devices/pci0000:00/0000:00:1d.7/usb2/2-5 2 4'
/lib/udev/rules.d/39-libmtp.rules:735
udevd[307]: seq 1978 queued, 'add' 'usb'
udevd[307]: seq 1979 queued, 'add' 'usb'
udevd[3755]: starting 'mtp-probe
/sys/devices/pci0000:00/0000:00:1d.7/usb2/2-5 2 4'
mtp-probe: checking bus 2, device 4:
"/sys/devices/pci0000:00/0000:00:1d.7/usb2/2-5"
mtp-probe: bus: 2, device: 4 was not an MTP device
udevd[503]: 'mtp-probe /sys/devices/pci0000:00/0000:00:1d.7/usb2/2-5 2
4'(out) '0'
udevd[503]: 'mtp-probe /sys/devices/pci0000:00/0000:00:1d.7/usb2/2-5 2
4' [3755] exit with return code 0
udevd[503]: device 0x215c5200 has devpath
'/devices/pci0000:00/0000:00:1d.7/usb2'
udevd[503]: device 0x215c3200 has devpath '/devices/pci0000:00/0000:00:1d.7'
udevd[503]: device 0x215c4bf0 has devpath '/devices/pci0000:00'
udevd[503]: IMPORT 'usb_id --export
/devices/pci0000:00/0000:00:1d.7/usb2/2-5'
/lib/udev/rules.d/40-libgphoto2-2.rules:11
udevd[3756]: starting 'usb_id --export
/devices/pci0000:00/0000:00:1d.7/usb2/2-5'
usb_id[3756]: custom logging function 0x22cb0008 registered
udevd[503]: 'usb_id --export
/devices/pci0000:00/0000:00:1d.7/usb2/2-5'(out)
'ID_VENDOR=AVEO_Technology_Corp.'
udevd[503]: 'usb_id --export
/devices/pci0000:00/0000:00:1d.7/usb2/2-5'(out)
'ID_VENDOR_ENC=AVEO\x20Technology\x20Corp.'
udevd[503]: 'usb_id --export
/devices/pci0000:00/0000:00:1d.7/usb2/2-5'(out) 'ID_VENDOR_ID=1871'
udevd[503]: 'usb_id --export
/devices/pci0000:00/0000:00:1d.7/usb2/2-5'(out) 'ID_MODEL=USB2.0_Camera'
udevd[503]: 'usb_id --export
/devices/pci0000:00/0000:00:1d.7/usb2/2-5'(out)
'ID_MODEL_ENC=USB2.0\x20Camera'
udevd[503]: 'usb_id --export
/devices/pci0000:00/0000:00:1d.7/usb2/2-5'(out) 'ID_MODEL_ID=0516'
udevd[503]: 'usb_id --export
/devices/pci0000:00/0000:00:1d.7/usb2/2-5'(out) 'ID_REVISION=0307'
udevd[503]: 'usb_id --export
/devices/pci0000:00/0000:00:1d.7/usb2/2-5'(out)
'ID_SERIAL=AVEO_Technology_Corp._USB2.0_Camera'
udevd[503]: 'usb_id --export
/devices/pci0000:00/0000:00:1d.7/usb2/2-5'(out) 'ID_BUS=usb'
udevd[503]: 'usb_id --export
/devices/pci0000:00/0000:00:1d.7/usb2/2-5'(out)
'ID_USB_INTERFACES=:ff0100:0e0200:'
udevd[503]: 'usb_id --export /devices/pci0000:00/0000:00:1d.7/usb2/2-5'
[3756] exit with return code 0
udevd[503]: MODE 0664 /lib/udev/rules.d/50-udev-default.rules:55
udevd[503]: no node name set, will use kernel supplied name
'bus/usb/002/004'
udevd[503]: creating device node '/dev/bus/usb/002/004', devnum=189:131,
mode=0664, uid=0, gid=0
udevd[503]: preserve file '/dev/bus/usb/002/004', because it has correct
dev_t
udevd[503]: set permissions /dev/bus/usb/002/004, 020664, uid=0, gid=0
udevd[503]: creating symlink '/dev/char/189:131' to '../bus/usb/002/004'
udevd[503]: created db file '/run/udev/data/c189:131' for
'/devices/pci0000:00/0000:00:1d.7/usb2/2-5'
udevd[503]: passed -1 bytes to netlink monitor 0x215c9708
udevd[503]: seq 1977 processed with 0
udevd[307]: seq 1977 done with 0
udevd[307]: passed 275 bytes to netlink monitor 0x215c21f8
udevd[504]: seq 1979 running
udevd[503]: seq 1978 running
udevd[503]: device 0x215c3c00 has devpath
'/devices/pci0000:00/0000:00:1d.7/usb2/2-5/2-5:1.0'
udevd[504]: device 0x215c21f8 has devpath
'/devices/pci0000:00/0000:00:1d.7/usb2/2-5/2-5:1.1'
udevd[503]: no db file to read /run/udev/data/+usb:2-5:1.0: No such file
or directory
udevd[504]: no db file to read /run/udev/data/+usb:2-5:1.1: No such file
or directory
udevd[503]: device 0x215c4f58 has devpath
'/devices/pci0000:00/0000:00:1d.7/usb2/2-5'
udevd[504]: device 0x215c26b0 has devpath
'/devices/pci0000:00/0000:00:1d.7/usb2/2-5'
udevd[503]: device 0x215c3d38 has devpath
'/devices/pci0000:00/0000:00:1d.7/usb2'
udevd[503]: device 0x215c3eb0 has devpath '/devices/pci0000:00/0000:00:1d.7'
udevd[504]: device 0x215c2990 has devpath
'/devices/pci0000:00/0000:00:1d.7/usb2'
udevd[503]: device 0x215c35a0 has devpath '/devices/pci0000:00'
udevd[504]: device 0x215c2b28 has devpath '/devices/pci0000:00/0000:00:1d.7'
udevd[504]: device 0x215c2cf8 has devpath '/devices/pci0000:00'
udevd[307]: passed 274 bytes to netlink monitor 0x215c21f8
udevd[503]: RUN 'usb_modeswitch --driver-bind %p %s{idVendor}
%s{idProduct} %E{PRODUCT}' /lib/udev/rules.d/40-usb_modeswitch.rules:17
udevd[503]: RUN '/sbin/modprobe -bv $env{MODALIAS}'
/lib/udev/rules.d/80-drivers.rules:5
udevd[504]: RUN '/sbin/modprobe -bv $env{MODALIAS}'
/lib/udev/rules.d/80-drivers.rules:5
udevd[3757]: starting 'usb_modeswitch --driver-bind
/devices/pci0000:00/0000:00:1d.7/usb2/2-5/2-5:1.0 1871/516/307'
udevd[3758]: starting '/sbin/modprobe -bv
usb:v1871p0516d0307dcEFdsc02dp01ic0Eisc02ip00'
udevd[504]: '/sbin/modprobe -bv
usb:v1871p0516d0307dcEFdsc02dp01ic0Eisc02ip00'(err) 'FATAL: Module
usb:v1871p0516d0307dcEFdsc02dp01ic0Eisc02ip00 not found.'
udevd[504]: '/sbin/modprobe -bv
usb:v1871p0516d0307dcEFdsc02dp01ic0Eisc02ip00' [3758] exit with return
code 1
udevd[504]: passed -1 bytes to netlink monitor 0x215c9140
udevd[504]: seq 1979 processed with 0
udevd[307]: seq 1979 done with 0
udevd[503]: 'usb_modeswitch --driver-bind
/devices/pci0000:00/0000:00:1d.7/usb2/2-5/2-5:1.0 1871/516/307' [3757]
exit with return code 0
udevd[3764]: starting '/sbin/modprobe -bv
usb:v1871p0516d0307dcEFdsc02dp01icFFisc01ip00'
udevd[503]: '/sbin/modprobe -bv
usb:v1871p0516d0307dcEFdsc02dp01icFFisc01ip00'(err) 'FATAL: Module
usb:v1871p0516d0307dcEFdsc02dp01icFFisc01ip00 not found.'
udevd[503]: '/sbin/modprobe -bv
usb:v1871p0516d0307dcEFdsc02dp01icFFisc01ip00' [3764] exit with return
code 1
udevd[503]: passed -1 bytes to netlink monitor 0x215c9708
udevd[503]: seq 1978 processed with 0
udevd[307]: seq 1978 done with 0
>From lsusb:
Bus 002 Device 005: ID 1871:0516 Aveo Technology Corp. USB2.0 Camera
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 239 Miscellaneous Device
bDeviceSubClass 2 ?
bDeviceProtocol 1 Interface Association
bMaxPacketSize0 64
idVendor 0x1871 Aveo Technology Corp.
idProduct 0x0516 USB2.0 Camera
bcdDevice 3.07
iManufacturer 1 AVEO Technology Corp.
iProduct 2 USB2.0 Camera
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 411
bNumInterfaces 2
bConfigurationValue 1
iConfiguration 0
bmAttributes 0x80
(Bus Powered)
MaxPower 500mA
Interface Association:
bLength 8
bDescriptorType 11
bFirstInterface 0
bInterfaceCount 2
bFunctionClass 255 Vendor Specific Class
bFunctionSubClass 3
bFunctionProtocol 0
iFunction 2 USB2.0 Camera
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 1
bInterfaceProtocol 0
iInterface 2 USB2.0 Camera
** UNRECOGNIZED: 0d 24 01 00 01 4d 00 80 c3 c9 01 01 01
** UNRECOGNIZED: 12 24 02 01 01 02 00 00 00 00 00 00 00 00 03 00
00 00
** UNRECOGNIZED: 09 24 03 02 01 01 00 04 00
** UNRECOGNIZED: 0b 24 05 03 01 00 00 02 1b 04 00
** UNRECOGNIZED: 1a 24 06 04 52 f2 b8 aa d1 8e 72 49 8c ed 96 b1
7f 04 40 8b 01 01 03 01 03 00
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x85 EP 5 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 7
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 0
bNumEndpoints 0
bInterfaceClass 14 Video
bInterfaceSubClass 2 Video Streaming
bInterfaceProtocol 0
iInterface 0
VideoStreaming Interface Descriptor:
bLength 14
bDescriptorType 36
bDescriptorSubtype 1 (INPUT_HEADER)
bNumFormats 1
wTotalLength 207
bEndPointAddress 131
bmInfo 0
bTerminalLink 2
bStillCaptureMethod 2
bTriggerSupport 1
bTriggerUsage 0
bControlSize 1
bmaControls( 0) 27
VideoStreaming Interface Descriptor:
bLength 27
bDescriptorType 36
bDescriptorSubtype 4 (FORMAT_UNCOMPRESSED)
bFormatIndex 1
bNumFrameDescriptors 5
guidFormat
{59555932-0000-1000-8000-00aa00389b71}
bBitsPerPixel 16
bDefaultFrameIndex 1
bAspectRatioX 0
bAspectRatioY 0
bmInterlaceFlags 0x00
Interlaced stream or variable: No
Fields per frame: 2 fields
Field 1 first: No
Field pattern: Field 1 only
bCopyProtect 0
VideoStreaming Interface Descriptor:
bLength 30
bDescriptorType 36
bDescriptorSubtype 5 (FRAME_UNCOMPRESSED)
bFrameIndex 1
bmCapabilities 0x00
Still image unsupported
wWidth 640
wHeight 480
dwMinBitRate 147456000
dwMaxBitRate 147456000
dwMaxVideoFrameBufferSize 614400
dwDefaultFrameInterval 333333
bFrameIntervalType 1
dwFrameInterval( 0) 333333
VideoStreaming Interface Descriptor:
bLength 30
bDescriptorType 36
bDescriptorSubtype 5 (FRAME_UNCOMPRESSED)
bFrameIndex 3
bmCapabilities 0x00
Still image unsupported
wWidth 320
wHeight 240
dwMinBitRate 36864000
dwMaxBitRate 36864000
dwMaxVideoFrameBufferSize 153600
dwDefaultFrameInterval 333333
bFrameIntervalType 1
dwFrameInterval( 0) 333333
VideoStreaming Interface Descriptor:
bLength 30
bDescriptorType 36
bDescriptorSubtype 5 (FRAME_UNCOMPRESSED)
bFrameIndex 5
bmCapabilities 0x00
Still image unsupported
wWidth 352
wHeight 288
dwMinBitRate 48660480
dwMaxBitRate 48660480
dwMaxVideoFrameBufferSize 202752
dwDefaultFrameInterval 333333
bFrameIntervalType 1
dwFrameInterval( 0) 333333
VideoStreaming Interface Descriptor:
bLength 30
bDescriptorType 36
bDescriptorSubtype 5 (FRAME_UNCOMPRESSED)
bFrameIndex 9
bmCapabilities 0x00
Still image unsupported
wWidth 1280
wHeight 960
dwMinBitRate 157286400
dwMaxBitRate 157286400
dwMaxVideoFrameBufferSize 2457600
dwDefaultFrameInterval 1250000
bFrameIntervalType 1
dwFrameInterval( 0) 1250000
VideoStreaming Interface Descriptor:
bLength 30
bDescriptorType 36
bDescriptorSubtype 5 (FRAME_UNCOMPRESSED)
bFrameIndex 10
bmCapabilities 0x00
Still image unsupported
wWidth 1280
wHeight 1024
dwMinBitRate 157286400
dwMaxBitRate 157286400
dwMaxVideoFrameBufferSize 2621440
dwDefaultFrameInterval 1250000
bFrameIntervalType 1
dwFrameInterval( 0) 1250000
VideoStreaming Interface Descriptor:
bLength 10
bDescriptorType 36
bDescriptorSubtype 3 (STILL_IMAGE_FRAME)
bEndpointAddress 0
bNumImageSizePatterns 1
wWidth( 0) 640
wHeight( 0) 480
bNumCompressionPatterns 1
VideoStreaming Interface Descriptor:
bLength 6
bDescriptorType 36
bDescriptorSubtype 13 (COLORFORMAT)
bColorPrimaries 1 (BT.709,sRGB)
bTransferCharacteristics 1 (BT.709)
bMatrixCoefficients 4 (SMPTE 170M (BT.601))
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 1
bNumEndpoints 1
bInterfaceClass 14 Video
bInterfaceSubClass 2 Video Streaming
bInterfaceProtocol 0
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 5
Transfer Type Isochronous
Synch Type Asynchronous
Usage Type Data
wMaxPacketSize 0x020c 1x 524 bytes
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 2
bNumEndpoints 1
bInterfaceClass 14 Video
bInterfaceSubClass 2 Video Streaming
bInterfaceProtocol 0
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 5
Transfer Type Isochronous
Synch Type Asynchronous
Usage Type Data
wMaxPacketSize 0x030c 1x 780 bytes
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 3
bNumEndpoints 1
bInterfaceClass 14 Video
bInterfaceSubClass 2 Video Streaming
bInterfaceProtocol 0
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 5
Transfer Type Isochronous
Synch Type Asynchronous
Usage Type Data
wMaxPacketSize 0x03fc 1x 1020 bytes
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 4
bNumEndpoints 1
bInterfaceClass 14 Video
bInterfaceSubClass 2 Video Streaming
bInterfaceProtocol 0
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 5
Transfer Type Isochronous
Synch Type Asynchronous
Usage Type Data
wMaxPacketSize 0x0bfc 2x 1020 bytes
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 5
bNumEndpoints 1
bInterfaceClass 14 Video
bInterfaceSubClass 2 Video Streaming
bInterfaceProtocol 0
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 5
Transfer Type Isochronous
Synch Type Asynchronous
Usage Type Data
wMaxPacketSize 0x13fc 3x 1020 bytes
bInterval 1
Device Qualifier (for other device speed):
bLength 10
bDescriptorType 6
bcdUSB 2.00
bDeviceClass 239 Miscellaneous Device
bDeviceSubClass 2 ?
bDeviceProtocol 1 Interface Association
bMaxPacketSize0 64
bNumConfigurations 1
Device Status: 0x0000
(Bus Powered)
--
Thomas Jensen, Denmark
_______________________________________________
Linux-uvc-devel mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/linux-uvc-devel