Mailing List archive

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

[linux-dvb] Re: Tuning/Decoder Problem with version 0.9



> You could try if a different timing changes the channel switching
> behavior. This can be done by playing with libdvb, i.e. the usleep call
> in the "feStatus DVB::tune_it(struct qpskParameters *qpsk)"
> routine in DVB.cc. You could also try to set sleep calls after other

I removed the usleep() call there and now switching the channels works
*much* better than before:
 
--- DVB.cc.orig Thu Apr  5 21:48:05 2001
+++ DVB.cc      Thu Apr  5 21:48:08 2001
@@ -1185,7 +1185,6 @@
        if (res < 0)
                perror("qpsk ge event");
 
-       usleep(1000);
        while( !(stat & FE_HAS_SIGNAL) && count < 10){
                if (ioctl(fd_frontend, FE_READ_STATUS, &stat) < 0)
                        perror("set_tp stat");
 
There are still problem when I'm too impatient and switch to the next
channel before the image appears on the screen (no turbo-zapping ;-) ) but
now I just have to do a "make rmmod ; make insmod" to get the card back to
work. Earlier today, I often had to reboot the PC to get things working
again. Thanks for the tip!

hh



--- 
Info:
To unsubscribe send a mail to listar@linuxtv.org with "unsubscribe linux-dvb" as subject.



Home | Main Index | Thread Index