Hi all.
I tried to post this back when more people were having problems, but my mail
config got a little screwed (My fault :). Anyway. Many thanks to Benoit for the
software. APart fro one little problem it works fine every time. That problem is
the same one many people have, but I have a "sort of" way around it...
Firstly, the problem is that of timeouts on the usb fs when trying to communicate
with the speedtouch usb modem. On my system it happens every time. The only time
it doesn't happen is if the modem (When either plugged in, OR when usb-ohci is
loaded) gets a timeout on the first address offered to it by the usb code. When
this happens the usb code appears to reset the modem, and offer a new one. Which
is then accepted. After this, the download completes fine & pppd is able to
start.
If the timeout on address allocation does NOT occur, then the modem is found, but
the very first attempt to download the first block gets a timeout on the bluk
mesage transfer.
I've tried adding a call to usb reset in the modem_run befor ethe download, but
this doesn't do anything (I'm not convinced that the usb fs reset cod eever gets
called)
I have (today) found a better way than just un-plugging & re-plugging the modem
into the usb ports (Handy, because it's not ver accesable at my house), and that
is to kick off a second copy of modem_run in the background, at the same time as
looping doing rmmod, modprobe & modem_run... LIke this
#!/bin/sh
mount -t usbdevfs none /proc/bus/usb
rc=255
count=0
while [ $rc -ne 0 ];
do
rmmod usb-ohci
modprobe usb-ohci
sleep 2
count=$count + 1
if [ $count -ge 10 ];
then
count=0
/usr/local/bin/modem_run -f /usr/local/src/modem_usb-0.0.1/microcode.bin -m &
fi
/usr/local/bin/modem_run -f /usr/local/src/modem_usb-0.0.1/microcode.bin -m
rc=$?
done
pppd
sleep 20
/etc/rc.d/init.d/rc.firewall
exit 0
I ope it helps someone until this timeout problem is fixed 100%.... It's not
nearly so bad on my laptop (usb-uhci), but on my VP6 2x866EB's (With Belkin 2
port USB) the timeout on address allocation is a little hard to get to happen...
You'd think no errors would be a good thing...
I plan on trying some hacking when I've got time, to try & get the usb code to
reset the modem BEFORE it tries the first address offer & see if that helps...
Just need the time...
Hamish.
Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se d�sinscrire : mailto:[EMAIL PROTECTED]?subject=unsubscribe