Re: MSI StarCam Racer - No valid video chain found

2009-11-10 Thread Laurent Pinchart
Hi Martin,

On Wednesday 04 November 2009 23:03:16 Martin Rod wrote:
 Hi Laurent,
 
 I send you  log file with trace (kernel 2.6.30.9)

Thanks. The log shows that your problem comes from UVC descriptors parsing. 
This has been fixed in 2.6.31, so you should upgrade to at least that version 
or install the latest uvcvideo driver.
 
 I have tried this kernel (on UBNT RouterStation and OpenWrt) with results:
 
 2.6.28.10. -  camera works, I tried only snapshots (I have to use
 external power for USB, without  external  power  sometimes works,
 sometimes  no ...)
 2.6.31.5 - kernel copmpiles ok, but uvcvideo module was missing, I don't
 know why ...

Check that the uvcvideo driver is selected using make menuconfig.

-- 
Regards,

Laurent Pinchart
--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: MSI StarCam Racer - No valid video chain found

2009-11-04 Thread Laurent Pinchart
Hi Martin,

On Monday 02 November 2009 21:31:50 Martin Rod wrote:
 Hi Laurent,
 
 I send you output of lsusb. I think, that the uvcdriver is the latest. I
 try older kernel tomorrow.

Could you please load the driver with trace=255 (modprobe uvcvideo trace=255) 
or, if the driver is already loaded, change the trace parameter to 255 (echo 
255  /sys/module/uvcvideo/parameters/trace), plug your camera and send me the 
messages printed by the uvcvideo driver to the kernel log?

Thanks.

-- 
Regards,

Laurent Pinchart
--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: MSI StarCam Racer - No valid video chain found

2009-11-04 Thread Martin Rod

Hi Laurent,

I send you  log file with trace (kernel 2.6.30.9)

I have tried this kernel (on UBNT RouterStation and OpenWrt) with results:

2.6.28.10. -  camera works, I tried only snapshots (I have to use 
external power for USB, without  external  power  sometimes works, 
sometimes  no ...)
2.6.31.5 - kernel copmpiles ok, but uvcvideo module was missing, I don't 
know why ...


Thanks,

Martin


Laurent Pinchart napsal(a):

Hi Martin,

On Monday 02 November 2009 21:31:50 Martin Rod wrote:
  

Hi Laurent,

I send you output of lsusb. I think, that the uvcdriver is the latest. I
try older kernel tomorrow.



Could you please load the driver with trace=255 (modprobe uvcvideo trace=255) 
or, if the driver is already loaded, change the trace parameter to 255 (echo 
255  /sys/module/uvcvideo/parameters/trace), plug your camera and send me the 
messages printed by the uvcvideo driver to the kernel log?


Thanks.

  
usb 1-1: USB disconnect, address 3
usb 1-1: new high speed USB device using ar71xx-ehci and address 4
usb 1-1: configuration #1 chosen from 1 choice
uvcvideo: Probing generic UVC device 1
uvcvideo: Found format YUV 4:2:2 (YUYV).
uvcvideo: - 640x480 (30.0 fps)
uvcvideo: - 352x288 (30.0 fps)
uvcvideo: - 320x240 (30.0 fps)
uvcvideo: - 176x144 (30.0 fps)
uvcvideo: - 160x120 (30.0 fps)
uvcvideo: device 4 videostreaminginterface 1 frame index 9 out of range
uvcvideo: Found a Status endpoint (addr 83).
uvcvideo: Found UVC 1.00 device USB 2.0 Camera (0c45:62e0)
uvcvideo: Added control ----0101/2 to device 1 
entity 3
uvcvideo: Added control ----0101/3 to device 1 
entity 3
uvcvideo: Added control ----0101/6 to device 1 
entity 3
uvcvideo: Added control ----0101/7 to device 1 
entity 3
uvcvideo: Added control ----0101/8 to device 1 
entity 3
uvcvideo: Added control ----0101/9 to device 1 
entity 3
uvcvideo: Added control ----0101/10 to device 1 
entity 3
uvcvideo: Added control ----0101/1 to device 1 
entity 3
uvcvideo: Added control ----0101/4 to device 1 
entity 3
uvcvideo: Added control ----0101/5 to device 1 
entity 3
uvcvideo: Added control ----0101/11 to device 1 
entity 3
uvcvideo: Added control ----0001/2 to device 1 
entity 1
uvcvideo: Added control ----0001/3 to device 1 
entity 1
uvcvideo: Added control ----0001/4 to device 1 
entity 1
uvcvideo: Added control ----0001/11 to device 1 
entity 1
uvcvideo: Added control ----0001/13 to device 1 
entity 1
uvcvideo: Scanning UVC chain: OT 2 - XU 5 - XU 4 - PU 3 - IT 1
uvcvideo: No valid video chain found.


