linux/drivers/media
Reinhard Nissl 226143f96f [media] stb0899: return internally tuned frequency via get_frontend.
Am 14.08.2012 14:05, schrieb Manu Abraham:
>> My other device, a STB0899, always reports the set frequency. So it seems
>> driver dependent whether it reports the actually locked frequency found by
>> the zig-zag-algorithm or just the set frequency to tune to.
>
> The STV0299 blindly sets the value based on a software zigzag (due to simpler
> hardware), but this might not be accurate enough. On the other hand, the
> STB0899 internally does zig-zag in hardware for DVB-S2, and partly in
> software for DVB-S.
>
> In any event, the get_frontend callback should return the value that is read
> from the demodulator registers, rather than the cached original value that
> which was requested to be tuned.
>
> The stb0899 returns only the cached value IIRC. Maybe I will fix this soon,
> or maybe you can send a patch.
This is what I get after the patch:

Sat.    Pol.    Band    Freq (MHz) Set    Freq (MHz) Get    Delta (MHz)
S19,2E    H     L       10744             10748,474         4,474
S19,2E    H     L       10773             10777,944         4,944
S19,2E    H     L       10832             10836,953         4,953
S19,2E    H     L       10861             10868,774         7,774
...

Signed-off-by: Reinhard Nißl <rnissl@gmx.de>
Cc: Manu Abraham <abraham.manu@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2012-09-13 17:42:07 -03:00
..
common [media] flexcop: Show the item to enable debug after the driver 2012-08-21 08:05:33 -03:00
dvb-core [media] dvb_frontend: return -ENOTTY for unimplement IOCTL 2012-09-10 11:14:35 -03:00
dvb-frontends [media] stb0899: return internally tuned frequency via get_frontend. 2012-09-13 17:42:07 -03:00
firewire [media] Fix some Makefile rules 2012-08-16 19:55:03 -03:00
i2c [media] mt9p031: Fix horizontal and vertical blanking configuration 2012-09-13 16:29:49 -03:00
mmc [media] Fix some Makefile rules 2012-08-16 19:55:03 -03:00
parport [media] Add missing help for some menuconfig items 2012-08-21 08:17:37 -03:00
pci [media] ddbridge: fix error handling in module_init_ddbridge() 2012-09-11 15:29:00 -03:00
platform Linux 3.6-rc3 2012-08-24 11:25:10 -03:00
radio Linux 3.6-rc3 2012-08-24 11:25:10 -03:00
rc Linux 3.6-rc3 2012-08-24 11:25:10 -03:00
tuners [media] Kconfig: merge all customise options into just one 2012-08-21 08:05:06 -03:00
usb [media] dvb-usb: remove unused files 2012-09-13 13:37:36 -03:00
v4l2-core [media] v4l2-ctrls: Add v4l2_ctrl_[gs]_ctrl_int64() 2012-09-13 16:23:36 -03:00
Kconfig [media] Kconfig: merge all customise options into just one 2012-08-21 08:05:06 -03:00
Makefile [media] move i2c files into drivers/media/i2c 2012-09-06 18:42:54 -03:00
media-device.c [media] media: fix MEDIA_IOC_DEVICE_INFO return code 2012-08-12 07:57:57 -03:00
media-devnode.c Disintegrate and delete asm/system.h 2012-03-28 15:58:21 -07:00
media-entity.c [media] media: Add link_validate() op to check links to the sink pad 2012-05-14 08:44:11 -03:00