Difference between revisions of "Qualcomm Gobi 2000"

From ThinkWiki
Jump to: navigation, search
(GPS)
(GPS)
Line 80: Line 80:
 
Also before you can use "$GPS_START/$GPS_STOP" feature, you need to enable it in Windows ThinkVantage GPS(Auto enable tracking checkbox in Preferences).
 
Also before you can use "$GPS_START/$GPS_STOP" feature, you need to enable it in Windows ThinkVantage GPS(Auto enable tracking checkbox in Preferences).
 
You will need to enable it only once.
 
You will need to enable it only once.
 +
 +
You could use gpsctl to verify if gpsd detected the device correctly:
 +
$ gpsctl
 +
gpsctl: /dev/ttyUSB2 identified as Generic NMEA at 9600
 +
 +
If gpsd didn't detect the serial port the use the following line:
 +
sudo /lib/udev/gpsd.hotplug add /dev/ttyUSB2
 +
 +
Use xgps or cgps to verify if the GPS has a fix. If it does have a fix you could use [http://www.tangogps.com TangoGPS] or any other GPS tool which uses gpsd.
  
 
== Carrier specific configurations ==
 
== Carrier specific configurations ==

Revision as of 10:57, 2 March 2011

Qualcomm Gobi 2000

This is a Qualcomm WWAN Adapter that is installed in a Mini-PCI Express slot

NOTE!
Specific versions of this card may come pre-configured for a certain carrier (AT&T, Verizon, Vodafone UK)

Features

  • Chipset: Qualcomm Gobi 2000
  • USB ID: 05c6:9204 (loader)
  • USB ID: 05c6:9205 (modem)
  • EV-DO/CDMA (800 & 1900Mhz)
  • GSM/GPRS/EDGE (850, 900, 1800 & 1900MHz)
  • HSPA/UMTS (800, 850, 900, 1900 & 2100MHz)
  • GPS, AGPS
  • Up to 7.2Mbps download, 5.76Mbps upload (HSPA/UMTS)
  • Up to 3.1Mbps download, 1.8Mbps upload (EV-DO)
Qualcomm Gobi 2000 WWAN Adapter

Lenovo Partnumbers

  • ThinkPad AT&T® Gobi 2000 Broadband Option 78Y1398
  • ThinkPad Gobi 2000 Broadband Option 78Y1399

Firmware

The firmware for this device is not publicly downloadable and currently must be obtained from a windows installation. The firmware consists of 3 parts:

  • amss.mbn (firmware stage 1)
  • apps.mbn (firmware stage 2)
  • UQCN.mbn (formware stage 3) - includes configuration and carrier specific settings)

Default location for the firmware can be found in the following directory:

  • C:\Program Files (x86)\QUALCOMM\Images\Lenovo

MD5 SUM of known firmware files:

  • 84d002b0ef003cde6c95826bfbf067fe /lib/firmware/gobi/amss.mbn (STAGE 1, tested with UK T510, O2 SIM)
  • d7496085f1af3d1bfdf0fa60c3222766 /lib/firmware/gobi/apps.mbn (STAGE 2, tested with UK T510, O2 SIM)
  • 1aa5727b034dd1f371a3412d5800c1a3 /lib/firmware/gobi/UQCN.mbn (STAGE 3, UMTS unlocked, tested with UK T510, O2 SIM)

I am experimenting on an alternative way, described on the discussion page. Sebi 15:08, 15 March 2010 (UTC)

The method you describe on the talk page is in fact the same method I used to obtain these files mentioned above. We should complete the table on the talk page with information and MD5 sums for all 12 firmware options, and place it on this page, along with instructions for both methods to obtain the files. Catphish

I can confirm that the method works from the discussion page --Aneiser 16:22, 18 August 2010 (UTC)

Firmware loader

The firmware for this device must be loaded prior to using the device. The firmware loading interface is exposed over USB as id 05c6:9204 which can be accessed as a character (TTYUSB) device under Linux using the qcserial driver (modified to include correct USB IDs). The firmware can be loaded using the gobi_loader application [1].

