Help - Search - Members - Calendar
Full Version: !NEW Speedtouch USB Driver 
InsanelyMac Forum > OSx86 Project > Hardware and Drivers > LAN and Wireless
fcadet
Hi

I'm very happy to bring back to (i386 Mac) life this very old but still working Alcatel USB Speedtouch ADSL modems (mine is a blue manta ray model) . You will find in this post a port of the well know Opensource Alcatel Speedtouch USB Driver for OSX (Tiger) . The driver is working in user mode. It's composed in two parts, the firmware loader and a PPPoA module working over the standard OSX pppd. There's no gui integration for the moment, so configuration and connexion 
is actually made by hand using a Terminal with root access

Your Provider need to support PPPoA for connexion, PPPoE doesn't work now

This Driver is published under GNU OpenSource license

further informormation on those programs can be found here

http://www.penguin-soft.com/penguin/man/8/modem_run.html

http://www.iie.uni.lodz.pl/cgi-bin/man/man2html?8+pppoa3

otherwhise google can help

---------------

The current release have to two major differences with the BSD or linux releases

1 - Modem_run is no longuer doing the ADSL line state monitoring

2 - PPPoa3 only run in async mode (-a)

3 - pppoa3 is only working in PPPoA

Due to the second and third point the overall throughput of the driver is a bit more than a half of the sync mode (compared with linux)  

---------------

Regarding the NEEDED firmware file check google to locate the appropriate one for your modem (due to incompatible modems and firmware I cannot include this file for all the modems) 
ut this project is about 10 years old,
so very good documentations already exist in all languages

therefore you can have a look here

http://www.linux-usb.org/SpeedTouch/ubuntu/index.html

----------
To install it unpack the pppoa3.zip and modem_run.zip and from a terminal copy them in /usr/sbin

chmod 755 and chown root:wheel modem_run pppoa3

uncompact your firmware file in /etc

Create if it doesn't exist the directory /etc/ppp/peers

create a file called ppp0 in it

copy the following line in ppp0
--
escape 0x7d
pty "sudo /usr/sbin/pppoa3 -a -p -c -vci 35 -vpi 8 -f /var/log/pppoa3.log"
user xxxxxxx@xxxxxx.fr
password xxxxxxxxxxx
debug
logfile /var/log/ppp/ppp.log
noipdefault
noauth
usepeerdns
defaultroute
lcp-echo-interval 10
lcp-echo-failure 10
lcp-max-failure 3
maxfail 1
holdoff 4
--

Replace the username and the password fields with yours. Check the VCI and VPI pppoa3 pa
ameters to match  your providers' one 

here is a short and incomplete list of vci's and vpi's

vpi.vci =
8.48 for Netherlands
8.35 for France
8.67 for France (bis)
8.35 for Belgium
8.35 for Italy
0.38 for UK


--------

** to load your firmware type something like this

modem_run -s -v 1 -f /etc/YourFirmwareFile

** to run your ppp connexion type

pppd call ppp0

sometime the driver doesn't work on the first time so it's necessary to kill -9 pppoa3 and modem_run before  retrying

The source Code will be shorty availlable on sourceforce

:-)
Enjoy

ps : execuse me for my english and the lack of very detailled instructions, installables packages ... but this project is very old and google will troubleshoot and fix many misses or issues 
BhaaL
Neat, that got my hopes up, good job smile.gif

It *almost* works, pppoa3 SegFaults on Kalyway 10.5.1 on an Acer Travelmate with the SpeedTouch 330 (Purple Stingray).
Yet at least modem_run did its Job like on *nix, getting the damn thing to at least get the ADSL connection up.
Unfortunately, using modem_run to upload the firmware doesnt seem to get neither SpeedtouchDiagnostics nor the Network Settings to actually find the modem.

Gonna try to get the pppoa3 source asap, and try to compile it myself. Till then, dunno smile.gif

Greetings, BhaaL
fcadet
hi

I Know there's some special functions for release 4 modems

could you post your pppoa3 log file

/var/log/pppoa3.log and
/Library/Logs/CrashReporter/pppoa3.crash.log

be sure to run something like this

pppoa3 -a -p -c -v 3 -vci 35 -vpi 8 -f /var/log/pppoa3.log

You should now be able to see ppp and atm packets when interractively typing from the command prompt

The modem is not detected using the control panel nor the ppp connexion even when connected

but the ifconfig command should produce an output like this

....
ppp0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1492
inet 84.97.223.12 --> 84.97.223.31 netmask 0xff000000



cheers

Fc
BhaaL
Evenin!

There seems to be some odd problem with pppoa3...
The first call totally hangs and goes Zombie, neither Ctrl+C nor kill can actually kill it, it stays idle in ps:
CODE
root        148    0.0  0.0        0        0   ??       <E     8:42PM   0:00.00 (pppoa3)

