LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1457|回复: 12

ECOM EM-56HAMi V92 Data Fax Voice Modem)

[复制链接]
发表于 2003-3-8 17:59:12 | 显示全部楼层 |阅读模式
我是Linux新手,安装的是RedHat8.0,有问题如下:
1.目前系统能检测到声卡(显示为:C-Media AC97 Audio Device),但不能出声.
2.系统无法检测到Modem(在Windows下显示型号为 ECOM EM-56HAMi V92 Data Fax Voice Modem).在这个网页上(http://www.longway.com/doce/support/drvdown.htm)无法找到相匹配的驱动程序.
希望哪位朋友帮忙解决一下这两个问题,哪怕是提出指导性的建议,多谢!!
发表于 2003-3-9 16:28:12 | 显示全部楼层
这两个都能解决。没有一点问题。
但兄弟不会发帖,咱们论坛要一问一帖。请看我的签名,如果兄弟对论坛不是太了解,请看一下[公告]。多谢。现在我在本帖中主要说猫。

http://linmodems.technion.ac.il/ ... -v92ham-453-R80.tgz

安装方法:

下载驱动。并把驱动放到linux的分区。
解压:
#tar zxvf Intel-v92ham-453-R80.tgz

进入解压的目录。用cd 这个命令。

然后:
make
make ham
make install
再用kppp来拔号。

#kppp
要用root帐号进入操作。

声卡的解决办法。请看这一帖,我现在也用这个OSS的驱动。解决办法更简单。
http://www.linuxsir.cn/forum.php?mod=viewthread&tid=24578

下次兄弟发帖时,要记得一帖一问,要把帖子的标题说清楚。这样能提高我们的解决问题的效率。因为这帖子不仅仅是帮助我们来解决问题的,还是给有此问题的弟兄看的。关注就在相互理解中。。。。

欢迎兄弟加入LinuxSir这个家。“自由与梦想齐飞”!

北南 致意!
 楼主| 发表于 2003-3-10 18:35:57 | 显示全部楼层
北南南北兄:
我已按你说的一步不差地做了,可是依然上不了网,请再帮我看一下,谢谢!
以下是安装驱程时终端的反映:

[root@localhost Intel-v92ham-453-R80]# make ham

Module precompile check
   Current running kernel is: 2.4.18-14
   /lib/modules...   autoconf.h exists
diff: /boot/vmlinuz.autoconf.h: No such file or directory
   autoconf.h matches running kernel
diff: /boot/vmlinuz.version.h: No such file or directory
   version.h matches running kernel
cd coredrv; make \
       "STN_DEF=-DTARGET_HAM -DDSP_CODE_800_SERIES -DTARGET_LINUX -DLINUX" \
       ham;
make[1]: Entering directory `/root/.gnome-desktop/Intel-v92ham-453-R80/coredrv'
cc -DTARGET_HAM -DDSP_CODE_800_SERIES -DTARGET_LINUX -DLINUX -Wall -O -I /lib/modules/`uname -r`/build/include -I../inc    -c -o coredrv.o coredrv.c
cc -DTARGET_HAM -DDSP_CODE_800_SERIES -DTARGET_LINUX -DLINUX -Wall -O -I /lib/modules/`uname -r`/build/include -I../inc    -c -o clmmain.o clmmain.c
cc -DTARGET_HAM -DDSP_CODE_800_SERIES -DTARGET_LINUX -DLINUX -Wall -O -I /lib/modules/`uname -r`/build/include -I../inc    -c -o rts.o rts.c
cc -DTARGET_HAM -DDSP_CODE_800_SERIES -DTARGET_LINUX -DLINUX -Wall -O -I /lib/modules/`uname -r`/build/include -I../inc    -c -o task.o task.c
cc -DTARGET_HAM -DDSP_CODE_800_SERIES -DTARGET_LINUX -DLINUX -Wall -O -I /lib/modules/`uname -r`/build/include -I../inc    -c -o uart.o uart.c
cc -DTARGET_HAM -DDSP_CODE_800_SERIES -DTARGET_LINUX -DLINUX -Wall -O -I /lib/modules/`uname -r`/build/include -I../inc    -c -o wwh_dflt.o wwh_dflt.c
ld -r coredrv.o clmmain.o rts.o task.o uart.o wwh_dflt.o hamcore.lib -o hamcore.o
make[1]: Leaving directory `/root/.gnome-desktop/Intel-v92ham-453-R80/coredrv'
cp coredrv/hamcore.o .
cd serialdrv; make \
       "STN_DEF=-DTARGET_HAM -DDSP_CODE_800_SERIES -DTARGET_LINUX -DLINUX" \
        ham;
make[1]: Entering directory `/root/.gnome-desktop/Intel-v92ham-453-R80/serialdrv'
cc -DTARGET_HAM -DDSP_CODE_800_SERIES -DTARGET_LINUX -DLINUX -Wall -O -I /lib/modules/`uname -r`/build/include -I ../inc    -c -o clmdrvr.o clmdrvr.c
ld -r clmdrvr.o -o ham.o
make[1]: Leaving directory `/root/.gnome-desktop/Intel-v92ham-453-R80/serialdrv'
cp serialdrv/ham.o .
[root@localhost Intel-v92ham-453-R80]# make install
bash haminst
running kernel 2.4.18-14
installing hamregistry, used for persistant storage
installing ham module
installing hamcore module
redhat hamboot rc2.d and rc3.d scripts
starting module and utilities
error loading ham
done
[root@localhost Intel-v92ham-453-R80]#






















以下是拨号时的情况:
[root@localhost root]# kppp

DCOPServer up and running.
Xlib:  extension "RENDER" missing on display ":0.0".
Opener: received OpenLock

Opener: received OpenDevice
error opening modem device !
Opener: received RemoveLock
Opener: received OpenLock

Opener: received OpenDevice
error opening modem device !
Opener: received RemoveLock
Opener: received OpenLock

Opener: received OpenDevice
error opening modem device !
Opener: received RemoveLock
[root@localhost root]# kdeinit: Fatal IO error: client killed
kdeinit: sending SIGHUP to children.
Mutex destroy failure: Device or resource busy
kdeinit: sending SIGTERM to children.
kdeinit: Exit.
发表于 2003-3-10 19:03:48 | 显示全部楼层
1.下载驱动。
2.解压。
3.进入相应的目录

运行如下命令
#make clean
#make ham
#make install
5.设置kppp[K菜单]-》[internet]->[kppp拔号工具]
1]点设置
2]帐号-》[新的]-》[对话设置]-》
在[连接名字]中填入[我的连接],别的也可以;
在[电话号码]中添入,你上网的号码,如8163.不要填家里电话号码,是上网的电话,如163,8163,你在WIN下怎么设置这个号码,在LINUX下也一样。
在[DNS]中,可以设置你本地的DNS,如果不知道,可以打电话问电信。也可以用下面,不过上网会慢点。
202.101.103.54
202.96.168.68
202.96.134.133
注:不要动其它的选项。。。。。

