Installatie Ubuntu Jaunty Jackalope
Back to current versionRestore this version

Installatie Ubuntu Jaunty Jackalope#

Since 26-06-2009 also applied to Linux Mint


Installed software#

gpsbabel#

To allow the USB devices to be read and written by a non-privileged user, create a file called /etc/udev/rules.d/51-garmin.rules with the following contents:
SYSFS{idVendor}=="091e", SYSFS{idProduct}=="0003", MODE="666"

Firefox Auto Hide Toolbar in Fullscreen Mode#

When you press F11 and go fullscreen, the toolbar auto hides and appear upon mouse over.This key changes the function of auto hide part.

Improvements#

Things that have improved with this release:

HP 6830s specifics#

My latest laptop requires some extra tweaks :

Sound#

Add the following line to /etc/modprobe.d/alsa-base.conf:

options snd-hda-intel model=laptop enable=1 index=0

Video driver#

Install the native ATI/AMD video driver if you want 3D effects. If you don't need that, the default driver is fine too.

Wireless driver#

This one works magnificently out of the box:

metskem@gneisenau:~$ sudo cat /sys/bus/pci/drivers/iwlagn/0000\:03\:00.0/power_level 
SYSTEM:auto	MODE:fixed	INDEX:0
metskem@gneisenau:~$ lspci
00:00.0 Host bridge: Intel Corporation Mobile 4 Series Chipset Memory Controller Hub (rev 07)
00:01.0 PCI bridge: Intel Corporation Mobile 4 Series Chipset PCI Express Graphics Port (rev 07)
00:1a.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 (rev 03)
00:1a.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 (rev 03)
00:1a.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #6 (rev 03)
00:1a.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 (rev 03)
00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03)
00:1c.0 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 1 (rev 03)
00:1c.1 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 2 (rev 03)
00:1c.2 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 3 (rev 03)
00:1c.4 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 5 (rev 03)
00:1c.5 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 6 (rev 03)
00:1d.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 (rev 03)
00:1d.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 (rev 03)
00:1d.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 (rev 03)
00:1d.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 93)
00:1f.0 ISA bridge: Intel Corporation ICH9M LPC Interface Controller (rev 03)
00:1f.2 SATA controller: Intel Corporation ICH9M/M-E SATA AHCI Controller (rev 03)
01:00.0 VGA compatible controller: ATI Technologies Inc Device 95c2
03:00.0 Network controller: Intel Corporation PRO/Wireless 5100 AGN [Shiloh] Network Connection
86:00.0 Ethernet controller: Marvell Technology Group Ltd. Device 436c
metskem@gneisenau:~$ sudo lspci -vv -s 03:00.0
03:00.0 Network controller: Intel Corporation PRO/Wireless 5100 AGN [Shiloh] Network Connection
	Subsystem: Intel Corporation Device 1211
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0, Cache Line Size: 64 bytes
	Interrupt: pin A routed to IRQ 2295
	Region 0: Memory at 98200000 (64-bit, non-prefetchable) [size=8K]
	Capabilities: [c8] Power Management version 3
		Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
		Status: D0 PME-Enable- DSel=0 DScale=0 PME-
	Capabilities: [d0] Message Signalled Interrupts: Mask- 64bit+ Queue=0/0 Enable+
		Address: 00000000fee0100c  Data: 41c9
	Capabilities: [e0] Express (v1) Endpoint, MSI 00
		DevCap:	MaxPayload 128 bytes, PhantFunc 0, Latency L0s <512ns, L1 unlimited
			ExtTag- AttnBtn- AttnInd- PwrInd- RBE+ FLReset+
		DevCtl:	Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
			RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop+ FLReset-
			MaxPayload 128 bytes, MaxReadReq 128 bytes
		DevSta:	CorrErr+ UncorrErr- FatalErr- UnsuppReq+ AuxPwr+ TransPend-
		LnkCap:	Port #0, Speed 2.5GT/s, Width x1, ASPM L0s L1, Latency L0 <128ns, L1 <32us
			ClockPM+ Suprise- LLActRep- BwNot-
		LnkCtl:	ASPM L0s L1 Enabled; RCB 64 bytes Disabled- Retrain- CommClk+
			ExtSynch- ClockPM+ AutWidDis- BWInt- AutBWInt-
		LnkSta:	Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
	Capabilities: [100] Advanced Error Reporting <?>
	Capabilities: [140] Device Serial Number 0a-fd-8f-ff-ff-fa-22-00
	Kernel driver in use: iwlagn
	Kernel modules: iwlagn

