2009-05-28 11:51:49 |
sunatomo |
description |
Binary package hint: network-manager
I'd installed the Jaunty 3 days ago, and try the huawei E220 CDMA (HSDPA) works.
My mobile provider is e-mobile (Japan).
In intrepid, I have to add the ' <append key="modem.command_sets" type="strlist">IS-707-A</append>' to work this modem correct at this mobile provider.
In Jaunty, I heard "hal-info" does not used and udev select the correct modem-setting (it uses nm-modem-probe to probe the modem command_sets).
nm-modem-probe shows this modem use GSM command_sets (I think it has to show CDMA to work in my enviroment).
I think this device has both GSM and CDMA modem command_sets, and there are both mobile providers use GSM or CDMA modem command_sets (many of mobile providers use GSM comannd_sets, but e-mobile use CDMA).
lsusb -v result:
Bus 002 Device 003: ID 12d1:1003 Huawei Technologies Co., Ltd. E220 HSDPA Modem / E270 HSDPA/HSUPA Modem
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x12d1 Huawei Technologies Co., Ltd.
idProduct 0x1003 E220 HSDPA Modem / E270 HSDPA/HSUPA Modem
bcdDevice 0.00
iManufacturer 1
iProduct 2
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 85
bNumInterfaces 3
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xa0
(Bus Powered)
Remote Wakeup
MaxPower 500mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 3
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 255 Vendor Specific Subclass
bInterfaceProtocol 255 Vendor Specific Protocol
iInterface 3
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0010 1x 16 bytes
bInterval 128
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x02 EP 2 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 0
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 255 Vendor Specific Subclass
bInterfaceProtocol 255 Vendor Specific Protocol
iInterface 3
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x85 EP 5 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x05 EP 5 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 0
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 2
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 8 Mass Storage
bInterfaceSubClass 6 SCSI
bInterfaceProtocol 80 Bulk (Zip)
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x04 EP 4 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 0
cannot read device status, Operation not permitted (1)
/var/log/syslog result:
Apr 10 20:08:13 eeepc-ubuntu kernel: [ 2770.596085] usb 2-2: new full speed USB device using uhci_hcd and address 2
Apr 10 20:08:13 eeepc-ubuntu kernel: [ 2770.757921] usb 2-2: configuration #1 chosen from 1 choice
Apr 10 20:08:13 eeepc-ubuntu kernel: [ 2770.764189] usb-storage: probe of 2-2:1.0 failed with error -1
Apr 10 20:08:14 eeepc-ubuntu kernel: [ 2770.824115] usb 2-2: USB disconnect, address 2
Apr 10 20:08:14 eeepc-ubuntu kernel: [ 2771.560080] usb 2-2: new full speed USB device using uhci_hcd and address 3
Apr 10 20:08:14 eeepc-ubuntu kernel: [ 2771.722874] usb 2-2: configuration #1 chosen from 1 choice
Apr 10 20:08:15 eeepc-ubuntu kernel: [ 2771.773389] usb-storage: probe of 2-2:1.0 failed with error -5
Apr 10 20:08:15 eeepc-ubuntu kernel: [ 2771.797199] usb-storage: probe of 2-2:1.1 failed with error -5
Apr 10 20:08:15 eeepc-ubuntu kernel: [ 2771.820189] usb-storage: probe of 2-2:1.2 failed with error -1
Apr 10 20:08:15 eeepc-ubuntu kernel: [ 2771.962246] USB Serial support registered for GSM modem (1-port)
Apr 10 20:08:15 eeepc-ubuntu kernel: [ 2771.962369] option 2-2:1.0: GSM modem (1-port) converter detected
Apr 10 20:08:15 eeepc-ubuntu kernel: [ 2771.962573] usb 2-2: GSM modem (1-port) converter now attached to ttyUSB0
Apr 10 20:08:15 eeepc-ubuntu kernel: [ 2771.962608] option 2-2:1.1: GSM modem (1-port) converter detected
Apr 10 20:08:15 eeepc-ubuntu kernel: [ 2771.962803] usb 2-2: GSM modem (1-port) converter now attached to ttyUSB1
Apr 10 20:08:15 eeepc-ubuntu kernel: [ 2771.962858] usbcore: registered new interface driver option
Apr 10 20:08:15 eeepc-ubuntu kernel: [ 2771.962866] option: v0.7.2:USB Driver for GSM modems
Apr 10 20:08:15 eeepc-ubuntu NetworkManager: <info> (ttyUSB1): ignoring due to lack of mobile broadband capabilties
Apr 10 20:08:15 eeepc-ubuntu nm-system-settings: SCPlugin-Ifupdown: device added (udi: /org/freedesktop/Hal/devices/usb_device_12d1_1003_noserial_if0_serial_usb_0, iface: (null)): iface not found
Apr 10 20:08:15 eeepc-ubuntu NetworkManager: <info> (ttyUSB0): found serial port (udev:GSM hal:GSM)
Apr 10 20:08:15 eeepc-ubuntu NetworkManager: <info> (ttyUSB0): new Modem device (driver: 'option')
Apr 10 20:08:15 eeepc-ubuntu NetworkManager: <info> (ttyUSB0): exported as /org/freedesktop/Hal/devices/usb_device_12d1_1003_noserial_if0_serial_usb_0
Apr 10 20:08:20 eeepc-ubuntu NetworkManager: <info> (ttyUSB0): device state change: 1 -> 2
Apr 10 20:08:20 eeepc-ubuntu NetworkManager: <info> (ttyUSB0): deactivating device (reason: 2).
nm-modem-probe result:
/lib/udev/nm-modem-probe --verbose /dev/ttyUSB1
L: main(): (/dev/ttyUSB1): usb-vid 0x0000 usb-pid 0x0000 usb-intf 0 driver '(null)'
L: main(): probing /dev/ttyUSB1
L: modem_send_command(): Sending: 'AT+GCAP
'
': modem_wait_reply(): Got: 'AT+GCAP
L: modem_wait_reply(): Got: 'AT+GCAP
+GCAP: +CGSM,+DS,+ES
OK
'
L: modem_probe_caps(): GCAP response: +GCAP: +CGSM,+DS,+ES
L: main(): /dev/ttyUSB1: caps (0x19) GSM |
Binary package hint: network-manager
I'd installed the Jaunty , and try the huawei E220 CDMA (HSDPA) works.
My mobile provider is e-mobile (Japan).
In intrepid, I have to add the ' <append key="modem.command_sets" type="strlist">IS-707-A</append>' to work this modem correct at this mobile provider.
In Jaunty, I heard "hal-info" does not used and udev select the correct modem-setting (it uses nm-modem-probe to probe the modem command_sets).
nm-modem-probe shows this modem use GSM command_sets (I think it has to show CDMA to work in my enviroment).
I think this device has both GSM and CDMA modem command_sets, and there are both mobile providers use GSM or CDMA modem command_sets (many of mobile providers use GSM comannd_sets, but e-mobile use CDMA).
lsusb -v result:
Bus 002 Device 003: ID 12d1:1003 Huawei Technologies Co., Ltd. E220 HSDPA Modem / E270 HSDPA/HSUPA Modem
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x12d1 Huawei Technologies Co., Ltd.
idProduct 0x1003 E220 HSDPA Modem / E270 HSDPA/HSUPA Modem
bcdDevice 0.00
iManufacturer 1
iProduct 2
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 85
bNumInterfaces 3
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xa0
(Bus Powered)
Remote Wakeup
MaxPower 500mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 3
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 255 Vendor Specific Subclass
bInterfaceProtocol 255 Vendor Specific Protocol
iInterface 3
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0010 1x 16 bytes
bInterval 128
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x02 EP 2 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 0
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 255 Vendor Specific Subclass
bInterfaceProtocol 255 Vendor Specific Protocol
iInterface 3
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x85 EP 5 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x05 EP 5 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 0
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 2
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 8 Mass Storage
bInterfaceSubClass 6 SCSI
bInterfaceProtocol 80 Bulk (Zip)
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x04 EP 4 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 0
cannot read device status, Operation not permitted (1)
/var/log/syslog result:
Apr 10 20:08:13 eeepc-ubuntu kernel: [ 2770.596085] usb 2-2: new full speed USB device using uhci_hcd and address 2
Apr 10 20:08:13 eeepc-ubuntu kernel: [ 2770.757921] usb 2-2: configuration #1 chosen from 1 choice
Apr 10 20:08:13 eeepc-ubuntu kernel: [ 2770.764189] usb-storage: probe of 2-2:1.0 failed with error -1
Apr 10 20:08:14 eeepc-ubuntu kernel: [ 2770.824115] usb 2-2: USB disconnect, address 2
Apr 10 20:08:14 eeepc-ubuntu kernel: [ 2771.560080] usb 2-2: new full speed USB device using uhci_hcd and address 3
Apr 10 20:08:14 eeepc-ubuntu kernel: [ 2771.722874] usb 2-2: configuration #1 chosen from 1 choice
Apr 10 20:08:15 eeepc-ubuntu kernel: [ 2771.773389] usb-storage: probe of 2-2:1.0 failed with error -5
Apr 10 20:08:15 eeepc-ubuntu kernel: [ 2771.797199] usb-storage: probe of 2-2:1.1 failed with error -5
Apr 10 20:08:15 eeepc-ubuntu kernel: [ 2771.820189] usb-storage: probe of 2-2:1.2 failed with error -1
Apr 10 20:08:15 eeepc-ubuntu kernel: [ 2771.962246] USB Serial support registered for GSM modem (1-port)
Apr 10 20:08:15 eeepc-ubuntu kernel: [ 2771.962369] option 2-2:1.0: GSM modem (1-port) converter detected
Apr 10 20:08:15 eeepc-ubuntu kernel: [ 2771.962573] usb 2-2: GSM modem (1-port) converter now attached to ttyUSB0
Apr 10 20:08:15 eeepc-ubuntu kernel: [ 2771.962608] option 2-2:1.1: GSM modem (1-port) converter detected
Apr 10 20:08:15 eeepc-ubuntu kernel: [ 2771.962803] usb 2-2: GSM modem (1-port) converter now attached to ttyUSB1
Apr 10 20:08:15 eeepc-ubuntu kernel: [ 2771.962858] usbcore: registered new interface driver option
Apr 10 20:08:15 eeepc-ubuntu kernel: [ 2771.962866] option: v0.7.2:USB Driver for GSM modems
Apr 10 20:08:15 eeepc-ubuntu NetworkManager: <info> (ttyUSB1): ignoring due to lack of mobile broadband capabilties
Apr 10 20:08:15 eeepc-ubuntu nm-system-settings: SCPlugin-Ifupdown: device added (udi: /org/freedesktop/Hal/devices/usb_device_12d1_1003_noserial_if0_serial_usb_0, iface: (null)): iface not found
Apr 10 20:08:15 eeepc-ubuntu NetworkManager: <info> (ttyUSB0): found serial port (udev:GSM hal:GSM)
Apr 10 20:08:15 eeepc-ubuntu NetworkManager: <info> (ttyUSB0): new Modem device (driver: 'option')
Apr 10 20:08:15 eeepc-ubuntu NetworkManager: <info> (ttyUSB0): exported as /org/freedesktop/Hal/devices/usb_device_12d1_1003_noserial_if0_serial_usb_0
Apr 10 20:08:20 eeepc-ubuntu NetworkManager: <info> (ttyUSB0): device state change: 1 -> 2
Apr 10 20:08:20 eeepc-ubuntu NetworkManager: <info> (ttyUSB0): deactivating device (reason: 2).
nm-modem-probe result:
/lib/udev/nm-modem-probe --verbose /dev/ttyUSB1
L: main(): (/dev/ttyUSB1): usb-vid 0x0000 usb-pid 0x0000 usb-intf 0 driver '(null)'
L: main(): probing /dev/ttyUSB1
L: modem_send_command(): Sending: 'AT+GCAP
'
': modem_wait_reply(): Got: 'AT+GCAP
L: modem_wait_reply(): Got: 'AT+GCAP
+GCAP: +CGSM,+DS,+ES
OK
'
L: modem_probe_caps(): GCAP response: +GCAP: +CGSM,+DS,+ES
L: main(): /dev/ttyUSB1: caps (0x19) GSM
2009/05/28 added AT&V result
AT&V
&C: 2; &D: 2; &F: 0; E: 1; L: 0; M: 0; Q: 0; V: 1; X: 0; Z: 0; S0: 0;
S3: 13; S4: 10; S5: 8; S6: 2; S7: 50; S8: 2; S9: 6; S10: 14; S11: 95;
+FCLASS: 0; +ICF: 3,3; +IFC: 2,2; +IPR: 115200; +DR: 0; +DS: 0,0,2048,6;
+WS46: 12; +CBST: 0,0,1;
+CRLP: (61,61,48,6,0),(61,61,48,6,1),(240,240,52,6,2);
+CV120: 1,1,1,0,0,0; +CHSN: 0,0,0,0; +CSSN: 0,0; +CREG: 0; +CGREG: 0;
+CFUN:; +CSCS: "IRA"; +CSTA: 129; +CR: 0; +CRC: 0; +CMEE: 0; +CGDCONT: (1,"IP","emb.ne.jp","0.0.0.0",0,0)
; +CGDSCONT: ; +CGTFT: ; +CGEQREQ: (1,2,0,0,0,0,2,0,"0E0","0E0",3,0,0),(2,2,0,0,0,0,2,0,"0E0","0E0",3,0,0),(3,2,0,0,0,0,2,0,"0E0","0E0",3,0,0),(4,2,0,0,0,0,2,0,"0E0","0E0",3,0,0),(5,2,0,0,0,0,2,0,"0E0","0E0",3,0,0),(6,2,0,0,0,0,2,0,"0E0","0E0",3,0,0),(7,2,0,0,0,0,2,0,"0E0","0E0",3,0,0),(8,2,0,0,0,0,2,0,"0E0","0E0",3,0,0),(9,2,0,0,0,0,2,0,"0E0","0E0",3,0,0),(10,2,0,0,0,0,2,0,"0E0","0E0",3,0,0),(11,2,0,0,0,0,2,0,"0E0","0E0",3,0,0),(12,2,0,0,0,0,2,0,"0E0","0E0",3,0,0),(13,2,0,0,0,0,2,0,"0E0","0E0",3,0,0),(14,2,0,0,0,0,2,0,"0E0","0E0",3,0,0),(15,2,0,0,0,0,2,0,"0E0","0E0",3,0,0),(16,2,0,0,0,0,2,0,"0E0","0E0",3,0,0)
; +CGEQMIN: ; +CGQREQ: ; +CGQMIN: ; ; +CGEREP: 0,0; +CGCLASS: "A";
+CGSMS: 3; +CSMS: 0; +CMGF: 0; +CSMP: ,,0,0;
+CSDH: 0; +CSCB: 0,"",""; +FDD: 0; +FAR: 0; +FCL: 0; +FIT: 0,0; +ES: ,,;
+ESA: 0,,,,0,0,255,; +CMOD: 0; +CVHU: 1; ; +CPIN: ,; +CMEC: 0,0,0;
+CKPD: 1,1; +CGATT: 1; +CGACT: 0; +CPBS: "SM"; +CPMS: "SM","SM","SM";
+CNMI: 0,0,0,0,0; +CMMS: 2; +FTS: 0; +FRS: 0; +FTH: 3; +FRH: 3; +FTM: 96;
+FRM: 96; +CCUG: 0,0,0; +COPS: 0,2,""; +CUSD: 0; +CAOC: 1; +CCWA: 0;
+CLVL: 2; +CMUT: 0; +CPOL: 0,2,"",0,0,0; +CPLS: 0; +CTZR: 0; +CLIP: 0;
+COLP: 0; +CLIR: 0; ^PORTSEL: 0; ^CPIN: ,; ^ATRECORD: 0;
^FREQLOCK: 11010860,12481268\0x00 |
|