NOTE!
Adding the correct USB IDs to the qcserial driver is NOT sufficient since the Gobi 2000 is NOT supported even in kernel 2.6.34. There are patches on the gobi_loader home page mentioned above.
NOTE!
gobi_loader stopped working with kernel 2.6.32. There are patches on the gobi_loader home page mentioned above.
NOTE!
It works with ArchLinux using kernel 2.6.35.2 and gobi-loader 0.7. Just copy the three firmware files to /lib/firmware/gobi

Modem

After firmware is loaded, the modem is exposed over USB as id 05c6:9205 which can be accessed as a character (TTYUSB) device under Linux using the qcserial (modified to include correct USB IDs). Normal dial-up software can be used to create a 3G connection.

GPS

With a small kernel patch (submitted upstream: http://marc.info/?l=linux-kernel&m=128534473802312&w=2) two additional serial ports are available: Diagnostics Monitor and NMEA GPS. The three serial ports are:

       # /dev/ttyUSB0 -> Diagnostics
       # /dev/ttyUSB1 -> 3G Modem
       # /dev/ttyUSB2 -> NMEA GPS port

There is a PPA for the qcserial module for Ubuntu 10.10 which uses DKMS: ppa:dveeden/thinkpad-fixes.

If you have another serial USB device activated before the Gobi the ttyUSB-numbers will certainly change.

The Diagnostics Monitor uses Qualcomm's DM protocol; I used libqcdm (ModemManager) to talk to it, found it working, but at least DM commands 12 and 64 are not implemented on my device (Thinkpad x100e).

The GPS port and how to enable it has been confirmed now in the Gobi 3000 source code at: https://www.codeaurora.org/patches/quic/gobi/ Enable/disable GPS with:

       echo "\$GPS_START" > /dev/ttyUSB2
       # use GPS
       echo "\$GPS_STOP"  > /dev/ttyUSB2

Preconditions: this has only been tested with a 3G SIM card attached to the device and the firmware successfully loaded. It is not necessary though to be connected via 3G to be able to use GPS. Also before you can use "$GPS_START/$GPS_STOP" feature, you need to enable it in Windows ThinkVantage GPS(Auto enable tracking checkbox in Preferences). You will need to enable it only once.

You could use gpsctl to verify if gpsd detected the device correctly:

$ gpsctl
gpsctl: /dev/ttyUSB2 identified as Generic NMEA at 9600

If gpsd didn't detect the serial port the use the following line:

sudo /lib/udev/gpsd.hotplug add /dev/ttyUSB2

Use xgps or cgps to verify if the GPS has a fix. If it does have a fix you could use TangoGPS or any other GPS tool which uses gpsd.

Carrier specific configurations

Each device is intended to be used with a specific carrier, and is shipped with firmware to support that carrier. Notebooks are often also shipped with a pre-installed SIM. Other carriers may work by loading a different firmware version. The 'generic UMTS' stage 3 firmware is known to with with O2, an unsupported UK carrier. See above for a list of known firmware files.

NOTE!
It may be illegal or a breach of contract in various countries to bypass a carrier lock


Troubleshooting

Some users have experienced the modem entering a strange state in which it refuses any attempt of loading the firmware. There seem to be at least two ways to reset the modem to get it working as normally again:

1) try to disable WWAN in BIOS and boot your computer. Then shut down it, and enable WWAN again. OR:

2) remove the AC adapter as well as the battery pack and then hold the power button for some time (approx 30 sec. - 1 min.). Then insert the battery again and boot as usual.

See discussion page (22 - 23 January 2011) for further details. --stman 10:10, 23 January 2011 (UTC)


Links

ThinkPads this device may be found in

AT&T service contract may be required

Verizon service contract may be required

Gobi 2000 WWAN upgradable

NOTE!
not every ThinkPad listed here can actually be upgraded