LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 01-01-2005, 06:33 PM   #1
guldo
Member
 
Registered: Aug 2003
Location: Morio Cho
Distribution: debian sid
Posts: 124

Rep: Reputation: 15
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?!?

Could you please help me solve this?
 
Old 01-03-2005, 08:44 AM   #2
guldo
Member
 
Registered: Aug 2003
Location: Morio Cho
Distribution: debian sid
Posts: 124

Original Poster
Rep: Reputation: 15
up
 
Old 01-14-2005, 01:13 PM   #3
Drayco
LQ Newbie
 
Registered: Jan 2005
Posts: 1

Rep: Reputation: 0
Just wondering, did you ever solve this problem? I have the exact same problem at the moment
 
Old 01-18-2005, 12:16 PM   #4
guldo
Member
 
Registered: Aug 2003
Location: Morio Cho
Distribution: debian sid
Posts: 124

Original Poster
Rep: Reputation: 15
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.
 
Old 01-24-2005, 05:52 AM   #5
Andrew Benton
Senior Member
 
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
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)
 
Old 01-24-2005, 03:53 PM   #6
guldo
Member
 
Registered: Aug 2003
Location: Morio Cho
Distribution: debian sid
Posts: 124

Original Poster
Rep: Reputation: 15
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
Plugin pppoatm.so loaded.
PPPoATM plugin_init
PPPoATM setdevname - remove unwanted options
PPPoATM setdevname_pppoatm - SUCCESS:8.35
connect(8.35): Resource temporarily unavailable
<4>usb 1-2: no stage 1 firmware found!connect(8.35): Resource temporarily unavailable
Any further hint?

bye
 
Old 01-24-2005, 04:29 PM   #7
Andrew Benton
Senior Member
 
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
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 ?
 
Old 01-24-2005, 06:02 PM   #8
guldo
Member
 
Registered: Aug 2003
Location: Morio Cho
Distribution: debian sid
Posts: 124

