Bon soir tout le monde. J'espere que j'ai trouver le bon forum pour cette lettre...

J'ai un petit probleme avec l'installation sous Linux du driver EciAdsl, mais je regrete que je n'ecrit pas tres bien le francais technique (ou meme les accents sous Windows...). Donc, je dois continuer en anglais. Je vois remercie de votre comprehension.

Please forgive the long mail but I've tried to include all the
details. The final question is quite simple and is to be found at the
end. Perhaps I don't need all the details but I'll let you decide that.

I have a dual boot machine running WinXP and a RedHat Linux 8.0 (original 2.4.18 kernel). I have a BT Voyager modem that has been installed under WinXP using
the drivers that came in the CD from BT. I'm trying to get it working under Linux.

I downloaded, compiled and installed EciAdsl v6.0. I /can/ get the
modem working under Linux using EciAdsl, so first of all I would like
to say "Thank you!".

However, the modem configuration scripts that you supply do not work
out of the box. I believe that this is because the modem has already
been initialised, but I'd value some advice. In more detail:

I ran the eciconf.sh script to create /etc/eciadsl/eciadsl.conf. It has:
VID1=1690
PID1=0203
VID2=0915
PID2=0204

The BT Voyager modem has already been configured and used under WinXP.
Booting up linux I have:
$ grep Vendor /proc/bus/usb/devices
P: Vendor=1690 ProdID=0204 Rev= 1.00

Note that the ProdID is 0204, presumably because Windows has run the
equivalent of eci-load1. However, the Vendor flag is not reset to 0915
as eci-load1 would do.

Thus, startmodem fails because it does not find the device, running:
eci-load1 0x1690 0x0203 0x0915 0x0204 /etc/eciadsl/firmware00.bin

If, however, I type at the console:
$ eci-load1 0x1690 0x0204 0x0915 0x0204 /etc/eciadsl/firmware00.bin
then I get a stream of error messages:
/proc/bus/usb/004/000: No such file or directory

and /var/log/messages contains:
Jan 2 22:49:29 localhost kernel: usb.c: USB disconnect on device 2
Jan 2 22:49:31 localhost kernel: hub.c: connect-debounce failed, port 2 disabled
Jan 2 22:50:03 localhost last message repeated 17 times

Moreover, the modem is no longer listed in /proc/bus/usb/devices, as
you'd expect.

HOWEVER, if I now reboot Linux I find:
$ grep Vendor /proc/bus/usb/devices
P: Vendor=0915 ProdID=0204 Rev= 1.00

Hoorah!!!!!!!! Consequently, startmodem now works perfectly:
$ startmodem

setting up USB support (1/5)..

ehci-hcd seems to be present trying to remove it...
ehci-hcd removed successfully

loading firmware (2/5)..

firmware seems to be already loaded

setting up modem (3/5)..

ECI load 2: success
synchronization successful
[snip remainder]


Unfortunately, if I now boot up Windows, the modem is no longer
recognised. No doubt this is because the VendorID has changed from
1690 to 0915. If I uninstall the (Window's) modem drivers and reboot
Linux, I find:

$ grep Vendor /proc/bus/usb/devices
P: Vendor=1690 ProdID=0203 Rev=ff.ff

Ie, I have a truly uninitialised modem. Running startmodem still
doesn't work out of the box, but it does at least try and load the
firmware:

loading firmware (2/5)..

can't find any GlobeSpan USB ADSL WAN Modem compatible modem
ECI load 1: failed
failed to load firmware

and /var/log/messages contains:
Jan 2 23:43:33 localhost kernel: hcd.c: remove: 00:03.3, state 3
Jan 2 23:43:33 localhost kernel: usb.c: USB disconnect on device 1
Jan 2 23:43:33 localhost kernel: usb.c: USB bus 4 deregistered
Jan 2 23:43:34 localhost kernel: HDLC line discipline: version $Revision: 3.3 $, maxframe=4096
Jan 2 23:43:34 localhost kernel: N_HDLC line discipline registered.
Jan 2 23:43:36 localhost kernel: usb.c: USB disconnect on device 2

Nonetheless, rebooting linux will result in a correctly initialised
modem with the firmware installed. From /var/log/messages.

Jan 2 23:49:59 localhost kernel: usb_control/bulk_msg: timeout
Jan 2 23:49:59 localhost kernel: usb-ohci.c: unlink URB timeout
Jan 2 23:49:59 localhost kernel: usb.c: USB device not accepting new address=3 (error=-110)
Jan 2 23:49:59 localhost kernel: hub.c: USB new device connect on bus2/2, assigned device number 2
Jan 2 23:49:59 localhost kernel: usb.c: USB device 2 (vend/prod 0x915/0x204) is not claimed by any active driver.

I read in your FAQ something about these timeout messages, so it's
possible that something else is wrong too, but I'll need advice here
too :-(

Leaving that to one side, I can now run startmodem successfullly.


In conclusion, therefore, I find that everything works perfectly once
the firmware is loaded into the modem but getting it loaded is not a
simple task and I must reboot after running eci-load1 on either the
device with the firmware installed from Windows or on an uninitialised
device. Moreover, if I subsequently want to use the modem under
Windows, I need merely re-install the drivers and all works
perfectly. To then get things working subsequently under Linux I have to
repeat the prcedure I describe above.

Clearly, therefore, I /can/ get things to work under both OSs, but in
a non-trivial manner. My question is, will the firmware installed
under Windows also work under Linux? Ie, if I find:

$ grep Vendor /proc/bus/usb/devices
P: Vendor=1690 ProdID=0204 Rev= 1.00

is it safe to skip the eci-load1 script and run eci-load2 as:

$ eci-load2 0x1690 0x0204 /etc/eciadsl/synch01.bin

Rather than
$ eci-load2 0x0915 0x0204 /etc/eciadsl/synch01.bin
which is what startmodem would like to do.

I haven't dared to try for fear of damaging the device. Moreover, it
may be safe but will it work? Ie is the firmware code for the two OSs
the same? Alternatively, are there any drivers for Windows that "Do the right thing" when they load the firmware and reset the Vendor to 0915 as well as the ProdID to 0204?

Any advice would be greatly appreciated, but now I'm off to bed as
I've spent the WHOLE day getting this far and my girl friend hates me ;-)

Kind regards,
Angus




=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Driver Linux pour modem ECI ADSL USB: http://eciadsl.flashtux.org
Archives de cette liste de diffusion: http://liste.eci.free.fr
Pour se desinscrire: mailto:[EMAIL PROTECTED]?subject=unsubscribe






Répondre à