Hello there, this is my first post here (& ever on berilos), sorry for
any inconvenience & ignorance...
I have this cellphone whose camera can work as UVC device (at least in
windows it does). Have been playing a bit with uvcvideo driver, but this
camera doesn't seem to be supported (tried builds 141 & 147)...
Thank you for all UVC supporting efforts!
Btw, what is the meaning of 'Failed to initialize the device (-5).' ?
here's dmesg info;
[ 5954.620000] usb 2-1: new full speed USB device using uhci_hcd and
address 11
[ 5954.796000] usb 2-1: configuration #1 chosen from 1 choice
[ 5954.800000] uvcvideo: Probing generic UVC device 1
[ 5954.800000] uvcvideo: Found format MJPEG.
[ 5954.800000] uvcvideo: - 320x240 (15.0 fps)
[ 5954.800000] uvcvideo: Found UVC 1.10 device au W33SA (0474:0722)
[ 5954.800000] uvcvideo: Scanning UVC chain: OT 3 <- PU 2 <- IT 1
[ 5954.800000] uvcvideo: Found a valid video chain (1 -> 3).
[ 5954.804000] uvcvideo: Failed to query (135) UVC control 1 (unit 0) :
-32 (exp. 34).
[ 5954.804000] uvcvideo: Failed to query (129) UVC control 1 (unit 0) :
-32 (exp. 34).
[ 5954.804000] uvcvideo: Failed to initialize the device (-5).
and also lsusb
$ lsusb -v -d 0474:0722
Bus 002 Device 008: ID 0474:0722 Sanyo Electric Co., Ltd
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 239 Miscellaneous Device
bDeviceSubClass 2 Common Class
bDeviceProtocol 1 Interface Association
bMaxPacketSize0 64
idVendor 0x0474 Sanyo Electric Co., Ltd
idProduct 0x0722
bcdDevice 0.00
iManufacturer 1 SANYO Electric Co.,Ltd.
iProduct 2 au W33SA
iSerial 3 000000000001
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 155
bNumInterfaces 2
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xc0
Self Powered
MaxPower 0mA
Interface Association:
bLength 8
bDescriptorType 11
bFirstInterface 0
bInterfaceCount 2
bFunctionClass 14 Video
bFunctionSubClass 3 Video Interface Collection
bFunctionProtocol 0
iFunction 2 au W33SA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 0
bInterfaceClass 14 Video
bInterfaceSubClass 1 Video Control
bInterfaceProtocol 0
iInterface 2 au W33SA
VideoControl Interface Descriptor:
bLength 13
bDescriptorType 36
bDescriptorSubtype 1 (HEADER)
bcdUVC 1.0a
wTotalLength 50
dwClockFrequency 0.001000MHz
bInCollection 1
baInterfaceNr( 0) 1
VideoControl Interface Descriptor:
bLength 17
bDescriptorType 36
bDescriptorSubtype 2 (INPUT_TERMINAL)
bTerminalID 1
wTerminalType 0x0201 Camera Sensor
bAssocTerminal 0
iTerminal 0
wObjectiveFocalLengthMin 0
wObjectiveFocalLengthMax 0
wOcularFocalLength 0
bControlSize 2
bmControls 0x00000000
VideoControl Interface Descriptor:
bLength 11
bDescriptorType 36
bDescriptorSubtype 5 (PROCESSING_UNIT)
Warning: Descriptor too short
bUnitID 2
bSourceID 1
wMaxMultiplier 0
bControlSize 2
bmControls 0x00000000
iProcessing 0
bmVideoStandards 0x 9
None
SECAM - 625/50
VideoControl Interface Descriptor:
bLength 9
bDescriptorType 36
bDescriptorSubtype 3 (OUTPUT_TERMINAL)
bTerminalID 3
wTerminalType 0x0101 USB Streaming
bAssocTerminal 0
bSourceID 2
iTerminal 0
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 14 Video
bInterfaceSubClass 2 Video Streaming
bInterfaceProtocol 0
iInterface 2 au W33SA
VideoStreaming Interface Descriptor:
bLength 14
bDescriptorType 36
bDescriptorSubtype 1 (INPUT_HEADER)
bNumFormarts 1
wTotalLength 33536
bEndPointAddress 0
bmInfo 3
bTerminalLink 1
bStillCaptureMethod 0
bTriggerSupport 0
bTriggerUsage 1
bControlSize 1
bmaControls( 0) 11
VideoStreaming Interface Descriptor:
bLength 11
bDescriptorType 36
bDescriptorSubtype 6 (FORMAT_MJPEG)
bFormatIndex 1
bNumFrameDescriptors 1
bFlags 1
Fixed-size samples: Yes
bDefaultFrameIndex 1
bAspectRatioX 0
bAspectRatioY 0
bmInterlaceFlags 0x00
Interlaced stream or variable: No
Fields per frame: 1 fields
Field 1 first: No
Field pattern: Field 1 only
bCopyProtect 0
VideoStreaming Interface Descriptor:
bLength 38
bDescriptorType 36
bDescriptorSubtype 7 (FRAME_MJPEG)
bFrameIndex 1
bmCapabilities 0x00
Still image unsupported
wWidth 320
wHeight 240
dwMinBitRate 307230
dwMaxBitRate 307230
dwMaxVideoFrameBufferSize 20482
dwDefaultFrameInterval 666666
bFrameIntervalType 0
dwMinFrameInterval 666666
dwMaxFrameInterval 666666
dwFrameIntervalStep 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 0
Device Status: 0x0000
(Bus Powered)
* * *
hwinfo -usb (short)
11: USB 00.0: 0000 Unclassified device
[Created at usb.122]
UDI: /org/freedesktop/Hal/devices/usb_device_474_722_000000000001_if0
Unique ID: FKGF.uEX_wlDPNaD
Parent ID: pBe4.5RvVF0y2QS4
SysFS ID: /devices/pci0000:00/0000:00:10.1/usb2/2-1/2-1:1.0
SysFS BusID: 2-1:1.0
Hardware Class: unknown
Model: "Sanyo Electric au W33SA"
Hotplug: USB
Vendor: usb 0x0474 "Sanyo Electric Co. Ltd."
Device: usb 0x0722 "au W33SA"
Serial ID: "000000000001"
Speed: 12 Mbps
Module Alias: "usb:v0474p0722d0000dcEFdsc02dp01ic0Eisc01ip00"
Driver Info #0:
Driver Status: uvcvideo is active
Driver Activation Cmd: "modprobe uvcvideo"
Config Status: cfg=new, avail=yes, need=no, active=unknown
Attached to: #4 (Hub)
_______________________________________________
Linux-uvc-devel mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/linux-uvc-devel