Categories
Hardware Ubuntu

Ubuntu 13.10 on Lenovo Ideapad Yoga 2 Pro 13

Installing and using Ubuntu 13.10 have some pitfalls. This is a diary of my installation attempt. Although I consider my installation as merely stable, and I’ve already put all the necessary files and configs upon, I am not sure, whether this installation is final.

Identified and solved Problems with Ubuntu 13.10

– Dislplay only works, when the following Kernel parameter is set: acpi_backlight=vendor
– Kernel module ideapad_laptop is loaded automatically, which makes the WLAN and Display brightnes keys not working. Blacklisting or rmmod-ing the Kernel module works.

Resizing Windows Partition

As described, using Windows 8.1 is not my cup of tea. Resizing the Windows partition was merely an adventure, because I could not find the Computer Manager I was used to from Windwos XP and 7. How ever, got to the Classic Desktop, right click the Windows (former Start) symbol in the lower left corner, I found the Computer Manager. On the device manager, the Windows partition was able to be resized down to half of the 256GB SSD.

BIOS Settings

Plug-in the Ubuntu USB stick before you proceed.

To open BIOS/EFI settings, you need to power down the system and start it up with the separate very tiny key right to the power key.

In BIOS settings, disable FastBoot and change the boot priority to start up from USB first.

Booting Ubuntu Installer from USB

While having the Grub menu from the USB stick on display, press e to edit the Grub options. On the Kernel load line, add ‘acpi_backlight=vendor’ before the ‘quiet’ option. Press F10 to load these settings – don’t forget to push the Fn key to get F10.

Before Installing: WLAN and Display Resolution

Use the Try Ubuntu First mode to change some settings first before you install Ubuntu to the disk.

Ubuntu uses maximum resolution by default. However, 3400×1800 on 13.3″ is too high dpi to really use it. Use the Display Settings to switch back to Full HD 1920×1080.

To enable Wifi, unload the ideapad_laptop kernel module by typing:
sudo rmmod ideapad_laptop

Give it some time, then you can select your Wifi in network manager as usual.

Use gparted to reduce the Windows partition to the desired value.

Then, install Ubuntu as usual.

Starting Up the First Time

While rebooting into your newly installed Ubuntu, re-add the kernel option ‘acpi_backlight=vendor’. Since Grub is using the full resolution and is doing a full refresh on every keystroke, Grub is practically unusuable. Have patience.

Grub Resolution and Kernel Tweaking

On you newly bootet Ubuntu installation, change /etc/default/grub with the following:
GRUB_CMDLINE_LINUX_DEFAULT=”acpi_backlight=vendor quiet splash”
GRUB_GFXMODE=640×480

Use update-grub to have those settings persistent.

To have wifi and screen brightnes buttons working, black list the ‘ideapad_laptop’ kernel module. In /etc/modprobe.d/ I created a file “blacklist-ideapad_laptop.conf”, and in it, I put “blacklist ideapad_laptop”.

Like before, display resolution of 1920×1080 seems to be very comfortable and cozy on this ultrabook. Using the full resolution and higher the font sizes does not work like expected. On Gnome3 Flashback, the top panel is empty afterwards.

Unresolved Problems so Far

– Touchpad is way too sensitive, unable to press a button without moving the cursor
– Using full resolution
– Switching Function Keys / Multimedia Keys
– Rotating the display does not rotate the touch screen. Like this, tent mode is not really usuable.
Helpful sources

I was relying my installation attempt on the following sources:

– http://askubuntu.com/questions/367963/ubuntu-on-lenovo-yoga-2-pro
– http://datainfer.wordpress.com/2013/11/21/install-ubuntu-on-ideapad-yoga-2-pro/
– http://askubuntu.com/questions/54067/how-do-i-safely-change-grub2-screen-resolution

Thank you so much for your helpful descriptions!

Categories
Ubuntu

Compile resperf for Ubuntu

Resperf and dnsperf are very hany, if you try to benchmark or even test your DNS server. While dnsperf is made for authorative nameservers, resperf is ready to test your resolver (the one with recursion).

However, nominum does not provide an Ubuntu binary. Due to some bugs and missing packages, compilation is not only configure/make/make-install.

Needed packages are (just apt-get install ’em):

  • libkrb5-dev
    libbind-dev
    build-essential
    libssl-dev
    libcap-dev
    libxml2-dev
  • gnuplot

If you encounter the problem, that isc does not find the file ‘stat.h’, issue

cp /usr/include/linux/stat.h /usr/include/isc/

 

Categories
Ubuntu

Ubuntu Gnome3 and Thinlinc

To have a Gnome3 Classic environment as Desktop for Thinlinc, add or edit a profile and put the following as command line:

gnome-session-fallback

Categories
Ubuntu

Install Thinlinc on Ubuntu 12.10

This helps over an Ubuntu bug, which prevents from installing Thinlinc on Ubuntu 12.10

http://www.cendio.com/resources/docs/platforms/ubuntu.xhtml

Categories
Geeky Ubuntu

Gutenprint gave back Life to my Printer

I have a approx. 8 years old Brother HL5150D, a b/w laser printer with duplex unit at home. The older the printer got, the longer a print was lasting using Ubuntu Linux and either the original Brother PPD or the Openprinting PPD; of course both for CUPS and Linux. And I tried a whole lot of other printer drivers as well.

Then I was evaluating a new printer for home use, nowadays a color laser MFC with duplex unit, where there are not that many of them for rather budget price. And the biggest point was Linux compatibility. While googling, I stumbled over a message, that (at least for Canon printers), Gutenprint drivers are a lot better working than the original ones, if there were.

So I give it a shot and tried the Gutenprint driver for my old Brother. Astonishingly, even with full graphic pages, printing a duplex page lasted less than half a minute (while before, print preparation and data transmission lasted much more than 5 minutes per duplex page). I tried with many different PDF and image files, the paper came out of the printer very fast and reliable.

So do I really need a new printer now? Having colored prints is a temptation. But pure technical speaking, I don’t need a new printer now.

Categories
Ubuntu Virtualisation

ubuntu-vm-builder and Tasksel tasks

To add tasksel tasks while using ubuntu-vm-builder, just add a ^ at the end of the tasksel task while using the option –addpkg. E.g.

ubuntu-vm-builder kvm precise --addpkg lamp-server^

Categories
Ubuntu

Getting Wifi on U160 and Quantal

My Lenovo Ideapad U160 is empowered with the famous not-to-work-out-of-the-box Broadcom BCM4313 PCI-ID 14e4:4727. This is how to get it to work with Ubuntu 12.10 Quantal.

Update: Using the ‘wl’ kernel module (propriatary one found in the package bcmwl-kernel-source), did the trick for some minutes. After that, all network connections will be dropped and no new connections can be established. With rmmod wl; modprobe wl; network was functioning again for some minutes. Using lspci -nn | grep -i wire -A6 I’ve found out, that there is a 2nd driver for this interface: brcmsmac. Using this module, the network stayed connected permanently.

1st: Blacklist the following modules by creating a new file /etc/modprobe.d/blacklist-local.conf and issue a update-initramfs -u:

  • acer_wmi
  • wl

2nd: Add the following line to /etc/modules

  • brcmsmac

3rd: reboot.

Categories
Ubuntu

Remove Shopping Feature in Ubuntu Quantal

To remove the shopping feature, which actually searches Amazons web store on all dash search strings, just apt-get purge the  folloging:

unity-lens-shopping