[speedtouch] Re: Poor performance and unusual errors

2008-08-22 Thread Duncan Sands
Hi, modem_run.c:475:3: error: invalid preprocessing directive #fork_interrupt_daemon you commented it out wrong. Try turning it into this: /*fork_interrupt_daemon(fdusb); */ Best wishes, Duncan. Liste de diffusion modem ALCATEL SpeedTouch USB Pour se d\xE9sinscrire :

[speedtouch] Re: Poor performance and unusual errors

2008-08-22 Thread Paul G Webster
I managed to fix it with a little coding, it seems to have fixed the syslogd errors as well, should I post a patch? What I did was in the while (1) loop I made an int called checkstate, what this does is when the modem gets a ret with 0 i.e. 'error reading interupt' it sets checkstate to 1,

[speedtouch] Re: Poor performance and unusual errors

2008-08-20 Thread Duncan Sands
Hi, Basically I have to kill syslogd for modem_run to work sanely, the reason for this seems to be modem_run spamming the message: Error reading interrupts if syslogd is running modem_run and syslogd fight for cpu and syslogd spams me with Last message repeated n times (where n can get

[speedtouch] Re: Poor performance and unusual errors

2008-08-20 Thread Paul G Webster
If I do that I get the following trying to build: === Building for pppoa-1.3.1,2 cd src gmake gmake[1]: Entering directory `/usr/ports/net/pppoa/work/speedtouch-1.3.1/src' cc -Wall -I. -I/usr/local/include -I/usr/include -O2 -pipe -fno-strict-aliasing -DVERSION=\1.3.1\ -c firmware.c cc -Wall

[speedtouch] Re: Poor performance and unusual errors

2008-08-20 Thread Paul G Webster
I did manage to comment out the line by commenting out every referenced fsbusb (the three lines below it) but that just made the modem not connect at all... I also found out exactly what modem_run is spamming syslogd with: Aug 20 22:42:47 router modem_run[900]: Error reading interrupts Aug 20