What are revision 0 modems, and should altsetting 1 or 2 be used for them?

In modem_run.c it says:

                /* Revision 0 modems require the use of the endpoint 2 */
                if (revision == 0)
                        ep = 2;

                if (pusb_set_interface(fdusb, 1, ep) < 0) {
                        report(0, REPORT_ERROR, "pusb_set_interface");
                        return(-1);
                }

However in pppoa3.c it says:

static int alternate_ep = 1; /* historically wasn't set. We use the
                                value since it works on all known
                                model */
...
            if (pusb_set_interface(fdusb,1,alternate_ep) < 0) {
                    report(0, REPORT_ERROR, "pusb_set_interface");
                    return(-1);
            }

Does anyone know which is right?

All the best,

Duncan.

Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se désinscrire : mailto:[EMAIL PROTECTED]

        

Reply via email to