Skocz do zawartości

Speedtouchconf (modem_run) Vs 2.6.18


Gość amdfanatyk

Rekomendowane odpowiedzi

Gość amdfanatyk

na wlasnej skorze przekonalem sie, ze modem_run nie wspolpracuje poprawnie z najnowszym kernelem, ponizej opisuje jak rozwiazalem problem:

 

1. pobieramy z sourceforge.net najnowszy speedtouchconf

2. edytujemy modem_run.c

 

/* Just a failure -- report the error and then wait in the waiting loop */
            if(ret < 0)
                report(0, REPORT_ERROR, "Error reading interrupts\n");

            /* Perhaps the reading is a success, in this case the buffer is 6 bytes

 

powyzszy fragment kodu powoduje ciagle generowanie info o bledzie, co powoduje, ze zarowno modem_run jak i syslog bardzo mocno obciazaja procesor;

 

/* Just a failure -- report the error and then wait in the waiting loop */
            if(ret < 0)
                        {
                report(0, REPORT_ERROR, "Error reading interrupts\n");
                                sleep(1);
                                continue;
                        }

            /* Perhaps the reading is a success, in this case the buffer is 6 bytes

 

3. dalej robimy to co normalnie ze speedtouchconf

 

to tyle na temat doraznego rozwiazania problemu wspolpracy modem_run z jadrem 2.6.18.

Odnośnik do komentarza
Udostępnij na innych stronach

Jeśli chcesz dodać odpowiedź, zaloguj się lub zarejestruj nowe konto

Jedynie zarejestrowani użytkownicy mogą komentować zawartość tej strony.

Zarejestruj nowe konto

Załóż nowe konto. To bardzo proste!

Zarejestruj się

Zaloguj się

Posiadasz już konto? Zaloguj się poniżej.

Zaloguj się
×
×
  • Dodaj nową pozycję...