LinuxSir.cn,穿越时空的Linuxsir!

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

Intel Corp. 536EP Data Fax Modem如何在FC2下驱动

[复制链接]
发表于 2004-8-30 18:25:56 | 显示全部楼层 |阅读模式
我安装FC2但怎么也找不到这个该死的猫.点解如何才能找到它.
发表于 2004-8-31 05:50:04 | 显示全部楼层
发表于 2004-9-2 11:06:12 | 显示全部楼层
这个猫应该是537sp的,先到Snoopy兄说的地址上找找

http://linmodems.technion.ac.il/packages/Intel/537/
 楼主| 发表于 2004-9-3 16:31:36 | 显示全部楼层
谢谢,我用scanmodem得到的结果是Use Intel-537SP-2.37.50.1.tgz
但下载后安装却有如下错误:
[root@localhost intel-537SP-2.37.50.0]# make clean
cd coredrv; make clean
make[1]: Entering directory `/root/downlond/modem/intel-537SP-2.37.50.0/coredrv'rm -f *.ko *.o *~ core
make[1]: Leaving directory `/root/downlond/modem/intel-537SP-2.37.50.0/coredrv'
rm -f *.o *.ko
[root@localhost intel-537SP-2.37.50.0]# make
usage: make [clean] or [install] or [check] or [config_sync] or [uninstall] or [537]
[root@localhost intel-537SP-2.37.50.0]# make 537
if [ -a /boot/vmlinuz.version.h ]; then \
        cp /boot/vmlinuz.version.h /lib/modules/`uname -r`/build/include/linux/version.h; fi
if [  ]; then \
cd coredrv; make TARGET=TARGET_CATAWBA KERNEL_SOURCE_PATH= "STN_DEF=-DTARGET_CATAWBA -DTARGET_LINUX -DLINUX" 537core; \
else \
cd coredrv; make TARGET=TARGET_CATAWBA KERNEL_INCLUDES=/lib/modules/`uname -r`/build/include \
       "STN_DEF=-DTARGET_CATAWBA -DTARGET_LINUX -DLINUX" 537core; \
        fi ;
make[1]: Entering directory `/root/downlond/modem/intel-537SP-2.37.50.0/coredrv'cc -DTARGET_CATAWBA -DTARGET_LINUX -DLINUX -Wall -O -I /lib/modules/`uname -r`/build/include -I ../inc -fno-common -DTARGET_CATAWBA   -c -o coredrv.o coredrv.c
In file included from /lib/modules/2.6.8-1.521/build/include/linux/irq.h:20,
                 from /lib/modules/2.6.8-1.521/build/include/asm/hardirq.h:6,
                 from /lib/modules/2.6.8-1.521/build/include/linux/delay.h:13,
                 from coredrv.c:34:
/lib/modules/2.6.8-1.521/build/include/asm/irq.h:16:25: irq_vectors.h: 没有那个 文件或目录
In file included from /lib/modules/2.6.8-1.521/build/include/asm/hardirq.h:6,
                 from /lib/modules/2.6.8-1.521/build/include/linux/delay.h:13,
                 from coredrv.c:34:
/lib/modules/2.6.8-1.521/build/include/linux/irq.h:70: error: `NR_IRQS' undeclared here (not in a function)
In file included from /lib/modules/2.6.8-1.521/build/include/linux/irq.h:72,
                 from /lib/modules/2.6.8-1.521/build/include/asm/hardirq.h:6,
                 from /lib/modules/2.6.8-1.521/build/include/linux/delay.h:13,
                 from coredrv.c:34:
/lib/modules/2.6.8-1.521/build/include/asm/hw_irq.h:28: error: `NR_IRQ_VECTORS' undeclared here (not in a function)
/lib/modules/2.6.8-1.521/build/include/asm/hw_irq.h:32: error: `NR_IRQS' undeclared here (not in a function)
coredrv.c:73: warning: conflicting types for built-in function `putchar'
coredrv.c: In function `interruptible_sleep_on_persistReadQ':
coredrv.c:706: warning: `interruptible_sleep_on' is deprecated (declared at /lib/modules/2.6.8-1.521/build/include/linux/wait.h:249)
make[1]: *** [coredrv.o] 错误 1
make[1]: Leaving directory `/root/downlond/modem/intel-537SP-2.37.50.0/coredrv'
make: *** [537] 错误 2
[root@localhost intel-537SP-2.37.50.0]# make install
if [ -a /boot/vmlinuz.version.h ]; then \
        cp /boot/vmlinuz.version.h /lib/modules/`uname -r`/build/include/linux/version.h; fi