Original Poster
Rep: Reputation: 15
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...
Code:
totale 256K
-rwxr-xr-x  1 root root 1,1K 2002-01-18 09:13 atd*
-rw-r--r--  1 root root 2,6K 2004-09-10 17:00 bootclean.sh
-rwxr-xr-x  1 root root 1,5K 2004-09-10 17:00 bootlogd*
-rwxr-xr-x  1 root root 1,4K 2004-09-10 17:00 bootmisc.sh*
-rwxr-xr-x  1 root root  935 2004-09-10 17:00 checkfs.sh*
-rwxr-xr-x  1 root root 7,0K 2004-09-10 17:00 checkroot.sh*
-rwxr--r--  1 root root  111 2005-01-25 00:57 connetti_ppp*
-rwxr-xr-x  1 root root 5,3K 2004-07-30 22:44 console-screen.sh*
-rwxr-xr-x  1 root root 1,1K 2004-07-28 16:12 cron*
-rwxr-xr-x  1 root root 1,4K 2004-12-06 15:10 cupsys*
-rwxr-xr-x  1 root root 1,9K 2005-01-14 17:31 dbus-1*
-rwxr-xr-x  1 root root  729 2004-11-18 03:46 dns-clean*
-rwxr-xr-x  1 root root 1,4K 2004-08-23 16:08 etc-setserial*
-rwxr-xr-x  1 root root 1,4K 2004-05-06 19:14 exim*
-rwxr--r--  1 root root   51 2005-01-20 20:34 firewall.sh*
-rwxr-xr-x  1 root root  811 2004-09-10 17:00 halt*
-rwxr-xr-x  1 root root 3,8K 2004-11-26 17:56 hdparm*
-rwxr-xr-x  1 root root  165 2001-02-26 13:44 hostname.sh*
-rwxr-xr-x  1 root root 1,4K 2004-06-29 19:28 hotplug*
-rwxr-xr-x  1 root root 3,5K 2004-12-25 16:17 hwclockfirst.sh*
-rwxr-xr-x  1 root root 3,6K 2004-12-03 06:31 hwclock.sh*
-rwxr-xr-x  1 root root 2,1K 2004-08-16 09:18 ifupdown*
-rwxr-xr-x  1 root root 1,1K 2004-08-16 09:12 ifupdown-clean*
-rwxr-xr-x  1 root root 1,8K 2001-11-18 23:29 inetd*
-rwxr-xr-x  1 root root 3,1K 2002-04-13 23:50 iptables*
-rwxr-xr-x  1 root root 2,9K 2004-07-12 23:08 keymap.sh*
-rwxr-xr-x  1 root root 1,4K 2004-11-07 13:13 klogd*
-rwxr-xr-x  1 root root  775 2004-07-05 08:46 lpd*
-rwxr-xr-x  1 root root  798 2004-08-18 20:43 makedev*
-rwxr-xr-x  1 root root 1,3K 2004-09-12 18:50 module-init-tools*
-rwxr-xr-x  1 root root  864 2004-10-19 19:26 modutils*
-rwxr-xr-x  1 root root 1,1K 2004-09-10 17:00 mountall.sh*
-rwxr-xr-x  1 root root 1,6K 2004-09-10 17:02 mountnfs.sh*
-rwxr-xr-x  1 root root 4,8K 2004-09-10 17:00 mountvirtfs*
-rwxr-xr-x  1 root root 2,6K 2004-02-13 12:35 networking*
-rwxr-xr-x  1 root root 2,0K 2003-10-29 22:26 nfs-common*
-rwxr-xr-x  1 root root 2,4K 2003-07-24 21:18 nfs-kernel-server*
-rwxr-xr-x  1 root root  659 2004-07-27 04:53 ntpdate*
-rwxr-xr-x  1 root root 1,9K 2000-01-06 05:19 nviboot*
-rwxr-xr-x  1 root root 1,2K 2004-11-10 11:13 portmap*
-rwxr-xr-x  1 root root 1,1K 2001-11-07 20:49 ppp*
-rwxr-xr-x  1 root root 1,1K 2004-11-17 03:18 procps.sh*
-rwxr-xr-x  1 root root 2,2K 2004-09-10 17:00 rc*
-rwxr-xr-x  1 root root 1,2K 2004-09-10 17:00 rcS*
-rw-r--r--  1 root root  846 2004-09-10 17:00 README
-rwxr-xr-x  1 root root  197 1998-06-21 21:48 reboot*
-rwxr-xr-x  1 root root  457 2004-09-10 17:00 rmnologin*
-rwxr-xr-x  1 root root  358 2004-09-10 17:00 sendsigs*
-rwxr-xr-x  1 root root 4,3K 2004-08-23 16:08 setserial*
-rwxr-xr-x  1 root root  591 2004-09-10 17:00 single*
-rwxr-xr-x  1 root root 2,1K 2004-09-10 17:00 skeleton*
-rwxr-xr-x  1 root root 1,9K 2004-11-28 16:33 ssh*
lrwxrwxrwx  1 root root    8 2005-01-23 17:58 stop-bootlogd -> bootlogd*
-rwxr-xr-x  1 root root 2,1K 2004-11-07 13:13 sysklogd*
-rwxr-xr-x  1 root root  509 2004-09-10 17:00 umountfs*
-rwxr-xr-x  1 root root 1,3K 2004-09-10 17:00 umountnfs.sh*
-rwxr-xr-x  1 root root 1,4K 2004-09-10 17:00 urandom*
-rwxr-xr-x  1 root root 1,3K 2004-07-12 05:51 vsftpd*
-rwxr-xr-x  1 root root 3,2K 2004-12-09 15:53 xdm*
-rwxr-xr-x  1 root root 1,2K 2004-12-09 15:53 xfree86-common*
-rwxr-xr-x  1 root root 3,1K 2004-12-15 18:39 xfs*
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?!?
 
Old 01-24-2005, 07:16 PM   #9
Andrew Benton
Senior Member
 
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
Thankyou. I do like a happy ending.
Might I suggest

sudo rm -f /usr/sbin/modem_run
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
alcatel speedtouch problem scagman Linux - Hardware 6 04-30-2005 07:40 PM
problem compiling kernel for installing alcatel driver fawkes.phoenix Linux - Software 2 07-01-2004 01:46 PM
Alcatel USB Speedtouch Kernel 2.6.2 Looking_Lost Slackware 9 02-23-2004 01:03 PM
Alcatel Speedtouch Draktor Linux - Hardware 0 09-27-2003 04:52 PM
Alcatel SpeedTouch USB Tom9K Linux - Networking 0 04-01-2002 09:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 07:07 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration