Hi all..

It's been a while since I played with trying to get two speedtouch modems 
working on the one machine, but I've finally got access to both of them 
again, and had a bit of time as well, so here are my findings..

System is FreeBSD 4.3-RELEASE.

using drivers version 1.1b from the web page:
running modem_run a second time on the second modem fails with upload 
errors if the first modem_run is not killed, and even if it is killed, 
fails with USB_SET_ALTINTERFACE: Invalid Argument

Now, the file pusb-bsd.c contains a note:
         /* BUG: at least in FreeBSD 4.3, USB_SET_ALTINTERFACE does not
          * make the necessary devices for the interface. So we call
          * USB_SET_CONFIG to ensure they are created.

The call this refers to, a few lines previously, has a return -1 specified 
if the call fails.  This would seem to mean that it never actually reaches 
the config call!

Commenting the return line out seems to work in that if the previous 
modem_run is killed, the second instance does follow through and actually 
successfully (it appears) initialise the second modem.


At this point, I swapped to the latest CVS version of the sources.  I got 
much the same problems until I amended pusb-bsd.c the same way (comment out 
the return -1).

Now, running modem_run the first time initialises the modem but does not 
exit back to the command prompt.  [I gather this is why there is a 1.1b BSD 
version of 1.1 - what was changed?]  So I ^C to exit.  ps shows now other 
processes running.  modem_run a second time on the second modem initialises 
that one OK, too! Great.

Now to try ppp ..   the first occurrence of ppp I run works fine, on either 
modem it seems.  The second occurence fails though.   pppoa2 starts off ok, 
but the log shows pppoa2 drops out with:

Aug  9 21:08:21 albert pppoa2[332]: pusb_endpoint_open failed

strangely, if I kill ppp, and with it it's pppoa2 processes, I still cannot 
re-start using the other modem, but it appears to re-start OK if I go back 
to the first connection.

At this point my abilities are getting a bit stretched...  can anybody help?

Many thanks,

Rob.



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

        

Reply via email to