Hi Marcos, [ full email quoted for new cc's ] you really would be much better off sending a diff rather than trying to explain what changes you did, but quite frankly, even if you did that, I'd still want this to go through the actual maintainers of the em28xx driver. The USB error sounds like some independent unrelated issue, I have no ideas on it. Linus On Mon, Jan 3, 2011 at 5:14 AM, Marcos Alejandro Saldivia Delgado <marcos.saldivia@xxxxxxxxx> wrote: > > Hi Linus . > > My name is Marcos Saldivia, and I have a problem with the gumstix Overo > board when trying to capture video with a usb card that it uses the em28xx > driver. > I tried to connect this capture card, it recognized it without problem . > and /dev/video0 appears ok. > but it does not capture nothing . > > probe with gstreamer, mplayer and and with this: > > cat /dev/video0 >> sample.mpg > > and always the file size is 0 > > And Modify em28xx-core.c > Original: > /* FIXME: this only function read values from dev */ > int em28xx_resolution_set(struct em28xx *dev) > { > int width, height; > width = norm_maxw(dev); > height = norm_maxh(dev); > > /* Properly setup VBI */ > dev->vbi_width = 720; > if (dev->norm & V4L2_STD_525_60) > dev->vbi_height = 12; > else > dev->vbi_height = 18; > > if (!dev->progressive) > height >>= norm_maxh(dev); > > em28xx_set_outfmt(dev); > > > Make it: > /* FIXME: this only function read values from dev */ > int em28xx_resolution_set(struct em28xx *dev) > { > int width, height; > width = norm_maxw(dev); > height = norm_maxh(dev); > > /* Properly setup VBI */ > dev->vbi_width = 720; > if (dev->norm & V4L2_STD_525_60) > dev->vbi_height = 12; > else > dev->vbi_height = 18; > > // if (!dev->progressive) > // height >>= norm_maxh(dev); > > em28xx_set_outfmt(dev); > > > Once this change is applied, the video is shown ok, but around the 10 > minutes it sends the following message > > em28xx #0: cannot change alternate number to 0 (error=-110) > ehci-omap ehci-omap.0: force halt; handshake fa064814 00004000 00000000 -> > -110 submit of urb 1 failed (error=-108) > > and it does not work ,it is only necessary to reboot and it returns to > happen the same > > you can help me? > > thank you very much for any information. > > Regards. > > -- > Marcos Saldivia Delgado > > -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html