if [  ]; then \
cd coredrv; make TARGET=TARGET_CATAWBA KERNEL_SOURCE_PATH= "STN_DEF=-DTARGET_CATAWBA -DTARGET_LINUX -DLINUX" 537core; \
else \
cd coredrv; make TARGET=TARGET_CATAWBA KERNEL_INCLUDES=/lib/modules/`uname -r`/build/include \
       "STN_DEF=-DTARGET_CATAWBA -DTARGET_LINUX -DLINUX" 537core; \
        fi ;
make[1]: Entering directory `/root/downlond/modem/intel-537SP-2.37.50.0/coredrv'cc -DTARGET_CATAWBA -DTARGET_LINUX -DLINUX -Wall -O -I /lib/modules/`uname -r`/build/include -I ../inc -fno-common -DTARGET_CATAWBA   -c -o coredrv.o coredrv.c
In file included from /lib/modules/2.6.8-1.521/build/include/linux/irq.h:20,
                 from /lib/modules/2.6.8-1.521/build/include/asm/hardirq.h:6,
                 from /lib/modules/2.6.8-1.521/build/include/linux/delay.h:13,
                 from coredrv.c:34:
/lib/modules/2.6.8-1.521/build/include/asm/irq.h:16:25: irq_vectors.h: 没有那个 文件或目录
In file included from /lib/modules/2.6.8-1.521/build/include/asm/hardirq.h:6,
                 from /lib/modules/2.6.8-1.521/build/include/linux/delay.h:13,
                 from coredrv.c:34:
/lib/modules/2.6.8-1.521/build/include/linux/irq.h:70: error: `NR_IRQS' undeclared here (not in a function)
In file included from /lib/modules/2.6.8-1.521/build/include/linux/irq.h:72,
                 from /lib/modules/2.6.8-1.521/build/include/asm/hardirq.h:6,
                 from /lib/modules/2.6.8-1.521/build/include/linux/delay.h:13,
                 from coredrv.c:34:
/lib/modules/2.6.8-1.521/build/include/asm/hw_irq.h:28: error: `NR_IRQ_VECTORS' undeclared here (not in a function)
/lib/modules/2.6.8-1.521/build/include/asm/hw_irq.h:32: error: `NR_IRQS' undeclared here (not in a function)
coredrv.c:73: warning: conflicting types for built-in function `putchar'
coredrv.c: In function `interruptible_sleep_on_persistReadQ':
coredrv.c:706: warning: `interruptible_sleep_on' is deprecated (declared at /lib/modules/2.6.8-1.521/build/include/linux/wait.h:249)
make[1]: *** [coredrv.o] 错误 1
make[1]: Leaving directory `/root/downlond/modem/intel-537SP-2.37.50.0/coredrv'
make: *** [537] 错误 2
####################################################

请问可以解决一下这个问题吗?
 楼主| 发表于 2004-9-3 16:34:32 | 显示全部楼层
看看配置

[root@localhost root]# lspci -v
00:00.0 Host bridge: Intel Corp. 82875P Memory Controller Hub (rev 02)
        Subsystem: Unknown device 1695:4003
        Flags: bus master, fast devsel, latency 0
        Memory at e8000000 (32-bit, prefetchable)
        Capabilities: [e4] #09 [2106]
        Capabilities: [a0] AGP version 3.0

00:01.0 PCI bridge: Intel Corp. 82875P Processor to AGP Controller (rev 02) (prog-if 00 [Normal decode])
        Flags: bus master, 66Mhz, fast devsel, latency 64
        Bus: primary=00, secondary=01, subordinate=01, sec-latency=32
        Memory behind bridge: f8000000-f9ffffff
        Prefetchable memory behind bridge: f0000000-f7ffffff

00:1d.0 USB Controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB UHCI #1 (rev 02) (prog-if 00 [UHCI])
        Subsystem: Unknown device 1695:4003
        Flags: bus master, medium devsel, latency 0, IRQ 5
        I/O ports at c000

00:1d.1 USB Controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB UHCI #2 (rev 02) (prog-if 00 [UHCI])
        Subsystem: Unknown device 1695:4003
        Flags: bus master, medium devsel, latency 0, IRQ 9
        I/O ports at c400

00:1d.2 USB Controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB UHCI #3 (rev 02) (prog-if 00 [UHCI])
        Subsystem: Unknown device 1695:4003
        Flags: bus master, medium devsel, latency 0, IRQ 5
        I/O ports at c800

