Mailing List archive

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

[linux-dvb] Re: outcommand error with VDR 0.68



Carsten Koch wrote:
....
> Here is an idea: Of course, the problem should be fixed properly.
> But in the meantime, could we simply change the driver so it reloads
> the firmware every time it detects an outcommand error?

I tried the following simple patch:

--- /usr/local/DVB/driver-0.71+kls/dvb.c        Wed Oct  4 08:48:13 2000
+++ DVB/driver/dvb.c    Fri Nov 24 03:53:35 2000
@@ -803,7 +803,8 @@
         {
                 ddelay(1);
                 if ((jiffies - start) > HZ) {
-                        printk("outcommand error 1\n");
+                        printk("outcommand error 1, re-initializing ARM.\n");
+                        init_arm(dvb); /* XXX ck - revive after a firmware crash. */
                         return -1;
                 }
         }

But it did not work. 
I do see the "outcommand error 1, re-initializing ARM."
message, but not the messages normally issued by init_arm.

Maybe Ralph can help by fixing it properly (we should never
see the "outcommand error 1" in the first place, right?) or
at least by making my kludge work?

Cheers,

Carsten.


(Posted on Sun Nov 26 16:11:07 CET 2000)


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



Home | Main Index | Thread Index