LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
楼主: 3331

也是PCTEL猫的问题

[复制链接]
 楼主| 发表于 2002-12-8 19:27:17 | 显示全部楼层
00:01.6 Modem: Silicon Integrated Systems [SiS] 56k Winmodem (Smart Link HAMR5600 compatible) (rev a0)

我用的是移动PC,我看不见芯片,那么我应该用什么驱动?
发表于 2002-12-9 13:36:41 | 显示全部楼层
想了好长的时间也不知道出在什么地方,slmdm-2.7.5.tar.gz这个驱动能安装上吗。如果不能,有什么不错误信息。。
 楼主| 发表于 2002-12-10 20:59:38 | 显示全部楼层
make
make install-amr
都没问题,
kppp里选/dev/modem,modem也能找到,
拨号时初始化也没问题,
就是提示NO CARRIER.

:`(
 楼主| 发表于 2002-12-10 21:03:40 | 显示全部楼层
可是我的windows xp却是pctel的驱动,我也不明白,
机器我也试着打开,不太容易,我就没敢继续了,毕竟七千大洋啊,万一有个三长两短,电脑公司不认,就栽大了。
发表于 2002-12-10 21:09:20 | 显示全部楼层
把无拔号音ATX3检测去掉怎么样?
 楼主| 发表于 2002-12-10 21:21:40 | 显示全部楼层
如果我把电话线拔掉,提示 “没有拨号音”
电话线接上后,提示 “没有载波”
就是说我在拨号时已经通过 拨号音检测这一关了,
南北兄,你看是不是这回事?
 楼主| 发表于 2002-12-10 21:25:05 | 显示全部楼层
SiS生不生产modem芯片啊,我在网上是没找到。
(病急乱投医)
发表于 2002-12-10 23:33:42 | 显示全部楼层
找到了。。这是一个BUG,证明已经成功安装了。请兄弟看一下这里的解决办法。。

http://www.linux.org/docs/ldp/ho ... -Config/ot.html#BUG


7.6. Bugs in the pctel-0.9.3 and the 0.8.6 versions.

There is a serious bug in the drivers for the kernel 2.4x The modem often seems to stop working/hang while dialing out, and you get nothing but a beeeeeeeeee... sound from the modem speaker and later, the dialer gives a message No Carrier and disconnects.

This problem has no real workaround , but sometimes unloading and reloading of the modules work. For that the commands will be (assuming that you have the modules in /lib/modules/'your kernel version`/misc/ )

bash$ rmmod ptserial

bash$ rmmod pctel

bash$ insmod pctel

bash$ insmod ptserial

Note

NOTE:You must exit from your dialer before trying to unload the drivers, otherwise you will get a device or resource busy error.

When the problems become too acute, the only solution seems to be rebooting.

It has been also noticed that sometimes, this problem is ISP dependent, with the problem surfacing when using a particular ISP.
 楼主| 发表于 2002-12-13 11:45:17 | 显示全部楼层
