LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-09-2006, 12:07 PM   #1
obstinatesod
Member
 
Registered: Apr 2005
Location: Shetland
Distribution: PClinuxOS, Suse 10.0, Mandriva, Alinux,
Posts: 126
Blog Entries: 1

Rep: Reputation: 15
speedTouch confusion


Hi I am trying to install a thomson speedTouch 330 REV 4.0 on a new Mandriva 2006 o/s. I have had it working on 2005 mandriva but can not remember the way I did it. can anyone put the stuff on the link below into simple terms/steps. I have all the files downloaded (speedtouch firmware 3012.zip, br2684ctl, firmware extractor) and have installed the stuff on the cd's. Not sure of things like "make the firmware executable, and use it to split the other file in two?"

http://linux-usb.sourceforge.net/SpeedTouch/mandrake/
 
Old 01-10-2006, 06:04 AM   #2
ichrispa
Member
 
Registered: Mar 2005
Location: Dresden, Germany
Distribution: OpenSuse 11.2/3, Debian 5.0 , Debian 1.3.1, OpenBSD
Posts: 277

Rep: Reputation: 32
what exactly do you mean:
1) you want to run install Mandriva ON the speedTouch
or
2) the speedtouch to be used WITH Mandriva???

check for a README, manufacturer infos in the compressed packet and so on. if there is a module included, try to insmod it into the kernel.

given that the zip file is the source of the firmware, there should be a file called INSTALL in it (if written by decent people...), which describes the process in detail.

Last edited by ichrispa; 01-10-2006 at 06:10 AM.
 
Old 01-10-2006, 06:29 AM   #3
obstinatesod
Member
 
Registered: Apr 2005
Location: Shetland
Distribution: PClinuxOS, Suse 10.0, Mandriva, Alinux,
Posts: 126
Blog Entries: 1

Original Poster
Rep: Reputation: 15
Hi ichrispa, my son is trying to get the Modem working on mandriva 2006 and is not sure how to go about it. although the page seems straight forward we are very new to it all. just looking for help to interperate the steps on the
http://linux-usb.sourceforge.net/SpeedTouch/mandrake/ page. thanks Adrian
 
Old 01-11-2006, 08:04 AM   #4
ichrispa
Member
 
Registered: Mar 2005
Location: Dresden, Germany
Distribution: OpenSuse 11.2/3, Debian 5.0 , Debian 1.3.1, OpenBSD
Posts: 277

Rep: Reputation: 32
Ahh, ok, listen up. The idea is the following: If you compile all drivers for all devices that exist, the kernel would get huge - and slow. So there are so called modules, little programs that corespond to windows "drivers". You only need to tell the kernel to use the right module in order to speek to the device.

Now to the practical part.
First, copy the firmaware zip and the firmware extracot to your home directory.
now start a konsole. They are all over (and behind, inside, everywhere) in the menues. type "ls" (list). You should see the two file right there, in your home directoty where you placed them.

Next step, unziping. type "zip -d [name of the firmware zip file]", replace the square brackets of course. now the file is unziped (judging from the instructions on the page something.bin). type continue following the instructions on the page (just type the commands).
The following commands install the module ("kernel use this to talk to modem") and the libraries needed by that module. I wont go over everyone, because somebody already went into that trouble on the the mandriva page...

If you have any problems, just ask.
 
Old 01-11-2006, 12:07 PM   #5
obstinatesod
Member
 
Registered: Apr 2005
Location: Shetland
Distribution: PClinuxOS, Suse 10.0, Mandriva, Alinux,
Posts: 126
Blog Entries: 1

Original Poster
Rep: Reputation: 15
Hi ichrispa, followed your advice and I keep getting this:


[ieuan@tiscali ~]$ ls
br2684ctl pppoatm.so*
Desktop/ pppoatm.so.part*
Documents/ SpeedTouch330_firmware_3012.zip*
Download/ The Linux kernel SpeedTouch Driver on Mandriva.html*
firmware-extractor* tmp/
Music/ Video/
Pictures/
[ieuan@tiscali #]$ zip -d SpeedTouch330_firmware_3012.zip
zip error: Nothing to do! (SpeedTouch330_firmware3012.zip
[ieuan@tiscali ~]$
 
Old 01-12-2006, 08:01 AM   #6
ichrispa
Member
 
Registered: Mar 2005
Location: Dresden, Germany
Distribution: OpenSuse 11.2/3, Debian 5.0 , Debian 1.3.1, OpenBSD
Posts: 277

Rep: Reputation: 32
I am sorry for stopping so abruptly yesterday. The librarians assitant threw me out because "I was hacking the computers again" (using knoppix cause I dont have an account).

Again, what you are dealing with is the following. The kernel (linux) is responsible for administrating all devices. But it is impossible for him to know them all, so he needs a module. Visualize it as a factory owner who has a lot of machines available, but does not know how to operate them. He needs an operator, the module. The operator himself comes with a lot of manuals which tell him more about that machine. These manuals are called libraries (in windows also known as dll's), which in linux have the ending .so. What you have now is this:

USER "Send something" ==> KERNEL "dont know how" ==> ??? ==> MODEM never gets the data

What you want to get is this:

...........................................................................................LIBRARY FILES
...........................................................................................|........ ...|
...........................................................................................v........ ...v
USER "Send something" ==> KERNEL "module, send this" ==> MODULE "machine, send this" ==> MODEM "OK"
.

So somebody made the libraries and the driver. great. now you need to put them onto the system. linux is really nice about these things, because all the settings are kept in textfiles. so in theory, all you need to do is copy the module to a place, copy the libraries to another and edit the textfiles so they say "If somebody wants to talk to the modem, kernel, tell this machine operator about it" and "operator, your manuals are at this location". However reallity is a bit more complex, especially because there are so many textfiles and locations involved.
Instead of typing every single thing into the textfiles, there are several "scipts" (lots of commands you could type yourself, but executed one after the other automatically) involved. You execute them with the "install" command, and they do most of the tuning textfiles for you.

Now, the zip problem. I am quite sorry about that, I realize that this is my fault entirely. There are several zipping programs out there, most take the -d as the decompress option. I assumed that was the case.
zip has another program, called "unzip", which does the decompressing. zip, of course, sees that the archive is already compressed and claims that there is "nothing to do!". type "unzip SpeedTouch330_firmware_3012.zip" to decompress it.

The console is actually quite friendly to users in this case, because it offers them a lot of help. An old help archiving system, the manpages, where invented for this purpose and most programs still supply them, even if they where never destined to run in a console. If you ever have any questions about what a program does or what syntax it requires, you can always type "man [command name]" and you will be given a more or less detailed explanation. type "q" to return to the console.

Now to the next step. What is described as the firmware-extractor is a program that graps these two files and turns them into the actual module and libraries by taking them appart. Files in linux have so-called permissions (actually, thats like this with all *ix operating systems, including solaris). There are three types of permissions setable for three types of groups: owner, group and other. Each of them can read,write or execute a file, or combinations of those.
If for example you dont want your son to read your home directories content, you would set its permission to rwx|---|---. readable, writable and executable by you, not by the group, not by others. try "ls -l" to see all the permissions of the files and directories.
Programs are executable, logically, but not by default. This insures that a just downloaded program wont go about executing itself. So you need to set the permission of execute on the firmware-extractor. This is done by using the "chmod", change mode, command. type "chmod 744 ./firmware-extractor" to assign rwx|rw-|rw- to the executable (means you can execute it, everybody else only read and write it). The root user is above these permissions, he can do whatever he pleases.

Now type "./firmware-extractor". "./" means "in this directory". As the page sais, you will get two files ending in ".bin" (=binaries, executables). you can "ls *bin", they should show up.

Now you are ready to copy the module and libraries into the right position. You dont have to bother with the details, if you type the commands as indicated on the webpage, a script is going to take care this for you. For security reasons an ordenary user cant access the directories and settings in questions (in windows they can, thats why every installation can mess up the system), so you have to become root first. that' s why you need to switch user, or "su", first. Without parameters this assumes you want to switch to root, it will ask you for a password. IT WILL NOT BE ECHOED AS YOU TYPE IT, dont worry, just type it and enter. If it fails, try again, make sure you hit the right keys and caps-lock is off. then go on with the "install..." commands as indicated on the page.

The next step is telling the kernel to use the module, but lets take one step at a time.
Has this worked out all right so far?

Last edited by ichrispa; 01-12-2006 at 09:54 AM. Reason: to interpret, as requested, one must know in detail what is happening. My prior post did not accomplish that
 
Old 01-12-2006, 10:07 AM   #7
obstinatesod
Member
 
Registered: Apr 2005
Location: Shetland
Distribution: PClinuxOS, Suse 10.0, Mandriva, Alinux,
Posts: 126
Blog Entries: 1

Original Poster
Rep: Reputation: 15
Hi thanks, just going to try it, I worked out the "unzip " but this is as far as I got, here is a screenshot of the problem http://linux.shetlandscenes.co.uk have tried and can't get the file split in to binaries as it says it should.

Last edited by obstinatesod; 01-12-2006 at 11:53 AM.
 
Old 01-12-2006, 05:58 PM   #8
obstinatesod
Member
 
Registered: Apr 2005
Location: Shetland
Distribution: PClinuxOS, Suse 10.0, Mandriva, Alinux,
Posts: 126
Blog Entries: 1

Original Poster
Rep: Reputation: 15
Got it, 3 days later, I used the firmware and tutorial that I downloaded for SuSE 9.3 instead of Mandriva 2006 and it worked!, I copied the commands to unzip and chmod and it made the 2 binaries I needed. I logged in as root to do it. I will post this in more detail tomorrow when I find out how I did it for others with same problem. thank you icrispa for your help. Adrian

Last edited by obstinatesod; 01-12-2006 at 05:59 PM.
 
Old 01-13-2006, 05:58 AM   #9
ichrispa
Member
 
Registered: Mar 2005
Location: Dresden, Germany
Distribution: OpenSuse 11.2/3, Debian 5.0 , Debian 1.3.1, OpenBSD
Posts: 277

Rep: Reputation: 32
I took a look at the problem the screenshot shows. It quite naturally does not work, substitute FIRMEWARE though, and it will. Try:

./firmware_extractor KQD6*
and
./firmware_extractor ZZZ*.

But since you worked it out there is no need for this anyway...
 
Old 01-13-2006, 07:29 AM   #10
obstinatesod
Member
 
Registered: Apr 2005
Location: Shetland
Distribution: PClinuxOS, Suse 10.0, Mandriva, Alinux,
Posts: 126
Blog Entries: 1

Original Poster
Rep: Reputation: 15
thanks for that, I am going to install Mandriva on another PC I will try the new command there. Thanks Adrian
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Live CD with speedtouch SpeedTouch 330 support Irina 22 Linux - Software 1 11-14-2005 10:52 AM
Confusion about permissions rsheridan6 Linux - General 4 05-25-2005 05:15 AM
a little confusion..... b0nd Linux - Newbie 1 02-17-2005 07:45 AM
WM Confusion phoeniXflame Slackware 3 02-16-2003 06:19 AM
Some confusion about RH 7.3 psyklops Linux - Distributions 2 05-08-2002 04:08 PM


All times are GMT -5. The time now is 03:10 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration