| The tested card is a Orange Mobile PC Card Option GX301. |
This card is also known as : "Business Everywhere GX301", (and "Globetrotter GT Max 7.2" ??)
This PC Card can operate in two modes :
The main difference with a regular modem is that you first have to type-in your pin code !
The PC Card actually privides a USB controller, to which the device is attached.
[[devicemanager.png]]
lsusb
Bus 006 Device 003: ID 0af0:7011 Option
Since the device operates in two modes...
The option module is shipped with Linux kernel (It was tested with Lenny's 2.6.26. Etch-and-a-Half's 2.6.24 should have it too).
Before you can use this card, you need to type your SIM card's PIN. There are (at least) three ways, but remeber:
Install the package minicom, then run "minicom -s", then adjust the setting to pick the correct noz* port.
Then type the command "AT+CPIN=0000" (where 0000 is your PIN code).
Install the gcom package, then run
gcom -d /dev/ttyHS1
Enter PIN number: 0000 Waiting for Registration..(120 sec max)..... Registered on Home network: "Orange F",2 Signal Quality: 31,99
Even though it is possible to insert "AT+CPIN=0000" in ppp's chat script, i wouldn't recommend it : If you change your pin code later, you would lock you chip at the third connection attempt.
I won't explain how to setup the actual connection, since many websites explains it, like :
FYI, my /etc/ppp/peers/gprs (note the speed : "2304000"... your using HSDPA!)
Error 404: Can't include file [File not fount]
and my /etc/chatscripts/gprs file.
# ispauth chat # abortstring ABORT BUSY ABORT 'NO CARRIER' ABORT VOICE ABORT 'NO DIALTONE' ABORT 'NO DIAL TONE' ABORT 'NO ANSWER' ABORT DELAYED # modeminit '' ATZ #Add gprs specific stuffs. # Check SIM pin should return ready OK-AT-OK "AT+CPIN?" # Select APN OK ATE1 OK 'AT+cgdcont=1,"IP","orange"' # ispnumber OK-AT-OK "ATDT*99***1#" # ispconnect CONNECT '' # prelogin # end of pppconfig stuff
I have quickly tested different tools, which seemed to work :
...That it would be nice to have...
lspci -d 104c:ac56
15:00.0 CardBus bridge: Texas Instruments PCI1510 PC card Cardbus Controller
lspci -d 1033:0035
16:00.0 USB Controller: NEC Corporation USB (rev 44)
lsusb -d 0af0:7011 -v
Bus 006 Device 003: ID 0af0:7011 Option
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 255 Vendor Specific Class
bDeviceSubClass 255 Vendor Specific Subclass
bDeviceProtocol 255 Vendor Specific Protocol
bMaxPacketSize0 64
idVendor 0x0af0 Option
idProduct 0x7011
bcdDevice 0.00
iManufacturer 1 Option N.V.
iProduct 2 Globetrotter HSUPA Modem
iSerial 4 Serial Number
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 95
bNumInterfaces 3
bConfigurationValue 1
iConfiguration 0
bmAttributes 0x80
(Bus Powered)
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 Data Interface
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 0x03 EP 3 OUT
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 0x85 EP 5 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0010 1x 16 bytes
bInterval 128
INTERFACE CLASS: 03 24 03
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 Data Interface
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x84 EP 4 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
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 2
bAlternateSetting 0
bNumEndpoints 3
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 255 Vendor Specific Subclass
bInterfaceProtocol 255 Vendor Specific Protocol
iInterface 3 Data Interface
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
Device Status: 0x0000
(Bus Powered)
syslog:
ls -al /dev/ttyHS* /dev/usb/tts/
/dev/ttyHS0 /dev/ttyHS1 /dev/ttyHS2
Yes, the device creates three serial interfaces.
hal-find-by-property --key 'info.vendor' --string 'Option' | xargs -n 1 lshal -l -u
udi = '/org/freedesktop/Hal/devices/usb_device_af0_7011_Serial_Number' info.linux.driver = 'usb' (string) info.parent = '/org/freedesktop/Hal/devices/usb_device_1d6b_1_0000_16_00_0' (string) info.product = 'Globetrotter HSUPA Modem' (string) info.subsystem = 'usb_device' (string) info.udi = '/org/freedesktop/Hal/devices/usb_device_af0_7011_Serial_Number' (string) info.vendor = 'Option' (string) linux.device_file = '/dev/bus/usb/006/003' (string) linux.hotplug_type = 2 (0x2) (int) linux.subsystem = 'usb' (string) linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:1e.0/0000:15:00.0/0000:16:00.0/usb6/6-1' (string) usb_device.bus_number = 6 (0x6) (int) usb_device.can_wake_up = false (bool) usb_device.configuration_value = 1 (0x1) (int) usb_device.device_class = 255 (0xff) (int) usb_device.device_protocol = 255 (0xff) (int) usb_device.device_revision_bcd = 0 (0x0) (int) usb_device.device_subclass = 255 (0xff) (int) usb_device.is_self_powered = false (bool) usb_device.linux.device_number = 3 (0x3) (int) usb_device.linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:1e.0/0000:15:00.0/0000:16:00.0/usb6/6-1' (string) usb_device.max_power = 500 (0x1f4) (int) usb_device.num_configurations = 1 (0x1) (int) usb_device.num_interfaces = 3 (0x3) (int) usb_device.num_ports = 0 (0x0) (int) usb_device.product = 'Globetrotter HSUPA Modem' (string) usb_device.product_id = 28689 (0x7011) (int) usb_device.serial = 'Serial Number' (string) usb_device.speed = 12.0 (12) (double) usb_device.vendor = 'Option' (string) usb_device.vendor_id = 2800 (0xaf0) (int) usb_device.version = 1.1 (1.1) (double)
AT+CPIN? +CPIN: SIM PIN OK AT+COPS? +COPS: 0,0,"Limited Service",2 OK AT+CPIN=0000 OK AT+CPIN? +CPIN: READY OK #wait a bit... AT+COPS? +COPS: 0,0,"Orange F",2 OK AT I Manufacturer: Option N.V. Model: GlobeTrotter HSUPA Modem Revision: 2.9.2Hd (Date: Jan 16 2008, Time: 14:13:16) OK AT +CGMI Option N.V. OK AT +CGMM GlobeTrotter HSUPA Modem OK AT +CGMR 2.9.2Hd (Date: Jan 16 2008, Time: 14:13:16) OK AT+CPAS=? +CPAS: (0,3,4) OK AT+CIMI 123456789012345 OK AT+CPAS +CPAS: 0 OK AT+COPS? +COPS: 0,0,"Limited Service",2
You can identify/detect your device using hardinfo.
Gnome's Application Menu > System Tools > Hardinfo