Tuesday, April 10, 2012

Ubuntu 12.04 on Lenovo Q150 with OCZ vertex 2 SSD and 4Gb of Memory

See my old post about about Lenovo Q150, OCZ vertex 2, 4gb of Memory and Ubuntu 11.04 installed on a SSD and using 4Gb of mem.

For ubuntu 12.04 on the Q150, I used a usbdrive flashed using "Startup Disk Creator" from ubuntu 11.10. to save the SSD from constant writes, I did not create a swap partition. I created only one partition and rely on 4Gb of real memory for all the memory needs.

Ubuntu 12.04 Desktop
This build detects all the hardware without problems, I recommend installing the nvidia drivers for better 3D and flash performance.


This new version boots faster and feels faster on the Q150 when compared to ubuntu 11.10.
I recommend the update since the install is a breeze and all hardware is setup without any fuzz. The sound, hdmi video out, wired network, wifi, a Logitech bluetooth keyboard, a usb wireless Logitech mouse, logitech usb sound bar speakers, blue-tooth dongle for the keyboard, all works great. I didn't found time to test hdmi sound out, but it should work since it worked on 11.10.


Software


I installed flash, chromium, banshee and hplip  for my wifi hp photosmart c8180 All-in-one printer using "Ubuntu Software center".

banshee and chromium


Hulu desktop

http://www.hulu.com/labs/hulu-desktop

Hulu Desktop
Dropbox and Google Music Manager


Google Music Manager 


https://play.google.com/music/listen


Select upload music, download 64 bit version, and double click on it to install it.

Also add it to startup from shutdown menu.




You can also get Google earth, chrome, gtalk plugin:

Skype

run command:
sudo apt-get install skype


Since this is so basic, I don't think there is much more to write about Ubuntu 12.04 installation and compatibility with the Q150, it all works great.



Ubuntu 12.4 install notes

Also related with install of Ubuntu 12.04 is my other post  Ubuntu 12.04 review on Lenovo Q150.

Add medibuntu repositories by running the commands below and use Software center to add the packages you need.

sudo -E wget --output-document=/etc/apt/sources.list.d/medibuntu.list http://www.medibuntu.org/sources.list.d/$(lsb_release -cs).list && sudo apt-get --quiet update && sudo apt-get --yes --quiet --allow-unauthenticated install medibuntu-keyring && sudo apt-get --quiet update
sudo apt-get --yes --quiet --allow-unauthenticated install medibuntu-keyring && sudo apt-get --quiet update
sudo apt-get install app-install-data-medibuntu apport-hooks-medibuntu 
sudo apt-get install non-free-codecs ubuntu-restricted-extras libdvdcss2


For google applications add one by one, the apps will add the repositories of the apps you install.
http://www.google.com/linuxrepositories/

Flash:
sudo apt-get install flashplugin-installer

Minitube and Vlc:
sudo apt-get install minitube vlc

Links:
http://www.unixmen.com/medibuntu-repositories-available-for-ubuntu-12-04-lts-precise-pangolin-ppa/
https://bugs.launchpad.net/ubuntu/+source/minitube/+bug/921287/comments/7


For MacBookPro users


Download the mac 12.04 iso for 64 bit (for EFI boot support) and boot your mac with it, it's the easiest method.

Sensors (temps & fans)


To enable proper detection of sensors edit /etc/modules:
gksudo gedit /etc/modules

Add to this to end of file, save and reboot:
coretemp

Bug report filed to track this not being part of the stock install.
To get the Macbook fans to work properly you will need to enable the Mactel PPA and install macfanctld.
sudo add-apt-repository ppa:mactel-support/ppa
sudo apt-get update && sudo apt-get install macfanctld

For more info on macfanctld
man macfanctld

Temperature, fanspeed, environmental light and keyboard backlight can be controlled over the sysfs exported interface at /sys/devices/platform/applesmc.768/.



edit your to look like this /etc/macfanctl.conf
# Config file for macfanctl daemon
#
# Note: 0 < temp_X_floor < temp_X_ceiling
#       0 < fan_min < 6200       

fan_min: 2000

temp_avg_floor: 36
temp_avg_ceiling: 55

temp_TC0P_floor: 50
temp_TC0P_ceiling: 58

temp_TG0P_floor: 50
temp_TG0P_ceiling: 58

# Add sensors to be excluded here, separated by space, i.e.
# exclude: 1 7
# will disable reading of sensors temp1_input and temp7_input.

exclude:

# log_level values:
#   0: Startup / Exit logging only
#   1: Basic temp / fan logging
#   2: Log all sensors  

log_level: 0


Wireless card
The Broadcom driver was not installed by default, you either need to connect your MacBookPro to the internet and allow the installer to download updates while installing. Or use System->Administration->Additional Drivers to install the STA drivers.
Sometimes it won't allow you to install the Drivers from "Additional Drivers" (specially with PAE Kernel) So, you will need to install the firmware manually:
sudo apt-get install firmware-b43-installer b43-fwcutter

Then, you need to reinstall bcmwl: 
sudo apt-get install --reinstall bcmwl-kernel-source

Touchpad (bcm5974)

The touchpad works out of the box. Uncheck the "Enable mouse clicks with touchpad" checkbox under the Touchpad tab, and enable two-finger scrolling from the preference->mouse->touchpad applet. Then the touchpad will work just like in OSX. Clicking and holding with one finger and dragging with the other work like a dream. Furthermore tweaking the drag and drop time to be less may be help. 

LCD Brightness Control

(taken fromhttp://www.voria.org/forum/viewtopic.php?f=3&t=1091):

If backlight control does not work for you, follow these instructions, this also enable PowerControl for the screen using the nvidia driver to keep temp down and battery life longer:
  • Edit the file '/etc/X11/xorg.conf' and add this line into the Device section:
  • Option  "Coolbits" "1"
    Option  "RegistryDwords" "EnableBrightnessControl=1; PowerMizerEnable=0x1; PerfLevelSrc=0x2222; PowerMizerLevel=0x3; PowerMizerDefaultAC=0x3"

Mac boot startup keys

Press C during startupStart up from a bootable CD, DVD, or USB thumb drive (such as OS X install media).
Press D during startupStart up in Apple Hardware Test (AHT).
Press Option-Command-P-R until you hear startup sound a second time.Reset NVRAM
Press Option during startupStart up in Startup Manager, where you can select an OS X volume to start from. Note: Press N to make the the first bootable Network volume appear as well.
Press Eject, F12, or hold the mouse or trackpad buttonEjects any removable media, such as an optical disc.
Press N during startupAttempt to start up from a compatible network server (NetBoot).
Press T during startupStart up in Target Disk Mode.
Press Shift during startupStart up in Safe Boot mode and temporarily disable login items.
Press Command-V during startupStart up in Verbose mode.
Press Command-S during startupStart up in Single-User mode.
Press Option-N during startupStart from a NetBoot server using the default boot image.
Press Command-R during startup
Start from Lion Recovery1
1 Available on Macs that ship with OS X Lion. Some CPUs require an EFI BootROM update to support this feature


https://help.ubuntu.com/community/MacBookPro5-5/Precise
https://help.ubuntu.com/community/MacBookPro

Ubuntu 25.04 desktop review and apps to install

Ubuntu 25.04 This new version of Ubuntu installs without a glitch in my ThinkPad X1 and Yoga 920, I setup this device with dual boot with wi...