Re: Possible problem with stk1160 driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Ezequiel,

On Wed, Jul 17, 2013 at 05:44:29AM -0300, Ezequiel Garcia wrote:
> On Wed, Jul 17, 2013 at 12:04:18AM +0200, Sergey 'Jin' Bostandzhyan wrote:
> > 
> > It generally works fine, I can, for example, open the video device using VLC,
> > select one of the inputs and get the picture.
> > 
> > However, programs like motion or zoneminder fail, I am not quite sure if it
> > is something that they might be doing or if it is a problem in the driver.
> > 
> > Basically, for both of the above, the problem is that VIDIOC_S_INPUT fails
> > with EBUSY.
> > 
> 
> I've just sent a patch to fix this issue.
> 
> Could you try it and let me know if it solves your issue?

thanks a lot! Just tried it, same fix is needed for vidioc_s_std(), then
the errors in motion and zoneminder are gone!

Motion seems to work now, with zoneminder I get a lot of these messages:
Jul 17 23:28:27 localhost kernel: [20641.931990] stk1160_copy_video: 5563 callbacks suppressed
Jul 17 23:28:27 localhost kernel: [20641.931998] stk1160: buffer overflow detected
Jul 17 23:28:27 localhost kernel: [20641.932000] stk1160: buffer overflow detected

Anything to worry about?

The image is also garbled in zoneminder, but since it works fine in motion I
would assume that this is not a driver problem anymore, probably some bug in
the zoneminder application.

Thanks a lot for the quick fix!

Kind regards,
Sergey

--
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




[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux