Howto: WWAN on a Lenovo ThinkPad X100e with Ubuntu 10.04
I could not find a single correct and useful description how to get the Gobi™ 2000 PCI Express Mini Card, that is built into some Lenovo ThinkPad X100e models, to work with Ubuntu Linux 10.04 LTS “Lucid Lynx” on Google (which is identical to the Internet). Therefore I want to share my knowledge with you, before I forget everything. This howto might also work for other notebooks that use the same WWAN/UMTS/3G card (like the ThinkPad T410).
- First you should turn off and open your notebook at the bottom by removing the 7 screws. Inside, you will see the sim card socket and instructions how to use it (it’s not too obvious). If you got another ThinkPad model like the T410, the sim card needs to be installed differently, for example behind the battery pack.
- If you did not install Ubuntu yet and Windows 7 is still there, then get the files amss.mbn, apps.mbn and UQCN.mbn from the directory C:\Program Files (x86)\QUALCOMM\Images\Lenovo – the first two files are in the “UMTS” sub-directory, the other one is in “0”. As I didn’t have my Windows 7 partition on the X100e anymore, I simply copied the files from a ThinkPad T410. If you don’t have a copy of these files, you will find some advice at http://www.thinkwiki.org/wiki/Talk:Qualcomm_Gobi_2000.
- If you did not install Ubuntu yet, do it now! The X100e has no DVD drive, so you need to download the ISO image from ubuntu.com and then create a bootable USB stick. The free tool http://unetbootin.sourceforge.net/ can be used for that. Use the 64bit version of Ubuntu, as the X100e supports up to 8GB of memory and you don’t want to re-install everything after an upgrade. I know the Ubuntu Web site says that it is not recommended for daily desktop usage – this is nonsense.
- Don’t use the proprietary ATI graphics driver. Uninstall or disable it. It will break with the new kernel.
- Download the latest version of the gobi loader from http://www.codon.org.uk/~mjg59/gobi_loader/download/
- Untar the files using _tar -xzf gobiloader-0.6.tar.gz, change into the directory and then install the tool via the usual make and sudo make install procedure.
- Now copy the files amss.mbn, apps.mbn and UQCN.mbn to /lib/firmware/gobi/: sudo cp amss.mbn apps.mbn UQCN.mbn /lib/firmware/gobi
- Get the latest mainline kernel from http://kernel.ubuntu.com/~kernel-ppa/mainline/ – I am using v2.6.35-rc1-lucid, but as kernel development does not stop, you should check if there is a later version available. The important thing is that the directory ends with -lucid for Ubuntu 10.04. If you use an older version, you can try v2.6.34-rc2, but I am not sure, if that will work as well. You need to download the kernel headers and image for your architecture (i386/32bit or amd64/64bit) only.
- Follow the instructions on https://wiki.ubuntu.com/KernelTeam/MainlineBuilds – if there are other .deb files in the current directory (where you downloaded the kernel files in the previous step), then you can not use sudo dpkg -i *.deb, but need to explicitly list the deb files: sudo dpkg -i linux-headers-2.6.27-02062715-generic_2.6.27-02062715_amd64.deb linux-headers-2.6.27-02062715_2.6.27-02062715_all.deb linux-image-2.6.27-02062715-generic_2.6.27-02062715_amd64.deb (if you got the 64bit version of Ubuntu installed).
- After restart, you will notice that your wireless connection does not work anymore. Therefore, you should wait and download the file rtl8192se_linux_2.6.0015.0127.2010.tar.gz first, for example from http://www.realtek.com.tw/downloads – some people say downloads from this site were corrupted, so wish you good luck! Some people also say these drivers don’t work with a 64bit kernel. I did not experience any problems in that direction. But if you want to try, there seems to be another (older) driver for 64bit systems available for download at http://launchpadlibrarian.net/34090404/rtl8192se_linux_2.6.0010.1012.2009_64bit.tar.gz
- Of course, you need the build-essential package to compile the drivers: sudo apt-get install build-essential – now it should be safe to restart.
- After restart, you will notice that the ThinkPad hotkeys are working now, which is another benefit of kernel 2.6.35. However you still need to compile those WLAN drivers: extract the files from the tar archive (tar -xzf somefile.tar.gz), change into the directory, say “make” and then NOT sudo make install. Instead you copy the file HAL/rtl8192/r8192se_pci.ko to /lib/modules/2.6.35-020635rc1-generic/kernel/drivers/net/wireless/ (depending on your kernel version, of course): _sudo cp HAL/rtl8192/r8192sepci.ko /lib/modules/2.6.35-020635rc1-generic/kernel/drivers/net/wireless/
- After a sudo depmod -a or a restart you can use wireless networking again.
- Last but not least, you need to unlock your WWAN card via rfkill unblock wwan and you’re done! You can now create new WWAN connections using the standard Gnome Network Manager in the top right corner.
(I am not responsible for any damages)
This table shows the contents of the individual Gobi 2000 firmware files:
|3||Sprint Image||includes special Firmware|
|6||Generic UMTS Image|
|8||Telecom Italia Image|
|12||DoCoMo Image||includes special Firmware|