Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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?!?
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)
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:
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!
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...
where "connetti_ppp" now calls "pppd call speedtch", while it used to call "speedtouch-start";
"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?!?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.