Subsequent calls crash with the SEGFAULT, which seems to be caused by that one.

Starting pppoa3 with verbose level 3 didnt really help anything, it still goes zombie, and prints nothing at all.

Greetings, BhaaL
fcadet
hi

I Can't read your logfiles ...

could you copy/paste their content or send it to me directly ... I've a strange issue when installing leo kalyway 10.5.1 on my computer (got a 
lank but hi res graphic display but it never continues installation).  I will send you back the sourcefile which are not yet on sourceforge to try to compile directly on leo

cheers
fc
BhaaL
Evenin!

Neither file seemed to be downloaded yet, worked for me tho:

pppoa3.crash
CODE
Process:         pppoa3 [251]
Path:            /usr/sbin/pppoa3
Identifier:      pppoa3
Version:         ??? (???)
Code Type:       X86 (Native)
Parent Process:  sh [236]

Date/Time:       2008-02-20 20:35:22.613 +0100
OS Version:      Mac OS X 10.5.1 (9B18)
Report Version:  6

Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x00000000c0040897
Crashed Thread:  0

Thread 0 Crashed:
0   pppoa3                            0x00005192 pusb_endpoint_open + 15
1   pppoa3                            0x00003704 main + 3485
2   pppoa3                            0x000017be _start + 216
3   pppoa3                            0x000016e5 start + 41

Thread 0 crashed with X86 Thread State (32-bit):
  eax: 0xc0040897  ebx: 0x00000000  ecx: 0x00000000  edx: 0x00102160
  edi: 0x00000001  esi: 0x00006544  ebp: 0xbffff8e8  esp: 0xbffff8a0
   ss: 0x0000001f  efl: 0x00010286  eip: 0x00005192   cs: 0x00000017
   ds: 0x0000001f   es: 0x0000001f   fs: 0x00000000   gs: 0x00000037
  cr2: 0xc0040897

Binary Images:
    0x1000 -     0x6fff +pppoa3 ??? (???) /usr/sbin/pppoa3
   0x19000 -    0x22ff7  com.apple.iokit.IOUSBLib 3.0.0 (3.0.0) <07a7c9d3dc35bd53355b3bbf698e790e> /System/Library/Extensions/IOUSBFamily.kext/Contents/PlugIns/IOUSBLib.bundle/Contents/MacOS/IOUSBLib
0x8fe00000 - 0x8fe2d883  dyld 95.3 (???) <81592e798780564b5d46b988f7ee1a6a> /usr/lib/dyld
0x9039d000 - 0x904cffe7  com.apple.CoreFoundation 6.5 (476) <8bfebc0dbad6fc33bea0fa00a1b9ec37> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
0x9069e000 - 0x9077dfff  libobjc.A.dylib ??? (???) <5eda47fec2d0e7853b3506aa1fd2dafa> /usr/lib/libobjc.A.dylib
0x91b39000 - 0x91b3afef  libmathCommon.A.dylib ??? (???) /usr/lib/system/libmathCommon.A.dylib
0x91bf5000 - 0x91c03ffd  libz.1.dylib ??? (???) <5ddd8539ae2ebfd8e7cc1c57525385c7> /usr/lib/libz.1.dylib
0x91c55000 - 0x91cdffff  com.apple.framework.IOKit 1.5.1 (???) <5176a7383151a19c962334009fef2c6d> /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
0x91e5d000 - 0x91ebaffb  libstdc++.6.dylib ??? (???) <04b812dcec670daa8b7d2852ab14be60> /usr/lib/libstdc++.6.dylib
0x92086000 - 0x920b0fef  libauto.dylib ??? (???) <d468bc4a8a69343f1748c293db1b57fb> /usr/lib/libauto.dylib
0x93995000 - 0x93acdff7  libicucore.A.dylib ??? (???) <afcea652ff2ec36885b2c81c57d06d4c> /usr/lib/libicucore.A.dylib
0x93bf2000 - 0x93d4cfe3  libSystem.B.dylib ??? (???) <8ecc83dc0399be3946f7a46e88cf4bbb> /usr/lib/libSystem.B.dylib
0x9598c000 - 0x959c2fff  com.apple.SystemConfiguration 1.9.0 (1.9.0) <7919d9588c3b0d556646e555b7193f1f> /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfiguration
0x959c3000 - 0x959cafe9  libgcc_s.1.dylib ??? (???) <f53c808e87d1184c0f9df63aef53ce0b> /usr/lib/libgcc_s.1.dylib
0xfffe8000 - 0xfffebfff  libobjc.A.dylib ??? (???) /usr/lib/libobjc.A.dylib
0xffff0000 - 0xffff1780  libSystem.B.dylib ??? (???) /usr/lib/libSystem.B.dylib


