x200s

tastatur fix

(Super = "Windows", CTRL = ⎈) Auf dem Thinkad ist die fn-taste wo die CTRL-taste sein sollte. Die CTRL ist dadurch zu klein und die Super auch. Benutzt man Super für den window-manager ist das blöd.

Die Xkb-Option "caps:super" legt Super auf Caps_Lock

Section "InputClass"
        Identifier "evdev keyboard catchall"
        MatchIsKeyboard "on"
        MatchDevicePath "/dev/input/event*"
        Driver "evdev"
        Option "XkbLayout" "de"
        #####
        Option      "XkbOptions"        "caps:super"
        #####
EndSection

Installation Windows XP

Installer

Der Installer startet nur bis vor die erster Benutzereingabe. Vor dieser wird der Bildschirm dunkel und zeigt einen blinkenden Cursor.

Lösung: Alle Stecker aus der Dockingstation ziehen (bis auf Strom und Netzwerk).

AHCI Driver

Der Installer kann kein AHCI, darum stürzt er mit Bluescreen ab.

Lösung: Im BIOS IDE-Compatibility einstellen. Windows mit IDE installieren.

Nach der Installation im Geräte-Manager den IDE Controller "Treiber aktualisieren" und von Hand die .inf Datei des ICH9-ME AHCI Driver auswählen. Den geforderten Neustart durchführen aber dabei im BIOS auf AHCI umstellen.

Im Fehlerfall funktioniert die "Zuletzt funktionierende Konfiguration" im Windows Bootloader.

Die urlmon.dll fehlt

Stört nicht

Mit Tablet-Edition Key wird CD-2 angefordert

Abbrechen, störte bisher nicht

Coreboot

Manual for x200: http://www.coreboot.org/Board:lenovo/x200

The x200s is different from the x200 (without 's'). The Bios Flash is in a WSON-8 package. There are adapters to SOIC (TODO) available for purchase.

In contrary to th x200, the ..s bios flash is mounted on the backside of the main-board. Therefore the whole board must be lifted out of the case befare it can be accessed.

It has been said that due to different electronic layout compared to other Lenovos, the chip cannot be flashed while beeing soldered on the board because of interferences.

x201s

Anpassungen nach debian wheezy Installation

Wifi Firmware

# aptitude install firmware-iwlwifi wireless-tools

INIT: Id "co" respawning too fast: disabled for 5 minutes

/etc/inittab

--- co:2345:respawn:/sbin/getty hvc0 9600 linux
+++ # co:2345:respawn:/sbin/getty hvc0 9600 linux

Firefox Crash Berarbeiten->Einstellungen

http://lists.alioth.debian.org/pipermail/pkg-mozilla-maintainers/2011-May/009762.html

** /etc/gnome-vfs-2.0/modules/default-modules.conf **

--- file: file
+++ #file: file

Pinning bei Debian

/etc/apt/source.list

deb http://ftp.de.debian.org/debian/ wheezy main contrib non-free
deb-src http://ftp.de.debian.org/debian/ wheezy main contrib non-free

deb http://security.debian.org/ wheezy/updates main contrib non-free
deb-src http://security.debian.org/ wheezy/updates main contrib non-free

deb http://ftp.de.debian.org/debian/ unstable main contrib non-free
deb http://ftp.de.debian.org/debian/ stable main contrib non-free

/etc/apt/preferences

Package: *
Pin: release a=testing
Pin-Priority: 700

Package: *
Pin: release a=unstable
Pin-Priority: 650

Package: *
Pin: release a=stable
Pin-Priority: 600

http://jaqque.sbih.org/kplug/apt-pinning.html

Allgemeine Notizen

Backup einbinden

losetup /dev/loop0 /thinkpad_0001.img
sfdisk -d /dev/loop0
losetup -d /dev/loop0
echo $((<start>*512)) $((<end>*512))
losetup /dev/loop0 /thinkpad_0001.img --offset <offset> --sizelimit <sizelimit>
cryptsetup luksOpen /dev/loop0 backup
mount /dev/mapper/backup

Lüfter

http://thinkpad-wiki.org/Thinkfan

Enable discard on dm-crypt device

Seit Version 1.3.1 kann cryptsetup bei luksOpen die Option --enable-discards

cryptsetup luksOpen --enable-discards /dev/sda sda_crypt

Sicherheitsbedenken: http://asalor.blogspot.com/2011/08/trim-dm-crypt-problems.html

crypttab: http://manpages.ubuntu.com/manpages/precise/en/man5/crypttab.5.html

SATA Power save after resume

** /etc/pm/sleep.d/11_powersaving-after-resume **

#!/bin/sh

# Stellt den SATA controller auf Energiesparen nach dem Aufwachen ein.

case "${1}" in
        hibernate)
                # nothing
                ;;
        resume|thaw)
                sleep 5
        echo min_power > /sys/class/scsi_host/host0/link_power_management_policy
                ;;
esac

chmod a+x /etc/pm/sleep.d/11_powersaving-after-resume

i915 powersave

root@bla:/home/blub# cat /etc/modprobe.d/i915-kms.conf 
options i915 modeset=1
options i915 i915_enable_rc6=1

Aircrack

http://scottlinux.com/2012/01/13/install-aircrack-ng-on-debian-linux/

Intel SSD 520

Die SSD ist nicht in der smartmontools Datenbank.


vim /usr/share/smartmontools/drivedb.h
/usr/sbin/update-smart-drivedb
vim /usr/share/smartmontools/drivedb.h

Wichtige Pakete

build-essential xserver-org gnome kernel-package libgl1-mesa-dri

laptop-mode-tools

Adressleiste im gnome-terminal ausblenden

gconftool --type boolean --set /apps/gnome-terminal/profiles/Default/default_show_menubar false

lenovo rants