00:1d.3 USB Controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB UHCI #4 (rev 02) (prog-if 00 [UHCI])
        Subsystem: Unknown device 1695:4003
        Flags: bus master, medium devsel, latency 0, IRQ 5
        I/O ports at cc00

00:1d.7 USB Controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB2 EHCI Controller (rev 02) (prog-if 20 [EHCI])
        Subsystem: Unknown device 1695:4003
        Flags: bus master, medium devsel, latency 0, IRQ 11
        Memory at fa800000 (32-bit, non-prefetchable)
        Capabilities: [50] Power Management version 2

00:1e.0 PCI bridge: Intel Corp. 82801BA/CA/DB/EB/ER Hub interface to PCI Bridge (rev c2) (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0
        Bus: primary=00, secondary=02, subordinate=02, sec-latency=32
        Memory behind bridge: fa000000-fa7fffff

00:1f.0 ISA bridge: Intel Corp. 82801EB/ER (ICH5/ICH5R) LPC Bridge (rev 02)
        Flags: bus master, medium devsel, latency 0

00:1f.1 IDE interface: Intel Corp. 82801EB/ER (ICH5/ICH5R) Ultra ATA 100 Storage Controller (rev 02) (prog-if 8a [Master SecP PriP])
        Subsystem: Unknown device 1695:4003
        Flags: bus master, medium devsel, latency 0, IRQ 5
        I/O ports at <unassigned>
        I/O ports at <unassigned>
        I/O ports at <unassigned>
        I/O ports at <unassigned>
        I/O ports at f000
        Memory at 10000000 (32-bit, non-prefetchable) [size=1K]

00:1f.3 SMBus: Intel Corp. 82801EB/ER (ICH5/ICH5R) SMBus Controller (rev 02)
        Subsystem: Unknown device 1695:4003
        Flags: medium devsel, IRQ 11
        I/O ports at 0500

00:1f.5 Multimedia audio controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller (rev 02)
        Subsystem: Unknown device 1695:4003
        Flags: bus master, medium devsel, latency 0, IRQ 11
        I/O ports at d400
        I/O ports at d800
        Memory at fa801000 (32-bit, non-prefetchable) [size=512]
        Memory at fa802000 (32-bit, non-prefetchable) [size=256]
        Capabilities: [50] Power Management version 2

01:00.0 VGA compatible controller: nVidia Corporation NV34 [GeForce FX 5200] (rev a1) (prog-if 00 [VGA])
        Subsystem: Micro-Star International Co., Ltd.: Unknown device 9360
        Flags: bus master, 66Mhz, medium devsel, latency 248, IRQ 5
        Memory at f8000000 (32-bit, non-prefetchable)
        Memory at f0000000 (32-bit, prefetchable) [size=128M]
        Capabilities: [60] Power Management version 2
        Capabilities: [44] AGP version 3.0

02:01.0 Ethernet controller: Broadcom Corporation BCM4401 100Base-T (rev 01)
        Subsystem: Unknown device 1695:9012
        Flags: bus master, fast devsel, latency 32, IRQ 11
        Memory at fa400000 (32-bit, non-prefetchable)
        Capabilities: [40] Power Management version 2

02:05.0 Communication controller: Intel Corp. 536EP Data Fax Modem
        Subsystem: Intel Corp.: Unknown device 1005
        Flags: bus master, medium devsel, latency 32, IRQ 9
        Memory at fa000000 (32-bit, non-prefetchable)
        Capabilities: [e0] Power Management version 2
 楼主| 发表于 2004-9-4 17:54:05 | 显示全部楼层
没有人可以解吗?
发表于 2004-9-4 21:48:14 | 显示全部楼层
02:05.0 Communication controller: Intel Corp. 536EP Data Fax Modem
Subsystem: Intel Corp.: Unknown device 1005
Flags: bus master, medium devsel, latency 32, IRQ 9
Memory at fa000000 (32-bit, non-prefetchable)
Capabilities: [e0] Power Management version 2


这个猫 是 536EP 的,所以兄弟用的驱动不对,请到下面这个地址,根据内核来选择猫的驱动。

http://linmodems.technion.ac.il/packages/Intel/536/

请查看一下自己系统的内核

#uname -a

举例:

[beinan@S0 beinan]$ uname -a
Linux S0 2.6.7 #2 Sun Jun 18 21:27:06 CST 2006 ppc ppc ppc GNU/Linux
[beinan@S0 beinan]$


试试看,有需要帮助请回帖。

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

本版积分规则

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