|
我的modem是amr插槽的。驱动程序我有但是他的安装说明我看不懂(英语水平太差了)。有哪位老兄给我解释一下它的安装说明。有哪位也是用的这种蹩脚modem啊?
The modem is a SmartLink HAMR5600 modem, which is in an AMR slot.
You are going to need SuSE's 2.4.4 released kernel. For 7.2, this is one of the choices during installation. For 7.1, it can be found in the update directory
ftp://ftp.suse.com/pub/suse/i386/update/7.1/kernel/2.4.4/
(or look at some mirror)
and is called k_deflt-2.4.4-28.i386.rpm.
The drivers can be found here or here. (They were accessible from ftp://ftp.smlink.com/pub/linux, but have been removed from there. Thanks to Martin Kubisch for letting me know.) You need the package slmdm-2.03-01_linux_2.4.4.src.rpm (Webmaster note: source- & binary-RPMs are both available). Just download and run
rpm --rebuild slmdm-2.03-01_linux_2.4.4.src.rpm
This builds the following binary rpms in /usr/src/packages/RPMS/i386:
slmdm-2.03-01_linux_2.4.4.i386.rpm
slmdm-amr-2.03-01_linux_2.4.4.i386.rpm
slmdm-usb-2.03-01_linux_2.4.4.i386.rpm
You need to install only the first two of them (the built-in modem is amr, not usb. The usb and the amr packages cannot be installed simultanously.)
The modules can be inserted by hand running /usr/lib/slmdm/load_slmdm. This script needs to modified, beacuse the drivers are compiled for 2.4.4, while SuSE kernel has version 2.4.4-4GB. Therefore, insmod must be forced to insert them. This can be achieved by changing the line
MODPROBE="insmod"
in /usr/lib/slmdm/load_slmdm to
MODPROBE="insmod -f -s"
(-f forces insertion, -s sends the warnings to the system log instead of your screen).
There are no unresolved symbols or similar problems: the modules are inserted and work without problems.
After insertion, /dev/modem will be a symbolic link to the modem device /dev/slmdm. You can configure your applications to use /dev/modem (which is the default in many cases, so you actually do not have to do anything at all).
I wrote a little script slmdm to start/stop the drivers using init during booting and halting the system. You can copy it to /etc/init.d and then use the SySV init editor to configure start/stop at the appropriate runlevels.
Note: in my experience, the modem driver works well for dialing out. However, when used in connection with mgetty for dialing in, it hangs the machine (and then only the power button helps :-(). I am working on finding out the reason for that (it seems that mgetty does not initialize the modem properly). In any case, the driver is suitable to connect e.g. to your internet service provider (which is the most likely application anyway) or to send faxes. Please drop me a mail if you find a solution to this problem. |
|