LinuxSir.cn,穿越时空的Linuxsir!

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

[求驱动方法]古怪: 王者V9 www.vsking.com联通无线上网PC卡驱动

[复制链接]
发表于 2008-3-11 09:07:35 | 显示全部楼层 |阅读模式
.    我在北京出差,到处都没法用笔记本上网,于是被中关村的JS忽悠了一块王者V9联通CDMA上网卡。在WIN下是王者V9,到是能够正常使用,可是我主要还是在LINUX (LFS的)下工作啊。找了一大堆网上资料,结果发现用LFS LIVECD 启动可以识别出硬件,但是拨号不成功。

    把lfs livecd 6.2-5 的配置文件导入我采用的内核 kernel 2.6.24.3,不做任何改动,只增加我的笔记本需要的SATA驱动,编译,重启。结果就是不能识别出那块上网卡!而LIVE CD自己启动就是能识别出卡!

LIVE CD 的启动相关信息:
i8042.c: Detected active multiplexing controller, rev 1.1.
serio: i8042 AUX0 port at 0x60,0x64 irq 12
serio: i8042 AUX1 port at 0x60,0x64 irq 12
serio: i8042 AUX2 port at 0x60,0x64 irq 12
serio: i8042 AUX3 port at 0x60,0x64 irq 12
serio: i8042 KBD port at 0x60,0x64 irq 1
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing disabled
...
Yenta: CardBus bridge found at 0000:0a:06.0 [17aa:3be6]
Yenta: ISA IRQ mask 0x0cf8, PCI irq 17
Socket status: 30000411
pcmcia: parent PCI bridge I/O window: 0x3000 - 0x3fff
cs: IO port probe 0x3000-0x3fff: clean.
pcmcia: parent PCI bridge Memory window: 0xd4000000 - 0xd40fffff
pcmcia: parent PCI bridge Memory window: 0x30000000 - 0x31ffffff
pccard: PCMCIA card inserted into slot 0
cs: memory probe 0xd4000000-0xd40fffff: excluding 0xd4000000-0xd400ffff
pcmcia: registering new device pcmcia0.0
ttyS0: detected caps 00000700 should be 00000100
0.0: ttyS0 at I/O 0x3100 (irq = 3) is a 16C950/954
cs: IO port probe 0x100-0x3af: clean.
cs: IO port probe 0x3e0-0x4ff: excluding 0x3f0-0x3f7 0x4d0-0x4d7
cs: IO port probe 0x820-0x8ff: clean.
cs: IO port probe 0xc00-0xcf7: clean.
cs: IO port probe 0xa00-0xaff: clean.

我自己系统重编译后的启动信息:
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing disabled
...

Yenta: CardBus bridge found at 0000:0a:06.0 [17aa:3be6]
Yenta: Using CSCINT to route CSC interrupts to PCI
Yenta: Routing CardBus interrupts to PCI
Yenta TI: socket 0000:0a:06.0, mfunc 0x01aa1b22, devctl 0x64
Yenta: ISA IRQ mask 0x0cf8, PCI irq 17
Socket status: 30000411
Yenta: Raising subordinate bus# of parent bus (#0a) from #0a to #0e
pcmcia: parent PCI bridge Memory window: 0xd4000000 - 0xd40fffff
Adding 746980k swap on /dev/sda6. Priority:-1 extents:1 across:746980k
pccard: PCMCIA card inserted into slot 0


    启动时模块的加载情况:LIVE CD 自动加载了 pcmcia 及 serial_cs,但我的系统不加载。
 楼主| 发表于 2008-3-13 20:53:30 | 显示全部楼层
换了内核, 2.6.23.17,导入配置文件,编译,可以手动加载 pcmcia 并识别出 cs 设备。但是拨号不成功。/etc/wvdial.conf 配置文件如下:

[Dialer Defaults]
Modem = /dev/modem
Baud = 57600
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2
Init3 =
FlowControl = Hardware (CRTSCTS)
Area Code =
Phone = #777
Username = CARD
Password = CARD
Ask Password = 0
Dial Command = ATDT
Stupid Mode = 1
Compuserve = 0
Force Address =
Idle Seconds = 300
DialMessage1 =
DialMessage2 =
ISDN = 0
Auto DNS = 1


错误信息:
WvDial: Internet dialer version 1.54.0
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2
OK
--> Modem initialized.
--> Idle Seconds = 300, disabling automatic reconnect.
--> Sending: ATDT#777
--> Waiting for carrier.
ATDT#777
CONNECT
--> Carrier detected.  Starting PPP immediately.
--> Starting pppd at Tue Mar 11 20:16:39 2008
--> pid of pppd: 2351
--> Disconnecting at Tue Mar 11 20:16:40 2008
--> The PPP daemon has died: pppd options error (exit code = 2)
--> man pppd explains pppd error codes in more detail.
--> I guess that's it for now, exiting
--> The PPP daemon has died. (exit code = 2)
回复 支持 反对

使用道具 举报

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

本版积分规则

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