It is ok with me to stub some files until
the modem is ready to work, but some ppl
with good intensions, cannot always
offer proper support-help
Thank you for replying Nis and Lyceum.
My frustration is obvious.
I downloaded the linux driver from
login (user id): driver
the modem is internal (notebook)
the name of the driver file is: slmdm-2.6.16.tar.gz
the kernel version of my Mandrake 9.2 is: 2.6.22
I know that I must login as ROOT to install
I know that I will type some commands at “console”
the READ file of the driver has the following
information about 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:
Another way is to pass command line the parameter while
$ make KERNEL_INCLUDES=/path/to/linux/include ...
4. Run 'make' command to compile package:
If you are going to use AMR/CNR/PCI modem type (as superuser):
# make install-amr
# make install-usb
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.
In package directory just type:
# make uninstall
1. Build SRPM and RPM from tar.gz package:
In order to build RPM and SRPM run command:
# rpm -ta slmdm-2.6.X.tar.gz
It will build in your RPM directory:
- slmdm-2.6.X-Y.src.rpm - Source SRPM package
- slmdm-2.6.X-Y.i386.rpm - Core Modem RPM package
- slmdm-amr-2.6.X-Y.i386.rpm - AMR/CNR/PCI Modem driver
- slmdm-usb-2.6.X-Y.i386.rpm - USB Modem driver
To install Modem core package run:
# rpm -i /path/to/slmdm-2.6.X-Y.i386.rpm
To install Modem hw driver run:
# rpm -i /path/to/slmdm-amr-2.6.X-Y.i386.rpm
if you are going to use AMR/CNR/PCI Modem, or
# rpm -i /path/to/slmdm-usb-2.6.X-Y.i386.rpm
if you are going to use SmartUSB56 Modem.
Note: currently you cannot install and use both AMR/CNR/PCI and USB Modems.
# rpm -e slmdm slmdm-<amr|usb>
After successful installation and configuration modules will be loaded on demand if you are using 'kmod' in linux kernel.
Also you can load modules by hand:
# modprobe slamrmo
if you are using AMR/CNR/PCI modem, or
# modprobe slusb
if you are using SmartUSB56 Modem.
If you get an error message during installation/configuration or loading the modules like 'slmdm.o: unresolve symbols ...' it may mean that package was prepared for different linux kernel version that you have.
Run command 'slver -k' (may be found in package directory) to see what version of linux kernel was used for preparing package.
Unfortunately it is no so flexible currently (we are working about it) to support all versions of linux kernel. So try to obtain appropriate release of the modem package or upgrade kernel.
=============== =============== =============== ===============