前几日安装好ubuntu,成功设置好了EDGE卡并拨号上网。谁知天有不测风云,在xp下使用分区工具删除另外一个linux分区的时候,包括E盘在内的诸多盘都不翼而飞了,于是使用分区表工具恢复了分区,但是所有的linux分区都变成了未分区空间。
再次从装了ubuntu后,发现系统识别的EDGE卡和上一次有些区别
原来:
插上设备的时候,多出ttyUSB0,1,2,3,4,5一系列设备
root@asia:~# dmesg |grep tty
[ 4.538995] console [tty0] enabled
[ 6.395706] 00:0a: ttyS0 at I/O 0x3f8 (irq = 4) is a NS16550A
[ 29.405636] usb 6-1: airprime converter now attached to ttyUSB0
[ 29.405681] usb 6-1: airprime converter now attached to ttyUSB1
[ 29.405725] usb 6-1: airprime converter now attached to ttyUSB2
[ 29.418744] usb 6-1: airprime converter now attached to ttyUSB3
[ 29.418789] usb 6-1: airprime converter now attached to ttyUSB4
[ 29.418836] usb 6-1: airprime converter now attached to ttyUSB5
[ 31.169171] audit(1214542582.464:2): type=1503 operation="inode_permission" requested_mask="a::" denied_mask="a::" name="/dev/tty" pid=5161 profile="/usr/sbin/cupsd" namespace="default"
现在:
较之原来缺少了USB3,4,5
[ 11.316735] console [tty0] enabled
[ 13.125485] 00:0a: ttyS0 at I/O 0x3f8 (irq = 4) is a NS16550A
[ 39.070248] usb 6-1: airprime converter now attached to ttyUSB0
[ 39.070298] usb 6-1: airprime converter now attached to ttyUSB1
[ 39.070342] usb 6-1: airprime converter now attached to ttyUSB2
[ 47.502244] audit(1215052757.361:2): type=1503 operation="inode_permission" requested_mask="a::" denied_mask="a::" name="/dev/tty" pid=5116 profile="/usr/sbin/cupsd" namespace="default"
查看设备
root@ubuntu:~# setserial -a /dev/ttyUSB0
/dev/ttyUSB0: No such file or directory
root@ubuntu:~# cat /dev/ttyUSB0
cat: /dev/ttyUSB0:No such file or directory
而:
root@ubuntu:~# ls /dev/ttyUSB
ttyUSB0 ttyUSB1 ttyUSB2
由此可以看出卡没有被真实驱动起来
在插入设备和拔出设备时的/var/log/messages的输出,还请各位朋友根据我给出的信息,帮忙指点迷津 ,我究竟如何才能使用这个设备上网呀??
插入设备:
Jul 3 16:08:02 ubuntu kernel: [ 3280.120956] pccard: CardBus card inserted into slot 0
Jul 3 16:08:03 ubuntu kernel: [ 3280.658451] PCI: Enabling device 0000:0c:00.0 (0000 -> 0002)
Jul 3 16:08:03 ubuntu kernel: [ 3280.658466] ACPI: PCI Interrupt 0000:0c:00.0[A] -> GSI 16 (level, low) -> IRQ 16
Jul 3 16:08:03 ubuntu kernel: [ 3280.658500] ohci_hcd 0000:0c:00.0: OHCI Host Controller
Jul 3 16:08:03 ubuntu kernel: [ 3280.659564] ohci_hcd 0000:0c:00.0: new USB bus registered, assigned bus number 6
Jul 3 16:08:03 ubuntu kernel: [ 3280.659897] ohci_hcd 0000:0c:00.0: irq 16, io mem 0xb8000000
Jul 3 16:08:03 ubuntu kernel: [ 3280.743804] usb usb6: configuration #1 chosen from 1 choice
Jul 3 16:08:03 ubuntu kernel: [ 3280.744526] hub 6-0:1.0: USB hub found
Jul 3 16:08:03 ubuntu kernel: [ 3280.745013] hub 6-0:1.0: 1 port detected
Jul 3 16:08:03 ubuntu kernel: [ 3280.846127] PCI: Enabling device 0000:0c:00.1 (0000 -> 0002)
Jul 3 16:08:03 ubuntu kernel: [ 3280.846143] ACPI: PCI Interrupt 0000:0c:00.1 -> GSI 16 (level, low) -> IRQ 16
Jul 3 16:08:03 ubuntu kernel: [ 3280.846184] ohci_hcd 0000:0c:00.1: OHCI Host Controller
Jul 3 16:08:03 ubuntu kernel: [ 3280.847279] ohci_hcd 0000:0c:00.1: new USB bus registered, assigned bus number 7
Jul 3 16:08:03 ubuntu kernel: [ 3280.847804] ohci_hcd 0000:0c:00.1: irq 16, io mem 0xb8001000
Jul 3 16:08:03 ubuntu kernel: [ 3280.933713] usb usb7: configuration #1 chosen from 1 choice
Jul 3 16:08:03 ubuntu kernel: [ 3280.934294] hub 7-0:1.0: USB hub found
Jul 3 16:08:03 ubuntu kernel: [ 3280.934540] hub 7-0:1.0: 1 port detected
Jul 3 16:08:07 ubuntu kernel: [ 3287.329755] usb 6-1: new full speed USB device using ohci_hcd and address 2
Jul 3 16:08:07 ubuntu kernel: [ 3287.542964] usb 6-1: configuration #1 chosen from 1 choice
Jul 3 16:08:08 ubuntu kernel: [ 3288.338948] usbcore: registered new interface driver usbserial
Jul 3 16:08:08 ubuntu kernel: [ 3288.339355] /build/buildd/linux-2.6.24/drivers/usb/serial/usb-serial.c: USB Serial support registered for generic
Jul 3 16:08:08 ubuntu kernel: [ 3288.339813] usbcore: registered new interface driver usbserial_generic
Jul 3 16:08:08 ubuntu kernel: [ 3288.339820] /build/buildd/linux-2.6.24/drivers/usb/serial/usb-serial.c: USB Serial Driver core
Jul 3 16:08:08 ubuntu kernel: [ 3288.369964] /build/buildd/linux-2.6.24/drivers/usb/serial/usb-serial.c: USB Serial support registered for airprime
Jul 3 16:08:08 ubuntu kernel: [ 3288.370002] airprime 6-1:1.0: airprime converter detected
Jul 3 16:08:08 ubuntu kernel: [ 3288.370193] usb 6-1: airprime converter now attached to ttyUSB0
Jul 3 16:08:08 ubuntu kernel: [ 3288.370298] usb 6-1: airprime converter now attached to ttyUSB1
Jul 3 16:08:08 ubuntu kernel: [ 3288.370403] usb 6-1: airprime converter now attached to ttyUSB2
Jul 3 16:08:08 ubuntu kernel: [ 3288.370422] usbcore: registered new interface driver airprime
Jul 3 16:08:08 ubuntu kernel: [ 1971.131916] usbcore: registered new interface driver libusual
拔出设备:
Jul 3 16:12:24 ubuntu kernel: [ 3627.543809] pccard: card ejected from slot 0
Jul 3 16:12:24 ubuntu kernel: [ 3627.544198] usb 6-1: USB disconnect, address 2
Jul 3 16:12:24 ubuntu kernel: [ 3627.544708] airprime ttyUSB0: airprime converter now disconnected from ttyUSB0
Jul 3 16:12:24 ubuntu kernel: [ 3627.544959] airprime ttyUSB1: airprime converter now disconnected from ttyUSB1
Jul 3 16:12:24 ubuntu kernel: [ 3627.545207] airprime ttyUSB2: airprime converter now disconnected from ttyUSB2
Jul 3 16:12:24 ubuntu kernel: [ 3627.545236] airprime 6-1:1.0: device disconnected
Jul 3 16:12:24 ubuntu kernel: [ 1552.270175] ohci_hcd 0000:0c:00.0: remove, state 0
Jul 3 16:12:24 ubuntu kernel: [ 1552.270185] usb usb6: USB disconnect, address 1
Jul 3 16:12:24 ubuntu kernel: [ 1552.270370] ohci_hcd 0000:0c:00.0: USB bus 6 deregistered
Jul 3 16:12:24 ubuntu kernel: [ 1552.270415] ACPI: PCI interrupt for device 0000:0c:00.0 disabled
Jul 3 16:12:24 ubuntu kernel: [ 1552.270456] ohci_hcd 0000:0c:00.1: remove, state 0
Jul 3 16:12:24 ubuntu kernel: [ 1552.270461] usb usb7: USB disconnect, address 1
Jul 3 16:12:24 ubuntu kernel: [ 1552.270605] ohci_hcd 0000:0c:00.1: USB bus 7 deregistered
Jul 3 16:12:24 ubuntu kernel: [ 1552.270631] ACPI: PCI interrupt for device 0000:0c:00.1 disabled
再次插入设备:
Jul 3 16:16:57 ubuntu kernel: [ 4008.698071] pccard: CardBus card inserted into slot 0
Jul 3 16:16:57 ubuntu kernel: [ 4008.698486] PCI: Enabling device 0000:0c:00.0 (0000 -> 0002)
Jul 3 16:16:57 ubuntu kernel: [ 4008.698499] ACPI: PCI Interrupt 0000:0c:00.0[A] -> GSI 16 (level, low) -> IRQ 16
Jul 3 16:16:57 ubuntu kernel: [ 4008.698543] ohci_hcd 0000:0c:00.0: OHCI Host Controller
Jul 3 16:16:57 ubuntu kernel: [ 4008.698597] ohci_hcd 0000:0c:00.0: new USB bus registered, assigned bus number 6
Jul 3 16:16:57 ubuntu kernel: [ 4008.698622] ohci_hcd 0000:0c:00.0: irq 16, io mem 0xb8000000
Jul 3 16:16:57 ubuntu kernel: [ 4008.784539] usb usb6: configuration #1 chosen from 1 choice
Jul 3 16:16:57 ubuntu kernel: [ 4008.784945] hub 6-0:1.0: USB hub found
Jul 3 16:16:57 ubuntu kernel: [ 4008.785184] hub 6-0:1.0: 1 port detected
Jul 3 16:16:57 ubuntu kernel: [ 1715.472777] PCI: Enabling device 0000:0c:00.1 (0000 -> 0002)
Jul 3 16:16:57 ubuntu kernel: [ 1715.472789] ACPI: PCI Interrupt 0000:0c:00.1 -> GSI 16 (level, low) -> IRQ 16
Jul 3 16:16:57 ubuntu kernel: [ 1715.472823] ohci_hcd 0000:0c:00.1: OHCI Host Controller
Jul 3 16:16:57 ubuntu kernel: [ 1715.472846] ohci_hcd 0000:0c:00.1: new USB bus registered, assigned bus number 7
Jul 3 16:16:57 ubuntu kernel: [ 1715.472861] ohci_hcd 0000:0c:00.1: irq 16, io mem 0xb8001000
Jul 3 16:16:58 ubuntu kernel: [ 1715.558435] usb usb7: configuration #1 chosen from 1 choice
Jul 3 16:16:58 ubuntu kernel: [ 1715.558670] hub 7-0:1.0: USB hub found
Jul 3 16:16:58 ubuntu kernel: [ 1715.558862] hub 7-0:1.0: 1 port detected
Jul 3 16:17:02 ubuntu kernel: [ 4014.962122] usb 6-1: new full speed USB device using ohci_hcd and address 2
Jul 3 16:17:02 ubuntu kernel: [ 4015.174331] usb 6-1: configuration #1 chosen from 1 choice
Jul 3 16:17:02 ubuntu kernel: [ 4015.182130] airprime 6-1:1.0: airprime converter detected
Jul 3 16:17:02 ubuntu kernel: [ 4015.182323] usb 6-1: airprime converter now attached to ttyUSB0
Jul 3 16:17:02 ubuntu kernel: [ 4015.182427] usb 6-1: airprime converter now attached to ttyUSB1
Jul 3 16:17:02 ubuntu kernel: [ 4015.182529] usb 6-1: airprime converter now attached to ttyUSB2
[已解决][问题]IBM T43,华为EDGE602上网卡的问题!Ubuntu8.04,内核升级到2.6.24-19
-
- 帖子: 12
- 注册时间: 2008-06-28 11:03
[已解决][问题]IBM T43,华为EDGE602上网卡的问题!Ubuntu8.04,内核升级到2.6.24-19
上次由 asia_ji 在 2008-07-06 15:37,总共编辑 1 次。
-
- 帖子: 12
- 注册时间: 2008-06-28 11:03
哈哈,今天终于把问题给解决了
解决方法如下:
启动系统后,把原来系统加载的模块删除掉
root@ubuntu:~# rmmod airprime usbserial
把卡弹出后在插入后,奇迹出现了
root@ubuntu:~# dmesg |grep tty
[ 765.702220] usb 6-1: airprime converter now attached to ttyUSB0
[ 765.702329] usb 6-1: airprime converter now attached to ttyUSB1
[ 765.702430] usb 6-1: airprime converter now attached to ttyUSB2
[ 765.709661] usb 6-1: airprime converter now attached to ttyUSB3
[ 765.709785] usb 6-1: airprime converter now attached to ttyUSB4
[ 765.709888] usb 6-1: airprime converter now attached to ttyUSB5
直觉告诉我,问题已经迎刃而解了!
果然
root@ubuntu:~# wvdial
--> WvDial: Internet dialer version 1.60
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Modem initialized.
--> Sending: ATDT*99#
--> Waiting for carrier.
ATDT*99#
CONNECT
--> Carrier detected. Starting PPP immediately.
--> Starting pppd at Sun Jul 6 15:01:58 2008
--> Pid of pppd: 7154
--> Using interface ppp0
--> local IP address 10.48.161.254
--> remote IP address 10.64.64.64
--> primary DNS address 211.137.32.178
--> secondary DNS address 211.136.17.107
哈哈,困扰我几天的难题解决了!
root@ubuntu:~# lsusb
Bus 007 Device 001: ID 0000:0000
Bus 006 Device 003: ID 12d1:1003 Huawei Technologies Co., Ltd. E220 HSDPA Modem
Bus 006 Device 001: ID 0000:0000
Bus 005 Device 001: ID 0000:0000
Bus 004 Device 001: ID 0000:0000
Bus 003 Device 002: ID 0483:2016 SGS Thomson Microelectronics Fingerprint Reader
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 003: ID 046d:c019 Logitech, Inc.
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000
晕,居然EG602卡还是被系统识别成E220,无所谓了,反正好用了!!
解决方法如下:
启动系统后,把原来系统加载的模块删除掉
root@ubuntu:~# rmmod airprime usbserial
把卡弹出后在插入后,奇迹出现了
root@ubuntu:~# dmesg |grep tty
[ 765.702220] usb 6-1: airprime converter now attached to ttyUSB0
[ 765.702329] usb 6-1: airprime converter now attached to ttyUSB1
[ 765.702430] usb 6-1: airprime converter now attached to ttyUSB2
[ 765.709661] usb 6-1: airprime converter now attached to ttyUSB3
[ 765.709785] usb 6-1: airprime converter now attached to ttyUSB4
[ 765.709888] usb 6-1: airprime converter now attached to ttyUSB5
直觉告诉我,问题已经迎刃而解了!
果然
root@ubuntu:~# wvdial
--> WvDial: Internet dialer version 1.60
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Modem initialized.
--> Sending: ATDT*99#
--> Waiting for carrier.
ATDT*99#
CONNECT
--> Carrier detected. Starting PPP immediately.
--> Starting pppd at Sun Jul 6 15:01:58 2008
--> Pid of pppd: 7154
--> Using interface ppp0
--> local IP address 10.48.161.254
--> remote IP address 10.64.64.64
--> primary DNS address 211.137.32.178
--> secondary DNS address 211.136.17.107
哈哈,困扰我几天的难题解决了!
root@ubuntu:~# lsusb
Bus 007 Device 001: ID 0000:0000
Bus 006 Device 003: ID 12d1:1003 Huawei Technologies Co., Ltd. E220 HSDPA Modem
Bus 006 Device 001: ID 0000:0000
Bus 005 Device 001: ID 0000:0000
Bus 004 Device 001: ID 0000:0000
Bus 003 Device 002: ID 0483:2016 SGS Thomson Microelectronics Fingerprint Reader
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 003: ID 046d:c019 Logitech, Inc.
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000
晕,居然EG602卡还是被系统识别成E220,无所谓了,反正好用了!!
- markli
- 帖子: 87
- 注册时间: 2006-11-24 14:46
- 来自: china
- 联系:
- markli
- 帖子: 87
- 注册时间: 2006-11-24 14:46
- 来自: china
- 联系: