On 15.11.2013 13:33, David Howells wrote:
I think I've isolated the significant part of the demod register setup. Discarding the reads and sorting them in address order, I see ANTTI DVBSKY DIFFER? ======================= ======================= ======= demod_write(22, [ac]) demod_write(22, [ac]) no demod_write(24, [5c]) demod_write(24, [5c]) no demod_write(25, [8a]) YES
seems to be on init table
demod_write(29, [80]) demod_write(29, [80]) no demod_write(30, [08]) demod_write(30, [08]) no demod_write(33, [00]) YES
That is config option already. Did you set value? If yes, then there is driver bug. If not, then add value.
demod_write(4d, [91]) demod_write(4d, [91]) no demod_write(56, [00]) YES
driver bug
demod_write(61, [5549]) demod_write(61, [55]) no " " demod_write(62, [49]) no demod_write(76, [38]) YES
on init table
demod_write(c3, [08]) demod_write(c3, [08]) no demod_write(c4, [08]) demod_write(c4, [08]) no demod_write(c7, [00]) demod_write(c7, [00]) no demod_write(c8, [06]) demod_write(c8, [06]) no demod_write(ea, [ff]) demod_write(ea, [ff]) no demod_write(fd, [46]) demod_write(fd, [06]) YES
driver bug
demod_write(fe, [6f]) demod_write(fe, [6f]) no
Two clear driver bugs, 1 case unclear and the rest should be programmed earlier.
So hard code those bugs, if you already didn't, 0x33=0x99, 0x56=0x00, 0xfd=0x46 and make test. Do that same to find out all buggy registers until it performs as it should.
regards Antti -- http://palosaari.fi/ -- 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