Hi Ganapathi,

On Thursday 04 December 2008, Ganapathi Kamath wrote:
> Thank you for your reply.  The suggestion of determining if camera works is
> a good one,  but yes it does. I booted into vista and accessed the webcam
> first time. (Its a new laptop and the first thing I did with it is
> repartition it and install Linux.) There is a preinstalled software
> cyberlink youcam. The very first warm reboot into vista , the software was
> not successful and stalled, but on all successive warm or cold reboots the
> camera works fine and the blue LED lights up, and video shows on screen.
>
> Having checked that the webcam is operational, I warm rebooted into linux.
> The difference now in booting to linux this way is that the message you
> pointed to does not happen. # dmesg | egrep -i uvc
> uvcvideo: Found UVC 1.00 device CKF7073 (04f2:b103)
> usbcore: registered new interface driver uvcvideo
>
> # # When cheese is started the blue LED lights up , but no image is shown
> in this state, just a blank cheese window with non functional buttons and
> menu. # # can result in segmentation error if vide record is executed.
> # cheese
> ** Message: Error: Stream contains no data.
> gsttypefindelement.c(785): gst_type_find_element_activate ():
> /GstPlayBin:play/GstDecodeBin:decodebin0/GstTypeFindElement:typefind: Can't
> typefind empty stream
>
>
> ** (cheese:14421): WARNING **: could not generate thumbnail for
> /root/.gnome2/cheese/media/2008-12-04-014138.ogv (video/ogg)
>
>
> (cheese:14421): GStreamer-WARNING **: pad source:src returned caps which
> are not a real subset of its template caps
>
> (cheese:14421): GStreamer-WARNING **: pad source:src returned caps which
> are not a real subset of its template caps
>
> (cheese:14421): GStreamer-WARNING **: pad video_source:src returned caps
> which are not a real subset of its template caps libv4l2: error converting
> / decoding frame data: v4l-convert: error destination buffer too small
>
>
> # # At this point the lsusb works fine
> # # Since most of the output is the same I am including the diff.
> # # The differences include trailing white space and appearance of the word
> HP webcam/ extra description in the lsusb output for some fields. # lsusb
> -v -d 04f2:b103  > /tmp/rb
> # # diff with old lsusb gives the following
> 14,16c14,16
> <   iManufacturer           2
> <   iProduct                1
> <   iSerial                 3
> ---
>
> >   iManufacturer           2 Chicony Electronics Co., Ltd.
> >   iProduct                1 CKF7073
> >   iSerial                 3 SN0001
>
> 36c36
> <       iFunction               5
> ---
>
> >       iFunction               5 HP Webcam
>
> 46c46
> <       iInterface              5
> ---
>
> >       iInterface              5 HP Webcam
>
> 397,399c397,408
> < can't get device qualifier: Connection timed out
> < can't get debug descriptor: Connection timed out
> < cannot read device status, Connection timed out (110)
> ---
>
> > 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:     0x0002
> >   (Bus Powered)
> >   Remote Wakeup Enabled
>
> # # I have no exactly reproducible steps here other than starting cheese a
> few times and then closing it a few times brings it back to the old state
> where cheese just shows TV-stripes and snow screen. # dmesg | egrep -i uvc
> uvcvideo: Found UVC 1.00 device CKF7073 (04f2:b103)
> usbcore: registered new interface driver uvcvideo
> uvcvideo: Failed to query (135) UVC control 2 (unit 3) : -110 (exp. 2).
>
> Doing a lsusb now will produce the same choked output as my first email.
>
> removing and inserting module doesn't help
> # rmmod uvcvideo
> # modprobe uvcvideo
> # lsusb -v > /tmp/rd
> can't get device qualifier: Connection timed out
> can't get debug descriptor: Connection timed out
> cannot read device status, Connection timed out (110)
>
> # dmesg | egrep -i uvc
> .
> .
> usbcore: deregistering interface driver uvcvideo
> uvcvideo: Found UVC 1.00 device CKF7073 (04f2:b103)
> uvcvideo: Failed to query (135) UVC control 1 (unit 0) : -110 (exp. 26).
> uvcvideo: Failed to query (129) UVC control 1 (unit 0) : -110 (exp. 26).
> uvcvideo: Failed to initialize the device (-5).
> usbcore: registered new interface driver uvcvideo

Well, basically, the camera crashes at some point and does not recover.

> Going back to vista and using the webcam software is how I can restore the
> state of the webcam.  The webcam works even on warm reboot into windows.
> maybe vista driver/cyberlink remembers its usable state or something.

After your camera crashes (check dmesg for "Failed to query... UVC control 1 
(unit 0)" messages), does a warm reboot into Linux solve the problem ?

Best regards,

Laurent Pinchart
_______________________________________________
Linux-uvc-devel mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/linux-uvc-devel

Reply via email to