QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 621|回复: 1

请大家参谋参谋!!!!!!!!!!

[复制链接]
发表于 2003-4-1 16:55:56 | 显示全部楼层 |阅读模式
以下是我为我的软猫装驱动的过程,但还是侦测不到猫,且装完驱动声卡就没声音,请热心人给俺分析分析。是不是声卡和那个猫不能共用一个IRQ 10?俺是菜鸟。切盼!!!!

[root@localhost pctel-0.9.6]# ./configure --with-hal=sis --with-kernel-includes=
/usr/src/linux-2.4.18-14/include/
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets ${MAKE}... yes
checking build driver for... HAL_I8XX
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 suffix of executables...
checking for suffix of object files... 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 gawk... (cached) gawk
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking /usr/src/linux-2.4.18-14/include//linux/modversions.h usability... yes
checking /usr/src/linux-2.4.18-14/include//linux/modversions.h presence... yes
checking for /usr/src/linux-2.4.18-14/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
config.status: executing depfiles commands
config.status: executing default commands
[root@localhost pctel-0.9.6]# make
Making all in src
make[1]: Entering directory `/root/Desktop/Linux/pctel-0.9.6/src'
Making all in module
make[2]: Entering directory `/root/Desktop/Linux/pctel-0.9.6/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 -DMODU
LE -DMODVERSIONS -DEXPORT_SYMTAB -DHAL_I8XX -DAUDIO_ROUTING -DSIS540 -I../../inc
lude -I/usr/src/linux-2.4.18-14/include/ -include /usr/src/linux-2.4.18-14/inclu
de//linux/modversions.h -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VER
SION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"pctel\" -DV
ERSION=\"0.9.5\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAV
E_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTY
PES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1   -c -o ptmodule.o ptmodule.c
ld -r -o ../../modules/pctel.o ptmodule.o ../../lib/control.a ../../lib/vuart.o
../../lib/sis/dsp.a ../../lib/sis/i810hal.a
ld -r -o tmp.o ../../lib/control.a ../../lib/vuart.o ../../lib/sis/dsp.a ../../l
ib/sis/i810hal.a
make[3]: Entering directory `/root/Desktop/Linux/pctel-0.9.6/src/module'
-=- Fixing wrong symbol names: kmalloc, kfree, printk and __udelay. -=-
make[3]: Leaving directory `/root/Desktop/Linux/pctel-0.9.6/src/module'
ld -r -o ../../modules/pctel.o ptmodule.o tmp.o
make[3]: Entering directory `/root/Desktop/Linux/pctel-0.9.6/src/module'
-=- Fixing .modinfo section -=-
make[3]: Leaving directory `/root/Desktop/Linux/pctel-0.9.6/src/module'
make[2]: Leaving directory `/root/Desktop/Linux/pctel-0.9.6/src/module'
Making all in ptserial
make[2]: Entering directory `/root/Desktop/Linux/pctel-0.9.6/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 `/root/Desktop/Linux/pctel-0.9.6/src/ptserial'
gcc    -D__KERNEL__ -Werror -Wno-trigraphs -fno-common -Wall -Wstrict-prototypes
-O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -fno-strength-reduce -DMODU
LE -DMODVERSIONS -DEXPORT_SYMTAB -DHAL_I8XX -DAUDIO_ROUTING -DSIS540 -DBUILD_SYS
TEM=\""`uname -s -m -r -p`\"" -DGCC_VERSION=\""`gcc --version | head -1`\"" -I..
/../include -I/usr/src/linux-2.4.18-14/include/ -include /usr/src/linux-2.4.18-1
4/include//linux/modversions.h -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACK
AGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"pcte
l\" -DVERSION=\"0.9.5\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=
1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAV
E_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1   -c -o ptserial.o ptserial.c
make[3]: Leaving directory `/root/Desktop/Linux/pctel-0.9.6/src/ptserial'
ld -r -o ../../modules/ptserial.o ptserial.o
make[2]: Leaving directory `/root/Desktop/Linux/pctel-0.9.6/src/ptserial'
make[2]: Entering directory `/root/Desktop/Linux/pctel-0.9.6/src'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/root/Desktop/Linux/pctel-0.9.6/src'
make[1]: Leaving directory `/root/Desktop/Linux/pctel-0.9.6/src'
Making all in lib
make[1]: Entering directory `/root/Desktop/Linux/pctel-0.9.6/lib'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/root/Desktop/Linux/pctel-0.9.6/lib'
Making all in modules
make[1]: Entering directory `/root/Desktop/Linux/pctel-0.9.6/modules'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/root/Desktop/Linux/pctel-0.9.6/modules'
Making all in include
make[1]: Entering directory `/root/Desktop/Linux/pctel-0.9.6/include'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/root/Desktop/Linux/pctel-0.9.6/include'
Making all in misc
make[1]: Entering directory `/root/Desktop/Linux/pctel-0.9.6/misc'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/root/Desktop/Linux/pctel-0.9.6/misc'
Making all in m4
make[1]: Entering directory `/root/Desktop/Linux/pctel-0.9.6/m4'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/root/Desktop/Linux/pctel-0.9.6/m4'
make[1]: Entering directory `/root/Desktop/Linux/pctel-0.9.6'
make[1]: Nothing to be done for `all-am'.
make[1]: Leaving directory `/root/Desktop/Linux/pctel-0.9.6'
[root@localhost pctel-0.9.6]# su
[root@localhost pctel-0.9.6]# make install
Making install in src
make[1]: Entering directory `/root/Desktop/Linux/pctel-0.9.6/src'
Making install in module
make[2]: Entering directory `/root/Desktop/Linux/pctel-0.9.6/src/module'
make[3]: Entering directory `/root/Desktop/Linux/pctel-0.9.6/src/module'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/root/Desktop/Linux/pctel-0.9.6/src/module'
make[2]: Leaving directory `/root/Desktop/Linux/pctel-0.9.6/src/module'
Making install in ptserial
make[2]: Entering directory `/root/Desktop/Linux/pctel-0.9.6/src/ptserial'
make[3]: Entering directory `/root/Desktop/Linux/pctel-0.9.6/src/ptserial'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/root/Desktop/Linux/pctel-0.9.6/src/ptserial'
make[2]: Leaving directory `/root/Desktop/Linux/pctel-0.9.6/src/ptserial'
make[2]: Entering directory `/root/Desktop/Linux/pctel-0.9.6/src'
make[3]: Entering directory `/root/Desktop/Linux/pctel-0.9.6/src'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/root/Desktop/Linux/pctel-0.9.6/src'
make[2]: Leaving directory `/root/Desktop/Linux/pctel-0.9.6/src'
make[1]: Leaving directory `/root/Desktop/Linux/pctel-0.9.6/src'
Making install in lib
make[1]: Entering directory `/root/Desktop/Linux/pctel-0.9.6/lib'
make[2]: Entering directory `/root/Desktop/Linux/pctel-0.9.6/lib'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/root/Desktop/Linux/pctel-0.9.6/lib'
make[1]: Leaving directory `/root/Desktop/Linux/pctel-0.9.6/lib'
Making install in modules
make[1]: Entering directory `/root/Desktop/Linux/pctel-0.9.6/modules'
make[2]: Entering directory `/root/Desktop/Linux/pctel-0.9.6/modules'
/bin/sh ../mkinstalldirs /lib/modules/2.4.18-14/misc
/usr/bin/install -c -o root -g root -m 644 pctel.o /lib/modules/2.4.18-14/misc/p
ctel.o
/usr/bin/install -c -o root -g root -m 644 ptserial.o /lib/modules/2.4.18-14/mis
c/ptserial.o
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/root/Desktop/Linux/pctel-0.9.6/modules'
make[1]: Leaving directory `/root/Desktop/Linux/pctel-0.9.6/modules'
Making install in include
make[1]: Entering directory `/root/Desktop/Linux/pctel-0.9.6/include'
make[2]: Entering directory `/root/Desktop/Linux/pctel-0.9.6/include'
make[2]: Nothing to be done for `install-exec-am'.
/bin/sh ../mkinstalldirs /usr/local/include/pctel
/usr/bin/install -c -m 644 pctel.h /usr/local/include/pctel/pctel.h
make[2]: Leaving directory `/root/Desktop/Linux/pctel-0.9.6/include'
make[1]: Leaving directory `/root/Desktop/Linux/pctel-0.9.6/include'
Making install in misc
make[1]: Entering directory `/root/Desktop/Linux/pctel-0.9.6/misc'
make[2]: Entering directory `/root/Desktop/Linux/pctel-0.9.6/misc'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/root/Desktop/Linux/pctel-0.9.6/misc'
make[1]: Leaving directory `/root/Desktop/Linux/pctel-0.9.6/misc'
Making install in m4
make[1]: Entering directory `/root/Desktop/Linux/pctel-0.9.6/m4'
make[2]: Entering directory `/root/Desktop/Linux/pctel-0.9.6/m4'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/root/Desktop/Linux/pctel-0.9.6/m4'
make[1]: Leaving directory `/root/Desktop/Linux/pctel-0.9.6/m4'
make[1]: Entering directory `/root/Desktop/Linux/pctel-0.9.6'
make[2]: Entering directory `/root/Desktop/Linux/pctel-0.9.6'
make[2]: Nothing to be done for `install-exec-am'.
installing FAQ as /usr/local/share/doc/pctel/FAQ
installing README as /usr/local/share/doc/pctel/README
*** Setting device file. ***
make[2]: Leaving directory `/root/Desktop/Linux/pctel-0.9.6'
make[1]: Leaving directory `/root/Desktop/Linux/pctel-0.9.6'
[root@localhost pctel-0.9.6]# insmod pctel
Using /lib/modules/2.4.18-14/misc/pctel.o
/lib/modules/2.4.18-14/misc/pctel.o: The module you are trying to load (/lib/mod
ules/2.4.18-14/misc/pctel.o) is compiled with a gcc
version 2 compiler, while the kernel you are running is compiled with
a gcc version 3 compiler. This is known to not work.
[root@localhost pctel-0.9.6]# insmod -f pctel
Using /lib/modules/2.4.18-14/misc/pctel.o
Warning: The module you are trying to load (/lib/modules/2.4.18-14/misc/pctel.o)
is compiled with a gcc
version 2 compiler, while the kernel you are running is compiled with
a gcc version 3 compiler. This is known to not work.
Warning: loading /lib/modules/2.4.18-14/misc/pctel.o will taint the kernel: non-
GPL license - GPL linked with proprietary libraries
  See http://www.tux.org/lkml/#export-tainted for information about tainted modules