然后就开始拔号,当然如果有密码,还得填上密码等,有些地方上网用8163是不需要密码的,那就不要填了,否则还是上不去
 楼主| 发表于 2003-3-10 19:11:49 | 显示全部楼层
对话窗口上有一项"检测xx"(记不清了),按完它之后出现对话框说找不到设备一类的话;所以我怀疑是安装过程中出的问题,而不是设置拨号的问题.
发表于 2003-3-10 19:59:13 | 显示全部楼层
我觉得兄弟还是打开机箱看一下猫的芯片。这样我们就能一下找到驱动和解决办法。
我还是怀疑是不是驱动不对。只有把芯片上的型号发上来,才是最好的解决问题的办法。
 楼主| 发表于 2003-3-14 14:45:58 | 显示全部楼层
我的猫型号是 ECOM EM-56HAMi V92 Data Fax Voice Modem
而你给我推荐的驱程是 Intel-v92ham-453-R80.tgz
我认为是这里出了问题 ( ham=HAMi? )
恕我无知^.^
发表于 2003-3-14 14:51:22 | 显示全部楼层
是打开机箱看到的芯片组吗??
 楼主| 发表于 2003-3-14 15:42:18 | 显示全部楼层
是从WINDOWS的设备管理器中得知的。怎么,这也有问题?
发表于 2003-3-14 19:15:51 | 显示全部楼层
我在你提供的那个网站上看到了这个驱动的,是一个自解压文件,在Win下面解开后,再到Linux下按照ReadME中的做。如果有不明白的地方解提出来让大家一起来讨论
驱动:http://www.longway.com/qdcx/56HAM/v92hamlinuxv2.4.exe


ReadMe file for the
Intel?MD563X-HaM V.92 chipset Linux driver

contents:
1.  License
2.  Release Notes
3.  Installation
4.  File Descriptions
5.  International Users
6.  Beta Tester appreciation
7.  Security issues
8.  Compilation issues
     a. Instructions for Debian Users
     b. Kernel Source
9.  What is the Hamregistry?
10. what's v92 and v44?
11. Comments, ideas, problems, fixes

---------------------------------------------------------------------------------
1. LICENSE

IMPORTANT - read the file "LICENSE.txt" for the INTEL SOFTWARE LICENSE AGREEMENT
BEFORE COPYING, INSTALLING OR USING.


also note:
The serial driver open source code located in the directory "serialdrv"
is work covered under the GNU GENERAL PUBLIC LICENSE (GPL).
The "serialdrv" directory has the GPL in the file "GPL.txt".

