Hi Jean-Christophe,

On Saturday 29 December 2007, Jean-Christophe Jice Cardot wrote:
> Le vendredi 28 décembre 2007, Laurent Pinchart a écrit :
> > That doesn't look good. Do the 'USB disconnect' messages appear on their
> > own when you're not doing anything, or are they printed only when you try
> > to use the webcam ? Please try to plug the camera in another port and see
> > if it helps.
>
> here it is. after the ">", the lines from dmesg.
>
> rmmod uvcvideo (ro remove the old version)
>
> >usbcore: deregistering driver uvcvideo
>
> insmod ./uvcvideo.ko
>
> >uvcvideo: Found UVC 1.00 device Philips SPC 1000NC Webcam (0471:0332)
> >usbcore: registered new driver uvcvideo
> >USB Video Class driver (v0.1.0)
>
> press the camera button
>
> >uvcvideo: Button event (1).
> >uvcvideo: Button event (0).
>
> [EMAIL PROTECTED] luvcview-20070512]$ ./luvcview -d /dev/video1
> luvcview version 0.2.1
> Video driver: x11
> A window manager is available
> video /dev/video1
>
> Stop asked
>  Clean Up done Quit
>
> >nothing in dmesg
>
> [EMAIL PROTECTED] luvcview-20070512]$ ./luvcview -d /dev/video1
> luvcview version 0.2.1
> Video driver: x11
> A window manager is available
> video /dev/video1
> Unable to dequeue buffer (5).
> Error grabbing
>  Clean Up done Quit
>
> >usb 1-1: USB disconnect, address 2
> >usb 1-1: new high speed USB device using ehci_hcd and address 3
> >usb 1-1: configuration #1 chosen from 1 choice
> >uvcvideo: Found UVC 1.00 device Philips SPC 1000NC Webcam (0471:0332)
> >3:3:1: cannot get freq at ep 0x84
>
> also, /dev/video1 has been recreated:
>
> it was:
> >crw-rw---- 1 fred video 81, 1 2007-12-29 12:12 /dev/v4l/video1
>
> and is now, after the failure:
> >crw-rw---- 1 fred video 81, 1 2007-12-29 12:25 /dev/v4l/video1
>
> note the change in the time.
>
> again a failure of luvcview:
> >usb 1-1: USB disconnect, address 3
> >usb 1-1: new high speed USB device using ehci_hcd and address 4
> >usb 1-1: configuration #1 chosen from 1 choice
> >uvcvideo: Found UVC 1.00 device Philips SPC 1000NC Webcam (0471:0332)
> >4:3:1: cannot get freq at ep 0x84
>
> then another:
> >usb 1-1: USB disconnect, address 4
> >usb 1-1: new high speed USB device using ehci_hcd and address 5
> >usb 1-1: configuration #1 chosen from 1 choice
> >uvcvideo: Found UVC 1.00 device Philips SPC 1000NC Webcam (0471:0332)
> >5:3:1: cannot get freq at ep 0x84
>
> then it works (and nothing in dmesg).
>
> there is no logical suite in the failures and successes (like 2 failures
> then one success).
>
> so let's try to change the plug:
>
> unplug:
> >usb 1-1: USB disconnect, address 13
>
> plug:
> >usb 1-3: new high speed USB device using ehci_hcd and address 14
> >usb 1-3: configuration #1 chosen from 1 choice
> >uvcvideo: Found UVC 1.00 device Philips SPC 1000NC Webcam (0471:0332)
> >14:3:1: cannot get freq at ep 0x84
>
> again luvcview fails then works then fails then fails...
>
> >usb 1-3: USB disconnect, address 14
> >usb 1-3: new high speed USB device using ehci_hcd and address 15
> >usb 1-3: configuration #1 chosen from 1 choice
> >uvcvideo: Found UVC 1.00 device Philips SPC 1000NC Webcam (0471:0332)
> >15:3:1: cannot get freq at ep 0x84
>
> ok, this was my only usb2 controller, so let's try a USB1 controller:
> >usb 1-3: USB disconnect, address 15
> >usb 5-2: new full speed USB device using uhci_hcd and address 4
> >usb 5-2: not running at top speed; connect to a high speed hub
> >usb 5-2: configuration #1 chosen from 1 choice
> >uvcvideo: Found UVC 1.00 device Philips SPC 1000NC Webcam (0471:0332)
> >4:3:1: cannot get freq at ep 0x84
>
> surprise! luvcview always work properly! and with the same fps (12).
>
> so now I've a work-around, but still I'd like to help it work on the USB2
> controller if it suits you, because maybe others will have the same
> problem...

It looks like the camera crashes. I guess the timing is somehow wrong. It's 
very difficult to find a good workaround without knowing exactly why the 
camera crashes, and that's difficult to know without access to the firmware's 
source code.

If you already have a workaround, and as long as nobody else experiences the 
issue, I'd leave it as is.

> bye and have a good "fêtes de fin d'année" ! (you're speaking french,
> Laurent, aren't you?)

Thanks. J'espère que tu as passé de bonnes fêtes :-)

Best regards,

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

Reply via email to