Re: v4l2 ioctls

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

 



Hi Shuah,

Em Fri, 12 Sep 2014 18:37:13 -0600
Shuah Khan <shuahkh@xxxxxxxxxxxxxxx> escreveu:

> Mauro/Hans,
> 
> Thanks for both for your replies. I finally have it working with
> the following:

One additional info: While in DVB mode, opening the device in
readonly mode should not take the tuner locking.

If you need/want to test it, please use:
	$ dvb-fe-tool --femon

I implemented this functionality this weekend, so you'll need
to update your v4l-utils tool to be able to test it.

> 
> S_INPUT
> S_OUTPUT
> S_MODULATOR
> S_TUNER
> S_STD
> S_FREQUENCY
> S_HW_FREQ_SEEK
> S_FMT
>  - get tuner in shared mode and hold it
>  - i.e return with tuner held
> 
> STREAMON
>  - get tuner in shared mode and hold it
>  - i.e return with tuner held
> STREAMOFF
>  - put tuner (get is done in STREAMON)
> 
> QUERYSTD
> G_TUNER (au0828 does tuner init in its g_tuner ops)

As this is something specific for some devices, it is probably better
to implement the locking for G_TUNER inside the driver.

>  - get tuner in shared mode and hold it
>  - service request
>  - put tuner
> 


> With these changes now I have digital stream not get
> disrupted as soon as xawtv starts. I am working through
> issues related to unbalanced nature of tuner holds in
> analog mode.
> 
> -- Shuah
> 
Regards,
Mauro
--
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