---------------------------------------------------------------------------------
2. Release Notes [4.15]

        22 September 2001:
                This release supports 2.4.x kernels.
               
                This release has currently be tested up to 2.4.4

                This release is not compatible to 2.2.x kernels, please use
                the 333-5 Linux ham driver.

                The 415 ham corecode binary was compiled in Mandrake 8.0 with gcc version 2.96

                v92 support added:  modem on hold AT command set,
                PCM upstream, v44, and quick connect are implemented.                         

                THE CURRENT LIST OF DISTRIBUTIONS THAT I HAVE
                TESTED AND SEEN TO WORK WITH THIS
                DRIVER ARE THE FOLLOWING:
        *        Mandrake 8.0 with Linux HaM version 415 and kernel 2.4.3-20mdk
        *        Redhat 7.1   with Linux HaM version 415 and kernel 2.4.2-2
        *        SuSE 7.2     with Linux HaM version 415 and kernel 2.4.4-4GB
                NOTE: Currently there is a problem with the HaM driver and SuSE 7.2 ppp connections.
                I have been able to get ppp connection with bellsouth by calling this bash script:
                and wvdial config section

------my script----------------------
#! /bin/sh
/usr/sbin/pppd -detach lock asyncmap 00000000 \
        defaultroute debug /dev/modem 57600 \
        ipparam ppp0 linkname ppp0 \
        noauth \
        connect "/usr/bin/wvdial --chat bellsouth"

------my /etc/wvdial.conf section ---
[Dialer bellsouth]
Modem = /dev/modem
Baud = 57600
Init1 = ATZ
Inti2 = ATQ0 V1 E1 S0=0 &C1 &D2
Dial Command = ATDT
Phone = 6859500
Username = myloginname
Password = mysecretpassword
#Ask Password = 1
Stupid Mode = 0
------------------



---------------------------------------------------------------------------------
3.  INSTALLATION

Prerequisites:
        1. root access
        2. bash shell to run install scripts
        3. a HaM modem
        4. kernel source headers for the kernel you are running

6 steps to install
        1. login as ROOT
        2. extract the archive into a directory with "tar -xvf <archivename>.tgz"
        3. cd into the directory it created.
        4. Type: make clean
        5. Type: make all
        6. Type: make install



The installation script has been designed for the following distributions release versions
NOTE: this script was created during 2.2 kernels with Linux ham driver 333-5.
        This newer driver, 412-3 does not work with 2.2 so some of these
        distributions may not work any more.

        mandrake-release
        SuSE-release
        redhat-release
        debian_version (including Corel)
        slackware-version
        conectiva-version
        bluepoint-release
        Unknown distributions install modules and utilities but
        will not install boot scripts!.

Please examine the haminst script if you have a different distribution.

The driver is split in two.  A ham serial driver and core driver.
The core driver must be loaded first since the serial driver depends on it.
The serial driver registers itself as character device major number 240, minor number 1.
The serial driver takes one argument right now, which is a number to override the default major number if you need to.


