[email protected] wrote:
Hello,
I have a setup where a Logitech Quickcam E 3500 (046d:09a4) works fine
when a Philips SPC530NC (0471:2034) doesn't. Though both are mark as
supported on http://www.ideasonboard.org/uvc/
I'm running: Linux OpenWrt 2.6.30.10 #24 Tue Apr 6 14:59:59 CEST 2010
mips GNU/Linux
Here is what I get with the philips:
Apr 6 01:26:45 OpenWrt user.info kernel: usb 1-1: new high speed USB
device using ehci_hcd and address 2
Apr 6 01:26:45 OpenWrt user.info kernel: usb 1-1: configuration #1
chosen from 1 choice
Apr 6 01:26:45 OpenWrt user.info kernel: uvcvideo: Found UVC 1.00
device USB Video Camera (0471:2034)
Apr 6 01:26:45 OpenWrt user.info kernel: input: USB Video Camera as
/devices/pci0000:00/0000:00:00.1/usb1/1-1/1-1:1.0/input/input0
Apr 6 01:26:49 OpenWrt user.info MJPG-streamer [1131]: starting
application
Apr 6 01:26:49 OpenWrt user.info MJPG-streamer [1131]: MJPG Streamer
Version.: 2.0
Apr 6 01:26:49 OpenWrt user.info MJPG-streamer [1131]: Using V4L2
device.: /dev/video0
Apr 6 01:26:49 OpenWrt user.info MJPG-streamer [1131]: Desired
Resolution: 640 x 480
Apr 6 01:26:49 OpenWrt user.info MJPG-streamer [1131]: Frames Per
Second.: 5
Apr 6 01:26:49 OpenWrt user.info MJPG-streamer [1131]:
Format............: MJPEG
Apr 6 01:26:49 OpenWrt user.info MJPG-streamer [1131]: init_VideoIn
failed
Apr 6 01:26:53 OpenWrt user.info MJPG-streamer [1142]: starting
application
Apr 6 01:26:53 OpenWrt user.info MJPG-streamer [1142]: MJPG Streamer
Version.: 2.0
Apr 6 01:26:53 OpenWrt user.info MJPG-streamer [1142]: Using V4L2
device.: /dev/video0
Apr 6 01:26:53 OpenWrt user.info MJPG-streamer [1142]: Desired
Resolution: 640 x 480
Apr 6 01:26:53 OpenWrt user.info MJPG-streamer [1142]: Frames Per
Second.: 5
Apr 6 01:26:53 OpenWrt user.info MJPG-streamer [1142]:
Format............: MJPEG
Apr 6 01:26:53 OpenWrt user.info MJPG-streamer [1142]: init_VideoIn
failed
Apr 6 01:26:56 OpenWrt user.info MJPG-streamer [1152]: starting
application
Apr 6 01:26:56 OpenWrt user.info MJPG-streamer [1152]: MJPG Streamer
Version.: 2.0
Apr 6 01:26:56 OpenWrt user.info MJPG-streamer [1152]: Using V4L2
device.: /dev/video0
Apr 6 01:26:56 OpenWrt user.info MJPG-streamer [1152]: Desired
Resolution: 640 x 480
Apr 6 01:26:56 OpenWrt user.info MJPG-streamer [1152]: Frames Per
Second.: 5
Apr 6 01:26:56 OpenWrt user.info MJPG-streamer [1152]:
Format............: MJPEG
Apr 6 01:26:56 OpenWrt user.info MJPG-streamer [1152]: init_VideoIn
failed
Any pointer to solve the issue would help.
Many thanks,
hka
Just want to confirm that /dev/video0 is inserted and paste the
following additional information:
IRQ 3/wifi0: IRQF_DISABLED is not guaranteed on shared IRQs
i2c /dev entries driver
Linux video capture interface: v2.00
usbcore: registered new interface driver uvcvideo
USB Video Class driver (v0.1.0)
usb 1-1: new high speed USB device using ehci_hcd and address 2
usb 1-1: configuration #1 chosen from 1 choice
hub 1-1:1.0: USB hub found
hub 1-1:1.0: 4 ports detected
usb 1-1.1: new high speed USB device using ehci_hcd and address 3
usb 1-1.1: configuration #1 chosen from 1 choice
uvcvideo: Found UVC 1.00 device USB Video Camera (0471:2034)
input: USB Video Camera as
/devices/pci0000:00/0000:00:00.1/usb1/1-1/1-1.1/1-1.1:1.0/input/input0
# lsusb -v -d 0471:2034
Bus 001 Device 003: ID 0471:2034 Philips (or NXP) Webcam SPC530NC
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 239 Miscellaneous Device
bDeviceSubClass 2 ?
bDeviceProtocol 1 Interface Association
bMaxPacketSize0 64
idVendor 0x0471 Philips (or NXP)
idProduct 0x2034 Webcam SPC530NC
bcdDevice 0.00
iManufacturer 0
iProduct 1 USB Video Camera
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 42497
bNumInterfaces 4
bConfigurationValue 1
iConfiguration 0
bmAttributes 0x80
(Bus Powered)
MaxPower 98mA
Interface Association:
bLength 8
bDescriptorType 11
bFirstInterface 0
bInterfaceCount 2
bFunctionClass 14 Video
bFunctionSubClass 3 Video Interface Collection
bFunctionProtocol 0
iFunction 1 USB Video Camera
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 14 Video
bInterfaceSubClass 1 Video Control
bInterfaceProtocol 0
iInterface 1 USB Video Camera
VideoControl Interface Descriptor:
bLength 13
bDescriptorType 36
bDescriptorSubtype 1 (HEADER)
bcdUVC 1.00
wTotalLength 77
dwClockFrequency 48.000000MHz
bInCollection 1
baInterfaceNr( 0) 1
VideoControl Interface Descriptor:
bLength 18
bDescriptorType 36
bDescriptorSubtype 2 (INPUT_TERMINAL)
bTerminalID 1
wTerminalType 0x0201 Camera Sensor
bAssocTerminal 0
iTerminal 0
wObjectiveFocalLengthMin 0
wObjectiveFocalLengthMax 0
wOcularFocalLength 0
bControlSize 3
bmControls 0x00000000
VideoControl Interface Descriptor:
bLength 11
bDescriptorType 36
bDescriptorSubtype 5 (PROCESSING_UNIT)
Warning: Descriptor too short
bUnitID 3
bSourceID 1
wMaxMultiplier 0
bControlSize 2
bmControls 0x0000157b
Brightness
Contrast
Saturation
Sharpness
Gamma
White Balance Temperature
Backlight Compensation
Power Line Frequency
White Balance Temperature, Auto
iProcessing 32
bmVideoStandards 0x1a
NTSC - 525/60
SECAM - 625/50
NTSC - 625/50
VideoControl Interface Descriptor:
bLength 26
bDescriptorType 36
bDescriptorSubtype 6 (EXTENSION_UNIT)
bUnitID 6
guidExtensionCode {d2090058-6fe7-2446-8512-76cdd8dda14e}
bNumControl 2
bNrPins 1
baSourceID( 0) 3
bControlSize 1
bmControls( 0) 0x03
iExtension 0
VideoControl Interface Descriptor:
bLength 9
bDescriptorType 36
bDescriptorSubtype 3 (OUTPUT_TERMINAL)
bTerminalID 2
wTerminalType 0x0101 USB Streaming
bAssocTerminal 0
bSourceID 6
iTerminal 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0800 2x 0 bytes
bInterval 16
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 157
bEndPointAddress 131
bmInfo 0
bTerminalLink 2
bStillCaptureMethod 1
bTriggerSupport 1
bTriggerUsage 0
bControlSize 1
bmaControls( 0) 27
VideoStreaming Interface Descriptor:
bLength 27
bDescriptorType 36
bDescriptorSubtype 4 (FORMAT_UNCOMPRESSED)
bFormatIndex 1
bNumFrameDescriptors 2
guidFormat
{59555932-0000-1000-8000-00aa00389b71}
bBitsPerPixel 16
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 54
bDescriptorType 36
bDescriptorSubtype 5 (FRAME_UNCOMPRESSED)
bFrameIndex 1
bmCapabilities 0x01
Still image supported
wWidth 640
wHeight 480
dwMinBitRate 1179648000
dwMaxBitRate 147456000
dwMaxVideoFrameBufferSize 614400
dwDefaultFrameInterval 333333
bFrameIntervalType 7
dwFrameInterval( 0) 333333
dwFrameInterval( 1) 400000
dwFrameInterval( 2) 499998
dwFrameInterval( 3) 666666
dwFrameInterval( 4) 999996
dwFrameInterval( 5) 1333332
dwFrameInterval( 6) 1999992
VideoStreaming Interface Descriptor:
bLength 62
bDescriptorType 36
bDescriptorSubtype 5 (FRAME_UNCOMPRESSED)
bFrameIndex 2
bmCapabilities 0x01
Still image supported
wWidth 320
wHeight 240
dwMinBitRate 1179648000
dwMaxBitRate 147456000
dwMaxVideoFrameBufferSize 153600
dwDefaultFrameInterval 166666
bFrameIntervalType 9
dwFrameInterval( 0) 166666
dwFrameInterval( 1) 200000
dwFrameInterval( 2) 333333
dwFrameInterval( 3) 400000
dwFrameInterval( 4) 499998
dwFrameInterval( 5) 666666
dwFrameInterval( 6) 999996
dwFrameInterval( 7) 1333332
dwFrameInterval( 8) 1999992
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 0x0014 1x 20 bytes
bInterval 1
Interface Association:
bLength 8
bDescriptorType 11
bFirstInterface 2
bInterfaceCount 2
bFunctionClass 1 Audio
bFunctionSubClass 2 Streaming
bFunctionProtocol 0
iFunction 1 USB Video Camera
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 2
bAlternateSetting 0
bNumEndpoints 0
bInterfaceClass 1 Audio
bInterfaceSubClass 1 Control Device
bInterfaceProtocol 0
iInterface 1 USB Video Camera
AudioControl Interface Descriptor:
bLength 9
bDescriptorType 36
bDescriptorSubtype 1 (HEADER)
bcdADC 1.00
wTotalLength 38
bInCollection 1
baInterfaceNr( 0) 3
AudioControl Interface Descriptor:
bLength 12
bDescriptorType 36
bDescriptorSubtype 2 (INPUT_TERMINAL)
bTerminalID 3
wTerminalType 0x0201 Microphone
bAssocTerminal 0
bNrChannels 1
wChannelConfig 0x0000
iChannelNames 0
iTerminal 0
AudioControl Interface Descriptor:
bLength 8
bDescriptorType 36
bDescriptorSubtype 6 (FEATURE_UNIT)
bUnitID 5
bSourceID 3
bControlSize 1
bmaControls( 0) 0x43
Mute
Volume
Automatic Gain
iFeature 0
AudioControl Interface Descriptor:
bLength 9
bDescriptorType 36
bDescriptorSubtype 3 (OUTPUT_TERMINAL)
bTerminalID 4
wTerminalType 0x0101 USB Streaming
bAssocTerminal 0
bSourceID 5
iTerminal 0
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 3
bAlternateSetting 0
bNumEndpoints 0
bInterfaceClass 1 Audio
bInterfaceSubClass 2 Streaming
bInterfaceProtocol 0
iInterface 0
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 3
bAlternateSetting 1
bNumEndpoints 1
bInterfaceClass 1 Audio
bInterfaceSubClass 2 Streaming
bInterfaceProtocol 0
iInterface 0
AudioStreaming Interface Descriptor:
bLength 7
bDescriptorType 36
bDescriptorSubtype 1 (AS_GENERAL)
bTerminalLink 4
bDelay 1 frames
wFormatTag 1 PCM
AudioStreaming Interface Descriptor:
bLength 29
bDescriptorType 36
bDescriptorSubtype 2 (FORMAT_TYPE)
bFormatType 1 (FORMAT_TYPE_I)
bNrChannels 1
bSubframeSize 2
bBitResolution 16
bSamFreqType 7 Discrete
tSamFreq[ 0] 8000
tSamFreq[ 1] 11025
tSamFreq[ 2] 16000
tSamFreq[ 3] 22050
tSamFreq[ 4] 32000
tSamFreq[ 5] 44100
tSamFreq[ 6] 48000
Endpoint Descriptor:
bLength 9
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0001 1x 1 bytes
bInterval 4
bRefresh 0
bSynchAddress 0
AudioControl Endpoint Descriptor:
bLength 7
bDescriptorType 37
bDescriptorSubtype 1 (EP_GENERAL)
bmAttributes 0x00
bLockDelayUnits 0 Undefined
wLockDelay 0 Undefined
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)
_______________________________________________
Linux-uvc-devel mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/linux-uvc-devel