Alcatel SpeedTouch - kernel driver
Hello
I used to connect to the internet via my speedtouch modem, using the kernel driver; then my hard disk broke down suddenly, and I had to perform a brand new install. I compiled the 2.6.9 kernel in order to have its source at hand, then I compiled the speedtouch stuff contained in the speedbundle archive (all but the kernel module). Right now, I can't get it to work. I'm using the user driver, but it works only with a 2.4.* kernel. I'd like to get the kernel driver to work with the 2.6.9, too, as it used to work a couple of months ago... On boot, the speedtch kernel module is loaded successfully (even though I've realized that, soon after its loading, I get a "speedtch module already loaded" warning three times). Then, both of the green lights of the modem stay still, without blinking. If I try a pppd call speedtch, I get: PPPoATM plugin_init PPPoATM setdevname - remove unwanted options PPPoATM setdevname_pppoatm - SUCCESS: 8.35 connect(8.35): Resource temporarily unavailable The firmware is OK The usbdevfs line in fstab is OK So what?!? :confused: Could you please help me solve this? |
up
|
Just wondering, did you ever solve this problem? I have the exact same problem at the moment
|
Not solved yet.
Now I'm just about to try and undergo the whole process (kernel install, speedbundle compiling) with several 2.6.x kernels. I'd let you know if I ever succeed. |
Well if the kernel module is loaded you can get modem_run to load the firmware with the command
modem_run -k -f /path/to/firmware (the -k switch tells it to use the kernel driver) You're getting the warning "speedtch module already loaded" three times because the script in /etc/hotplug/usb is trying to use the userspace driver. I don't know why hotplug tries to run it three times. I'd move that script out of the way to stop it running on boot then see if you can connect with modem_run -k -f /path/to/firmware pppd call script run that as root. Change /path/to/firmware to the path to your firmware and change script to the name of the script in /etc/ppp/peers that has the options you want pppd to use when it negotiates with the peer (your ISP) |
Thanks a lot for your reply, Andrew :)
Anyway, it didn't work. I moved the hotplug script away, installed module-init-tools and rebooted, but the three times attempt to load speedtch is still there. Then, (using 2.6.10) I tried to invoke modem_run, but the green lights of my modem just stood still. No error messages, though. Soon after that I got: Code:
# pppd call speedtch bye :) |
Cool, the 2.6.10 kernel can load the firmware itself without modem_run (hence the no stage 1 firmware found message). You need to prepare the firmware like this. The kernel firmware loading is much better because it happens in the background whilst the system is booting which save time.
So if it's not a hotplug script that's invoking modem_run what is? Is there a speedtouch bootscript in /etc/init.d ? |
YEAH!!!
That's it! I wasn't aware of this new feature of the kernel! THANK YOU VEEEEEERYYYYYYY MUCH! In case it's still not plain to see, my modem now works like a charm! :D Thanks a LOT, Andrew :) Those three attempts to load speedtch, three times, are still there, but it just doesn't matter anymore. I can let you take a look at my list, since I cannot find anything wrong... Code:
totale 256K "firewall.sh" is my iptables script. Both of them are linked as S99 in rc2.d Have I already said I have to thank you very much?!? :D |
Thankyou. I do like a happy ending.
Might I suggest sudo rm -f /usr/sbin/modem_run |
All times are GMT -5. The time now is 08:24 AM. |