[root@localhost tmp]# cd pctel-0.9.4
[root@localhost pctel-0.9.4]# ls
acinclude.m4  configure      FAQ         lib          misc           NEWS
aclocal.m4    configure.in   include     m4           missing        README
AUTHORS       COPYING        INSTALL     Makefile.am  mkinstalldirs  src
ChangeLog     cvscompile.sh  install-sh  Makefile.in  modules
[root@localhost pctel-0.9.4]# ./configure --with-hal=via686a
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for mawk... no
checking for gawk... gawk
checking whether make sets ${MAKE}... yes
checking build driver for... HAL_VIA686A
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for executable suffix...
checking for object suffix... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of gcc... none
checking whether make sets ${MAKE}... (cached) yes
checking for a BSD compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking for mawk... (cached) gawk
checking how to run the C preprocessor... gcc -E
checking for /usr/src/linux/include/linux/modversions.h... yes
checking for Linux kernel version >= 2.4.0... yes
checking for Linux kernel version >= 2.4.7... yes
checking for mknod... mknod
checking for chgrp... chgrp
checking for chmod... chmod
checking for depmod... depmod
checking for rmmod... rmmod
checking for lsmod... lsmod
checking for modprobe... modprobe
checking for objdump... objdump
checking for objcopy... objcopy
configure: creating ./config.status
config.status: creating Makefile
config.status: creating lib/Makefile
config.status: creating modules/Makefile
config.status: creating include/Makefile
config.status: creating src/Makefile
config.status: creating src/module/Makefile
config.status: creating src/ptserial/Makefile
config.status: creating misc/Makefile
config.status: creating misc/pctel.spec
config.status: creating misc/SlackBuild
config.status: creating misc/build_rpms.sh
config.status: creating m4/Makefile
[root@localhost pctel-0.9.4]# make
Making all in src
make[1]: Entering directory `/tmp/pctel-0.9.4/src'
Making all in module
make[2]: Entering directory `/tmp/pctel-0.9.4/src/module'
rm -f *~ \#* .*~ .\#*
rm -f ptmodule.o
rm -f ptmodule.o
rm -f ../../modules/pctel.o
gcc    -D__KERNEL__ -Werror -Wno-trigraphs -fno-common -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -fno-strength-reduce -DMODULE -DMODVERSIONS -DEXPORT_SYMTAB -DHAL_VIA686A -DAUDIO_ROUTING -DVIA -I../../include -I/usr/src/linux/include -include /usr/src/linux/include/linux/modversions.h -DPACKAGE=\"pctel\" -DVERSION=\"0.9.4\"   -c -o ptmodule.o ptmodule.c
ld -r -o ../../modules/pctel.o ptmodule.o ../../lib/control.a ../../lib/vuart.o ../../lib/via/dsp.a ../../lib/via/via686ahal.a
ld -r -o tmp.o ../../lib/control.a ../../lib/vuart.o ../../lib/via/dsp.a ../../lib/via/via686ahal.a
make[3]: Entering directory `/tmp/pctel-0.9.4/src/module'
-=- Fixing wrong symbol names: kmalloc, kfree, printk and __udelay. -=-
make[3]: Leaving directory `/tmp/pctel-0.9.4/src/module'
ld -r -o ../../modules/pctel.o ptmodule.o tmp.o
make[3]: Entering directory `/tmp/pctel-0.9.4/src/module'
-=- Fixing .modinfo section -=-
make[3]: Leaving directory `/tmp/pctel-0.9.4/src/module'
make[2]: Leaving directory `/tmp/pctel-0.9.4/src/module'
Making all in ptserial
make[2]: Entering directory `/tmp/pctel-0.9.4/src/ptserial'
rm -f *~ \#* .*~ .\#*
rm -f ptserial.o ptserial.c
rm -f ptserial.o
rm -f ../../modules/ptserial.o
ln -s -f ptserial-2.4.7.c ../../src/ptserial/ptserial.c
make ptserial.o
make[3]: Entering directory `/tmp/pctel-0.9.4/src/ptserial'
gcc    -D__KERNEL__ -Werror -Wno-trigraphs -fno-common -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -fno-strength-reduce -DMODULE -DMODVERSIONS -DEXPORT_SYMTAB -DHAL_VIA686A -DAUDIO_ROUTING -DVIA -DBUILD_SYSTEM=\""`uname -s -m -r -p`\"" -DGCC_VERSION=\""`gcc --version`\"" -I../../include -I/usr/src/linux/include -include /usr/src/linux/include/linux/modversions.h -DPACKAGE=\"pctel\" -DVERSION=\"0.9.4\"   -c -o ptserial.o ptserial.c
<command line>:1:13: multi-line string literals are deprecated
make[3]: *** [ptserial.o] Error 1
make[3]: Leaving directory `/tmp/pctel-0.9.4/src/ptserial'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/tmp/pctel-0.9.4/src/ptserial'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/pctel-0.9.4/src'
make: *** [all-recursive] Error 1
[root@localhost pctel-0.9.4]#


0.9.2;0.9.3;0.9.4错误提示是一样的.
发表于 2002-12-13 23:18:34 | 显示全部楼层
./configure --with-hal=via686a 这句是对的吗?
我不太知道兄弟用的是什么主板, 也不知道用的是什么声卡,也不知道用的是什么CPU。最好把README和INSTALL发上来。
感觉特别怪。。上面的文章是说已经把驱动安装后,然后用这个方法
能解决问题。我记得兄弟安装成功过一次。。。

这个linux.org的帖子是极为重要的。。这是解决没有载波的主要方法。。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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