pppoa3.log
CODE
Info  >-1605632160< Vpi set to 8
Info  >-1605632160< Vci set to 48
Info  >-1605632160< Verbosity level set to 3
Info  >-1605632160< Schedule policy set to 0
Info  >-1605632160< Modem ID set to 1
Info  >-1605632160< Using ASync HDLC mode
Info  >-1605632160< Control pipe enabled
Info  >-1605632160< Previous instance cleaning enabled
Info  >-1605632160< Log filename set to /var/log/pppoa3.now.log
[Wed Feb 20 20:31:38 2008] Info  >-1605632160< Control thread ready
[Wed Feb 20 20:31:38 2008] Debug >-1605632160< Pty descriptors : fdin=3, fdout=4
[Wed Feb 20 20:31:38 2008] Info  >-1605632160< Modem found!
[Wed Feb 20 20:31:38 2008] Info  >-1341648896< host  --> pppoa3 --> modem stream ready
[Wed Feb 20 20:31:38 2008] Info  >-1341116416< modem --> pppoa3 --> host  stream ready
[Wed Feb 20 20:31:38 2008] Info  >-1340583936< Named pipe successfuly created
[Wed Feb 20 20:31:38 2008] Info  >-1340583936< Named pipe thread ready
[Wed Feb 20 20:31:38 2008] Error >-1605632160< Woken by a sem_post event -> Exiting
Info  >-1605632160< Read from usb Canceled---------------------------------------------

[Wed Feb 20 20:35:22 2008] Info  >-1605632160< Control thread ready


Just made some space and installed XCode yesterday, so I could possibly try to compile em myself. Did you apply any modifications to the code, ie. rendering attempts to compile the original code useless?
You can mail me the source to (my forum username) at (int03) dot (cc) if you want me to try.

Greetings, BhaaL
fcadet
Hi

source code is now availlable on sourceforge on this project

Project Descriptive Name: Speedtouch USB for *nix

enjoy
Krazubu
Thank you smile.gif
Navaira
For about a second I was hoping that would be a driver for Speedtouch 121g...
fcadet
Hi ... just to confirm the binaries provided previously are working with Leo ( I just recently upgraded to kalyway leo 1.5.1 and 10.5.3 ) even if modem_run output ugly message about fork()ing and a generate a core dump it still work and pppoa3 work even better than with Tiger ;-)



HotBreeze
no work here. my is old manta, ray [green? blue?]. This is the messages I got on terminal trying to load QKD6_3.012 or mgmt.o:

