Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Kernel & Hardware
  • Search

New speedtouch firmware loading with 2.6.10

Kernel not recognizing your hardware? Problems with power management or PCMCIA? What hardware is compatible with Gentoo? See here. (Only for kernels supported by Gentoo.)
Post Reply
Advanced search
11 posts • Page 1 of 1
Author
Message
tuppe666
Guru
Guru
User avatar
Posts: 423
Joined: Tue Mar 02, 2004 10:19 pm

New speedtouch firmware loading with 2.6.10

  • Quote

Post by tuppe666 » Wed Jan 19, 2005 12:51 pm

I used to get a slew of modem_run errors and I noticed that ppl where usind the new firmware loading to get rid of this error.
splitting it into two parts To do that you'll
need a copy of the speedtouch-1.3.1 driver
http://prdownloads.sourceforge.net/spee ... z?download
untar it and cd into the speedtouch-1.3.1/src folder and then enter

gcc -o firmware firmware.c -DSTANDALONE_EXTRACTER

That will compile a binary called firmware. You can use that to split the
modems firmware into two parts. If (for example) the firmware is called mgmt.o,
copy it into the speedtouch-1.3.1/src folder and then enter

./firmware mgmt.o
mv boot.bin speedtch-1
mv firmware.bin speedtch-2

That will create two files, boot.bin and firmware.bin. Rename boot.bin ->
speedtch-1 and firmware.bin -> speedtch-2. Then you need to copy these two
speedtch files into hotplugs firmware folder. You can find this by reading
/etc/hotplug/firmware.agent

cat /etc/hotplug/firmware.agent | grep FIRMWARE_DIR=

Make sure you enabled hotplug firmware loading in your kernel config
CONFIG_FW_LOADER=y
and check that hotplug has this line in /etc/hotplug/usb.usermap

speedtouch 0x0003 0x06b9 0x4061 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
well all went fairly swimmingly until I rebooted and then I get error

Code: Select all

inserting usb-atm(and speedtch) unknown symbol in module unknow parameter
I check dmesg and it gives me the very interesting

Code: Select all

no stage1 firware found
I cried went back to typing

Code: Select all

/usr/sbin/modem_run -k -f firmware.bin
/usr/sbin/pppd call speedtch
sucks

also I have various demons/scrips all over the place /etc/init.d/speedtch doesn´t seem appropriate anymore :)
Top
tuppe666
Guru
Guru
User avatar
Posts: 423
Joined: Tue Mar 02, 2004 10:19 pm

  • Quote

Post by tuppe666 » Thu Jan 20, 2005 9:47 am

Last time I follow instuctions they should read

Code: Select all

mv boot.bin speedtch-1.bin
mv firmware.bin speedtch-2.bin
get some funky coldplug errors although I have to connect with

Code: Select all

/usr/sbin/pppd call speedtch
I've lost my nasty speetch errors in my log file.
Top
Tyrius
n00b
n00b
User avatar
Posts: 46
Joined: Fri Aug 27, 2004 11:09 pm
Location: Southampton, UK

Next step

  • Quote

Post by Tyrius » Thu Jan 20, 2005 5:12 pm

Have followed the instructions above and have the firmware flashing the speedtouch modem with no problems. The next thing I need to do is get pppd to start after the firmware flash has completed. Is there an event I can use to trigger pppd?

Cannot use the old way, which was adding it after modem_run so am a bit stuck on this issue.

Any help/ideas would be appreciated. :)
Top
cabbagewalker
n00b
n00b
Posts: 61
Joined: Mon Feb 09, 2004 5:56 pm
Location: Nottingham, UK

  • Quote

Post by cabbagewalker » Thu Jan 20, 2005 9:06 pm

Have followed the instructions above and have the firmware flashing the speedtouch modem with no problems. The next thing I need to do is get pppd to start after the firmware flash has completed. Is there an event I can use to trigger pppd?

Cannot use the old way, which was adding it after modem_run so am a bit stuck on this issue.
You just need to run, as root

Code: Select all

pppd call xxxx
Where xxxx is your script in /etc/ppp/peers
Top
cabbagewalker
n00b
n00b
Posts: 61
Joined: Mon Feb 09, 2004 5:56 pm
Location: Nottingham, UK

  • Quote

Post by cabbagewalker » Thu Jan 20, 2005 9:12 pm

Code: Select all

That will create two files, boot.bin and firmware.bin. Rename boot.bin ->
speedtch-1 and firmware.bin -> speedtch-2. Then you need to copy these two
speedtch files into hotplugs firmware folder. You can find this by reading
/etc/hotplug/firmware.agent 
I had to call my firmware

Code: Select all

speedtch-1.bin   &
speedtch-2.bin
before it would work
Top
Tyrius
n00b
n00b
User avatar
Posts: 46
Joined: Fri Aug 27, 2004 11:09 pm
Location: Southampton, UK

  • Quote

Post by Tyrius » Thu Jan 20, 2005 10:35 pm

