[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, an

[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 : mailto:[EMA

[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 22:

[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

[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 c

[speedtouch] Re: Poor performance and unusual errors

2008-08-20 Thread Paul G Webster
Good day, Im having problems with the following software configuration: pppoa-1.3.1,2 Run PPP over Alcatel's USB Speedtouch device FreeBSD 8.0-Current And the fllowing hardware configuration: router# usbdevs -v Controller /dev/usb0: addr 1: full speed, self powered, config 1, OHCI root hu