Hi Riccardo, On Friday 22 October 2010 21:19:22 Riccardo Magliocchetti wrote: > Il 20/10/2010 01:48, Laurent Pinchart ha scritto: > > On Thursday 14 October 2010 19:32:01 Riccardo Magliocchetti wrote: > >> Hello, > >> > >> i have a sanyo cg10 camcorder, i've tried to connect it to my pc using > >> it "pc camera" mode, it is recognized as uvc device but it is not > >> working. With vlc i see a green background, with luvcview: > >> > >> $ luvcview -d /dev/video1 > >> luvcview 0.2.6 > >> > >> SDL information: > >> Video driver: x11 > >> A window manager is available > >> > >> Device information: > >> Device path: /dev/video1 > >> > >> Stream settings: > >> Frame format: MJPG > >> > >> Unable to set format: Input/output error > >> > >> Init v4L2 failed !! exit fatal > > > > Do you get any additional message printed to the kernel log when this > > happens ? If not, please raise the driver trace level with > > > > echo 0xffff> /sys/modules/uvcvideo/parameters/trace > > > > and run luvcview again. The driver should then print additional debug > > information. > > well, i've found that it's working fine out the box, it's actually a > call to luvcview -L -d /dev/video1 that breaks it.
I'm very surprised by that. luvcview -L doesn't modify the hardware state. Maybe only the first stream attempt succeeds ? Could you try running luvcview -d /dev/Video1 multiple times in a row ? > Attached you can find a log before the call with -L (sanyo-cg10.log) and > during and after (sanyo-cg10-ko.log). > > I'm with kernel 2.6.36. -- Regards, Laurent Pinchart _______________________________________________ Linux-uvc-devel mailing list Linux-uvc-devel@lists.berlios.de https://lists.berlios.de/mailman/listinfo/linux-uvc-devel