Re: USB isochronous frame lost

2012-10-27 Thread Alan Stern
On Sat, 27 Oct 2012, Stefan May wrote: > Dear Alan, > > maybe there is a bug in VMWare. If so, there must be either a bug in the > firmware or in the uvc module, since the camera is not working on native > Linux without the nodrop option. > > I verified the following. In uvc_video.c at line 59

Re: USB isochronous frame lost

2012-10-27 Thread Stefan May
Dear Alan, maybe there is a bug in VMWare. If so, there must be either a bug in the firmware or in the uvc module, since the camera is not working on native Linux without the nodrop option. I verified the following. In uvc_video.c at line 595 if (urb->iso_frame_desc[i].status < 0) {

Re: USB isochronous frame lost

2012-10-26 Thread Alan Stern
On Fri, 26 Oct 2012, Stefan May wrote: > I saw different bmVideoStandards with lsusb. It is the only parameter > with a different value on both sides. Meanwhile, I found a way to make > the camera work. I need to use the load option nodrop=1 in the host, but > not in the guest. > I have no idea

Re: USB isochronous frame lost

2012-10-26 Thread Stefan May
I saw different bmVideoStandards with lsusb. It is the only parameter with a different value on both sides. Meanwhile, I found a way to make the camera work. I need to use the load option nodrop=1 in the host, but not in the guest. I have no idea why UVC sees incomplete frames only on host side.

Re: USB isochronous frame lost

2012-10-26 Thread Alan Stern
On Fri, 26 Oct 2012, Stefan May wrote: > it seems that data are interpreted differently. While the host is > getting tons of -71 errors, data is passed to vmware correctly. That's a strange way of describing it. When the -71 errors occur there _is_ no data -- the device didn't send anything.

Re: USB isochronous frame lost

2012-10-25 Thread Stefan May
it seems that data are interpreted differently. While the host is getting tons of -71 errors, data is passed to vmware correctly. I've attached two traces that I ran simultaneously on the host and the guest. One thing that I noticed is that the same camera is setting different video standards

Re: USB isochronous frame lost

2012-10-25 Thread Stefan May
Dear Alan, thank you for your answer. I recorded the trace within the guest. Tonight, I record it for the host too in order to see, if that change happens. Very best, Stefan May Am 25.10.2012 17:01, schrieb Alan Stern: On Thu, 25 Oct 2012, Stefan May wrote: Dear USB-Developers, I am

Re: USB isochronous frame lost

2012-10-25 Thread Alan Stern
On Thu, 25 Oct 2012, Stefan May wrote: > Dear USB-Developers, > > I am having a strange Problem on Ubuntu Linux (11.10 and 12.04) using a > thermal camera (Cypress FX2 chip) in isochronous mode. The transmission > of data breaks with the error code -EPROTO. The curious thing is, that > it runs