Warning: loading /lib/modules/2.4.18-14/misc/pctel.o will taint the kernel: forced load
Module pctel loaded, with warnings
[root@localhost pctel-0.9.6]# insmod -f ptserial
Using /lib/modules/2.4.18-14/misc/ptserial.o
Warning: loading /lib/modules/2.4.18-14/misc/ptserial.o will taint the kernel: non-GPL license - GPL linked with proprietary libraries
  See http://www.tux.org/lkml/#export-tainted for information about tainted modules
Warning: loading /lib/modules/2.4.18-14/misc/ptserial.o will taint the kernel: forced load
Module ptserial loaded, with warnings
[root@localhost pctel-0.9.6]# tail /var/log/messages
Apr  1 13:49:02 localhost syslogd 1.4.1: restart.
Apr  1 13:51:08 localhost  4月  1 13:51:08 su(pam_unix)[7217]: session opened for user root by root(uid=0)
Apr  1 13:52:38 localhost kernel: AC97 modem device found: devnum = 80000E00, devid = 1039/7013
Apr  1 13:52:38 localhost kernel: iobase_0=0xdc00, iobase_1=0xd800,irq=10
Apr  1 13:52:38 localhost kernel: PCTel driver version 0.9.5 [5.05c-4.27.215 (09-14-2001)] (MR) (2002-01-31) with MANY_PORTS SHARE_IRQ SERIAL_PCI AUDIO_ROUTING[                  SIS540] enabled.
Apr  1 13:52:38 localhost kernel: PCTel driver built on [Linux 2.4.18-14 i686 i686 "2.4.18-14 <132114>"] with gcc-gcc (GCC) 3.2 20020903 (Red Hat Linux 8.0 3.2-                  7).
Apr  1 13:52:38 localhost kernel: ttyS15 at 0xdc00 (irq = 10) is a PCTel
Apr  1 13:52:38 localhost kernel: PCI: Found IRQ 10 for device 00:01.6
Apr  1 13:52:38 localhost kernel: PCI: Sharing IRQ 10 with 00:05.0
[root@localhost pctel-0.9.6]#
发表于 2003-4-1 17:35:41 | 显示全部楼层
Apr 1 13:52:38 localhost kernel: PCTel driver version 0.9.5 [5.05c-4.27.215 (09-14-2001)] (MR) (2002-01-31) with MANY_PORTS SHARE_IRQ SERIAL_PCI AUDIO_ROUTING[ SIS540] enabled.
Apr 1 13:52:38 localhost kernel: PCTel driver built on [Linux 2.4.18-14 i686 i686 "2.4.18-14 <132114>"] with gcc-gcc (GCC) 3.2 20020903 (Red Hat Linux 8.0 3.2- 7).
Apr 1 13:52:38 localhost kernel: ttyS15 at 0xdc00 (irq = 10) is a PCTel

猫已经驱动了,可能模拟链接到ttyS15那里,试试ln -sf /dev/ttyS15 /dev/modem,然后执行kppp,在设备那里,选择/dev/modem,拨号试试

至于声卡的问题,有可能是冲突
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-17 19:02 , Processed in 0.039723 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

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