Re: MSI StarCam Racer - No valid video chain found

2009-11-02 Thread Laurent Pinchart
Hi Martin,

On Sunday 01 November 2009 09:52:11 Martin Rod wrote:
 Hi,
 
 I use MSI StarCam Racer  on Debian Linux Lenny 2.6.26-1-686 and video
 works without problem:
 
 usb 4-4: New USB device found, idVendor=0c45, idProduct=62e0
 usb 4-4: New USB device strings: Mfr=2, Product=1,SerialNumber=0
 usb 4-4: Product: USB 2.0 Camera
 usb 4-4: Manufacturer: Sonix Technology Co., Ltd.
 
 I  plan use this camera on OpenWrt, (UBNT Router Station, kernel
 2.6.30.9) and kernel didn't open this device:
 
 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 ar71xx-ehci and address 2
 usb 1-1: configuration #1 chosen from 1 choice
 uvcvideo: Found UVC 1.00 device USB 2.0 Camera (0c45:62e0)
 uvcvideo: No valid video chain found.
 
 Do you have any idea?

Have you tried upgrading to a more recent kernel, or to install the latest 
uvcvideo driver ? If the latest driver still doesn't work, please send me the 
output of

lsusb -v -d 0c45:62e0

using usbutils 0.72 or newer (0.73+ preferred). Thanks.

-- 
Regards,

Laurent Pinchart
--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: MSI StarCam Racer - No valid video chain found

2009-11-02 Thread Martin Rod

Hi Laurent,

I send you output of lsusb. I think, that the uvcdriver is the latest. I 
try older kernel tomorrow.


Martin


Laurent Pinchart wrote:

Hi Martin,

On Sunday 01 November 2009 09:52:11 Martin Rod wrote:
  

Hi,

I use MSI StarCam Racer  on Debian Linux Lenny 2.6.26-1-686 and video
works without problem:

usb 4-4: New USB device found, idVendor=0c45, idProduct=62e0
usb 4-4: New USB device strings: Mfr=2, Product=1,SerialNumber=0
usb 4-4: Product: USB 2.0 Camera
usb 4-4: Manufacturer: Sonix Technology Co., Ltd.

I  plan use this camera on OpenWrt, (UBNT Router Station, kernel
2.6.30.9) and kernel didn't open this device:

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 ar71xx-ehci and address 2
usb 1-1: configuration #1 chosen from 1 choice
uvcvideo: Found UVC 1.00 device USB 2.0 Camera (0c45:62e0)
uvcvideo: No valid video chain found.

Do you have any idea?



Have you tried upgrading to a more recent kernel, or to install the latest 
uvcvideo driver ? If the latest driver still doesn't work, please send me the 
output of


lsusb -v -d 0c45:62e0

using usbutils 0.72 or newer (0.73+ preferred). Thanks.

  



