smartlink的modem在ubuntu下的安装问题
我的Ubuntu 在 2.6.10-5-386 & 2.6.10-5-686 下面都是这个问题ibmT42的笔记本,modem应该是intel的,可是我在thinkwiki上看到,smartlink的驱动应该也可以用
我已经装了sl-modem-source、sl-modem-daemon、sl-modem-modules
以及没有默认安装的linux-headers、build-essential、fakeroot.
装完之后还是没法联网
lspci :
0000:00:00.0 Host bridge: Intel Corp. 82855PM Processor to I/O Controller (rev 0 3)
0000:00:01.0 PCI bridge: Intel Corp. 82855PM Processor to AGP Controller (rev 03 )
0000:00:1d.0 USB Controller: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) US B UHCI Controller #1 (rev 01)
0000:00:1d.1 USB Controller: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) US B UHCI Controller #2 (rev 01)
0000:00:1d.2 USB Controller: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) US B UHCI Controller #3 (rev 01)
0000:00:1d.7 USB Controller: Intel Corp. 82801DB/DBM (ICH4/ICH4-M) USB 2.0 EHCI Controller (rev 01)
0000:00:1e.0 PCI bridge: Intel Corp. 82801 PCI Bridge (rev 81)
0000:00:1f.0 ISA bridge: Intel Corp. 82801DBM LPC Interface Controller (rev 01)
0000:00:1f.1 IDE interface: Intel Corp. 82801DBM (ICH4) Ultra ATA Storage Contro ller (rev 01)
0000:00:1f.3 SMBus: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) SMBus Contr oller (rev 01)
0000:00:1f.5 Multimedia audio controller: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4 -L/ICH4-M) AC'97 Audio Controller (rev 01)
0000:00:1f.6 Modem: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 ModemController (rev 01)
0000:01:00.0 VGA compatible controller: ATI Technologies Inc Radeon Mobility M7 LW
0000:02:00.0 CardBus bridge: Texas Instruments PCI4520 PC card Cardbus Controlle r (rev 01)
0000:02:00.1 CardBus bridge: Texas Instruments PCI4520 PC card Cardbus Controlle r (rev 01)
0000:02:01.0 Ethernet controller: Intel Corp. 82540EP Gigabit Ethernet Controlle r (Mobile) (rev 03)
0000:02:02.0 Network controller: Intel Corp. PRO/Wireless 2200BG (rev 05)
我又下了slmodem-2.9.9但是make 的时候有如下报错:
root@ubuntu:/home/hash/Desktop/slmodem-2.9.9 # make SUPPORT_ASLA=1
make -C modem all
make: Entering directory `/home/hash/Desktop/slmodem-2.9.9/modem'
rebuild profile...
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -o modem_main.o -c modem_main.c
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -o modem_cmdline.o -c modem_cmdline.c
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -o modem.o -c modem.c
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -o modem_datafile.o -c modem_datafile .c
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -o modem_at.o -c modem_at.c
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -o modem_timer.o -c modem_timer.c
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -o modem_pack.o -c modem_pack.c
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -o modem_ec.o -c modem_ec.c
modem_ec.c:689: warning: `t403_timeout' defined but not used
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -o modem_comp.o -c modem_comp.c
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -o modem_param.o -c modem_param.c
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -o modem_debug.o -c modem_debug.c
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -o homolog_data.o -c homolog_data.c
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -o dp_sinus.o -c dp_sinus.c
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -o dp_dummy.o -c dp_dummy.c
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -o sysdep_common.o -c sysdep_common.c
gcc -o slmodemd modem_main.o modem_cmdline.o modem.o modem_datafile.o modem_at.o modem_timer.o modem_pack.o modem_ec.o modem_comp.o modem_param.o modem_debug.o homolog_data.o dp_sinus.o dp_dummy.o dsplibs.o sysdep_common.o
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -o modem_test.o -c modem_test.c
gcc -o modem_test modem_test.o modem_cmdline.o modem.o modem_datafile.o modem_at .o modem_timer.o modem_pack.o modem_ec.o modem_comp.o modem_param.o modem_debug. o homolog_data.o dp_sinus.o dp_dummy.o dsplibs.o sysdep_common.o
make: Leaving directory `/home/hash/Desktop/slmodem-2.9.9/modem'
make -C drivers KERNEL_DIR=/lib/modules/2.6.10-5-686/build
make: Entering directory `/home/hash/Desktop/slmodem-2.9.9/drivers'
cc -I/lib/modules/2.6.10-5-686/build/include -o kernel-ver kernel-ver.c
make all KERNEL_VER=2.6.0-test7
make: Entering directory `/home/hash/Desktop/slmodem-2.9.9/drivers'
make modules -C /lib/modules/2.6.10-5-686/build SUBDIRS=/home/hash/Desktop/slmod em-2.9.9/drivers
make: Entering directory `/usr/src/linux-headers-2.6.10-5-686'
CC /home/hash/Desktop/slmodem-2.9.9/drivers/amrmo_init.o
In file included from /home/hash/Desktop/slmodem-2.9.9/drivers/amrmo_init.c:46:
include/linux/config.h:4:28: linux/autoconf.h: 没有那个文件或目录
In file included from include/asm/thread_info.h:17,
from include/linux/thread_info.h:21,
from include/linux/spinlock.h:12,
from include/linux/capability.h:45,
from include/linux/sched.h:7,
from include/linux/module.h:10,
from /home/hash/Desktop/slmodem-2.9.9/drivers/amrmo_init.c:47:
include/asm/processor.h:68: error: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here ( not in a function)
include/asm/processor.h:68: error: requested alignment is not a constant
In file included from include/linux/list.h:7,
from include/linux/wait.h:23,
from include/asm/semaphore.h:41,
from include/linux/sched.h:18,
from include/linux/module.h:10,
from /home/hash/Desktop/slmodem-2.9.9/drivers/amrmo_init.c:47:
include/linux/prefetch.h: In function `prefetch_range':
include/linux/prefetch.h:64: error: `CONFIG_X86_L1_CACHE_SHIFT' undeclared (firs t use in this function)
include/linux/prefetch.h:64: error: (Each undeclared identifier is reported only once
include/linux/prefetch.h:64: error: for each function it appears in.)
In file included from include/linux/module.h:23,
from /home/hash/Desktop/slmodem-2.9.9/drivers/amrmo_init.c:47:
include/asm/module.h:56:2: #error unknown processor family
/home/hash/Desktop/slmodem-2.9.9/drivers/amrmo_init.c:48:27: linux/version.h: 没 有那个文件或目录
In file included from include/asm/hardirq.h:6,
from include/linux/hardirq.h:6,
from include/linux/interrupt.h:11,
from /home/hash/Desktop/slmodem-2.9.9/drivers/amrmo_init.c:52:
include/linux/irq.h: At top level:
include/linux/irq.h:69: error: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function)
include/linux/irq.h:69: error: requested alignment is not a constant
In file included from include/linux/hardirq.h:6,
from include/linux/interrupt.h:11,
from /home/hash/Desktop/slmodem-2.9.9/drivers/amrmo_init.c:52:
include/asm/hardirq.h:13: error: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (no t in a function)
include/asm/hardirq.h:13: error: requested alignment is not a constant
/home/hash/Desktop/slmodem-2.9.9/drivers/amrmo_init.c:58:40: missing binary oper ator before token "("
/home/hash/Desktop/slmodem-2.9.9/drivers/amrmo_init.c: In function `amrmo_pci_pr obe':
/home/hash/Desktop/slmodem-2.9.9/drivers/amrmo_init.c:548: warning: implicit dec laration of function `pci_request_regions'
/home/hash/Desktop/slmodem-2.9.9/drivers/amrmo_init.c:560: warning: implicit dec laration of function `pci_release_regions'
/home/hash/Desktop/slmodem-2.9.9/drivers/amrmo_init.c: In function `amrmo_init':
/home/hash/Desktop/slmodem-2.9.9/drivers/amrmo_init.c:712: warning: implicit dec laration of function `pci_dev_driver'
make: *** 错误 1
make: *** 错误 2
make: Leaving directory `/usr/src/linux-headers-2.6.10-5-686'
make: *** 错误 2
make: Leaving directory `/home/hash/Desktop/slmodem-2.9.9/drivers'
make: *** 错误 2
make: Leaving directory `/home/hash/Desktop/slmodem-2.9.9/drivers'
make: *** 错误 2
请问我是不是缺少什么文件或者设置?
我试着装了intel537EP的驱动,可是也报错,晚上再贴报错的信息 自己没看说明,想当然的以为装好了
如果用ALSA mode,需要编译slmodemd的时候make --SUPPORT_ALSA=1
如果自己编译驱动,需要编译slamr和slusb
经过实验smartlink 2.9.10驱动在ubuntu2.6.10上无法使用,需要使用2.9.9的驱动 谢谢您
我还没试过alsa......
我不太明白怎么编译您说的slamr
我倒是下过一个包slamr_for_Ubuntu_kernel-2.6.10-5-386_ONLY.tar.gz
按照里面的说明,用insmod或者modprobe都提示slamr.ko(好像是这个)不是module,大概是这个意思。
您知道是怎么回事吗?
还是必须要装2.9.9的驱动?
我之前试过2.9.9d的
我现在用从linuxant上下到的一个hsfmodem_7.18.00.05full_k2.6.10_5_686_ubuntu_i386.deb
可以驱动我的猫,但是必须要注册交15美元才能解除现在让人难以忍受的14.4k的速度限制。。。。。。 我下了slmodem-2.9.9.tar.gz
然后make SUPPORT_ASLA=1
可是报了下列的错......
root@ubuntu:/home/hash/Desktop/slmodem-2.9.9 # make SUPPORT_ASLA=1
make -C modem all
make: Entering directory `/home/hash/Desktop/slmodem-2.9.9/modem'
rebuild profile...
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -o modem_main.o -c modem_main.c
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -o modem_cmdline.o -c modem_cmdline.c
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -o modem.o -c modem.c
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -o modem_datafile.o -c modem_datafile .c
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -o modem_at.o -c modem_at.c
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -o modem_timer.o -c modem_timer.c
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -o modem_pack.o -c modem_pack.c
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -o modem_ec.o -c modem_ec.c
modem_ec.c:689: warning: `t403_timeout' defined but not used
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -o modem_comp.o -c modem_comp.c
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -o modem_param.o -c modem_param.c
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -o modem_debug.o -c modem_debug.c
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -o homolog_data.o -c homolog_data.c
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -o dp_sinus.o -c dp_sinus.c
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -o dp_dummy.o -c dp_dummy.c
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -o sysdep_common.o -c sysdep_common.c
gcc -o slmodemd modem_main.o modem_cmdline.o modem.o modem_datafile.o modem_at.omodem_timer.o modem_pack.o modem_ec.o modem_comp.o modem_param.o modem_debug.o homolog_data.o dp_sinus.o dp_dummy.o dsplibs.o sysdep_common.o
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -o modem_test.o -c modem_test.c
gcc -o modem_test modem_test.o modem_cmdline.o modem.o modem_datafile.o modem_at .o modem_timer.o modem_pack.o modem_ec.o modem_comp.o modem_param.o modem_debug. o homolog_data.o dp_sinus.o dp_dummy.o dsplibs.o sysdep_common.o
make: Leaving directory `/home/hash/Desktop/slmodem-2.9.9/modem'
make -C drivers KERNEL_DIR=/lib/modules/2.6.10-5-686/build
make: Entering directory `/home/hash/Desktop/slmodem-2.9.9/drivers'
cc -I/lib/modules/2.6.10-5-686/build/include -o kernel-ver kernel-ver.c
make all KERNEL_VER=2.6.0-test7
make: Entering directory `/home/hash/Desktop/slmodem-2.9.9/drivers'
make modules -C /lib/modules/2.6.10-5-686/build SUBDIRS=/home/hash/Desktop/slmod em-2.9.9/drivers
make: Entering directory `/usr/src/linux-headers-2.6.10-5-686'
CC /home/hash/Desktop/slmodem-2.9.9/drivers/amrmo_init.o
In file included from /home/hash/Desktop/slmodem-2.9.9/drivers/amrmo_init.c:46:
include/linux/config.h:4:28: linux/autoconf.h: 没有那个文件或目录
In file included from include/asm/thread_info.h:17,
from include/linux/thread_info.h:21,
from include/linux/spinlock.h:12,
from include/linux/capability.h:45,
from include/linux/sched.h:7,
from include/linux/module.h:10,
from /home/hash/Desktop/slmodem-2.9.9/drivers/amrmo_init.c:47:
include/asm/processor.h:68: error: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here ( not in a function)
include/asm/processor.h:68: error: requested alignment is not a constant
In file included from include/linux/list.h:7,
from include/linux/wait.h:23,
from include/asm/semaphore.h:41,
from include/linux/sched.h:18,
from include/linux/module.h:10,
from /home/hash/Desktop/slmodem-2.9.9/drivers/amrmo_init.c:47:
include/linux/prefetch.h: In function `prefetch_range':
include/linux/prefetch.h:64: error: `CONFIG_X86_L1_CACHE_SHIFT' undeclared (firs t use in this function)
include/linux/prefetch.h:64: error: (Each undeclared identifier is reported onlyonce
include/linux/prefetch.h:64: error: for each function it appears in.)
In file included from include/linux/module.h:23,
from /home/hash/Desktop/slmodem-2.9.9/drivers/amrmo_init.c:47:
include/asm/module.h:56:2: #error unknown processor family
/home/hash/Desktop/slmodem-2.9.9/drivers/amrmo_init.c:48:27: linux/version.h: 没 有那个文件或目录
In file included from include/asm/hardirq.h:6,
from include/linux/hardirq.h:6,
from include/linux/interrupt.h:11,
from /home/hash/Desktop/slmodem-2.9.9/drivers/amrmo_init.c:52:
include/linux/irq.h: At top level:
include/linux/irq.h:69: error: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function)
include/linux/irq.h:69: error: requested alignment is not a constant
In file included from include/linux/hardirq.h:6,
from include/linux/interrupt.h:11,
from /home/hash/Desktop/slmodem-2.9.9/drivers/amrmo_init.c:52:
include/asm/hardirq.h:13: error: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (no t in a function)
include/asm/hardirq.h:13: error: requested alignment is not a constant
/home/hash/Desktop/slmodem-2.9.9/drivers/amrmo_init.c:58:40: missing binary oper ator before token "("
/home/hash/Desktop/slmodem-2.9.9/drivers/amrmo_init.c: In function `amrmo_pci_pr obe':
/home/hash/Desktop/slmodem-2.9.9/drivers/amrmo_init.c:548: warning: implicit dec laration of function `pci_request_regions'
/home/hash/Desktop/slmodem-2.9.9/drivers/amrmo_init.c:560: warning: implicit dec laration of function `pci_release_regions'
/home/hash/Desktop/slmodem-2.9.9/drivers/amrmo_init.c: In function `amrmo_init':
/home/hash/Desktop/slmodem-2.9.9/drivers/amrmo_init.c:712: warning: implicit dec laration of function `pci_dev_driver'
make: *** 错误 1
make: *** 错误 2
make: Leaving directory `/usr/src/linux-headers-2.6.10-5-686'
make: *** 错误 2
make: Leaving directory `/home/hash/Desktop/slmodem-2.9.9/drivers'
make: *** 错误 2
make: Leaving directory `/home/hash/Desktop/slmodem-2.9.9/drivers'
make: *** 错误 2
请问该怎么解决呢?
页:
[1]