|
Finally, you will need to install an appropriate hotplugging script: create the directory /etc/hotplug/usb:
mkdir /etc/hotplug/usb
and (as root) place the following in /etc/hotplug/usb/speedtouch.usermap:
speedtouch 0x0003 0x06b9 0x4061 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000 0x00000000
and the following in /etc/hotplug/usb/speedtouch:
#!/bin/bash
case $ACTION in
add)
mesg "speedtch: uploading microcode."
if /usr/local/sbin/modem_run -k -f /usr/local/lib/firmware.bin ; then
sleep 5
if /usr/sbin/pppd ; then
mesg "speedtch: started pppd."
fi
fi
;;
esac |
|