[linux-dvb] DVBFE_SET_PARAMS / delsys from fe_info ioctl ?

Florian Lohoff flo at rfc822.org
Mon Mar 3 09:52:49 CET 2008


On Mon, Mar 03, 2008 at 04:22:00AM +0400, Manu Abraham wrote:
> This won't work. params will contain data only after you have 
> successfully issued
> SET_PARAMS not before. For SET_PARAMS to work, you need the delivery system
> cached for the operation.

As i already wrote - SET_PARAMS is _NOT_ enough. Please try yourself. 
Unload/Load the module and simple issue a DVBFE_SET_PARAMS (NOT
GET_INFO) and it doesnt tune/lock at least for STB0899 and it also
complains in the dmesg with:

	stb0899_search: Unsupported delivery system 0
	stb0899_read_status: Unsupported delivery system 0
	stb0899_search: Unsupported delivery system 0
	stb0899_read_status: Unsupported delivery system 0
	stb0899_search: Unsupported delivery system 0
	stb0899_read_status: Unsupported delivery system 0

although i set

	dvbfe_params.delivery=DVBFE_DELSYS_DVBS2;

> Do you see the same bug with szap too ? 
> (http://abraham.manu.googlepages.com/szap.c)

Its not a bug in szap - its a bug in the API - There is a delivery in
the dvbfe_param and i set it correctly - and it gets ignored. Running
zap before running my program causes it to work because zap runs
an GET_INFO ioctl which _SETS_ a delivery mode.

Flo
-- 
Florian Lohoff                  flo at rfc822.org             +49-171-2280134
	Those who would give up a little freedom to get a little 
          security shall soon have neither - Benjamin Franklin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://www.linuxtv.org/pipermail/linux-dvb/attachments/20080303/8bd29598/attachment-0001.pgp 


More information about the linux-dvb mailing list