I can trigger it manually fine, doing

Code: Select all

pppd call adsl
But it would be nice if the computer would do this for me automatically after the firmware part has completed.
Top
Tyrius
n00b
n00b
User avatar
Posts: 46
Joined: Fri Aug 27, 2004 11:09 pm
Location: Southampton, UK

  • Quote

Post by Tyrius » Fri Jan 21, 2005 9:20 pm

Hiya,
To fix the automatic pppd startup please follow this link http://forums.gentoo.org/viewtopic.php? ... 8&start=50 and use volumen1 script it works perfectly for me.
Top
idl
Retired Dev
Retired Dev
User avatar
Posts: 1728
Joined: Tue Dec 24, 2002 8:02 pm
Location: Nottingham, UK

  • Quote

Post by idl » Fri Jan 21, 2005 11:06 pm

Now that I have the misfortune of having to use a Speedtouch 330, I'm going through the pains of setting the bugger up. But alas, I've come to a dead-end.

I've setup firmware loading with hotplug yet I'm getting:

Code: Select all

Jan 21 12:52:29 Interimo usb 1-2: found stage 1 firmware speedtch-1.bin
Jan 21 12:52:30 Interimo usb 1-2: found stage 2 firmware speedtch-2.bin
Jan 21 12:52:32 Interimo usb 1-2: firmware/speedt timed out on ep5out
and again when I run pppd call speedtouch:

Code: Select all

Jan 21 12:52:29 Interimo pppd[10016]: Plugin pppoatm.so loaded.
Jan 21 12:52:29 Interimo pppd[10016]: PPPoATM plugin_init
Jan 21 12:52:29 Interimo pppd[10016]: PPPoATM setdevname_pppoatm - SUCCESS:0.38
Jan 21 12:52:29 Interimo pppd[10017]: pppd 2.4.3 started by root, uid 0
Jan 21 12:52:29 Interimo usb 1-2: found stage 1 firmware speedtch-1.bin
Jan 21 12:52:30 Interimo usb 1-2: found stage 2 firmware speedtch-2.bin
Jan 21 12:52:32 Interimo usb 1-2: firmware/speedt timed out on ep5out
Jan 21 12:52:32 Interimo pppd[10017]: connect(0.38): Resource temporarily unavailable
Jan 21 12:52:32 Interimo pppd[10017]: Exit.
The timeout on ep5out seems to be the culprit, though there seems to be no sulution yet for this according the thread on the lkml.

Perhaps someone has a new solution?
Top
idl
Retired Dev
Retired Dev
User avatar
Posts: 1728
Joined: Tue Dec 24, 2002 8:02 pm
Location: Nottingham, UK

  • Quote

Post by idl » Fri Jan 21, 2005 11:33 pm

OK, I've managed to get past the firmware loading by using zzzl_3.012 for the speedtouch-1.bin and zzzlp2.eni for speedtouch-2.bin. I think this is only required for the silver 330.

My new error is:

Code: Select all

Jan 21 14:56:40 Interimo pppd[9856]: Using interface ppp0
Jan 21 14:56:40 Interimo pppd[9856]: Connect: ppp0 <--> 0.38
Jan 21 14:57:10 Interimo pppd[9856]: LCP: timeout sending Config-Requests
Jan 21 14:57:10 Interimo pppd[9856]: Connection terminated.
Jan 21 14:57:10 Interimo pppd[9856]: connect(0.38): Address already in use
Jan 21 14:57:10 Interimo pppd[9856]: Exit.
There are plenty of hits on google so i'll take a look at those later...

EDIT: I'd renamed pap-secrets to chasp-secrets by accident, so now everything is working! :)
Top
Qubax
Guru
Guru
User avatar
Posts: 451
Joined: Fri Jul 19, 2002 9:41 pm
Location: Tirol, Austria

  • Quote

Post by Qubax » Mon Jan 31, 2005 8:04 am

this is everything that i needed to get speedtouch running:
never had problems afterwards

http://wojia.be/
and an similar version without the need of the speedtouch-package:
http://havens.de/cgi-bin/wiki/HowtoSpeedtouch

maybe i'm going to go more into detail in the last wiki about ppp+atm etc
Top
Akhouk
Guru
Guru
User avatar
Posts: 476
Joined: Fri May 23, 2003 9:09 am
Location: The Two Niles, Africa
Contact:
Contact Akhouk
Website

  • Quote

Post by Akhouk » Wed May 04, 2005 5:22 pm

I have my Speedtouch 330 working fine using the methods described. The only thing is, which is the best way to get everything started automatically at boot time.

I tried using cold plug but it doesn't seem to work. I still have to un-plug the speedtouch and plug it back in again before it will work. How did everyone else fix this?
AMD 64 3500+, 2Gb RAM DDR400, 2 x 180Gb SATA, 256Mb Nvidia
Top
Post Reply

11 posts • Page 1 of 1

Return to “Kernel & Hardware”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic