Thinkpad X240 and Debian Linux

This post is being updates as we go… check back later for more

So, Lenovo have finally made another laptop that has specs I can live with: The new Thinkpad X240.
The Lenovo web-shop is a steaming pile of crap, and trying to customize/configure the laptop will take many attempts, with various differences between the different locales. However, in the end I ended up with the laptop configured the way I wanted it:

Specifications:

  • Full HD, non-touch, non-glare 12.5″ screen (1920×1080)
  • Intel Dual-Core i5-4300U
  • 500G Harddisk (swapped with a SAMSUNG 840 SSD, 250GB immediately after arrival)
  • 8GB DDR3 Ram
  • Intel 802.11ac dual-band wifi and Bluetooth
  • Intel Gigabit Ethernet
  • USB 3.0 (2 ports, 1 left, 1 right)
  • Smartcard reader
  • SD-Card reader
  • 3-Cell (internal, 23Whr) + 6-Cell-High-Capacity backside battery (72Whr, total ~95Whr)
  • Backlit US-international keyboard
  • Clickpad and clit-mouse
  • VGA and Mini-DisplayPort
  • Docking port (though I didn’t buy a dock)
  • WWAN antenna’s (WWAN modem optional)

I also bought a set of adapter cables to convert from the old-style 7.9MM round thinkpad adapter to the new flat/square connector on the X240 (and X1-Carbon). These can be found on aliexpress or ebay so I could re-use my 4+ existing Thinkpad Adapters.

Software:

By default, the Thinkpad X240 comes with Windows 8… which is not very user-friendly, and definitely not compatible with my usage. I removed the internal HDD drive, swapped it out with a Samsung 250GB SSD and installed Debian Jessie on this drive. (BTW: Windows 8 was very sluggish on the HDD drive, even with 8GB of ram)

I prefer running the Mate/Gnome-2 desktop, so I added the mate-desktop repositories and installed mate-desktop-environment.

Hardware Configuration

Lenovo has made it very easy to disable unneeded hardware in the EFI/BIOS. The following devices can be turned off (to add battery-life and privacy 😛 )

  • 720p Webcam
  • Microphones
  • WWAN
  • WLAN
  • LAN
  • USB

Config tweaking

  • Tweak440s: https://github.com/MacGyverNL/tweak440s
  • Synaptics configuration: /usr/share/X11/xorg.conf.d/50-synaptics.conf
    • Option “SoftButtonAreas” “60% 0 0 5% 40% 60% 0 5%”
  • Disable the soundcard, so the internal speakers are the ‘fallback’ option, then logout/login to make the media buttons work on the new default device.

Likes

  • Very quick resume from suspend, open the lid and immediately see the ‘unlock screensaver’ popup
  • Full-HD display
  • Very low battery-drain when idle and almost none in suspend
  • Hot swappable battery
  • Lightweight

Dislikes

  • No fysical buttons with the trackpoint/touchpad
  • No leds for wifi/disk activity
  • No way to set ‘fn-lock’ automatically
  • Not as ‘non-glare’ as they used to be, but still acceptable
  • End/Insert button is shared, to use ‘end’ you need Fn-End, while I never use insert.
    • FIXED: Edit /usr/share/X11/xkb/keycodes/evdev, and swap the codes for END and INS, then run: setxkbmap
    • <INS> = 115;
    • <END> = 118;

Vaio VGN-TZ21XN/B in review

As I wrote earlier, I ordered a TZ21 from Sony. I’ve been playing with it for a few days now, and decided to write down my first experiences with it.

The TZ21 is very light, it only weighs 1240 grams, and given it’s small size and weight it’s easy to carry it around, or keep it in your hands while typing or watching the screen. The keyboard is quite comfortable, considering it’s size, and I’ve adapted to it quite well. It’s quite like the new macbook keyboards, and i’ve only occasionally miss-typed around the edges of the keyboard. The normal a-z characters are all very reachable. I feared I would get a UK keyboard, but apparently Sony found out that in the Netherlands we prefer US keyboards, and supplied the TZ21 with a normal US keyboard.

The screen is great, it’s only 11.1 inches small, but provides a nice high-res (1366×768, wxga) which will let you display enough programs without filling up the available real-estate. The brightness of the screen can be set in 7 steps, from dim enough to work comfortably in darkened areas to bright enough for outside use. (Though I haven’t tested it in sunlight yet, it’s fall, and constantly raining here).

powerhistory graph
power estimated time graph
Battery life is (at least under linux, and using most power-saving settings) as good as, or even better then the advertised 7 hours.
I’ve had it on for nearly 6 hours now, and still have half an hour remaining, while having wifi on the entire time. Of course setting the brightness higher, and leaving cd/bluetooth/lan/usb on reduces battery-life, but they can all be turned off individually.

The modem, lan and firewire ports on the left-hand side are nicely covered by a bit of plastic/rubber to keep the dirt out. The 2 🙁 usb-ports and the expresscard34 slot are also on the left-hand side of the notebook. The back of the laptop is free of ports, as it only holds the 3, 6 or 9 cell battery (6 default). The default battery makes for about 1/3rd of the total weight of the laptop. The right-hand side only holds the VGA port and the dvd-writer. It reads and writes all current disc-formats, including dual-layer and dvd-ram. The power to the drive (which appears as a usb-device to the system) can be turned off from linux or windows to save power.

The front of the laptop houses the headphones and microphone plugs, the MS and MMC/SD slot, battery/hd led, rfkill switch and wifi/bluetooth leds. It also has some multimedia buttons, which I haven’t been able to use under either vista or linux.

I haven’t done much with the vista install on the TZ21 yet, only removing most of the crapware that came installed with it, so I could save some space in the quite stuffed harddrive. I’ve removed the 9GB recovery partition, and recycled it for a Ubuntu 7.10 install after backing it up to a USB drive.

Most of the hardware in the TZ21 is supported out of the box in Ubuntu 7.10, at least the devices that are ‘required’. There is still no working driver for the webcam, fingerprint reader and sd-slot. I haven’t been able to test expresscard, modem or the sony memory-stick slot, since I don’t have any of those devices around.

Some dislikes in the TZ21 are:

  • A backlit keyboard, or a led in the screen illuminating the keyboard. Especially with the brightness of the screen set to low it can be quite hard to find keys on the keyboard in darker areas, since everything is black.
  • The touchpad isn’t the friendliest, and the mousebuttons are right on the edge of the laptop, making it hard to reach them when you have the laptop lying on your legs.
  • The fingerprint reader is in between the mouse buttons, making it hard to middle-click, i’d prefer it somewhere to the side.
  • Very long ‘power-on’ battery charge time (4+ hours), probably due to low-powered adapter.
  • No ‘status’ leds on the battery to tell you how full/empty they are without plugging them in.
  • Sony doesn’t let you enable hardware virtualisation in the bios, even though the cpu(‘s) support it.

Some cool things:

  • The power led starts blinking faster when power is low, and switched from green to red when you’re suspended.
  • Powerusage can be reduced from a default 15 watt (most stuff on) to about 7-8 Watts with only the wifi on.
  • Extended battery is available (though quite expensive, $400+)
  • Decent speakers for their size, though headphones are recommended
  • Design is really nice, small, thin, light.
  • The power-adapter is really small, but it only needs to deliver 30 watts to charge and run the TZ21, so that’s easy. There is also a yellow led on the power-plug, so you can instantly see if it is plugged in.
  • I haven’t seen the 3 temperature sensors go past 61 degrees, while the laptop does become warm to the touch, it doesn’t get hot or uncomfortable.

All in all a great piece of technology, if you need ultralight and can afford it. I recommend the TZ21, and let’s home some remaining issues get fixed with a bios-update 🙂

Update: Ubuntu on the Vaio VGN-TZ21XN

New laptop coming

I just ordered a new laptop at work… going for the ultra-portable this time, in stead of ultra-powerful. So the laptop that’s replacing my aging (>3.5 year old) Acer Ferrari 3000Lmi is the (pre-order) Sony Vaio VGN-TZ21XN.

I’ve been told it could be here on Monday or Tuesday… so I can spend some time re-installing it before going to my next client, as it won’t be running Vista for very long.

Sony won’t let me link to it directly, but pasting this URL twice will get you to the specifications (they check referer or a cookie or something)

https://www.sonystyle.nl/SonyStyle/catalog/setCurrentItem/(xcm=PCM_b2ccrmstandard&layout=15_108_60_49_109_113_2&uiarea=2&ctype=areaDetails&next=seeItem&carea=465FA8BBA42900D5E10080002BC29B85&citem=465FA8BBA42900D5E10080002BC29B8545C731622FD80085000000002BC29B71)/.do

Quick specs:
* 11.1 Inch WXGA (1366×768 screen, LED backlight
* Core2 Duo ULV U7600 (1.20 GHz)
* 100GB 4200rpm disk
* 2Gigs DDR2 ram (1 slot)
* Intel video/wireless/chipset, bluetooth
* DVD±RW/±R DL/RAM drive
* Webcam in screen (vga, 30fps)
* Fingerprint reader
* UK Keyboard 🙁 (damn sony, only sells laptops with non-US keyboards in europe). It is the type used on the new macbooks.

My experience installing Ubuntu Gutsy on it should be here a day or so after I get it unpacked, as I just tried that (with crypted root) on my Acer Ferrari.