The minimum a hotplug script should do is:

upload the microcode when the modem is plugged in.

Let's discuss a minimal script, i.e. one that does not start
pppd etc.

If the hotplug script is called, then most of the usb stuff
must be set up already.  Thus at most we need to:

mount usbfs
upload the microcode.

I don't think mounting usbfs is appropriate for the hotplug
script, it can done by adding a line to fstab.  So that leaves:

upload the microcode.

Question: Do we really want the -m option?  What does it do
exactly?

Now the other thing the script should do is handle unplugging
of the modem.  Maybe there is no need to do anything?

Question: What does modem_run do if the modem is unplugged?

Duncan.


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

        

Reply via email to