Skip to contentSkip to conversation

Fix the derot zig-zag to work with TT-USB2.0 TechnoTrend.

PATCH RESEND Lutz Sammer 2 participants 2 messages Jun 2, 2011 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

Hello Hans Petter,

I haven't tested your patch yet, but looking at the source I see some problems.

What does your patch fix and how?

If you have problem locking channels, try my locking patch:
https://patchwork.kernel.org/patch/753382/

On each step (timing, carrier, data) you reset the derot:

     stb0899_set_derot(state, 0);

Why?

Afaik you destroy already locked frequencies, which slows down the locking.

Than you do 8 loops:

    for (index = 0; index < 8; index++) {

Why?

All checks already contains some delays, if the delays are too short, you should fix this delays.

Johns

#1 lore raw
Quoted 1 line · On Thursday 02 June 2011 11:46:15 Lutz Sammer wrote:

Hello Hans Petter,

Hi,

Quoted 5 lines

I haven't tested your patch yet, but looking at the source I see some problems.

What does your patch fix and how?

It switches from software derot to hardware derot, by writing zero to the derot register.

Quoted 7 lines

If you have problem locking channels, try my locking patch:
https://patchwork.kernel.org/patch/753382/

On each step (timing, carrier, data) you reset the derot:

     stb0899_set_derot(state, 0);

Why?

I have no good reason. It just works.

Quoted 11 lines

Afaik you destroy already locked frequencies, which slows down the locking.

Than you do 8 loops:

    for (index = 0; index < 8; index++) {

Why?

All checks already contains some delays, if the delays are too short, you should fix this delays.

I can test patches regarding channel locking. The initial problem was the the stb0899 driver would not tune any channels.

--HPS