Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 05-21-2004, 01:56 PM   #1
LQ Newbie
Registered: May 2004
Posts: 3

Rep: Reputation: 0
Driver Install Problem

Hello everyone, I'm trying to install my modem's driver and I make it successfully to step 6. After that I'm not sure how to input the step 6 command Add 'options' directive line to file '/etc/modules.conf'. Do they just want me to go into that file and change this (options slmdm country=USA)? Any help will be greatful. I just install Mandrake 10.0 and I would like to get my computer where I wont even need to boot to windows.


1. Unpack tar.gz package file:
$ gzip -dc slmdm-2.X.X.tar.gz | tar xf -

2. 'cd' to package directory:

$ cd slmdm-2.X.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:


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 your 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.
Old 05-21-2004, 04:56 PM   #2
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,569

Rep: Reputation: 171Reputation: 171
Yes, it just says to edit the file and add a new line (like 'options slmdm country=USA'). Buf first you can try and load the module manully to test if everything works. Just run (as root) from command line:
modprobe slmdm country=USA
Old 05-22-2004, 03:59 AM   #3
LQ Newbie
Registered: May 2004
Posts: 3

Original Poster
Rep: Reputation: 0
Hey, Thanks for the reply, but when I type: modprobe slmdm country=USA, I get this: FATAL:Module slmdm not found. I'm not sure what I'm doing wrong. What directory should I be typing: modprobe slmdm country=USA, in?Any help?
Old 05-22-2004, 11:08 PM   #4
LQ Newbie
Registered: May 2004
Posts: 3

Original Poster
Rep: Reputation: 0
I guess nobody knows..=-(
Old 05-23-2004, 05:30 AM   #5
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,569

Rep: Reputation: 171Reputation: 171
You should be able to 'modprobe' from any directory. Run
locate slmdm.o
to find the module file. It should be in /lib/modules/<kernelversion>/misc where <kernelversion> is what you get by running
uname --release
If it's in the wrong directory, copy slmdm.o, slfax.o slamrmo.o and/or slusb.o from their current directory to the right one.


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
Problem to install NVIDIA driver punx120 Debian 2 11-13-2004 02:06 PM
Yet Another nVidia Driver install problem Jimbo99 Linux - Hardware 7 05-17-2004 10:39 AM
Driver install problem askia4life Linux - Hardware 7 04-05-2004 06:47 PM
Driver Install Problem Assassin Linux - Newbie 5 11-28-2003 02:54 PM
DRI Driver Install Problem Thylakoid Linux - Software 13 08-15-2003 04:50 PM

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

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