On Thu, 2002-02-21 at 23:17, greg matthews wrote:

> I have made an awful hack to the adsl.sh script so that it uses killall
> instead of relying on the PID file and it works fine but I wondered if
> anyone else was aware of this and whether there is a fix? why is the
> .pid file incorrect?

Basically because the PID is generated by the start-stop-daemon script
which assumes the pid of the first process is the daemon. You could hack
the first fork to suspend itself and wait for the daemon process to end
but that would be kinda pointless as you'd waste the memory.
 
> I also need to rmmod usb-ohci followed by modprobe usb-ohci before I can
> relaunch modem_run. Again, I have made a quick and dirty hack to the
> script to achieve this - is there a better way?
> 

Probably valid unless you want to have other USB devices plugged in. I
expereimented with trying to reset the USB device in reboot the
speedtouch but killing the whole usb sub-system was the only way that
worked.

>
> GREG
> 
> apropos nothing:
> 
> So far I am very pleased with this userland system... I tried (for ages)
> to get Verrepts driver to work with a number of different linux releases
> but it always crashed whilst loading the microcode, I dont think it
> works with old processors.
> 
> 
> Liste de diffusion modem ALCATEL SpeedTouch USB
> Pour se d�sinscrire : mailto:[EMAIL PROTECTED]?subject=unsubscribe
> 
>       
-- 
[EMAIL PROTECTED]
Software Engineer for hire
http://www.bennee.com/~alex/cv.html


Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se d�sinscrire : mailto:[EMAIL PROTECTED]?subject=unsubscribe

        

Reply via email to