fan control#

First disable the BIOS option "Fan Always on while on AC Power".

But after that you still see the fan going on fairly loud at 47 degrees Celsius and turning off at 42 (if the environment is not too warm). To change this behavior you can patch the dsdt tables:

Patching DSDT tables

The following resources were helpful:

I followed the following procedure (mainly as described in the first link above):

mkdir dsdt
cd dsdt
cp /proc/acpi/dsdt .
# disassemble it
iasl -d dsdt
# save the original
cp dsdt.dsl dsdt-orig.dsl
# now first edit the dsdt.dsl file (see below) and then recompile:
iasl -tc dsdt.dsl
#
# update initial ramdisk
#
cp dsdt.aml /etc/initramfs-tools/DSDT.aml
VERSION=`uname -r`
update-initramfs -u -k $VERSION
#
#  then reboot

DSDT Patch

These numbers are hexadecimal and seem to indicate the percentage of fanspeed, so 0x64 is 100% fan speed. I don't know if temperature thresholds are included, I don't think so.

Original:
Name (CPFS, Package (0x06)
{
0x64,
0x46,
0x3C,
0x32,
0x00,
0x00
})

Modified version:
Name (CPFS, Package (0x06)
{
0x64,
0x46,
0x20,
0x08,
0x00,
0x00
})

My own version:
Name (CPFS, Package (0x06)
{
0x64,
0x46,
0x20,
0x10,
0x08,
0x00
})

Font settings#

Thanks to http://blog.xam.dk/archives/81-Making-Eclipse-look-good-on-Linux.html

After they are installed I ran gnome-font-properties and used the following settings:

Application/Document/Desktop font: Liberation Sans, size 8
Window title font: Liberation Sans Bold, size 10
Fixed with font: Liberation Mono, 10

Font rendering: Best contrast (the others left weird artifacts, but mostly up to taste here I think)

Under details:
Resolution: 99 dpi (to avoid the letters to get too close, need at least 1 px between them 
Smoothing: Grayscale

Hinting: Full 

Depending on your Eclipse font settings the above will be enough, 
but if you already have tweaked some settings remember to check your Font settings under Eclipse preferences 
and verify that you are actually using the System default or the Liberated fonts to get the smoother more compact look.

Performance tweaks#

Taken from http://www.linuxlinks.com/article/20090927065956844/UbuntuTips-Booting-Part2.html

gneisenau sysctl.d # hdparm -tT /dev/sda

/dev/sda:
 Timing cached reads:   2172 MB in  2.00 seconds = 1086.96 MB/sec
 Timing buffered disk reads:  190 MB in  3.03 seconds =  62.78 MB/sec
metskem@gladiator:~$ sudo hdparm -tT /dev/sda

/dev/sda:
 Timing cached reads:   712 MB in  2.00 seconds = 355.74 MB/sec
 Timing buffered disk reads:  172 MB in  3.01 seconds =  57.23 MB/sec
metskem@interceptor:~$ sudo hdparm -tT /dev/sda

/dev/sda:
 Timing cached reads:   918 MB in  2.00 seconds = 458.44 MB/sec
 Timing buffered disk reads:  120 MB in  3.03 seconds =  39.61 MB/sec
root@grafspee:~# hdparm -tT /dev/sda

/dev/sda:
 Timing cached reads:   334 MB in  2.00 seconds = 167.07 MB/sec
 Timing buffered disk reads:   58 MB in  3.00 seconds =  19.30 MB/sec