Hi guys,
I'm working on a driver for this modem too, before Alcatel release their own
driver. My driver was not working yet, so I tried the one from Alcatel. I
tooks me a great of time to install it, but I managed to get it working,
except the following problems:
- kernel panic during shutdown of the machine
- IP packet truncating (according to tcpdump) => upload problems.
I managed to interface my own driver with the kernel module from Alcatel, so
I can get rid of the 'mgmt' binary. My source code will be available tomorow
on my web site at http://benoit.papillault.free.fr/speedtouch/
My setup is :
kernel 2.4.2 + patch + speedtouch.c
usb-uhci driver
atm 0.78
pppd-2.4.0b2 + patch
either 'mgmt' or my 'modem_diag' tools (name will probably changed).
PPPoA (very important, VPI/VCI=8/35)
Instead of using kernel modules, to have to patch pppd for PPPoA support and
install linux-atm, my original design was to use the "pty" option of pppd. I
already used it, to make a PPP connection over a ssh channel. But when
looking closer, I discover I've to manage HDLC layer, so I copy/paster from
rp-pppoe (same design as mine in fact) to get 'real' PPP packet from the
HDLC stream. PPPoA was nothing to add, since, when using VC-MUX
encapsulation, PPP packet = AAL5 frame. Next I saw that endpoint 7 of the
USB modem was used to send/receive ATM cells, so I wrote a quick and dirty
AAL5 layer (like sarlib). I check that packet sent are correct, using some
reference packets I get from the Windows 2k drivers.
But, no way to send or receive ATM cells on USB endpoint 7, using libusb. It
either blocked, timeout or does nothing. I don't I have to handle the
interrupt channel (endpoint 0x81). In fact, I need a USB guru :-) It's
really new to me (I already read USB 1.1 specs chapter 4,5 and 9). I don't
find a way to handle "interrupt" with libusb.
I think I'm pretty close to have a complete userland driver (which IMHO is a
lot simpler to install!), so maybe we can join our work?
ANY HELP? ANY USB GURU?
Benoit
http://benoit.papillault.free.fr/speedtouch/
PS: I apologize if I should have used [EMAIL PROTECTED]
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
http://lists.sourceforge.net/lists/listinfo/linux-usb-users