QUOTE
The process has forked and you cannot use this CoreFoundation functionality safely. You MUST exec().
Break on __THE_PROCESS_HAS_FORKED_AND_YOU_CANNOT_USE_THIS_COREFOUNDATION_FUNCTIONALITY___
OU_MUST_EXEC__() to debug.
The process has forked and you cannot use this CoreFoundation functionality safely. You MUST exec().
Break on __THE_PROCESS_HAS_FORKED_AND_YOU_CANNOT_USE_THIS_COREFOUNDATION_FUNCTIONALITY___
OU_MUST_EXEC__() to debug.
The process has forked and you cannot use this CoreFoundation functionality safely. You MUST exec().
Break on __THE_PROCESS_HAS_FORKED_AND_YOU_CANNOT_USE_THIS_COREFOUNDATION_FUNCTIONALITY___
OU_MUST_EXEC__() to debug.
The process has forked and you cannot use this CoreFoundation functionality safely. You MUST exec().
Break on __THE_PROCESS_HAS_FORKED_AND_YOU_CANNOT_USE_THIS_COREFOUNDATION_FUNCTIONALITY___
OU_MUST_EXEC__() to debug.
The process has forked and you cannot use this CoreFoundation functionality safely. You MUST exec().
Break on __THE_PROCESS_HAS_FORKED_AND_YOU_CANNOT_USE_THIS_COREFOUNDATION_FUNCTIONALITY___
OU_MUST_EXEC__() to debug.
The process has forked and you cannot use this CoreFoundation functionality safely. You MUST exec().
Break on __THE_PROCESS_HAS_FORKED_AND_YOU_CANNOT_USE_THIS_COREFOUNDATION_FUNCTIONALITY___
OU_MUST_EXEC__() to debug.
The process has forked and you cannot use this CoreFoundation functionality safely. You MUST exec().
bash-3.2# Break on __THE_PROCESS_HAS_FORKED_AND_YOU_CANNOT_USE_THIS_COREFOUNDATION_FUNCTIONALITY___
OU_MUST_EXEC__() to debug.
The process has forked and you cannot use this CoreFoundation functionality safely. You MUST exec().
Break on __THE_PROCESS_HAS_FORKED_AND_YOU_CANNOT_USE_THIS_COREFOUNDATION_FUNCTIONALITY___
OU_MUST_EXEC__() to debug.
The process has forked and you cannot use this CoreFoundation functionality safely. You MUST exec().
Break on __THE_PROCESS_HAS_FORKED_AND_YOU_CANNOT_USE_THIS_COREFOUNDATION_FUNCTIONALITY___
OU_MUST_EXEC__() to debug.
The process has forked and you cannot use this CoreFoundation functionality safely. You MUST exec().
Break on __THE_PROCESS_HAS_FORKED_AND_YOU_CANNOT_USE_THIS_COREFOUNDATION_FUNCTIONALITY___
OU_MUST_EXEC__() to debug.
The process has forked and you cannot use this CoreFoundation functionality safely. You MUST exec().
Break on __THE_PROCESS_HAS_FORKED_AND_YOU_CANNOT_USE_THIS_COREFOUNDATION_FUNCTIONALITY___
OU_MUST_EXEC__() to debug.
The process has forked and you cannot use this CoreFoundation functionality safely. You MUST exec().
Break on __THE_PROCESS_HAS_FORKED_AND_YOU_CANNOT_USE_THIS_COREFOUNDATION_FUNCTIONALITY___
OU_MUST_EXEC__() to debug.
The process has forked and you cannot use this CoreFoundation functionality safely. You MUST exec().
Break on __THE_PROCESS_HAS_FORKED_AND_YOU_CANNOT_USE_THIS_COREFOUNDATION_FUNCTIONALITY___
OU_MUST_EXEC__() to debug.
The process has forked and you cannot use this CoreFoundation functionality safely. You MUST exec().
Break on __THE_PROCESS_HAS_FORKED_AND_YOU_CANNOT_USE_THIS_COREFOUNDATION_FUNCTIONALITY___
OU_MUST_EXEC__() to debug.
The process has forked and you cannot use this CoreFoundation functionality safely. You MUST exec().
Break on __THE_PROCESS_HAS_FORKED_AND_YOU_CANNOT_USE_THIS_COREFOUNDATION_FUNCTIONALITY___
OU_MUST_EXEC__() to debug.
The process has forked and you cannot use this CoreFoundation functionality safely. You MUST exec().
Break on __THE_PROCESS_HAS_FORKED_AND_YOU_CANNOT_USE_THIS_COREFOUNDATION_FUNCTIONALITY___
OU_MUST_EXEC__() to debug.
The process has forked and you cannot use this CoreFoundation functionality safely. You MUST exec().
Break on __THE_PROCESS_HAS_FORKED_AND_YOU_CANNOT_USE_THIS_COREFOUNDATION_FUNCTIONALITY___
OU_MUST_EXEC__() to debug.
The process has forked and you cannot use this CoreFoundation functionality safely. You MUST exec().
Break on __THE_PROCESS_HAS_FORKED_AND_YOU_CANNOT_USE_THIS_COREFOUNDATION_FUNCTIONALITY___
OU_MUST_EXEC__() to debug.
Info Found SpeedTouch USB modem
Info Modem revision: 0000
Info Best offset 36 with probability 100%
Info Best offset 983 with probability 100%
Info Firmware info (CRC:0xd80bf9f7, Size:991, Checked: Yes, Alcatel/Thomson Boot block (old))
Info Best offset 1027 with probability 100%
Info Best offset 762642 with probability 100%
Info Firmware info (CRC:0x78039fed, Size:762650, Checked: Yes, 3.0.6 - MacOSX - Win32)
Info BLOCK1 : 991 bytes uploaded : OK
Info BLOCK2 : 511 bytes downloaded : OK
Info BLOCK3 : 128 bytes uploaded : OK
Info BLOCK4 : 512 bytes downloaded : OKInfo Modem reference :
Info [monitoring report] ADSL link stays stable (down)
Info [monitoring report] ADSL link stays stable (down)
Info [monitoring report] ADSL link stays stable (down)
Info [monitoring report] ADSL link stays stable (down)
Info [monitoring report] ADSL link stays stable (down)
Info [monitoring report] ADSL link stays stable (down)
Info [monitoring report] ADSL link stays stable (down)
Info [monitoring report] ADSL link stays stable (down)
Info [monitoring report] ADSL link stays stable (down)
Info [monitoring report] ADSL link stays stable (down)
Info [monitoring report] ADSL link stays stable (down)
Info [monitoring report] ADSL link stays stable (down)
Info [monitoring report] ADSL link stays stable (down)
Info [monitoring report] ADSL link stays stable (down)
Info [monitoring report] ADSL link stays stable (down)
Info [monitoring report] ADSL link stays stable (down)
Info [monitoring report] ADSL link stays stable (down)


then I have to Cmd+Tab, sudo killall modem_run

I tryed it with the modem connected at the ADSL line, but nope...
NOTHING works for this {censored}... Anyone have the same error messages?
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.