ATTENTION:  if the driver compiles but the script just wont work for you.
        Here are the bare minimum steps to get your modem to work.

        0.  log in as root.
        1.  insmod -f hamcore.o
        2.  insmod -f ham.o
        2a. you can start "hamregistry" at this point if you wish.
        3.  rm /dev/ham
        4.  mknod /dev/ham c 240 1   (note "240" is the default, if it does not work see what /proc/devices says ham's major number is)
        5.  ln -s /dev/ham /dev/modem
        6.  start a comm application like minicom and use the modem.
        7.  see section 3 (International Users) for info on setting the correct country settings.


---------------------------------------------------------------------------------
4.  FILE DESCRIPTIONS

haminst                installation script to install HaM modules and supporting files


files copied to /lib/modules/(kernel-version)/misc
hamcore.o        driver core code module
ham.o                pseudo serial driver for HaM, depends on hamcore.o

files copied to  /etc/rc.d/...  (path differes per distribution)
hamboot                boot scrip to start and stop HaM modules

files copied to /usr/sbin
hamregistry        hamregistry is the "registry" like tool that the modem uses to get and store persistant data
                such as county info and profile strings.

files copied to /etc
linhamreg.bin        file that stores the initial persistant data for modem.


---------------------------------------------------------------------------------
5.  INTERNATIONAL USERS

hamregistry will store the last country setting you
set in the modem.

in minicom (or equivalent comm application)
the commmand to change country setting is "AT+GCI="
the command takes a t.35 country code in hexadecimal.
below is a list of currently supported t.35 country codes.
you can also put this "AT" command in the init string of
the comm application you are using.

if you are a CTR-21 country I think you should be able to
choose a CTR-21 country on the list and be ok.  but
that's no guarantee.
The same goes for countries that are "USA" compatable.
(this table also exist in the source file wwh_dflt.c that
ships with the hamcore driver)

country code  , t.35 code
---------------------------
USA        1        B5
ARG        54        07
AUS        61        09
AUT        43        0A
BEL        32        0F
BOL        591        14
BRA        55        16
CHE        41        A6
CHL        56        25
CHN        86        26
COL        57        27
CYP        357        2D
DEU        49        42
DNK        45        31
DOR        47        82
ECU        593        35
ESP        34        A0
FIN        358        3C
FRA        33        3D
GBR        44        B4
GRC        30        46
HKG        852        50
IDN        62        54
IND        91        53
IRL        753        57
ISL        354        52
ISR        972        58
ITA        39        59
JPN        81        00
KOR        82        61
LIE        423        68
LUX        352        69
MEX        52        73
MYS        60        C3
NLD        31        7B
NOR        47        82
NZL        64        7E
PAK        92        84
PAN        507        85
PER        51        88
PHL        63        89
PRT        351        8B
RUS        7        B8
SAU        966        98
SGP        65        9C
SWE        46        A5
THA        66        A9
TUR        90        AE
TWN        886        26
VNM        84        BC


---------------------------------------------------------------------------------
6.  Thanks to the following beta testers for their valuable input and suggestions
        during the HaM 333 beta test between January 2 - 26, 2001

Sean Walbran
Rob Clark
Marvin Stodolsky
Dominique Duval
Roman Krais
Ulrich Guenther
Marcelino Viana Pinheiro
Thomas S. Iversen
Jospeh Teichman
Michel Bartolone (MED)
Ramon Gonzalez Montoiro
Ryoji Kawagishi
Torsten Vogel
"jandro"
Ian Carr-de Avelon
Helga Weindl
Ed Casas
Bernhard Hoelcker
Alexander "Sasha" Voytov
Albert Woo
Peter Hirschmann

and all of the helpful Linux HaM users
around the world and at www.linmodems.org

---------------------------------------------------------------------------------
7. Security issues

the haminst and hamboot file install the files and device nodes as
root for the owner and group.  
this will cause problems for those who want to user the modem to dialout
using an account other than root.

In SuSE, "dialout" is the group used to install the files and device node.
This way, anyone belonging to the "dialout" group can use the modem to dialout.
(take a look at /etc/group)

I did not want the script to allow full access of the modem to everyone without
"root" knowing.

Edit the hamboot and haminst scripts to fit your needs.

---------------------------------------------------------------------------------
8. Compile issues
   a. this driver will now compile with the this path:
        /lib/modules/<kernel version>/build/include
        the 2.4.4 kernels says to copy the /boot/vmlinuz.version.h
        over to the kernel build path.  I have the makefile do this
        if this file exists.  I found out about this new
        build procedure at the last minute.  I have not tested
        a situation where the user does not install kernel source code,
        but I am going to guess that it is no longer necessary.


---------------------------------------------------------------------------------
9.  What is the Hamregistry?
        The hamregistery is an application that stores data for the ham driver onto
        the disk.  hamregistry stores information from the driver that needs to
        persist from reboot to reboot such as you current country setting.
        The haminst install script and the hamboot script start this utility automatically for you.
        If this tool is not present when the driver gets used your profile, quickconnect,
        and current country setting will not be saved but the driver should still work fine.
        The only step that would need to be done is to make sure that the driver is set
        to the correct country with at+gci= (see section 5)


---------------------------------------------------------------------------------
10. What's v92 and v44?  

        a. modem on hold: (ISP and your ISP dialer must also support this)
                This will allow you to pause your ppp connection to answer an incoming call.
                You will need call waiting, dialer, and ISP support for this to work.  When you are done with the call you can
                resume your ppp connection without having to reconnect.  The AT command set for this feature exist in the driver.

        b,  pcm upstream: (ISP must also support this)
                This will allow faster upload speeds.

        c.  quickconnect:
                Once you make a call to a v92 modem, your phoneline characteristics are stored.
                Whenever you make a new v92 connection it will use this data to make the call negotiation
                quicker (approx 10 seconds).

        d.  v44: (ISP must also support this)
                A better compression protocol than v42 which can give you better transfer speeds.


---------------------------------------------------------------------------------
11. Comments, ideas, problems, fixes:
please contact

Dorian S. Araneda
Product Engineer,
Intel Residential Access Division (RAD)
http://developer.intel.com/design/modems/
www.intel.com   www.intc.com  (ticker: INTC)
110 Horizon Dr., Suite 300, Raleigh, NC  27615


other resources and information on Linux controllerless modems can be found on
http://www.linmodems.org
        and
http://linmodems.technion.ac.il
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表