|
发表于 2010-6-6 23:45:42| 字数 7,438| - 中国–广东–广州 移动
|
显示全部楼层
我901+db120拨不上号
/etc/gcom$ dmesg | grep usb
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
usb usb1: configuration #1 chosen from 1 choice
usb usb2: configuration #1 chosen from 1 choice
usbcore: registered new interface driver cdc_acm
usbcore: registered new interface driver usblp
usb 2-1: new full speed USB device using bcm63xx_ohci and address 2
usbcore: registered new interface driver usbserial
usb 2-1: configuration #1 chosen from 1 choice
usbserial_generic 2-1:1.0: generic converter detected
usb 2-1: generic converter now attached to ttyUSB0
usbcore: registered new interface driver usbserial_generic
usbserial: USB Serial Driver core
usbcore: registered new interface driver usb-storage
usb 2-1: USB disconnect, address 2
usbserial_generic 2-1:1.0: device disconnected
usb 2-1: new full speed USB device using bcm63xx_ohci and address 3
usb 2-1: device descriptor read/64, error -62
usb 2-1: configuration #1 chosen from 1 choice
usb-storage: device found at 3
usb-storage: waiting for device to settle before scanning
usb-storage: device scan complete
usb 2-1: reset full speed USB device using bcm63xx_ohci and address 3
usb 2-1: USB disconnect, address 3
usb 2-1: new full speed USB device using bcm63xx_ohci and address 4
usb 2-1: device descriptor read/64, error -62
usb 2-1: configuration #1 chosen from 1 choice
usbserial_generic 2-1:1.0: generic converter detected
usb 2-1: generic converter now attached to ttyUSB0
usb 2-1: USB disconnect, address 4
usbserial_generic 2-1:1.0: device disconnected
usb 2-1: new full speed USB device using bcm63xx_ohci and address 5
usb 2-1: device descriptor read/64, error -62
usb 2-1: configuration #1 chosen from 1 choice
usb-storage: device found at 5
usb-storage: waiting for device to settle before scanning
usb-storage: device scan complete
usb 2-1: reset full speed USB device using bcm63xx_ohci and address 5
usb 2-1: USB disconnect, address 5
usb 2-1: new full speed USB device using bcm63xx_ohci and address 6
usb 2-1: device descriptor read/64, error -62
usb 2-1: configuration #1 chosen from 1 choice
usbserial_generic 2-1:1.0: generic converter detected
usb 2-1: generic converter now attached to ttyUSB0
usb 2-1: USB disconnect, address 6
usbserial_generic 2-1:1.0: device disconnected
usb 2-1: new full speed USB device using bcm63xx_ohci and address 7
usb 2-1: device descriptor read/64, error -62
usb 2-1: configuration #1 chosen from 1 choice
usb-storage: device found at 7
usb-storage: waiting for device to settle before scanning
usb-storage: device scan complete
usb 2-1: reset full speed USB device using bcm63xx_ohci and address 7
usb 2-1: USB disconnect, address 7
usb 2-1: new full speed USB device using bcm63xx_ohci and address 8
usb 2-1: device descriptor read/64, error -62
usb 2-1: configuration #1 chosen from 1 choice
usbserial_generic 2-1:1.0: generic converter detected
usb 2-1: generic converter now attached to ttyUSB0
usb 2-1: USB disconnect, address 8
usbserial_generic 2-1:1.0: device disconnected
usb 2-1: new full speed USB device using bcm63xx_ohci and address 9
usb 2-1: device descriptor read/64, error -62
usb 2-1: configuration #1 chosen from 1 choice
usb-storage: device found at 9
usb-storage: waiting for device to settle before scanning
usb-storage: device scan complete
/etc/gcom$ cat /proc/bus/usb/devices
T: Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 1
B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=1d6b ProdID=0001 Rev= 2.06
S: Manufacturer=Linux 2.6.32.10 ohci_hcd
S: Product=BCM63XX integrated OHCI controller
S: SerialNumber=bcm63xx
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr= 0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=255ms
T: Bus=02 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 9 Spd=12 MxCh= 0
D: Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=1ab7 ProdID=5700 Rev= 1.00
S: Manufacturer=USB 1.1 Storage Device
S: Product=00000000000123456789
S: SerialNumber=00000000000123456789
C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr=500mA
I:* If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
E: Ad=04(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms
E: Ad=85(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms
T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=480 MxCh= 2
B: Alloc= 0/800 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=1d6b ProdID=0002 Rev= 2.06
S: Manufacturer=Linux 2.6.32.10 ehci_hcd
S: Product=BCM63XX integrated EHCI controller
S: SerialNumber=bcm63xx
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr= 0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 4 Ivl=256ms
/etc/gcom$ usb_modeswitch -W -I -R -c /etc/a.conf
usb_set_debug: Setting debugging level to 15 (on)
usb_os_find_busses: Found 002
usb_os_find_busses: Found 001
usb_os_find_busses: Skipping non bus directory devices
usb_os_find_devices: Found 009 on 002
usb_os_find_devices: Found 001 on 002
error obtaining child information: Inappropriate ioctl for device
usb_os_find_devices: Found 001 on 001
Reading config file: /etc/a.conf
* usb-modeswitch: handle USB devices with multiple modes
* Version 1.1.0 (C) Josua Dietze 2010
* Based on libusb 0.1.12
! PLEASE REPORT NEW CONFIGURATIONS !
DefaultVendor= 0x1ab7
DefaultProduct= 0x5700
TargetVendor= not set
TargetProduct= not set
TargetClass= not set
DetachStorageOnly=0
HuaweiMode=0
SierraMode=0
SonyMode=0
GCTMode=0
MessageEndpoint= not set
MessageContent= not set
NeedResponse=0
ResponseEndpoint= not set
Interface=0x00
InquireDevice disabled
Success check disabled
System integration mode disabled
Looking for default devices ...
searching devices, found USB ID 1ab7:5700
found matching vendor ID
found matching product ID
searching devices, found USB ID 1d6b:0001
searching devices, found USB ID 1d6b:0002
Found default devices (1)
Accessing device 009 on bus 002 ...
USB description data (for identification)
-------------------------
Manufacturer: USB 1.1 Storage Device
Product: 00000000000123456789
Serial No.: 00000000000123456789
-------------------------
Warning: no switching method given.
Resetting usb device .
OK, device was reset
-> Run lsusb to note any changes. Bye.
/etc/gcom$ usb_modeswitch -W -I -c /etc/b.conf
usb_set_debug: Setting debugging level to 15 (on)
usb_os_find_busses: Found 002
usb_os_find_busses: Found 001
usb_os_find_busses: Skipping non bus directory devices
usb_os_find_devices: Found 009 on 002
usb_os_find_devices: Found 001 on 002
error obtaining child information: Inappropriate ioctl for device
usb_os_find_devices: Found 001 on 001
Reading config file: /etc/b.conf
* usb-modeswitch: handle USB devices with multiple modes
* Version 1.1.0 (C) Josua Dietze 2010
* Based on libusb 0.1.12
! PLEASE REPORT NEW CONFIGURATIONS !
DefaultVendor= 0x1ab7
DefaultProduct= 0x5700
TargetVendor= not set
TargetProduct= not set
TargetClass= not set
DetachStorageOnly=0
HuaweiMode=0
SierraMode=0
SonyMode=0
GCTMode=0
MessageEndpoint= not set
MessageContent="5553424312345678000000000000061b000000030000000000000000000000"
NeedResponse=0
ResponseEndpoint= not set
Interface=0x00
InquireDevice disabled
Success check disabled
System integration mode disabled
Looking for default devices ...
searching devices, found USB ID 1ab7:5700
found matching vendor ID
found matching product ID
searching devices, found USB ID 1d6b:0001
searching devices, found USB ID 1d6b:0002
Found default devices (1)
Accessing device 009 on bus 002 ...
USB description data (for identification)
-------------------------
Manufacturer: USB 1.1 Storage Device
Product: 00000000000123456789
Serial No.: 00000000000123456789
-------------------------
Looking for active driver ...
OK, driver found ("usb-storage")
OK, driver "usb-storage" detached
Setting up communication with interface 0 ...
Trying to send the message to endpoint 0x04 ...
OK, message successfully sent
-> Run lsusb to note any changes. Bye.
/etc/gcom$ echo "AT^INDLED" > /dev/ttyUSB0
/etc/gcom$ echo "AT^INDLED" > /dev/ttyUSB0
/etc/gcom$ ifup td01
Error setting PIN, check card manually
td01(3g): Failed to set the PIN code.
/etc/gcom$ insmod usbserial vendor=0x1ab7 product=0x2000
insmod: can't insert 'usbserial': File exists
/etc/gcom$ rmmod usbserial
/etc/gcom$ insmod usbserial vendor=0x1ab7 product=0x2000
/etc/gcom$ echo "AT^INDLED" > /dev/ttyUSB0
/etc/gcom$ ifup td01
Error setting PIN, check card manually
td01(3g): Failed to set the PIN code. |
|