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 05-24-2004, 12:36 PM   #1
vzzt!
Member
 
Registered: Feb 2003
Distribution: MDK 9.2
Posts: 31

Rep: Reputation: 15
how to install winmodem drivers


i downloaded driver for my "winmodem"
the file name is: slmdm-2.6.16.tar.gz
i decompressed with winrar.
i know have the folder: slmdm-2.6.16
how to install this driver?
 
Old 05-24-2004, 02:43 PM   #2
bruno buys
Senior Member
 
Registered: Sep 2003
Location: Rio
Distribution: Debian
Posts: 1,509

Rep: Reputation: 46
The easiest way would be to enter the dir and type "./configure", then "make" and then, "make install". But these are generic compilation norms. You really should take a look at the install or readme file, where the author tells what should be done in detail.
Also, make sure you have your kernel-sources package installed, the driver compilation routine will most likely need them.
 
Old 05-24-2004, 05:32 PM   #3
vzzt!
Member
 
Registered: Feb 2003
Distribution: MDK 9.2
Posts: 31

Original Poster
Rep: Reputation: 15
thanks for replying

i almost understood all, except the "kernel-sources" thing
 
Old 05-24-2004, 09:33 PM   #4
bruno buys
Senior Member
 
Registered: Sep 2003
Location: Rio
Distribution: Debian
Posts: 1,509

Rep: Reputation: 46
The kernel sources are the source code for your running kernel. Most distros pack them on specific packages for people who need to compile drivers or recompile the kernel. When you compile drivers for your hardware, the compiling process consults these files. I can't give you much more detail than that, as I have very limited experience with driver compilation.
If you know any other more automatic process, I would recommend you do that, unless you really wanna learn how to compile drivers.
 
Old 05-25-2004, 06:38 AM   #5
vzzt!
Member
 
Registered: Feb 2003
Distribution: MDK 9.2
Posts: 31

Original Poster
Rep: Reputation: 15
AT THE DRIVER FOLDER THERE IS A "READ ME" FILE.

IIT GIVES ME THIS INSTALLATION INFO,
BUT I STILL CANNOT UNDERSTAND WHAT TO DO

PLEASE ADD SOME HELPFUL COMMENTS IF YOU CAN



Installation
============

1. Unpack tar.gz package file:

$ gzip -dc slmdm-2.6.X.tar.gz | tar xf -

2. 'cd' to package directory:

$ cd slmdm-2.6.X

3. Review and edit (if need) 'Makefile'.

Note: Probably you will want to correct in Makefile path to your
local linux kernel header files:

KERNEL_INCLUDES=/path/to/linux/include

Another way is to pass command line the parameter while
running 'make':

$ make KERNEL_INCLUDES=/path/to/linux/include ...

4. Run 'make' command to compile package:

$ make

5. Install.

If you are going to use AMR/CNR/PCI modem type (as superuser):

# make install-amr

, or

# make install-usb

if you are going to use USB modem.

It will install:
- modem kernel modules slmdm.o (modem core), slfax.o (fax)
into '/lib/modules/<kernel-version>/misc' directory
(standard linux modules' directory).
- hardware specific kernel module slamrmo.o (for AMR/CNR/PCI) or
slusb.o (for USB) into '/lib/modules/<kernel-version>/misc'
directory (standard linux modules' directory).
- country settings data file 'country.dat' into directory '/etc'.

Also it will:
- create character tty device entry '/dev/ttySL0' with major
number 212 and symbolic link 'dev/modem'.
- config you '/etc/modules.conf' file in order to provide
possibility for loading the modem modules into kernel on demand
automatically by kmod, when you are going to use them.

Note: currently you cannot use both AMR/CNR/PCI and USB Modems.

6. Config modem country.

You can configure you current country by using module parameters
'country' or 'country_code'.
Add 'options' directive line to file '/etc/modules.conf':

options slmdm country=<MyCountry>

, for example

options slmdm country=USA

, or use module parameter while module loading:

# modprobe slmdm country=<MyCountry>

Use 'slver -c' to see list of all supported countries and their
codes (utility 'slver' may be found in package directory).

Note: Command ATI7 shows installed country setting.

7. Using the modem.

Installation will automatically create character tty device entry
'/dev/ttySL0' with major number 212 and symbolic link '/dev/modem'.
Use one of them as modem device for your dialing application.

8. Uninstallation.

In package directory just type:

# make uninstall
 
Old 05-25-2004, 07:55 AM   #6
bruno buys
Senior Member
 
Registered: Sep 2003
Location: Rio
Distribution: Debian
Posts: 1,509

Rep: Reputation: 46
Hey friend! I strongly advise you to look for a specific Mdk package to drive your win-modem. Maybe a rpm... These driver compiling process can be very frustrating, sometimes.
You may want to start another thread, also. Maybe someone more experienced than me...

This is what I know about that read me:

Makefile is a plain text file inside the install dir. Look for this line and edit according to your system:

KERNEL_INCLUDES=/path/to/linux/include

The mdk kernel header files, I guess, are installed together with the kernel sources. They are part of it.

From point 4, the process is " make" and " install", as I told before. If you using a pci modem (do you know this?) you want to " make install-amr".

In this part the guy tells you what the install process will do on your computer:

**************
It will install:
- modem kernel modules slmdm.o (modem core), slfax.o (fax)
into '/lib/modules/<kernel-version>/misc' directory
(standard linux modules' directory).
- hardware specific kernel module slamrmo.o (for AMR/CNR/PCI) or
slusb.o (for USB) into '/lib/modules/<kernel-version>/misc'
directory (standard linux modules' directory).
- country settings data file 'country.dat' into directory '/etc'.

Also it will:
- create character tty device entry '/dev/ttySL0' with major
number 212 and symbolic link 'dev/modem'.
- config you '/etc/modules.conf' file in order to provide
possibility for loading the modem modules into kernel on demand
automatically by kmod, when you are going to use them
****************

Using the modem:

To load the module for your modem, as root do:


modprobe slmdm country=<MyCountry>

But mdk should have some way to load the modules at startup.

To config your dialing app, use the device /dev/modem

Ok? Hope it helps!
 
Old 05-25-2004, 08:08 AM   #7
vzzt!
Member
 
Registered: Feb 2003
Distribution: MDK 9.2
Posts: 31

Original Poster
Rep: Reputation: 15
thanks bruno for your comments

i ll try to find more info. i am still "lost" :/

Last edited by vzzt!; 05-25-2004 at 08:09 AM.
 
  


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
Agere Systems AC97 winmodem drivers? C0Y0TE Linux - Hardware 2 10-12-2004 01:10 PM
mandrake 10 nvidia drivers and winmodem drivers mikeymouse Mandriva 6 08-28-2004 08:57 AM
New Winmodem drivers? Dillius Mandriva 1 01-18-2004 10:10 PM
Winmodem drivers for 9.1 JohnKFT Slackware 1 12-29-2003 03:12 PM
how do you install winmodem drivers? guppy Linux - Software 2 06-14-2001 01:41 PM


All times are GMT -5. The time now is 12:25 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration