LinuxSir.cn,穿越时空的Linuxsir!

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

内猫 Subsystem:Meidensha Corporation:Unknown device 5459

[复制链接]
发表于 2003-6-5 11:37:12 | 显示全部楼层 |阅读模式
我的MODEM
在PCI信息中显示:

01:00.0 Modem:Ali Corporation SmartPC1561 56k Modem(prog-ifoo[Generic])
Subsystem:Meidensha Corporation:Unknown device 5459
Flags:bus master,medium devsel,latency 32,IRQ5
Memory at dd001000 (32-bit,non-prefetchable)[size=4k]
I/0 ports at c000[size=256]


所以我的猫一直不可以上网,(用TTYS2,可以初始化MODEM,但无拨号音
且处于一直等待状态)
使用其的要么是 “忙” 要么就是 “无法找到调制解调器”
发表于 2003-6-5 12:53:38 | 显示全部楼层
 驱动
发表于 2003-6-5 13:07:47 | 显示全部楼层
http://www.idir.net/~gromitkc/dips/roster.html

到 这里对号入座。。
 楼主| 发表于 2003-6-5 15:24:22 | 显示全部楼层

RE 驱动

我的MODEM是Smartlink的
今天下了最新的驱动(说是支持2。4内核)
但是我无法MAKE成功!
 楼主| 发表于 2003-6-5 22:55:50 | 显示全部楼层

我下了相应的驱动,但无法MAKE成功!

amrmo_init.c:At top leavel;
amrmo_init.c:355:Storage size of `amrmo_pci_driver` isn't known;
Make *** [amrmo_init.o]Error 1





为什么????
发表于 2003-6-6 10:52:33 | 显示全部楼层
一。要安装kernel-source
二。要安装gcc等编译工具。
 楼主| 发表于 2003-6-6 14:22:27 | 显示全部楼层

有的

我在此之前已经把MPLAYER编译成功了!
发表于 2003-6-6 19:51:16 | 显示全部楼层
感觉可能是包太老了。下面是安装方法。咱们一起来找找原因吧。




Installation
============

1. Unpack tar.gz package file:

        $ gzip -dc slmdm-2.X.X.tar.gz | tar xf -

2. 'cd' to package directory:

        $ cd slmdm-2.X.X

3. Review and edit (if need) 'Makefile'.

   Note: Probably you will want to correct in Makefile path to your
         local linux kernel header files:

                 KERNEL_INCLUDES=/path/to/linux/include

         Another way is to pass command line the parameter while
         running 'make':

                 $ make KERNEL_INCLUDES=/path/to/linux/include ...

4. Run 'make' command to compile package:

        $ make

5. Install.

   If you are going to use AMR/CNR/PCI modem type (as superuser):

        # make install-amr

   , or

        # make install-usb

   if you are going to use USB modem.

   It will install:
   - modem kernel modules slmdm.o (modem core), slfax.o (fax)
     into '/lib/modules/<kernel-version>/misc' directory
     (standard linux modules' directory).
   - hardware specific kernel module slamrmo.o (for AMR/CNR/PCI) or
     slusb.o (for USB) into '/lib/modules/<kernel-version>/misc'
     directory (standard linux modules' directory).
   - country settings data file 'country.dat' into directory '/etc'.

   Also it will:
   - create character tty device entry '/dev/ttySL0' with major
     number 212 and symbolic link 'dev/modem'.
   - config you '/etc/modules.conf' file in order to provide
     possibility for loading the modem modules into kernel on demand
     automatically by kmod, when you are going to use them.

   Note: currently you cannot use both AMR/CNR/PCI and USB Modems.

6. Config modem country.

   You can configure your current country by using module parameters
   'country' or 'country_code'.
   Add 'options' directive line to file '/etc/modules.conf':

        options slmdm country=<MyCountry>

   , for example

        options slmdm country=USA

   , or use module parameter while module loading:

        # modprobe slmdm country=<MyCountry>

   Use 'slver -c' to see list of all supported countries and their
   codes (utility 'slver' may be found in package directory).

   Note: Command ATI7 shows installed country setting.

7. Using the modem.

   Installation will automatically create character tty device entry
   '/dev/ttySL0' with major number 212 and symbolic link '/dev/modem'.
   Use one of them as modem device for your dialing application.

8. Uninstallation.

   In package directory just type:

        # make uninstall
 楼主| 发表于 2003-6-7 12:35:07 | 显示全部楼层

先谢 了

我回去研究研究!
 楼主| 发表于 2003-6-7 14:45:10 | 显示全部楼层

感谢,万分感谢呀!

我已经搞定了,此次留言就是在LINUX下上的网
真是太感谢了!
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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