ubuntu

Macbook Pro 3,1 Jaunty setup

Setup the mactel-support package source. In System > Administration > Software Sources, on the Third-Party Software tab, add:

deb http://ppa.launchpad.net/mactel-support/ubuntu jaunty main

Then download the software:

sudo apt-get update && sudo apt-get install install xserver-xorg-input-synaptics bcm5974-dkms applesmc-dkms mbp-nvidia-bl-dkms isight-firmware-tools

Install the kernel modules:

sudo modprobe mbp_nvidia_bl
sudo modprobe appletouch
sudo modprobe applesmc
sudo modprobe bcm5974

Then make sure the modules get loaded again after a reboot with a sudo gedit /etc/modules

# /etc/modules: kernel modules to load at boot time.
#
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with "#" are ignored.

loop
lp
rtc
mbp_nvidia_bl
applesmc
appletouch
bcm5974

Make the mouse go faster and turn on two finger click to right click:

sudo apt-get remove mouseemu
sudo gedit /etc/hal/fdi/policy/appletouch.fdi

<?xml version="1.0" encoding="ISO-8859-1"?>
<deviceinfo version="0.2">
  <device>

    <match key="info.capabilities" contains="input.touchpad">
        <merge key="input.x11_driver" type="string">synaptics</merge>
        <merge key="input.x11_options.SHMConfig" type="string">1</merge>

        <merge key="input.x11_options.TopEdge" type="string">0</merge>
        <merge key="input.x11_options.LeftEdge" type="string">0</merge>
        <merge key="input.x11_options.RightEdge" type="string">1100</merge>
        <merge key="input.x11_options.BottomEdge" type="string">800</merge>

        <merge key="input.x11_options.FingerLow" type="string">15</merge>
        <merge key="input.x11_options.FingerHigh" type="string">25</merge>
        <merge key="input.x11_options.TapButton1" type="string">0</merge>
        <merge key="input.x11_options.TapButton2" type="string">0</merge>
        <merge key="input.x11_options.TapButton3" type="string">0</merge>
        <merge key="input.x11_options.ClickFinger1" type="string">1</merge>
        <merge key="input.x11_options.ClickFinger2" type="string">3</merge>
        <merge key="input.x11_options.ClickFinger3" type="string">2</merge>
        <merge key="input.x11_options.VertEdgeScroll" type="string">0</merge>
        <merge key="input.x11_options.HorizEdgeScroll" type="string">0</merge>
        <merge key="input.x11_options.VertTwoFingerScroll" type="string">1</merge>

        <merge key="input.x11_options.MinSpeed" type="string">0.5</merge>
        <merge key="input.x11_options.MaxSpeed" type="string">2.0</merge>
        <merge key="input.x11_options.AccelFactor" type="string">0.15</merge>
        <merge key="input.x11_options.VertScrollDelta" type="string">20</merge>
    </match>
  </device>
</deviceinfo>

Reload the appletouch kernel module to activate the new touchpad settings:

sudo modprobe -r appletouch && sudo modprobe appletouch

Get an updated version of the wifi kernel module for the Atheros AR5008 to improve the problems with a weak signal on the default install: sudo apt-get install linux-backports-modules-jaunty

Make the laptop sleep when the lid is shut in System > Preferences > Power Management.

If you didn't already get the window open on you, System > Administration > Hardware Drivers will help you enable the proprietary Nvidia drivers. Version 180 seems to work for me so far.

Setup Medibuntu.

Switch the boot screen theme from Ubuntu to Xubuntu: sudo apt-get install startupmanager

Helpful doc on setting up Eclipse PDT.


» deekayen's blog

Xorg.conf settings for Quadro NVS 440 dual monitors

I was totally unable to use the "Screens and Graphics" utility that came with Gutsy Gibbon Ubuntu to setup my dual-chip Quadro NVS 440 card for two monitors. I made my own config in the end.

Section "Files"
EndSection

Section "Module"
	Load		"glx"
	Load		"v4l"
EndSection

Section "InputDevice"
	Identifier	"Generic Keyboard"
	Driver		"kbd"
	Option		"CoreKeyboard"
	Option		"XkbRules"	"xorg"
	Option		"XkbModel"	"pc105"
	Option		"XkbLayout"	"us"
EndSection

Section "InputDevice"
	Identifier	"Configured Mouse"
	Driver		"mouse"
	Option		"CorePointer"
	Option		"Device"	"/dev/input/mice"
	Option		"Protocol"	"ImPS/2"
	Option		"ZAxisMapping"	"4 5"
	Option		"Emulate3Buttons"	"true"
EndSection

Section "ServerLayout"
	Identifier	"Default Layout"
	Screen		"screen1" LeftOf "screen2"
	Screen		"screen2"
	Option		"Xinerama" "on"
	Option		"Clone" "off"
	Inputdevice	"Generic Keyboard"
	Inputdevice	"Configured Mouse"
EndSection
Section "device"
	Identifier	"device1"
	Boardname	"NVIDIA Quadro NVS 440"
	Busid		"PCI:3:0:0"
	Driver		"nvidia"
EndSection
Section "screen"
	Identifier	"screen1"
	Device		"device1"
	Defaultdepth	24
	Monitor		"monitor1"
	SubSection "Display"
		Depth	24
		Modes	"1280x1024" "1280x960" "1152x864" "1024x768" "800x600"
	EndSubSection
EndSection
Section "monitor"
	Identifier	"monitor1"
	Vendorname	"ViewSonic"
	Modelname	"ViewSonic VP181b-2"
	Horizsync	30-92
	Vertrefresh	50-85
	Option		"dpms"
EndSection
Section "screen"
	Identifier	"screen2"
	Device		"device2"
	Defaultdepth	24
	Monitor		"monitor2"
	SubSection "Display"
		Depth	24
		Modes	"1280x1024" "1280x960" "1152x864" "1024x768" "800x600"
	EndSubSection
EndSection
Section "monitor"
	Identifier	"monitor2"
	Vendorname	"Dell"
	Modelname	"Dell D1025TM"
	Horizsync	31.0-85.0
	Vertrefresh	50.0-120.0
	Option		"dpms"
EndSection
Section "device"
	Identifier	"device2"
	Boardname	"NVIDIA Quadro NVS 440"
	Busid		"PCI:4:0:0"
	Driver		"nvidia"
	Vendorname	"NVIDIA"
EndSection

Topics: · · ·
» deekayen's blog · 1 attachment
Syndicate content
recreation