Bus 001 Device 002: ID 0c45:62e0 Microdia MSI Starcam Racer
Device Descriptor:
  bLength18
  bDescriptorType 1
  bcdUSB   2.00
  bDeviceClass  239 Miscellaneous Device
  bDeviceSubClass 2 ?
  bDeviceProtocol 1 Interface Association
  bMaxPacketSize064
  idVendor   0x0c45 Microdia
  idProduct  0x62e0 MSI Starcam Racer
  bcdDevice1.00
  iManufacturer   2 Sonix Technology Co., Ltd.
  iProduct1 USB 2.0 Camera
  iSerial 0 
  bNumConfigurations  1
  Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength60675
bNumInterfaces  4
bConfigurationValue 1
iConfiguration  0 
bmAttributes 0x80
  (Bus Powered)
MaxPower  168mA
Interface Association:
  bLength 8
  bDescriptorType11
  bFirstInterface 0
  bInterfaceCount 2
  bFunctionClass 14 Video
  bFunctionSubClass   3 Video Interface Collection
  bFunctionProtocol   0 
  iFunction   5 USB Camera
Interface Descriptor:
  bLength 9
  bDescriptorType 4
  bInterfaceNumber0
  bAlternateSetting   0
  bNumEndpoints   1
  bInterfaceClass14 Video
  bInterfaceSubClass  1 Video Control
  bInterfaceProtocol  0 
  iInterface  5 USB Camera
  VideoControl Interface Descriptor:
bLength13
bDescriptorType36
bDescriptorSubtype  1 (HEADER)
bcdUVC   1.00
wTotalLength  103
dwClockFrequency   15.00MHz
bInCollection   1
baInterfaceNr( 0)   1
  VideoControl Interface Descriptor:
bLength 9
bDescriptorType36
bDescriptorSubtype  3 (OUTPUT_TERMINAL)
bTerminalID 2
wTerminalType  0x0101 USB Streaming
bAssocTerminal  0
bSourceID   5
iTerminal   0 
  VideoControl Interface Descriptor:
bLength26
bDescriptorType36
bDescriptorSubtype  6 (EXTENSION_UNIT)
bUnitID 4
guidExtensionCode {7033f028-1163-2e4a-ba2c-6890eb334016}
bNumControl 8
bNrPins 1
baSourceID( 0)  3
bControlSize1
bmControls( 0)   0x3f
iExtension  0 
  VideoControl Interface Descriptor:
bLength26
bDescriptorType36
bDescriptorSubtype  6 (EXTENSION_UNIT)
bUnitID 5
guidExtensionCode {3fae1228-d7bc-114e-a357-6f1edef7d61d}
bNumControl 8
bNrPins 1
baSourceID( 0)  4
bControlSize1
bmControls( 0)   0x00
iExtension  0 
  VideoControl Interface Descriptor:
bLength18
bDescriptorType36
bDescriptorSubtype  2 (INPUT_TERMINAL)
bTerminalID 1
wTerminalType  0x0201 Camera Sensor
bAssocTerminal  0
iTerminal   0 
wObjectiveFocalLengthMin  0
wObjectiveFocalLengthMax  0
wOcularFocalLength0
bControlSize  3
bmControls   0x0a0e
  Auto-Exposure Mode
  Auto-Exposure 

MSI StarCam Racer - No valid video chain found

2009-11-01 Thread Martin Rod

Hi,

I use MSI StarCam Racer  on Debian Linux Lenny 2.6.26-1-686 and video 
works without problem:


usb 4-4: New USB device found, idVendor=0c45, idProduct=62e0
usb 4-4: New USB device strings: Mfr=2, Product=1,SerialNumber=0
usb 4-4: Product: USB 2.0 Camera
usb 4-4: Manufacturer: Sonix Technology Co., Ltd.

I  plan use this camera on OpenWrt, (UBNT Router Station, kernel 
2.6.30.9) and kernel didn't open this device:


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 ar71xx-ehci and address 2
usb 1-1: configuration #1 chosen from 1 choice
uvcvideo: Found UVC 1.00 device USB 2.0 Camera (0c45:62e0)
uvcvideo: No valid video chain found.

Do you have any idea?

Thanks and best regards,

Martin







--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html