Would it be likely to work if I replaced
if (revision==4)
timed_out = 0;
which is an arbitrary hack which assumes everything worked for Rev 0400
after <timeout> seconds, with
if (revision==4) {
if (timed_out) {
if(signal_kernel) {
pusb_ioctl(fdusb, 1, 1, NULL);
}
timed_out = 0;
}
}
which does the same thing, but adds the command the subprocess will never
run. Or is the subprocess still running and causing trouble?
----- Original Message -----
From: "Gary Bilkus" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, February 08, 2004 4:11 PM
Subject: [speedtouch] Re: help needed with testing auto-detect Rev patch
> John,
> I don't think your patched version will work with a silver rev 4 modem
> in kernel driver mode.
> As per the thread involving myself and others last week, the v4 software
> doesn't report status back after connecting, as a result of which the
> subprocess after fork() will not
> signal the main process to continue, but, more seriously, it will never
> execute the pusb_ioctl(fdusb,1,1,NULL) which is necessary to free the
> driver to attach to the pppoatm code.
> As I understand it, this doesn't matter if you are using the pppoa
> userspace code, so many users of the driver won't care. However, for
> those of us usuing 2.6 kernels, only the kernel space driver currently
> works.....
>
> Rgds,
> Gary
Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se d�sinscrire : mailto:[EMAIL PROTECTED]