<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.thinkwiki.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Rdemaria</id>
	<title>ThinkWiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://www.thinkwiki.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Rdemaria"/>
	<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/wiki/Special:Contributions/Rdemaria"/>
	<updated>2026-04-07T21:02:13Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.31.12</generator>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Debian_Sid_(October_2008)_on_a_ThinkPad_X200&amp;diff=45361</id>
		<title>Installing Debian Sid (October 2008) on a ThinkPad X200</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Debian_Sid_(October_2008)_on_a_ThinkPad_X200&amp;diff=45361"/>
		<updated>2010-01-10T18:24:58Z</updated>

		<summary type="html">&lt;p&gt;Rdemaria: /* Skype */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
Amazing machine: light, quiet, large battery life, ideal for travels, great value for money compared to X200T and X300.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Creating installation device ==&lt;br /&gt;
&lt;br /&gt;
The X200 has no cd/dvd but can boot from USB. On the X200 BIOS settings, the USB disk boot option needed to be raised to be used first. Using F1 at boot gives access to the BIOS.&lt;br /&gt;
&lt;br /&gt;
I created an USB bootable iso from another linux installation.&lt;br /&gt;
I had an usb stick with a FAT32 partition on /dev/sdc1. I dowloaded the boot and iso file and installed the image&lt;br /&gt;
using:&lt;br /&gt;
&lt;br /&gt;
  wget http://people.debian.org/~joeyh/d-i/images/daily/hd-media/boot.img.gz&lt;br /&gt;
  wget http://cdimage.debian.org/cdimage/daily-builds/daily/arch-latest/i386/iso-cd/debian-testing-i386-netinst.iso&lt;br /&gt;
  zcat boot.img.gz &amp;gt;/dev/sdc1&lt;br /&gt;
  mkdir /mnt/sdc1&lt;br /&gt;
  mount /dev/sdc1 /mnt/sdc1&lt;br /&gt;
  cp debian-testing-i386-netinst.iso /mnt/sdc1&lt;br /&gt;
&lt;br /&gt;
The boot stick will use the network to install the package but a more complete ISO image can be dowloaded.&lt;br /&gt;
&lt;br /&gt;
The wifi will not work (see [[Installing_Debian_on_an_X200]]) but the Ethernet card will. In theory it should be possible build custom Debian Live USB stick, using the latest package and install from there, I didn't manage so far.&lt;br /&gt;
&lt;br /&gt;
== Sid installation ==&lt;br /&gt;
&lt;br /&gt;
To install sid use the expert installation support and choose unstable for the repository.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Backup hard drive data ==&lt;br /&gt;
&lt;br /&gt;
In order to save the hard drive content, I created complete hard drive image on another hard disk. During the installation procedure I activated another shell with CTRL-ALT-F3, mounted an external HD (/dev/sdb1) and copied the image with:&lt;br /&gt;
&lt;br /&gt;
  mkdir /mnt/sdb1&lt;br /&gt;
  mount /dev/sdb1 /mnt/sdb1/&lt;br /&gt;
  dd if=/dev/sda of=/mnt/sdb1/sda-image&lt;br /&gt;
&lt;br /&gt;
In principle partimage is better option but the installation image does not have it. Also gzipping the partition on the fly would have bin better, but the gzip or bzip2 were not present. Using a custom Debian Live installation image would solve the problem.&lt;br /&gt;
&lt;br /&gt;
== Kernel ==&lt;br /&gt;
&lt;br /&gt;
Some kernel options here for /boot/grub/menu.lst:&lt;br /&gt;
  &lt;br /&gt;
  # kopt=root=/dev/sda1 ro acpi_sleep=s3_bios vga=0x0368 video=vesafb&lt;br /&gt;
&lt;br /&gt;
Update the real items using&lt;br /&gt;
  &lt;br /&gt;
  update-grub&lt;br /&gt;
&lt;br /&gt;
or &lt;br /&gt;
&lt;br /&gt;
  update-grub2&lt;br /&gt;
&lt;br /&gt;
if you are using grub2.&lt;br /&gt;
&lt;br /&gt;
vga parameters does not work in grub2. To see the boot process on high resolution modify the file&lt;br /&gt;
&lt;br /&gt;
  /etc/grub.d/00_header&lt;br /&gt;
&lt;br /&gt;
adding the line&lt;br /&gt;
&lt;br /&gt;
  set gfxpayload=keep&lt;br /&gt;
&lt;br /&gt;
just after &lt;br /&gt;
  &lt;br /&gt;
  set gfxmode=${GRUB_GFXMODE}&lt;br /&gt;
&lt;br /&gt;
== Video ==&lt;br /&gt;
&lt;br /&gt;
Intel drivers 2.9.1-2 appears to work well on a sid system. &lt;br /&gt;
&lt;br /&gt;
Some options are necessary in xorg.conf:&lt;br /&gt;
&lt;br /&gt;
  $ awk '!/#/ {print &amp;quot; &amp;quot;,$0}' /etc/X11/xorg.conf&lt;br /&gt;
  Section &amp;quot;Screen&amp;quot;&lt;br /&gt;
          Identifier      &amp;quot;Default Screen&amp;quot;&lt;br /&gt;
          Monitor         &amp;quot;Configured Monitor&amp;quot;&lt;br /&gt;
          Defaultdepth    24&lt;br /&gt;
          SubSection &amp;quot;Display&amp;quot;&lt;br /&gt;
                   Modes           &amp;quot;1280x800&amp;quot;&lt;br /&gt;
                   Virtual    2560 1280&lt;br /&gt;
          EndSubSection&lt;br /&gt;
  EndSection&lt;br /&gt;
  &lt;br /&gt;
  &lt;br /&gt;
  Section &amp;quot;Monitor&amp;quot;&lt;br /&gt;
          Identifier      &amp;quot;Configured Monitor&amp;quot;&lt;br /&gt;
          DisplaySize     231 233.5&lt;br /&gt;
  EndSection&lt;br /&gt;
   &lt;br /&gt;
  Section &amp;quot;Monitor&amp;quot;&lt;br /&gt;
          Identifier      &amp;quot;HDMI-1&amp;quot;&lt;br /&gt;
          Option          &amp;quot;Ignore&amp;quot; &amp;quot;True&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
   &lt;br /&gt;
  Section &amp;quot;Monitor&amp;quot;&lt;br /&gt;
          Identifier      &amp;quot;HDMI-2&amp;quot;&lt;br /&gt;
          Option          &amp;quot;Ignore&amp;quot; &amp;quot;True&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
  &lt;br /&gt;
  Section &amp;quot;Device&amp;quot;&lt;br /&gt;
          Identifier      &amp;quot;Configured Video Device&amp;quot;&lt;br /&gt;
            Driver          &amp;quot;intel&amp;quot;&lt;br /&gt;
          Option          &amp;quot;monitor-HDMI-1&amp;quot; &amp;quot;HDMI-1&amp;quot;&lt;br /&gt;
          Option          &amp;quot;monitor-HDMI-2&amp;quot; &amp;quot;HDMI-2&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
&lt;br /&gt;
== Fonts ==&lt;br /&gt;
&lt;br /&gt;
Default fonts are a bit ugly. Things get better by creating some symbolic link:&lt;br /&gt;
&lt;br /&gt;
  cd /etc/fonts/conf.d&lt;br /&gt;
  ln -s ../conf.avail/10-autohint.conf&lt;br /&gt;
  ln -s ../conf.avail/10-sub-pixel-rgb.conf&lt;br /&gt;
  ln -s ../conf.avail/70-no-bitmaps.conf&lt;br /&gt;
&lt;br /&gt;
For GTK and Firefox&lt;br /&gt;
&lt;br /&gt;
Fonts size are too large. Solution:&lt;br /&gt;
  $cat ~/.gtkrc-2.0&lt;br /&gt;
  # -- THEME AUTO-WRITTEN DO NOT EDIT&lt;br /&gt;
  include &amp;quot;/usr/share/themes/Industrial/gtk-2.0/gtkrc&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  include &amp;quot;/home/rdemaria/.gtkrc-2.0.mine&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  # -- THEME AUTO-WRITTEN DO NOT EDIT&lt;br /&gt;
&lt;br /&gt;
  $cat ~/.gtkrc-2.0.mine&lt;br /&gt;
  gtk-font-name = &amp;quot;Sans 8&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Bold font are also ugly on xvrt (in xterm the bold font control seems always broken). See below for the solution.&lt;br /&gt;
&lt;br /&gt;
== Terminal ==&lt;br /&gt;
&lt;br /&gt;
I tried several terminals. But I found rxvt-unicode the easiest and fastest. This resources allow 4 terminals in one window. Bold font (unreadable to me) are disabled.&lt;br /&gt;
  $cat ~/.Xresources&lt;br /&gt;
  rxvt*cutchars: \$:[]&lt;br /&gt;
  rxvt*visualBell: true&lt;br /&gt;
  rxvt*foreground: white&lt;br /&gt;
  rxvt*background: black&lt;br /&gt;
  rxvt*geometry: 80x27&lt;br /&gt;
  rxvt*jumpScroll: true&lt;br /&gt;
  rxvt*skipScroll: true&lt;br /&gt;
  rxvt*scrollBar: false&lt;br /&gt;
  rxvt*boldFont:&lt;br /&gt;
  rxvt*boldItalicFont:&lt;br /&gt;
  rxvt*saveLines: 9096&lt;br /&gt;
  rxvt*mouseWheelScrollPage: false&lt;br /&gt;
&lt;br /&gt;
== Wifi ==&lt;br /&gt;
&lt;br /&gt;
It should work out of the box.&lt;br /&gt;
&lt;br /&gt;
For 2.6.27 kernels put in the /etc/apt/source.list&lt;br /&gt;
&lt;br /&gt;
  deb http://kernel-archive.buildserver.net/debian-kernel trunk main &lt;br /&gt;
&lt;br /&gt;
Installed linux-image-2.6.27-1 and firmware&lt;br /&gt;
&lt;br /&gt;
  wget http://intellinuxwireless.org/iwlwifi/downloads/iwlwifi-5000-ucode-5.4.A.11.tar.gz&lt;br /&gt;
  tar xvfz iwlwifi-5000-ucode-5.4.A.11.tar.gz&lt;br /&gt;
  cp  iwlwifi-5000-ucode-5.4.A.11/iwlwifi-5000-1.ucode /lib/firmware&lt;br /&gt;
  aptitude install linux-image-2.6.27-1-686 hal&lt;br /&gt;
&lt;br /&gt;
== Suspend ==&lt;br /&gt;
&lt;br /&gt;
Suspend to disk works using the button Fn+F12.&lt;br /&gt;
&lt;br /&gt;
Suspend to ram works using the button Fn+F4. Sometime wlan is no reconnected.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Using vesa driver, it works if the i915 driver is installed. I put the line:&lt;br /&gt;
  modprobe i915&lt;br /&gt;
&lt;br /&gt;
in /etc/rc.local.&lt;br /&gt;
&lt;br /&gt;
== Sound ==&lt;br /&gt;
&lt;br /&gt;
Everything works, but in a strange way. The hardware volume control is managed by acpi&lt;br /&gt;
&lt;br /&gt;
  $ cat /proc/acpi/ibm/volume&lt;br /&gt;
  level:          8&lt;br /&gt;
  mute:           off&lt;br /&gt;
  commands:       up, down, mute&lt;br /&gt;
  commands:       level &amp;lt;level&amp;gt; (&amp;lt;level&amp;gt; is 0-15)&lt;br /&gt;
&lt;br /&gt;
The mute button is linked to the mute command, but volume up and down are passed to X with keycode 122 123. I thought that acpi was intercepting the key and send them to X using fakekey. I played in /etc/acpi/events but I didn't managed to change the behavior.&lt;br /&gt;
&lt;br /&gt;
== Bluetooth ==&lt;br /&gt;
&lt;br /&gt;
Supposedly work out of the box, but I'm not very familiar with it.  Some useful and updated information are in http://wiki.debian.org/BluetoothUser and http://wiki.bluez.org/wiki/HOWTO/AudioDevices&lt;br /&gt;
&lt;br /&gt;
For the pairing I found&lt;br /&gt;
&lt;br /&gt;
  bluetooth-wizard&lt;br /&gt;
  bluetooth-properties&lt;br /&gt;
  &lt;br /&gt;
&lt;br /&gt;
working best. I tried to use successfully the headset Nokia BH-104 by:&lt;br /&gt;
&lt;br /&gt;
  $ cat .asoundrc &lt;br /&gt;
  pcm.bluetooth {&lt;br /&gt;
   type bluetooth&lt;br /&gt;
   device 00:1C:EF:52:3F:1F&lt;br /&gt;
  }&lt;br /&gt;
&lt;br /&gt;
This can be test by the &amp;quot;echo&amp;quot; program:&lt;br /&gt;
&lt;br /&gt;
  arecord -D bluetooth -f S16_LE | aplay -D bluetooth -f S16_LE&lt;br /&gt;
&lt;br /&gt;
Other options are:&lt;br /&gt;
  &lt;br /&gt;
  mplayer -ao alsa:device=bluetooth some-file&lt;br /&gt;
&lt;br /&gt;
== Skype ==&lt;br /&gt;
&lt;br /&gt;
Everything works downloading skype-debian_2.0.0.72-1_i386.deb: sound, webcam, bluetooth headset. There are problems from time to time that requires to restart skype.&lt;br /&gt;
&lt;br /&gt;
== GTK and Firefox ==&lt;br /&gt;
&lt;br /&gt;
Font size is too large. Solution:&lt;br /&gt;
  $cat /home/rdemaria/.gtkrc-2.0&lt;br /&gt;
  # -- THEME AUTO-WRITTEN DO NOT EDIT&lt;br /&gt;
  include &amp;quot;/usr/share/themes/Industrial/gtk-2.0/gtkrc&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  include &amp;quot;/home/rdemaria/.gtkrc-2.0.mine&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  # -- THEME AUTO-WRITTEN DO NOT EDIT&lt;br /&gt;
&lt;br /&gt;
  $cat /home/rdemaria/.gtkrc-2.0.mine&lt;br /&gt;
  gtk-font-name = &amp;quot;Sans 8&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== Printer and scanner ==&lt;br /&gt;
&lt;br /&gt;
Usb printer and scanner (HP Officejet J4580) works perfectly using cups, hpoj, xsane, hplib.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== RAM upgrade ==&lt;br /&gt;
&lt;br /&gt;
My X200 came with 2G of ram and 1 free slots. I bought:&lt;br /&gt;
   Crucial 2GB 204-Pin DDR3 SO-DIMM DDR3 1066 (PC3 8500) Laptop Memory Model CT25664BC1067 - Retail&lt;br /&gt;
&lt;br /&gt;
installed and replace the kernel with a bigmem one.&lt;br /&gt;
&lt;br /&gt;
== Hard disk upgrade ==&lt;br /&gt;
&lt;br /&gt;
My X200 came with a 160GB hardrive. I bought the 500GB hard drive&lt;br /&gt;
   Western Digital Scorpio Blue WD5000BEVT 500GB 5400 RPM SATA 3.0Gb/s Notebook Hard Drive - OEM&lt;br /&gt;
&lt;br /&gt;
and the adapter&lt;br /&gt;
  Link Depot USB2-SATA USB2.0 TO IDE/SATA Adapter Cable - Retail&lt;br /&gt;
&lt;br /&gt;
for transfer the data.&lt;br /&gt;
&lt;br /&gt;
I connected the new hard drive using the usb port. The drive was recognized as /dev/sdb. I create the partitions that reads:&lt;br /&gt;
&lt;br /&gt;
  $ sfdisk -d /dev/sdb&lt;br /&gt;
  # partition table of /dev/sdb&lt;br /&gt;
  unit: sectors&lt;br /&gt;
&lt;br /&gt;
  /dev/sdb1 : start=       63, size= 71553447, Id=83&lt;br /&gt;
  /dev/sdb2 : start= 71553510, size=905214555, Id= 5&lt;br /&gt;
  /dev/sdb3 : start=        0, size=        0, Id= 0&lt;br /&gt;
  /dev/sdb4 : start=        0, size=        0, Id= 0&lt;br /&gt;
  /dev/sdb5 : start= 71553573, size=894467007, Id=83&lt;br /&gt;
  /dev/sdb6 : start=966020643, size= 10747422, Id=82&lt;br /&gt;
&lt;br /&gt;
Then made the filesystem and copy the files:&lt;br /&gt;
  $ sudo mkfs.ext3 /dev/sdb1&lt;br /&gt;
  $ sudo mkfs.ext3 /dev/sdb5&lt;br /&gt;
  $ sudo mkswap    /dev/sda6&lt;br /&gt;
  $ sudo mount /mnt/sdb1&lt;br /&gt;
  $ sudo mount /mnt/sdb5&lt;br /&gt;
  $ sudo rsync -a --delete \&lt;br /&gt;
  --exclude /mnt/sdb1 \&lt;br /&gt;
  --exclude /mnt/sdb5 \&lt;br /&gt;
  --exclude /home \&lt;br /&gt;
  --exclude /proc \&lt;br /&gt;
  --exclude /sys \&lt;br /&gt;
  --exclude /lib/init/rw \&lt;br /&gt;
  --exclude /dev \&lt;br /&gt;
  / /mnt/sdb1&lt;br /&gt;
  $ cd /mnt/sdb1; mkdir /home /proc /sys /lib/init/rw /dev; cd &lt;br /&gt;
  $ sudo rsync -a /home/ /mnt/sdb5&lt;br /&gt;
  $ sudo umount /mnt/sdb5; sudo umount /mnt/sdb1&lt;br /&gt;
&lt;br /&gt;
Finally install grub&lt;br /&gt;
  $ sudo grub --no-floppy&lt;br /&gt;
  $ geometry (hd1)&lt;br /&gt;
  &amp;gt; root (hd1,0)&lt;br /&gt;
  &amp;gt; setup (hd1)&lt;br /&gt;
  &amp;gt; quit&lt;br /&gt;
&lt;br /&gt;
and replace the disk. (I tried to boot from the usb to check the new hard drive, but I messed up the old installation...)&lt;br /&gt;
&lt;br /&gt;
For some reason the suspend to disk was not working anymore. But &lt;br /&gt;
  $ sudo aptitude reinstall uswsusp&lt;br /&gt;
fixed the problem answering yes to use the swap disk.&lt;br /&gt;
&lt;br /&gt;
== Keyboard ==&lt;br /&gt;
&lt;br /&gt;
In recent versions of xserver (as of version 1.4.0.90-7) keyboard-layout is handled by hal, so settings done will be overridden. Settings should be put in:&lt;br /&gt;
&lt;br /&gt;
   /etc/default/console-setup&lt;br /&gt;
&lt;br /&gt;
For a double layout us, us(intl) I put:&lt;br /&gt;
&lt;br /&gt;
  XKBMODEL=&amp;quot;pc104&amp;quot;&lt;br /&gt;
  XKBLAYOUT=&amp;quot;us,us(intl)&amp;quot;&lt;br /&gt;
  XKBVARIANT=&amp;quot;&amp;quot;&lt;br /&gt;
  XKBOPTIONS=&amp;quot;compose(lwin),compose(rwin),grp:shifts_toggle,grp_led:scroll&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== Special keys ==&lt;br /&gt;
&lt;br /&gt;
Some keys are intercepted by X Windows. The keycodes are&lt;br /&gt;
&lt;br /&gt;
  151 XF86WakeUp Fn&lt;br /&gt;
  167 XF86Forward&lt;br /&gt;
  166 XF86Back&lt;br /&gt;
  122 XF86AudioLower&lt;br /&gt;
  123 XF86AudioRaiseVolume&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Mute switch the hardware volume which is not controlled by ALSA.&lt;br /&gt;
&lt;br /&gt;
ACPI links suspend to ram and to disc to Fn+F4 and Fn+F12 respectively. Screen brightness, thinklight, bluetooth works as well.&lt;br /&gt;
&lt;br /&gt;
In fluxbox I used for:&lt;br /&gt;
&lt;br /&gt;
  &amp;quot;.fluxbox/keys&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
  Menu  :Exec rxvt&lt;br /&gt;
  Shift Menu :Exec fbrun&lt;br /&gt;
  XF86Forward  :NextWorkspace&lt;br /&gt;
  XF86Back  :PrevWorkspace&lt;br /&gt;
  F86AudioRaiseVolume :Exec amixer sset Master,0 1+&lt;br /&gt;
  XF86AudioLowerVolume :Exec amixer sset Master,0 1-&lt;br /&gt;
&lt;br /&gt;
== Trackpoint ==&lt;br /&gt;
&lt;br /&gt;
As for the keyboard, options are not handled anymore from xorg.cong. Apparently we are in a transition period and HAL is soon to be deprecated. As of Jan 10 2010 this is what works on my system.&lt;br /&gt;
&lt;br /&gt;
The output of &lt;br /&gt;
  $ lshal|grep input.product&lt;br /&gt;
&lt;br /&gt;
  input.product = 'Video Bus'  (string)&lt;br /&gt;
  input.product = 'ThinkPad Extra Buttons'  (string)&lt;br /&gt;
  input.product = 'Lid Switch'  (string)&lt;br /&gt;
  input.product = 'ACPI Virtual Keyboard Device'  (string)&lt;br /&gt;
  input.product = 'Sleep Button'  (string)&lt;br /&gt;
  input.product = 'Power Button'  (string)&lt;br /&gt;
  input.product = 'PC Speaker'  (string)&lt;br /&gt;
  input.product = 'PS/2 Generic Mouse'  (string)&lt;br /&gt;
  input.product = 'AT Translated Set 2 keyboard'  (string)&lt;br /&gt;
  input.product = 'HDA Intel Headphone'  (string)&lt;br /&gt;
  input.product = 'HDA Intel Headphone'  (string)&lt;br /&gt;
  input.product = 'UVC Camera (17ef:480c)'  (string)&lt;br /&gt;
&lt;br /&gt;
So to enable scrooling and emulate third button (e.g. to change view in blender) edit:&lt;br /&gt;
&lt;br /&gt;
  /etc/hal/fdi/policy/mouse-wheel.fdi&lt;br /&gt;
&lt;br /&gt;
as&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;match key=&amp;quot;info.product&amp;quot; string=&amp;quot;PS/2 Generic Mouse&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheel&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheelButton&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;2&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheelTimeout&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;250&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;merge key=&amp;quot;input.x11_options.XAxisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;6 7&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;merge key=&amp;quot;input.x11_options.YAxisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;4 5&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;merge key=&amp;quot;input.x11_options.ZAxsisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;4 5&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;merge key=&amp;quot;input.x11_options.Emulate3Buttons&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;/match&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For updated information look at [[How_to_configure_the_TrackPoint]].&lt;br /&gt;
&lt;br /&gt;
== TO BE CONTINUED ==&lt;/div&gt;</summary>
		<author><name>Rdemaria</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Debian_Sid_(October_2008)_on_a_ThinkPad_X200&amp;diff=45360</id>
		<title>Installing Debian Sid (October 2008) on a ThinkPad X200</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Debian_Sid_(October_2008)_on_a_ThinkPad_X200&amp;diff=45360"/>
		<updated>2010-01-10T18:23:00Z</updated>

		<summary type="html">&lt;p&gt;Rdemaria: /* Sound */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
Amazing machine: light, quiet, large battery life, ideal for travels, great value for money compared to X200T and X300.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Creating installation device ==&lt;br /&gt;
&lt;br /&gt;
The X200 has no cd/dvd but can boot from USB. On the X200 BIOS settings, the USB disk boot option needed to be raised to be used first. Using F1 at boot gives access to the BIOS.&lt;br /&gt;
&lt;br /&gt;
I created an USB bootable iso from another linux installation.&lt;br /&gt;
I had an usb stick with a FAT32 partition on /dev/sdc1. I dowloaded the boot and iso file and installed the image&lt;br /&gt;
using:&lt;br /&gt;
&lt;br /&gt;
  wget http://people.debian.org/~joeyh/d-i/images/daily/hd-media/boot.img.gz&lt;br /&gt;
  wget http://cdimage.debian.org/cdimage/daily-builds/daily/arch-latest/i386/iso-cd/debian-testing-i386-netinst.iso&lt;br /&gt;
  zcat boot.img.gz &amp;gt;/dev/sdc1&lt;br /&gt;
  mkdir /mnt/sdc1&lt;br /&gt;
  mount /dev/sdc1 /mnt/sdc1&lt;br /&gt;
  cp debian-testing-i386-netinst.iso /mnt/sdc1&lt;br /&gt;
&lt;br /&gt;
The boot stick will use the network to install the package but a more complete ISO image can be dowloaded.&lt;br /&gt;
&lt;br /&gt;
The wifi will not work (see [[Installing_Debian_on_an_X200]]) but the Ethernet card will. In theory it should be possible build custom Debian Live USB stick, using the latest package and install from there, I didn't manage so far.&lt;br /&gt;
&lt;br /&gt;
== Sid installation ==&lt;br /&gt;
&lt;br /&gt;
To install sid use the expert installation support and choose unstable for the repository.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Backup hard drive data ==&lt;br /&gt;
&lt;br /&gt;
In order to save the hard drive content, I created complete hard drive image on another hard disk. During the installation procedure I activated another shell with CTRL-ALT-F3, mounted an external HD (/dev/sdb1) and copied the image with:&lt;br /&gt;
&lt;br /&gt;
  mkdir /mnt/sdb1&lt;br /&gt;
  mount /dev/sdb1 /mnt/sdb1/&lt;br /&gt;
  dd if=/dev/sda of=/mnt/sdb1/sda-image&lt;br /&gt;
&lt;br /&gt;
In principle partimage is better option but the installation image does not have it. Also gzipping the partition on the fly would have bin better, but the gzip or bzip2 were not present. Using a custom Debian Live installation image would solve the problem.&lt;br /&gt;
&lt;br /&gt;
== Kernel ==&lt;br /&gt;
&lt;br /&gt;
Some kernel options here for /boot/grub/menu.lst:&lt;br /&gt;
  &lt;br /&gt;
  # kopt=root=/dev/sda1 ro acpi_sleep=s3_bios vga=0x0368 video=vesafb&lt;br /&gt;
&lt;br /&gt;
Update the real items using&lt;br /&gt;
  &lt;br /&gt;
  update-grub&lt;br /&gt;
&lt;br /&gt;
or &lt;br /&gt;
&lt;br /&gt;
  update-grub2&lt;br /&gt;
&lt;br /&gt;
if you are using grub2.&lt;br /&gt;
&lt;br /&gt;
vga parameters does not work in grub2. To see the boot process on high resolution modify the file&lt;br /&gt;
&lt;br /&gt;
  /etc/grub.d/00_header&lt;br /&gt;
&lt;br /&gt;
adding the line&lt;br /&gt;
&lt;br /&gt;
  set gfxpayload=keep&lt;br /&gt;
&lt;br /&gt;
just after &lt;br /&gt;
  &lt;br /&gt;
  set gfxmode=${GRUB_GFXMODE}&lt;br /&gt;
&lt;br /&gt;
== Video ==&lt;br /&gt;
&lt;br /&gt;
Intel drivers 2.9.1-2 appears to work well on a sid system. &lt;br /&gt;
&lt;br /&gt;
Some options are necessary in xorg.conf:&lt;br /&gt;
&lt;br /&gt;
  $ awk '!/#/ {print &amp;quot; &amp;quot;,$0}' /etc/X11/xorg.conf&lt;br /&gt;
  Section &amp;quot;Screen&amp;quot;&lt;br /&gt;
          Identifier      &amp;quot;Default Screen&amp;quot;&lt;br /&gt;
          Monitor         &amp;quot;Configured Monitor&amp;quot;&lt;br /&gt;
          Defaultdepth    24&lt;br /&gt;
          SubSection &amp;quot;Display&amp;quot;&lt;br /&gt;
                   Modes           &amp;quot;1280x800&amp;quot;&lt;br /&gt;
                   Virtual    2560 1280&lt;br /&gt;
          EndSubSection&lt;br /&gt;
  EndSection&lt;br /&gt;
  &lt;br /&gt;
  &lt;br /&gt;
  Section &amp;quot;Monitor&amp;quot;&lt;br /&gt;
          Identifier      &amp;quot;Configured Monitor&amp;quot;&lt;br /&gt;
          DisplaySize     231 233.5&lt;br /&gt;
  EndSection&lt;br /&gt;
   &lt;br /&gt;
  Section &amp;quot;Monitor&amp;quot;&lt;br /&gt;
          Identifier      &amp;quot;HDMI-1&amp;quot;&lt;br /&gt;
          Option          &amp;quot;Ignore&amp;quot; &amp;quot;True&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
   &lt;br /&gt;
  Section &amp;quot;Monitor&amp;quot;&lt;br /&gt;
          Identifier      &amp;quot;HDMI-2&amp;quot;&lt;br /&gt;
          Option          &amp;quot;Ignore&amp;quot; &amp;quot;True&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
  &lt;br /&gt;
  Section &amp;quot;Device&amp;quot;&lt;br /&gt;
          Identifier      &amp;quot;Configured Video Device&amp;quot;&lt;br /&gt;
            Driver          &amp;quot;intel&amp;quot;&lt;br /&gt;
          Option          &amp;quot;monitor-HDMI-1&amp;quot; &amp;quot;HDMI-1&amp;quot;&lt;br /&gt;
          Option          &amp;quot;monitor-HDMI-2&amp;quot; &amp;quot;HDMI-2&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
&lt;br /&gt;
== Fonts ==&lt;br /&gt;
&lt;br /&gt;
Default fonts are a bit ugly. Things get better by creating some symbolic link:&lt;br /&gt;
&lt;br /&gt;
  cd /etc/fonts/conf.d&lt;br /&gt;
  ln -s ../conf.avail/10-autohint.conf&lt;br /&gt;
  ln -s ../conf.avail/10-sub-pixel-rgb.conf&lt;br /&gt;
  ln -s ../conf.avail/70-no-bitmaps.conf&lt;br /&gt;
&lt;br /&gt;
For GTK and Firefox&lt;br /&gt;
&lt;br /&gt;
Fonts size are too large. Solution:&lt;br /&gt;
  $cat ~/.gtkrc-2.0&lt;br /&gt;
  # -- THEME AUTO-WRITTEN DO NOT EDIT&lt;br /&gt;
  include &amp;quot;/usr/share/themes/Industrial/gtk-2.0/gtkrc&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  include &amp;quot;/home/rdemaria/.gtkrc-2.0.mine&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  # -- THEME AUTO-WRITTEN DO NOT EDIT&lt;br /&gt;
&lt;br /&gt;
  $cat ~/.gtkrc-2.0.mine&lt;br /&gt;
  gtk-font-name = &amp;quot;Sans 8&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Bold font are also ugly on xvrt (in xterm the bold font control seems always broken). See below for the solution.&lt;br /&gt;
&lt;br /&gt;
== Terminal ==&lt;br /&gt;
&lt;br /&gt;
I tried several terminals. But I found rxvt-unicode the easiest and fastest. This resources allow 4 terminals in one window. Bold font (unreadable to me) are disabled.&lt;br /&gt;
  $cat ~/.Xresources&lt;br /&gt;
  rxvt*cutchars: \$:[]&lt;br /&gt;
  rxvt*visualBell: true&lt;br /&gt;
  rxvt*foreground: white&lt;br /&gt;
  rxvt*background: black&lt;br /&gt;
  rxvt*geometry: 80x27&lt;br /&gt;
  rxvt*jumpScroll: true&lt;br /&gt;
  rxvt*skipScroll: true&lt;br /&gt;
  rxvt*scrollBar: false&lt;br /&gt;
  rxvt*boldFont:&lt;br /&gt;
  rxvt*boldItalicFont:&lt;br /&gt;
  rxvt*saveLines: 9096&lt;br /&gt;
  rxvt*mouseWheelScrollPage: false&lt;br /&gt;
&lt;br /&gt;
== Wifi ==&lt;br /&gt;
&lt;br /&gt;
It should work out of the box.&lt;br /&gt;
&lt;br /&gt;
For 2.6.27 kernels put in the /etc/apt/source.list&lt;br /&gt;
&lt;br /&gt;
  deb http://kernel-archive.buildserver.net/debian-kernel trunk main &lt;br /&gt;
&lt;br /&gt;
Installed linux-image-2.6.27-1 and firmware&lt;br /&gt;
&lt;br /&gt;
  wget http://intellinuxwireless.org/iwlwifi/downloads/iwlwifi-5000-ucode-5.4.A.11.tar.gz&lt;br /&gt;
  tar xvfz iwlwifi-5000-ucode-5.4.A.11.tar.gz&lt;br /&gt;
  cp  iwlwifi-5000-ucode-5.4.A.11/iwlwifi-5000-1.ucode /lib/firmware&lt;br /&gt;
  aptitude install linux-image-2.6.27-1-686 hal&lt;br /&gt;
&lt;br /&gt;
== Suspend ==&lt;br /&gt;
&lt;br /&gt;
Suspend to disk works using the button Fn+F12.&lt;br /&gt;
&lt;br /&gt;
Suspend to ram works using the button Fn+F4. Sometime wlan is no reconnected.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Using vesa driver, it works if the i915 driver is installed. I put the line:&lt;br /&gt;
  modprobe i915&lt;br /&gt;
&lt;br /&gt;
in /etc/rc.local.&lt;br /&gt;
&lt;br /&gt;
== Sound ==&lt;br /&gt;
&lt;br /&gt;
Everything works, but in a strange way. The hardware volume control is managed by acpi&lt;br /&gt;
&lt;br /&gt;
  $ cat /proc/acpi/ibm/volume&lt;br /&gt;
  level:          8&lt;br /&gt;
  mute:           off&lt;br /&gt;
  commands:       up, down, mute&lt;br /&gt;
  commands:       level &amp;lt;level&amp;gt; (&amp;lt;level&amp;gt; is 0-15)&lt;br /&gt;
&lt;br /&gt;
The mute button is linked to the mute command, but volume up and down are passed to X with keycode 122 123. I thought that acpi was intercepting the key and send them to X using fakekey. I played in /etc/acpi/events but I didn't managed to change the behavior.&lt;br /&gt;
&lt;br /&gt;
== Bluetooth ==&lt;br /&gt;
&lt;br /&gt;
Supposedly work out of the box, but I'm not very familiar with it.  Some useful and updated information are in http://wiki.debian.org/BluetoothUser and http://wiki.bluez.org/wiki/HOWTO/AudioDevices&lt;br /&gt;
&lt;br /&gt;
For the pairing I found&lt;br /&gt;
&lt;br /&gt;
  bluetooth-wizard&lt;br /&gt;
  bluetooth-properties&lt;br /&gt;
  &lt;br /&gt;
&lt;br /&gt;
working best. I tried to use successfully the headset Nokia BH-104 by:&lt;br /&gt;
&lt;br /&gt;
  $ cat .asoundrc &lt;br /&gt;
  pcm.bluetooth {&lt;br /&gt;
   type bluetooth&lt;br /&gt;
   device 00:1C:EF:52:3F:1F&lt;br /&gt;
  }&lt;br /&gt;
&lt;br /&gt;
This can be test by the &amp;quot;echo&amp;quot; program:&lt;br /&gt;
&lt;br /&gt;
  arecord -D bluetooth -f S16_LE | aplay -D bluetooth -f S16_LE&lt;br /&gt;
&lt;br /&gt;
Other options are:&lt;br /&gt;
  &lt;br /&gt;
  mplayer -ao alsa:device=bluetooth some-file&lt;br /&gt;
&lt;br /&gt;
== Skype ==&lt;br /&gt;
&lt;br /&gt;
Everything works downloading the skype version for Etch. After suspending and resuming the video does not work anymore.&lt;br /&gt;
The error message is:&lt;br /&gt;
&lt;br /&gt;
  Skype V4L2: Could not find a suitable capture format&lt;br /&gt;
&lt;br /&gt;
Several people propose to update the uvcvideo driver.&lt;br /&gt;
  svn checkout http://svn.berlios.de/svnroot/repos/linux-uvc/&lt;br /&gt;
  cd linux-uvc/linux-uvc/trunk/&lt;br /&gt;
  make&lt;br /&gt;
  make install&lt;br /&gt;
  modprobe uvcvideo&lt;br /&gt;
&lt;br /&gt;
But I didn't tried yet cause I'm still using the experimental kernel that does not come with packages for compiling modules.&lt;br /&gt;
&lt;br /&gt;
== GTK and Firefox ==&lt;br /&gt;
&lt;br /&gt;
Font size is too large. Solution:&lt;br /&gt;
  $cat /home/rdemaria/.gtkrc-2.0&lt;br /&gt;
  # -- THEME AUTO-WRITTEN DO NOT EDIT&lt;br /&gt;
  include &amp;quot;/usr/share/themes/Industrial/gtk-2.0/gtkrc&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  include &amp;quot;/home/rdemaria/.gtkrc-2.0.mine&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  # -- THEME AUTO-WRITTEN DO NOT EDIT&lt;br /&gt;
&lt;br /&gt;
  $cat /home/rdemaria/.gtkrc-2.0.mine&lt;br /&gt;
  gtk-font-name = &amp;quot;Sans 8&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== Printer and scanner ==&lt;br /&gt;
&lt;br /&gt;
Usb printer and scanner (HP Officejet J4580) works perfectly using cups, hpoj, xsane, hplib.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== RAM upgrade ==&lt;br /&gt;
&lt;br /&gt;
My X200 came with 2G of ram and 1 free slots. I bought:&lt;br /&gt;
   Crucial 2GB 204-Pin DDR3 SO-DIMM DDR3 1066 (PC3 8500) Laptop Memory Model CT25664BC1067 - Retail&lt;br /&gt;
&lt;br /&gt;
installed and replace the kernel with a bigmem one.&lt;br /&gt;
&lt;br /&gt;
== Hard disk upgrade ==&lt;br /&gt;
&lt;br /&gt;
My X200 came with a 160GB hardrive. I bought the 500GB hard drive&lt;br /&gt;
   Western Digital Scorpio Blue WD5000BEVT 500GB 5400 RPM SATA 3.0Gb/s Notebook Hard Drive - OEM&lt;br /&gt;
&lt;br /&gt;
and the adapter&lt;br /&gt;
  Link Depot USB2-SATA USB2.0 TO IDE/SATA Adapter Cable - Retail&lt;br /&gt;
&lt;br /&gt;
for transfer the data.&lt;br /&gt;
&lt;br /&gt;
I connected the new hard drive using the usb port. The drive was recognized as /dev/sdb. I create the partitions that reads:&lt;br /&gt;
&lt;br /&gt;
  $ sfdisk -d /dev/sdb&lt;br /&gt;
  # partition table of /dev/sdb&lt;br /&gt;
  unit: sectors&lt;br /&gt;
&lt;br /&gt;
  /dev/sdb1 : start=       63, size= 71553447, Id=83&lt;br /&gt;
  /dev/sdb2 : start= 71553510, size=905214555, Id= 5&lt;br /&gt;
  /dev/sdb3 : start=        0, size=        0, Id= 0&lt;br /&gt;
  /dev/sdb4 : start=        0, size=        0, Id= 0&lt;br /&gt;
  /dev/sdb5 : start= 71553573, size=894467007, Id=83&lt;br /&gt;
  /dev/sdb6 : start=966020643, size= 10747422, Id=82&lt;br /&gt;
&lt;br /&gt;
Then made the filesystem and copy the files:&lt;br /&gt;
  $ sudo mkfs.ext3 /dev/sdb1&lt;br /&gt;
  $ sudo mkfs.ext3 /dev/sdb5&lt;br /&gt;
  $ sudo mkswap    /dev/sda6&lt;br /&gt;
  $ sudo mount /mnt/sdb1&lt;br /&gt;
  $ sudo mount /mnt/sdb5&lt;br /&gt;
  $ sudo rsync -a --delete \&lt;br /&gt;
  --exclude /mnt/sdb1 \&lt;br /&gt;
  --exclude /mnt/sdb5 \&lt;br /&gt;
  --exclude /home \&lt;br /&gt;
  --exclude /proc \&lt;br /&gt;
  --exclude /sys \&lt;br /&gt;
  --exclude /lib/init/rw \&lt;br /&gt;
  --exclude /dev \&lt;br /&gt;
  / /mnt/sdb1&lt;br /&gt;
  $ cd /mnt/sdb1; mkdir /home /proc /sys /lib/init/rw /dev; cd &lt;br /&gt;
  $ sudo rsync -a /home/ /mnt/sdb5&lt;br /&gt;
  $ sudo umount /mnt/sdb5; sudo umount /mnt/sdb1&lt;br /&gt;
&lt;br /&gt;
Finally install grub&lt;br /&gt;
  $ sudo grub --no-floppy&lt;br /&gt;
  $ geometry (hd1)&lt;br /&gt;
  &amp;gt; root (hd1,0)&lt;br /&gt;
  &amp;gt; setup (hd1)&lt;br /&gt;
  &amp;gt; quit&lt;br /&gt;
&lt;br /&gt;
and replace the disk. (I tried to boot from the usb to check the new hard drive, but I messed up the old installation...)&lt;br /&gt;
&lt;br /&gt;
For some reason the suspend to disk was not working anymore. But &lt;br /&gt;
  $ sudo aptitude reinstall uswsusp&lt;br /&gt;
fixed the problem answering yes to use the swap disk.&lt;br /&gt;
&lt;br /&gt;
== Keyboard ==&lt;br /&gt;
&lt;br /&gt;
In recent versions of xserver (as of version 1.4.0.90-7) keyboard-layout is handled by hal, so settings done will be overridden. Settings should be put in:&lt;br /&gt;
&lt;br /&gt;
   /etc/default/console-setup&lt;br /&gt;
&lt;br /&gt;
For a double layout us, us(intl) I put:&lt;br /&gt;
&lt;br /&gt;
  XKBMODEL=&amp;quot;pc104&amp;quot;&lt;br /&gt;
  XKBLAYOUT=&amp;quot;us,us(intl)&amp;quot;&lt;br /&gt;
  XKBVARIANT=&amp;quot;&amp;quot;&lt;br /&gt;
  XKBOPTIONS=&amp;quot;compose(lwin),compose(rwin),grp:shifts_toggle,grp_led:scroll&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== Special keys ==&lt;br /&gt;
&lt;br /&gt;
Some keys are intercepted by X Windows. The keycodes are&lt;br /&gt;
&lt;br /&gt;
  151 XF86WakeUp Fn&lt;br /&gt;
  167 XF86Forward&lt;br /&gt;
  166 XF86Back&lt;br /&gt;
  122 XF86AudioLower&lt;br /&gt;
  123 XF86AudioRaiseVolume&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Mute switch the hardware volume which is not controlled by ALSA.&lt;br /&gt;
&lt;br /&gt;
ACPI links suspend to ram and to disc to Fn+F4 and Fn+F12 respectively. Screen brightness, thinklight, bluetooth works as well.&lt;br /&gt;
&lt;br /&gt;
In fluxbox I used for:&lt;br /&gt;
&lt;br /&gt;
  &amp;quot;.fluxbox/keys&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
  Menu  :Exec rxvt&lt;br /&gt;
  Shift Menu :Exec fbrun&lt;br /&gt;
  XF86Forward  :NextWorkspace&lt;br /&gt;
  XF86Back  :PrevWorkspace&lt;br /&gt;
  F86AudioRaiseVolume :Exec amixer sset Master,0 1+&lt;br /&gt;
  XF86AudioLowerVolume :Exec amixer sset Master,0 1-&lt;br /&gt;
&lt;br /&gt;
== Trackpoint ==&lt;br /&gt;
&lt;br /&gt;
As for the keyboard, options are not handled anymore from xorg.cong. Apparently we are in a transition period and HAL is soon to be deprecated. As of Jan 10 2010 this is what works on my system.&lt;br /&gt;
&lt;br /&gt;
The output of &lt;br /&gt;
  $ lshal|grep input.product&lt;br /&gt;
&lt;br /&gt;
  input.product = 'Video Bus'  (string)&lt;br /&gt;
  input.product = 'ThinkPad Extra Buttons'  (string)&lt;br /&gt;
  input.product = 'Lid Switch'  (string)&lt;br /&gt;
  input.product = 'ACPI Virtual Keyboard Device'  (string)&lt;br /&gt;
  input.product = 'Sleep Button'  (string)&lt;br /&gt;
  input.product = 'Power Button'  (string)&lt;br /&gt;
  input.product = 'PC Speaker'  (string)&lt;br /&gt;
  input.product = 'PS/2 Generic Mouse'  (string)&lt;br /&gt;
  input.product = 'AT Translated Set 2 keyboard'  (string)&lt;br /&gt;
  input.product = 'HDA Intel Headphone'  (string)&lt;br /&gt;
  input.product = 'HDA Intel Headphone'  (string)&lt;br /&gt;
  input.product = 'UVC Camera (17ef:480c)'  (string)&lt;br /&gt;
&lt;br /&gt;
So to enable scrooling and emulate third button (e.g. to change view in blender) edit:&lt;br /&gt;
&lt;br /&gt;
  /etc/hal/fdi/policy/mouse-wheel.fdi&lt;br /&gt;
&lt;br /&gt;
as&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;match key=&amp;quot;info.product&amp;quot; string=&amp;quot;PS/2 Generic Mouse&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheel&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheelButton&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;2&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheelTimeout&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;250&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;merge key=&amp;quot;input.x11_options.XAxisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;6 7&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;merge key=&amp;quot;input.x11_options.YAxisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;4 5&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;merge key=&amp;quot;input.x11_options.ZAxsisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;4 5&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;merge key=&amp;quot;input.x11_options.Emulate3Buttons&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;/match&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For updated information look at [[How_to_configure_the_TrackPoint]].&lt;br /&gt;
&lt;br /&gt;
== TO BE CONTINUED ==&lt;/div&gt;</summary>
		<author><name>Rdemaria</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Debian_Sid_(October_2008)_on_a_ThinkPad_X200&amp;diff=45359</id>
		<title>Installing Debian Sid (October 2008) on a ThinkPad X200</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Debian_Sid_(October_2008)_on_a_ThinkPad_X200&amp;diff=45359"/>
		<updated>2010-01-10T16:34:33Z</updated>

		<summary type="html">&lt;p&gt;Rdemaria: /* Suspend */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
Amazing machine: light, quiet, large battery life, ideal for travels, great value for money compared to X200T and X300.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Creating installation device ==&lt;br /&gt;
&lt;br /&gt;
The X200 has no cd/dvd but can boot from USB. On the X200 BIOS settings, the USB disk boot option needed to be raised to be used first. Using F1 at boot gives access to the BIOS.&lt;br /&gt;
&lt;br /&gt;
I created an USB bootable iso from another linux installation.&lt;br /&gt;
I had an usb stick with a FAT32 partition on /dev/sdc1. I dowloaded the boot and iso file and installed the image&lt;br /&gt;
using:&lt;br /&gt;
&lt;br /&gt;
  wget http://people.debian.org/~joeyh/d-i/images/daily/hd-media/boot.img.gz&lt;br /&gt;
  wget http://cdimage.debian.org/cdimage/daily-builds/daily/arch-latest/i386/iso-cd/debian-testing-i386-netinst.iso&lt;br /&gt;
  zcat boot.img.gz &amp;gt;/dev/sdc1&lt;br /&gt;
  mkdir /mnt/sdc1&lt;br /&gt;
  mount /dev/sdc1 /mnt/sdc1&lt;br /&gt;
  cp debian-testing-i386-netinst.iso /mnt/sdc1&lt;br /&gt;
&lt;br /&gt;
The boot stick will use the network to install the package but a more complete ISO image can be dowloaded.&lt;br /&gt;
&lt;br /&gt;
The wifi will not work (see [[Installing_Debian_on_an_X200]]) but the Ethernet card will. In theory it should be possible build custom Debian Live USB stick, using the latest package and install from there, I didn't manage so far.&lt;br /&gt;
&lt;br /&gt;
== Sid installation ==&lt;br /&gt;
&lt;br /&gt;
To install sid use the expert installation support and choose unstable for the repository.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Backup hard drive data ==&lt;br /&gt;
&lt;br /&gt;
In order to save the hard drive content, I created complete hard drive image on another hard disk. During the installation procedure I activated another shell with CTRL-ALT-F3, mounted an external HD (/dev/sdb1) and copied the image with:&lt;br /&gt;
&lt;br /&gt;
  mkdir /mnt/sdb1&lt;br /&gt;
  mount /dev/sdb1 /mnt/sdb1/&lt;br /&gt;
  dd if=/dev/sda of=/mnt/sdb1/sda-image&lt;br /&gt;
&lt;br /&gt;
In principle partimage is better option but the installation image does not have it. Also gzipping the partition on the fly would have bin better, but the gzip or bzip2 were not present. Using a custom Debian Live installation image would solve the problem.&lt;br /&gt;
&lt;br /&gt;
== Kernel ==&lt;br /&gt;
&lt;br /&gt;
Some kernel options here for /boot/grub/menu.lst:&lt;br /&gt;
  &lt;br /&gt;
  # kopt=root=/dev/sda1 ro acpi_sleep=s3_bios vga=0x0368 video=vesafb&lt;br /&gt;
&lt;br /&gt;
Update the real items using&lt;br /&gt;
  &lt;br /&gt;
  update-grub&lt;br /&gt;
&lt;br /&gt;
or &lt;br /&gt;
&lt;br /&gt;
  update-grub2&lt;br /&gt;
&lt;br /&gt;
if you are using grub2.&lt;br /&gt;
&lt;br /&gt;
vga parameters does not work in grub2. To see the boot process on high resolution modify the file&lt;br /&gt;
&lt;br /&gt;
  /etc/grub.d/00_header&lt;br /&gt;
&lt;br /&gt;
adding the line&lt;br /&gt;
&lt;br /&gt;
  set gfxpayload=keep&lt;br /&gt;
&lt;br /&gt;
just after &lt;br /&gt;
  &lt;br /&gt;
  set gfxmode=${GRUB_GFXMODE}&lt;br /&gt;
&lt;br /&gt;
== Video ==&lt;br /&gt;
&lt;br /&gt;
Intel drivers 2.9.1-2 appears to work well on a sid system. &lt;br /&gt;
&lt;br /&gt;
Some options are necessary in xorg.conf:&lt;br /&gt;
&lt;br /&gt;
  $ awk '!/#/ {print &amp;quot; &amp;quot;,$0}' /etc/X11/xorg.conf&lt;br /&gt;
  Section &amp;quot;Screen&amp;quot;&lt;br /&gt;
          Identifier      &amp;quot;Default Screen&amp;quot;&lt;br /&gt;
          Monitor         &amp;quot;Configured Monitor&amp;quot;&lt;br /&gt;
          Defaultdepth    24&lt;br /&gt;
          SubSection &amp;quot;Display&amp;quot;&lt;br /&gt;
                   Modes           &amp;quot;1280x800&amp;quot;&lt;br /&gt;
                   Virtual    2560 1280&lt;br /&gt;
          EndSubSection&lt;br /&gt;
  EndSection&lt;br /&gt;
  &lt;br /&gt;
  &lt;br /&gt;
  Section &amp;quot;Monitor&amp;quot;&lt;br /&gt;
          Identifier      &amp;quot;Configured Monitor&amp;quot;&lt;br /&gt;
          DisplaySize     231 233.5&lt;br /&gt;
  EndSection&lt;br /&gt;
   &lt;br /&gt;
  Section &amp;quot;Monitor&amp;quot;&lt;br /&gt;
          Identifier      &amp;quot;HDMI-1&amp;quot;&lt;br /&gt;
          Option          &amp;quot;Ignore&amp;quot; &amp;quot;True&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
   &lt;br /&gt;
  Section &amp;quot;Monitor&amp;quot;&lt;br /&gt;
          Identifier      &amp;quot;HDMI-2&amp;quot;&lt;br /&gt;
          Option          &amp;quot;Ignore&amp;quot; &amp;quot;True&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
  &lt;br /&gt;
  Section &amp;quot;Device&amp;quot;&lt;br /&gt;
          Identifier      &amp;quot;Configured Video Device&amp;quot;&lt;br /&gt;
            Driver          &amp;quot;intel&amp;quot;&lt;br /&gt;
          Option          &amp;quot;monitor-HDMI-1&amp;quot; &amp;quot;HDMI-1&amp;quot;&lt;br /&gt;
          Option          &amp;quot;monitor-HDMI-2&amp;quot; &amp;quot;HDMI-2&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
&lt;br /&gt;
== Fonts ==&lt;br /&gt;
&lt;br /&gt;
Default fonts are a bit ugly. Things get better by creating some symbolic link:&lt;br /&gt;
&lt;br /&gt;
  cd /etc/fonts/conf.d&lt;br /&gt;
  ln -s ../conf.avail/10-autohint.conf&lt;br /&gt;
  ln -s ../conf.avail/10-sub-pixel-rgb.conf&lt;br /&gt;
  ln -s ../conf.avail/70-no-bitmaps.conf&lt;br /&gt;
&lt;br /&gt;
For GTK and Firefox&lt;br /&gt;
&lt;br /&gt;
Fonts size are too large. Solution:&lt;br /&gt;
  $cat ~/.gtkrc-2.0&lt;br /&gt;
  # -- THEME AUTO-WRITTEN DO NOT EDIT&lt;br /&gt;
  include &amp;quot;/usr/share/themes/Industrial/gtk-2.0/gtkrc&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  include &amp;quot;/home/rdemaria/.gtkrc-2.0.mine&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  # -- THEME AUTO-WRITTEN DO NOT EDIT&lt;br /&gt;
&lt;br /&gt;
  $cat ~/.gtkrc-2.0.mine&lt;br /&gt;
  gtk-font-name = &amp;quot;Sans 8&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Bold font are also ugly on xvrt (in xterm the bold font control seems always broken). See below for the solution.&lt;br /&gt;
&lt;br /&gt;
== Terminal ==&lt;br /&gt;
&lt;br /&gt;
I tried several terminals. But I found rxvt-unicode the easiest and fastest. This resources allow 4 terminals in one window. Bold font (unreadable to me) are disabled.&lt;br /&gt;
  $cat ~/.Xresources&lt;br /&gt;
  rxvt*cutchars: \$:[]&lt;br /&gt;
  rxvt*visualBell: true&lt;br /&gt;
  rxvt*foreground: white&lt;br /&gt;
  rxvt*background: black&lt;br /&gt;
  rxvt*geometry: 80x27&lt;br /&gt;
  rxvt*jumpScroll: true&lt;br /&gt;
  rxvt*skipScroll: true&lt;br /&gt;
  rxvt*scrollBar: false&lt;br /&gt;
  rxvt*boldFont:&lt;br /&gt;
  rxvt*boldItalicFont:&lt;br /&gt;
  rxvt*saveLines: 9096&lt;br /&gt;
  rxvt*mouseWheelScrollPage: false&lt;br /&gt;
&lt;br /&gt;
== Wifi ==&lt;br /&gt;
&lt;br /&gt;
It should work out of the box.&lt;br /&gt;
&lt;br /&gt;
For 2.6.27 kernels put in the /etc/apt/source.list&lt;br /&gt;
&lt;br /&gt;
  deb http://kernel-archive.buildserver.net/debian-kernel trunk main &lt;br /&gt;
&lt;br /&gt;
Installed linux-image-2.6.27-1 and firmware&lt;br /&gt;
&lt;br /&gt;
  wget http://intellinuxwireless.org/iwlwifi/downloads/iwlwifi-5000-ucode-5.4.A.11.tar.gz&lt;br /&gt;
  tar xvfz iwlwifi-5000-ucode-5.4.A.11.tar.gz&lt;br /&gt;
  cp  iwlwifi-5000-ucode-5.4.A.11/iwlwifi-5000-1.ucode /lib/firmware&lt;br /&gt;
  aptitude install linux-image-2.6.27-1-686 hal&lt;br /&gt;
&lt;br /&gt;
== Suspend ==&lt;br /&gt;
&lt;br /&gt;
Suspend to disk works using the button Fn+F12.&lt;br /&gt;
&lt;br /&gt;
Suspend to ram works using the button Fn+F4. Sometime wlan is no reconnected.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Using vesa driver, it works if the i915 driver is installed. I put the line:&lt;br /&gt;
  modprobe i915&lt;br /&gt;
&lt;br /&gt;
in /etc/rc.local.&lt;br /&gt;
&lt;br /&gt;
== Sound ==&lt;br /&gt;
&lt;br /&gt;
Everything works, but in a strange way. The hardware volume control is managed by acpi&lt;br /&gt;
&lt;br /&gt;
  $ cat /proc/acpi/ibm/volume&lt;br /&gt;
  level:          8&lt;br /&gt;
  mute:           off&lt;br /&gt;
  commands:       up, down, mute&lt;br /&gt;
  commands:       level &amp;lt;level&amp;gt; (&amp;lt;level&amp;gt; is 0-15)&lt;br /&gt;
&lt;br /&gt;
The mute button is linked to the mute command, but volume up and down are passed to X with keycode 122 123. I thought that acpi was intercepting the key and send them to X using fakekey. I played in /etc/acpi/events but I didn't managed to change the behavior.&lt;br /&gt;
&lt;br /&gt;
== Skype ==&lt;br /&gt;
&lt;br /&gt;
Everything works downloading the skype version for Etch. After suspending and resuming the video does not work anymore.&lt;br /&gt;
The error message is:&lt;br /&gt;
&lt;br /&gt;
  Skype V4L2: Could not find a suitable capture format&lt;br /&gt;
&lt;br /&gt;
Several people propose to update the uvcvideo driver.&lt;br /&gt;
  svn checkout http://svn.berlios.de/svnroot/repos/linux-uvc/&lt;br /&gt;
  cd linux-uvc/linux-uvc/trunk/&lt;br /&gt;
  make&lt;br /&gt;
  make install&lt;br /&gt;
  modprobe uvcvideo&lt;br /&gt;
&lt;br /&gt;
But I didn't tried yet cause I'm still using the experimental kernel that does not come with packages for compiling modules.&lt;br /&gt;
&lt;br /&gt;
== GTK and Firefox ==&lt;br /&gt;
&lt;br /&gt;
Font size is too large. Solution:&lt;br /&gt;
  $cat /home/rdemaria/.gtkrc-2.0&lt;br /&gt;
  # -- THEME AUTO-WRITTEN DO NOT EDIT&lt;br /&gt;
  include &amp;quot;/usr/share/themes/Industrial/gtk-2.0/gtkrc&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  include &amp;quot;/home/rdemaria/.gtkrc-2.0.mine&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  # -- THEME AUTO-WRITTEN DO NOT EDIT&lt;br /&gt;
&lt;br /&gt;
  $cat /home/rdemaria/.gtkrc-2.0.mine&lt;br /&gt;
  gtk-font-name = &amp;quot;Sans 8&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== Printer and scanner ==&lt;br /&gt;
&lt;br /&gt;
Usb printer and scanner (HP Officejet J4580) works perfectly using cups, hpoj, xsane, hplib.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== RAM upgrade ==&lt;br /&gt;
&lt;br /&gt;
My X200 came with 2G of ram and 1 free slots. I bought:&lt;br /&gt;
   Crucial 2GB 204-Pin DDR3 SO-DIMM DDR3 1066 (PC3 8500) Laptop Memory Model CT25664BC1067 - Retail&lt;br /&gt;
&lt;br /&gt;
installed and replace the kernel with a bigmem one.&lt;br /&gt;
&lt;br /&gt;
== Hard disk upgrade ==&lt;br /&gt;
&lt;br /&gt;
My X200 came with a 160GB hardrive. I bought the 500GB hard drive&lt;br /&gt;
   Western Digital Scorpio Blue WD5000BEVT 500GB 5400 RPM SATA 3.0Gb/s Notebook Hard Drive - OEM&lt;br /&gt;
&lt;br /&gt;
and the adapter&lt;br /&gt;
  Link Depot USB2-SATA USB2.0 TO IDE/SATA Adapter Cable - Retail&lt;br /&gt;
&lt;br /&gt;
for transfer the data.&lt;br /&gt;
&lt;br /&gt;
I connected the new hard drive using the usb port. The drive was recognized as /dev/sdb. I create the partitions that reads:&lt;br /&gt;
&lt;br /&gt;
  $ sfdisk -d /dev/sdb&lt;br /&gt;
  # partition table of /dev/sdb&lt;br /&gt;
  unit: sectors&lt;br /&gt;
&lt;br /&gt;
  /dev/sdb1 : start=       63, size= 71553447, Id=83&lt;br /&gt;
  /dev/sdb2 : start= 71553510, size=905214555, Id= 5&lt;br /&gt;
  /dev/sdb3 : start=        0, size=        0, Id= 0&lt;br /&gt;
  /dev/sdb4 : start=        0, size=        0, Id= 0&lt;br /&gt;
  /dev/sdb5 : start= 71553573, size=894467007, Id=83&lt;br /&gt;
  /dev/sdb6 : start=966020643, size= 10747422, Id=82&lt;br /&gt;
&lt;br /&gt;
Then made the filesystem and copy the files:&lt;br /&gt;
  $ sudo mkfs.ext3 /dev/sdb1&lt;br /&gt;
  $ sudo mkfs.ext3 /dev/sdb5&lt;br /&gt;
  $ sudo mkswap    /dev/sda6&lt;br /&gt;
  $ sudo mount /mnt/sdb1&lt;br /&gt;
  $ sudo mount /mnt/sdb5&lt;br /&gt;
  $ sudo rsync -a --delete \&lt;br /&gt;
  --exclude /mnt/sdb1 \&lt;br /&gt;
  --exclude /mnt/sdb5 \&lt;br /&gt;
  --exclude /home \&lt;br /&gt;
  --exclude /proc \&lt;br /&gt;
  --exclude /sys \&lt;br /&gt;
  --exclude /lib/init/rw \&lt;br /&gt;
  --exclude /dev \&lt;br /&gt;
  / /mnt/sdb1&lt;br /&gt;
  $ cd /mnt/sdb1; mkdir /home /proc /sys /lib/init/rw /dev; cd &lt;br /&gt;
  $ sudo rsync -a /home/ /mnt/sdb5&lt;br /&gt;
  $ sudo umount /mnt/sdb5; sudo umount /mnt/sdb1&lt;br /&gt;
&lt;br /&gt;
Finally install grub&lt;br /&gt;
  $ sudo grub --no-floppy&lt;br /&gt;
  $ geometry (hd1)&lt;br /&gt;
  &amp;gt; root (hd1,0)&lt;br /&gt;
  &amp;gt; setup (hd1)&lt;br /&gt;
  &amp;gt; quit&lt;br /&gt;
&lt;br /&gt;
and replace the disk. (I tried to boot from the usb to check the new hard drive, but I messed up the old installation...)&lt;br /&gt;
&lt;br /&gt;
For some reason the suspend to disk was not working anymore. But &lt;br /&gt;
  $ sudo aptitude reinstall uswsusp&lt;br /&gt;
fixed the problem answering yes to use the swap disk.&lt;br /&gt;
&lt;br /&gt;
== Keyboard ==&lt;br /&gt;
&lt;br /&gt;
In recent versions of xserver (as of version 1.4.0.90-7) keyboard-layout is handled by hal, so settings done will be overridden. Settings should be put in:&lt;br /&gt;
&lt;br /&gt;
   /etc/default/console-setup&lt;br /&gt;
&lt;br /&gt;
For a double layout us, us(intl) I put:&lt;br /&gt;
&lt;br /&gt;
  XKBMODEL=&amp;quot;pc104&amp;quot;&lt;br /&gt;
  XKBLAYOUT=&amp;quot;us,us(intl)&amp;quot;&lt;br /&gt;
  XKBVARIANT=&amp;quot;&amp;quot;&lt;br /&gt;
  XKBOPTIONS=&amp;quot;compose(lwin),compose(rwin),grp:shifts_toggle,grp_led:scroll&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== Special keys ==&lt;br /&gt;
&lt;br /&gt;
Some keys are intercepted by X Windows. The keycodes are&lt;br /&gt;
&lt;br /&gt;
  151 XF86WakeUp Fn&lt;br /&gt;
  167 XF86Forward&lt;br /&gt;
  166 XF86Back&lt;br /&gt;
  122 XF86AudioLower&lt;br /&gt;
  123 XF86AudioRaiseVolume&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Mute switch the hardware volume which is not controlled by ALSA.&lt;br /&gt;
&lt;br /&gt;
ACPI links suspend to ram and to disc to Fn+F4 and Fn+F12 respectively. Screen brightness, thinklight, bluetooth works as well.&lt;br /&gt;
&lt;br /&gt;
In fluxbox I used for:&lt;br /&gt;
&lt;br /&gt;
  &amp;quot;.fluxbox/keys&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
  Menu  :Exec rxvt&lt;br /&gt;
  Shift Menu :Exec fbrun&lt;br /&gt;
  XF86Forward  :NextWorkspace&lt;br /&gt;
  XF86Back  :PrevWorkspace&lt;br /&gt;
  F86AudioRaiseVolume :Exec amixer sset Master,0 1+&lt;br /&gt;
  XF86AudioLowerVolume :Exec amixer sset Master,0 1-&lt;br /&gt;
&lt;br /&gt;
== Trackpoint ==&lt;br /&gt;
&lt;br /&gt;
As for the keyboard, options are not handled anymore from xorg.cong. Apparently we are in a transition period and HAL is soon to be deprecated. As of Jan 10 2010 this is what works on my system.&lt;br /&gt;
&lt;br /&gt;
The output of &lt;br /&gt;
  $ lshal|grep input.product&lt;br /&gt;
&lt;br /&gt;
  input.product = 'Video Bus'  (string)&lt;br /&gt;
  input.product = 'ThinkPad Extra Buttons'  (string)&lt;br /&gt;
  input.product = 'Lid Switch'  (string)&lt;br /&gt;
  input.product = 'ACPI Virtual Keyboard Device'  (string)&lt;br /&gt;
  input.product = 'Sleep Button'  (string)&lt;br /&gt;
  input.product = 'Power Button'  (string)&lt;br /&gt;
  input.product = 'PC Speaker'  (string)&lt;br /&gt;
  input.product = 'PS/2 Generic Mouse'  (string)&lt;br /&gt;
  input.product = 'AT Translated Set 2 keyboard'  (string)&lt;br /&gt;
  input.product = 'HDA Intel Headphone'  (string)&lt;br /&gt;
  input.product = 'HDA Intel Headphone'  (string)&lt;br /&gt;
  input.product = 'UVC Camera (17ef:480c)'  (string)&lt;br /&gt;
&lt;br /&gt;
So to enable scrooling and emulate third button (e.g. to change view in blender) edit:&lt;br /&gt;
&lt;br /&gt;
  /etc/hal/fdi/policy/mouse-wheel.fdi&lt;br /&gt;
&lt;br /&gt;
as&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;match key=&amp;quot;info.product&amp;quot; string=&amp;quot;PS/2 Generic Mouse&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheel&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheelButton&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;2&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheelTimeout&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;250&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;merge key=&amp;quot;input.x11_options.XAxisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;6 7&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;merge key=&amp;quot;input.x11_options.YAxisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;4 5&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;merge key=&amp;quot;input.x11_options.ZAxsisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;4 5&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;merge key=&amp;quot;input.x11_options.Emulate3Buttons&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;/match&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For updated information look at [[How_to_configure_the_TrackPoint]].&lt;br /&gt;
&lt;br /&gt;
== TO BE CONTINUED ==&lt;/div&gt;</summary>
		<author><name>Rdemaria</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Debian_Sid_(October_2008)_on_a_ThinkPad_X200&amp;diff=45358</id>
		<title>Installing Debian Sid (October 2008) on a ThinkPad X200</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Debian_Sid_(October_2008)_on_a_ThinkPad_X200&amp;diff=45358"/>
		<updated>2010-01-10T16:32:46Z</updated>

		<summary type="html">&lt;p&gt;Rdemaria: /* Wifi */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
Amazing machine: light, quiet, large battery life, ideal for travels, great value for money compared to X200T and X300.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Creating installation device ==&lt;br /&gt;
&lt;br /&gt;
The X200 has no cd/dvd but can boot from USB. On the X200 BIOS settings, the USB disk boot option needed to be raised to be used first. Using F1 at boot gives access to the BIOS.&lt;br /&gt;
&lt;br /&gt;
I created an USB bootable iso from another linux installation.&lt;br /&gt;
I had an usb stick with a FAT32 partition on /dev/sdc1. I dowloaded the boot and iso file and installed the image&lt;br /&gt;
using:&lt;br /&gt;
&lt;br /&gt;
  wget http://people.debian.org/~joeyh/d-i/images/daily/hd-media/boot.img.gz&lt;br /&gt;
  wget http://cdimage.debian.org/cdimage/daily-builds/daily/arch-latest/i386/iso-cd/debian-testing-i386-netinst.iso&lt;br /&gt;
  zcat boot.img.gz &amp;gt;/dev/sdc1&lt;br /&gt;
  mkdir /mnt/sdc1&lt;br /&gt;
  mount /dev/sdc1 /mnt/sdc1&lt;br /&gt;
  cp debian-testing-i386-netinst.iso /mnt/sdc1&lt;br /&gt;
&lt;br /&gt;
The boot stick will use the network to install the package but a more complete ISO image can be dowloaded.&lt;br /&gt;
&lt;br /&gt;
The wifi will not work (see [[Installing_Debian_on_an_X200]]) but the Ethernet card will. In theory it should be possible build custom Debian Live USB stick, using the latest package and install from there, I didn't manage so far.&lt;br /&gt;
&lt;br /&gt;
== Sid installation ==&lt;br /&gt;
&lt;br /&gt;
To install sid use the expert installation support and choose unstable for the repository.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Backup hard drive data ==&lt;br /&gt;
&lt;br /&gt;
In order to save the hard drive content, I created complete hard drive image on another hard disk. During the installation procedure I activated another shell with CTRL-ALT-F3, mounted an external HD (/dev/sdb1) and copied the image with:&lt;br /&gt;
&lt;br /&gt;
  mkdir /mnt/sdb1&lt;br /&gt;
  mount /dev/sdb1 /mnt/sdb1/&lt;br /&gt;
  dd if=/dev/sda of=/mnt/sdb1/sda-image&lt;br /&gt;
&lt;br /&gt;
In principle partimage is better option but the installation image does not have it. Also gzipping the partition on the fly would have bin better, but the gzip or bzip2 were not present. Using a custom Debian Live installation image would solve the problem.&lt;br /&gt;
&lt;br /&gt;
== Kernel ==&lt;br /&gt;
&lt;br /&gt;
Some kernel options here for /boot/grub/menu.lst:&lt;br /&gt;
  &lt;br /&gt;
  # kopt=root=/dev/sda1 ro acpi_sleep=s3_bios vga=0x0368 video=vesafb&lt;br /&gt;
&lt;br /&gt;
Update the real items using&lt;br /&gt;
  &lt;br /&gt;
  update-grub&lt;br /&gt;
&lt;br /&gt;
or &lt;br /&gt;
&lt;br /&gt;
  update-grub2&lt;br /&gt;
&lt;br /&gt;
if you are using grub2.&lt;br /&gt;
&lt;br /&gt;
vga parameters does not work in grub2. To see the boot process on high resolution modify the file&lt;br /&gt;
&lt;br /&gt;
  /etc/grub.d/00_header&lt;br /&gt;
&lt;br /&gt;
adding the line&lt;br /&gt;
&lt;br /&gt;
  set gfxpayload=keep&lt;br /&gt;
&lt;br /&gt;
just after &lt;br /&gt;
  &lt;br /&gt;
  set gfxmode=${GRUB_GFXMODE}&lt;br /&gt;
&lt;br /&gt;
== Video ==&lt;br /&gt;
&lt;br /&gt;
Intel drivers 2.9.1-2 appears to work well on a sid system. &lt;br /&gt;
&lt;br /&gt;
Some options are necessary in xorg.conf:&lt;br /&gt;
&lt;br /&gt;
  $ awk '!/#/ {print &amp;quot; &amp;quot;,$0}' /etc/X11/xorg.conf&lt;br /&gt;
  Section &amp;quot;Screen&amp;quot;&lt;br /&gt;
          Identifier      &amp;quot;Default Screen&amp;quot;&lt;br /&gt;
          Monitor         &amp;quot;Configured Monitor&amp;quot;&lt;br /&gt;
          Defaultdepth    24&lt;br /&gt;
          SubSection &amp;quot;Display&amp;quot;&lt;br /&gt;
                   Modes           &amp;quot;1280x800&amp;quot;&lt;br /&gt;
                   Virtual    2560 1280&lt;br /&gt;
          EndSubSection&lt;br /&gt;
  EndSection&lt;br /&gt;
  &lt;br /&gt;
  &lt;br /&gt;
  Section &amp;quot;Monitor&amp;quot;&lt;br /&gt;
          Identifier      &amp;quot;Configured Monitor&amp;quot;&lt;br /&gt;
          DisplaySize     231 233.5&lt;br /&gt;
  EndSection&lt;br /&gt;
   &lt;br /&gt;
  Section &amp;quot;Monitor&amp;quot;&lt;br /&gt;
          Identifier      &amp;quot;HDMI-1&amp;quot;&lt;br /&gt;
          Option          &amp;quot;Ignore&amp;quot; &amp;quot;True&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
   &lt;br /&gt;
  Section &amp;quot;Monitor&amp;quot;&lt;br /&gt;
          Identifier      &amp;quot;HDMI-2&amp;quot;&lt;br /&gt;
          Option          &amp;quot;Ignore&amp;quot; &amp;quot;True&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
  &lt;br /&gt;
  Section &amp;quot;Device&amp;quot;&lt;br /&gt;
          Identifier      &amp;quot;Configured Video Device&amp;quot;&lt;br /&gt;
            Driver          &amp;quot;intel&amp;quot;&lt;br /&gt;
          Option          &amp;quot;monitor-HDMI-1&amp;quot; &amp;quot;HDMI-1&amp;quot;&lt;br /&gt;
          Option          &amp;quot;monitor-HDMI-2&amp;quot; &amp;quot;HDMI-2&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
&lt;br /&gt;
== Fonts ==&lt;br /&gt;
&lt;br /&gt;
Default fonts are a bit ugly. Things get better by creating some symbolic link:&lt;br /&gt;
&lt;br /&gt;
  cd /etc/fonts/conf.d&lt;br /&gt;
  ln -s ../conf.avail/10-autohint.conf&lt;br /&gt;
  ln -s ../conf.avail/10-sub-pixel-rgb.conf&lt;br /&gt;
  ln -s ../conf.avail/70-no-bitmaps.conf&lt;br /&gt;
&lt;br /&gt;
For GTK and Firefox&lt;br /&gt;
&lt;br /&gt;
Fonts size are too large. Solution:&lt;br /&gt;
  $cat ~/.gtkrc-2.0&lt;br /&gt;
  # -- THEME AUTO-WRITTEN DO NOT EDIT&lt;br /&gt;
  include &amp;quot;/usr/share/themes/Industrial/gtk-2.0/gtkrc&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  include &amp;quot;/home/rdemaria/.gtkrc-2.0.mine&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  # -- THEME AUTO-WRITTEN DO NOT EDIT&lt;br /&gt;
&lt;br /&gt;
  $cat ~/.gtkrc-2.0.mine&lt;br /&gt;
  gtk-font-name = &amp;quot;Sans 8&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Bold font are also ugly on xvrt (in xterm the bold font control seems always broken). See below for the solution.&lt;br /&gt;
&lt;br /&gt;
== Terminal ==&lt;br /&gt;
&lt;br /&gt;
I tried several terminals. But I found rxvt-unicode the easiest and fastest. This resources allow 4 terminals in one window. Bold font (unreadable to me) are disabled.&lt;br /&gt;
  $cat ~/.Xresources&lt;br /&gt;
  rxvt*cutchars: \$:[]&lt;br /&gt;
  rxvt*visualBell: true&lt;br /&gt;
  rxvt*foreground: white&lt;br /&gt;
  rxvt*background: black&lt;br /&gt;
  rxvt*geometry: 80x27&lt;br /&gt;
  rxvt*jumpScroll: true&lt;br /&gt;
  rxvt*skipScroll: true&lt;br /&gt;
  rxvt*scrollBar: false&lt;br /&gt;
  rxvt*boldFont:&lt;br /&gt;
  rxvt*boldItalicFont:&lt;br /&gt;
  rxvt*saveLines: 9096&lt;br /&gt;
  rxvt*mouseWheelScrollPage: false&lt;br /&gt;
&lt;br /&gt;
== Wifi ==&lt;br /&gt;
&lt;br /&gt;
It should work out of the box.&lt;br /&gt;
&lt;br /&gt;
For 2.6.27 kernels put in the /etc/apt/source.list&lt;br /&gt;
&lt;br /&gt;
  deb http://kernel-archive.buildserver.net/debian-kernel trunk main &lt;br /&gt;
&lt;br /&gt;
Installed linux-image-2.6.27-1 and firmware&lt;br /&gt;
&lt;br /&gt;
  wget http://intellinuxwireless.org/iwlwifi/downloads/iwlwifi-5000-ucode-5.4.A.11.tar.gz&lt;br /&gt;
  tar xvfz iwlwifi-5000-ucode-5.4.A.11.tar.gz&lt;br /&gt;
  cp  iwlwifi-5000-ucode-5.4.A.11/iwlwifi-5000-1.ucode /lib/firmware&lt;br /&gt;
  aptitude install linux-image-2.6.27-1-686 hal&lt;br /&gt;
&lt;br /&gt;
== Suspend ==&lt;br /&gt;
&lt;br /&gt;
Suspend to disk works using the button Fn+F12.&lt;br /&gt;
&lt;br /&gt;
Suspend to ram (Fn+F4) does not work with sid intel driver, but works with the experimental one.&lt;br /&gt;
Using vesa driver, it works if the i915 driver is installed. I put the line:&lt;br /&gt;
  modprobe i915&lt;br /&gt;
&lt;br /&gt;
in /etc/rc.local.&lt;br /&gt;
&lt;br /&gt;
The trackpoint occasionally stops working after a resume. Apparently it is enough to move it &lt;br /&gt;
a little bit during the resume.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Sound ==&lt;br /&gt;
&lt;br /&gt;
Everything works, but in a strange way. The hardware volume control is managed by acpi&lt;br /&gt;
&lt;br /&gt;
  $ cat /proc/acpi/ibm/volume&lt;br /&gt;
  level:          8&lt;br /&gt;
  mute:           off&lt;br /&gt;
  commands:       up, down, mute&lt;br /&gt;
  commands:       level &amp;lt;level&amp;gt; (&amp;lt;level&amp;gt; is 0-15)&lt;br /&gt;
&lt;br /&gt;
The mute button is linked to the mute command, but volume up and down are passed to X with keycode 122 123. I thought that acpi was intercepting the key and send them to X using fakekey. I played in /etc/acpi/events but I didn't managed to change the behavior.&lt;br /&gt;
&lt;br /&gt;
== Skype ==&lt;br /&gt;
&lt;br /&gt;
Everything works downloading the skype version for Etch. After suspending and resuming the video does not work anymore.&lt;br /&gt;
The error message is:&lt;br /&gt;
&lt;br /&gt;
  Skype V4L2: Could not find a suitable capture format&lt;br /&gt;
&lt;br /&gt;
Several people propose to update the uvcvideo driver.&lt;br /&gt;
  svn checkout http://svn.berlios.de/svnroot/repos/linux-uvc/&lt;br /&gt;
  cd linux-uvc/linux-uvc/trunk/&lt;br /&gt;
  make&lt;br /&gt;
  make install&lt;br /&gt;
  modprobe uvcvideo&lt;br /&gt;
&lt;br /&gt;
But I didn't tried yet cause I'm still using the experimental kernel that does not come with packages for compiling modules.&lt;br /&gt;
&lt;br /&gt;
== GTK and Firefox ==&lt;br /&gt;
&lt;br /&gt;
Font size is too large. Solution:&lt;br /&gt;
  $cat /home/rdemaria/.gtkrc-2.0&lt;br /&gt;
  # -- THEME AUTO-WRITTEN DO NOT EDIT&lt;br /&gt;
  include &amp;quot;/usr/share/themes/Industrial/gtk-2.0/gtkrc&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  include &amp;quot;/home/rdemaria/.gtkrc-2.0.mine&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  # -- THEME AUTO-WRITTEN DO NOT EDIT&lt;br /&gt;
&lt;br /&gt;
  $cat /home/rdemaria/.gtkrc-2.0.mine&lt;br /&gt;
  gtk-font-name = &amp;quot;Sans 8&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== Printer and scanner ==&lt;br /&gt;
&lt;br /&gt;
Usb printer and scanner (HP Officejet J4580) works perfectly using cups, hpoj, xsane, hplib.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== RAM upgrade ==&lt;br /&gt;
&lt;br /&gt;
My X200 came with 2G of ram and 1 free slots. I bought:&lt;br /&gt;
   Crucial 2GB 204-Pin DDR3 SO-DIMM DDR3 1066 (PC3 8500) Laptop Memory Model CT25664BC1067 - Retail&lt;br /&gt;
&lt;br /&gt;
installed and replace the kernel with a bigmem one.&lt;br /&gt;
&lt;br /&gt;
== Hard disk upgrade ==&lt;br /&gt;
&lt;br /&gt;
My X200 came with a 160GB hardrive. I bought the 500GB hard drive&lt;br /&gt;
   Western Digital Scorpio Blue WD5000BEVT 500GB 5400 RPM SATA 3.0Gb/s Notebook Hard Drive - OEM&lt;br /&gt;
&lt;br /&gt;
and the adapter&lt;br /&gt;
  Link Depot USB2-SATA USB2.0 TO IDE/SATA Adapter Cable - Retail&lt;br /&gt;
&lt;br /&gt;
for transfer the data.&lt;br /&gt;
&lt;br /&gt;
I connected the new hard drive using the usb port. The drive was recognized as /dev/sdb. I create the partitions that reads:&lt;br /&gt;
&lt;br /&gt;
  $ sfdisk -d /dev/sdb&lt;br /&gt;
  # partition table of /dev/sdb&lt;br /&gt;
  unit: sectors&lt;br /&gt;
&lt;br /&gt;
  /dev/sdb1 : start=       63, size= 71553447, Id=83&lt;br /&gt;
  /dev/sdb2 : start= 71553510, size=905214555, Id= 5&lt;br /&gt;
  /dev/sdb3 : start=        0, size=        0, Id= 0&lt;br /&gt;
  /dev/sdb4 : start=        0, size=        0, Id= 0&lt;br /&gt;
  /dev/sdb5 : start= 71553573, size=894467007, Id=83&lt;br /&gt;
  /dev/sdb6 : start=966020643, size= 10747422, Id=82&lt;br /&gt;
&lt;br /&gt;
Then made the filesystem and copy the files:&lt;br /&gt;
  $ sudo mkfs.ext3 /dev/sdb1&lt;br /&gt;
  $ sudo mkfs.ext3 /dev/sdb5&lt;br /&gt;
  $ sudo mkswap    /dev/sda6&lt;br /&gt;
  $ sudo mount /mnt/sdb1&lt;br /&gt;
  $ sudo mount /mnt/sdb5&lt;br /&gt;
  $ sudo rsync -a --delete \&lt;br /&gt;
  --exclude /mnt/sdb1 \&lt;br /&gt;
  --exclude /mnt/sdb5 \&lt;br /&gt;
  --exclude /home \&lt;br /&gt;
  --exclude /proc \&lt;br /&gt;
  --exclude /sys \&lt;br /&gt;
  --exclude /lib/init/rw \&lt;br /&gt;
  --exclude /dev \&lt;br /&gt;
  / /mnt/sdb1&lt;br /&gt;
  $ cd /mnt/sdb1; mkdir /home /proc /sys /lib/init/rw /dev; cd &lt;br /&gt;
  $ sudo rsync -a /home/ /mnt/sdb5&lt;br /&gt;
  $ sudo umount /mnt/sdb5; sudo umount /mnt/sdb1&lt;br /&gt;
&lt;br /&gt;
Finally install grub&lt;br /&gt;
  $ sudo grub --no-floppy&lt;br /&gt;
  $ geometry (hd1)&lt;br /&gt;
  &amp;gt; root (hd1,0)&lt;br /&gt;
  &amp;gt; setup (hd1)&lt;br /&gt;
  &amp;gt; quit&lt;br /&gt;
&lt;br /&gt;
and replace the disk. (I tried to boot from the usb to check the new hard drive, but I messed up the old installation...)&lt;br /&gt;
&lt;br /&gt;
For some reason the suspend to disk was not working anymore. But &lt;br /&gt;
  $ sudo aptitude reinstall uswsusp&lt;br /&gt;
fixed the problem answering yes to use the swap disk.&lt;br /&gt;
&lt;br /&gt;
== Keyboard ==&lt;br /&gt;
&lt;br /&gt;
In recent versions of xserver (as of version 1.4.0.90-7) keyboard-layout is handled by hal, so settings done will be overridden. Settings should be put in:&lt;br /&gt;
&lt;br /&gt;
   /etc/default/console-setup&lt;br /&gt;
&lt;br /&gt;
For a double layout us, us(intl) I put:&lt;br /&gt;
&lt;br /&gt;
  XKBMODEL=&amp;quot;pc104&amp;quot;&lt;br /&gt;
  XKBLAYOUT=&amp;quot;us,us(intl)&amp;quot;&lt;br /&gt;
  XKBVARIANT=&amp;quot;&amp;quot;&lt;br /&gt;
  XKBOPTIONS=&amp;quot;compose(lwin),compose(rwin),grp:shifts_toggle,grp_led:scroll&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== Special keys ==&lt;br /&gt;
&lt;br /&gt;
Some keys are intercepted by X Windows. The keycodes are&lt;br /&gt;
&lt;br /&gt;
  151 XF86WakeUp Fn&lt;br /&gt;
  167 XF86Forward&lt;br /&gt;
  166 XF86Back&lt;br /&gt;
  122 XF86AudioLower&lt;br /&gt;
  123 XF86AudioRaiseVolume&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Mute switch the hardware volume which is not controlled by ALSA.&lt;br /&gt;
&lt;br /&gt;
ACPI links suspend to ram and to disc to Fn+F4 and Fn+F12 respectively. Screen brightness, thinklight, bluetooth works as well.&lt;br /&gt;
&lt;br /&gt;
In fluxbox I used for:&lt;br /&gt;
&lt;br /&gt;
  &amp;quot;.fluxbox/keys&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
  Menu  :Exec rxvt&lt;br /&gt;
  Shift Menu :Exec fbrun&lt;br /&gt;
  XF86Forward  :NextWorkspace&lt;br /&gt;
  XF86Back  :PrevWorkspace&lt;br /&gt;
  F86AudioRaiseVolume :Exec amixer sset Master,0 1+&lt;br /&gt;
  XF86AudioLowerVolume :Exec amixer sset Master,0 1-&lt;br /&gt;
&lt;br /&gt;
== Trackpoint ==&lt;br /&gt;
&lt;br /&gt;
As for the keyboard, options are not handled anymore from xorg.cong. Apparently we are in a transition period and HAL is soon to be deprecated. As of Jan 10 2010 this is what works on my system.&lt;br /&gt;
&lt;br /&gt;
The output of &lt;br /&gt;
  $ lshal|grep input.product&lt;br /&gt;
&lt;br /&gt;
  input.product = 'Video Bus'  (string)&lt;br /&gt;
  input.product = 'ThinkPad Extra Buttons'  (string)&lt;br /&gt;
  input.product = 'Lid Switch'  (string)&lt;br /&gt;
  input.product = 'ACPI Virtual Keyboard Device'  (string)&lt;br /&gt;
  input.product = 'Sleep Button'  (string)&lt;br /&gt;
  input.product = 'Power Button'  (string)&lt;br /&gt;
  input.product = 'PC Speaker'  (string)&lt;br /&gt;
  input.product = 'PS/2 Generic Mouse'  (string)&lt;br /&gt;
  input.product = 'AT Translated Set 2 keyboard'  (string)&lt;br /&gt;
  input.product = 'HDA Intel Headphone'  (string)&lt;br /&gt;
  input.product = 'HDA Intel Headphone'  (string)&lt;br /&gt;
  input.product = 'UVC Camera (17ef:480c)'  (string)&lt;br /&gt;
&lt;br /&gt;
So to enable scrooling and emulate third button (e.g. to change view in blender) edit:&lt;br /&gt;
&lt;br /&gt;
  /etc/hal/fdi/policy/mouse-wheel.fdi&lt;br /&gt;
&lt;br /&gt;
as&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;match key=&amp;quot;info.product&amp;quot; string=&amp;quot;PS/2 Generic Mouse&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheel&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheelButton&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;2&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheelTimeout&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;250&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;merge key=&amp;quot;input.x11_options.XAxisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;6 7&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;merge key=&amp;quot;input.x11_options.YAxisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;4 5&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;merge key=&amp;quot;input.x11_options.ZAxsisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;4 5&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;merge key=&amp;quot;input.x11_options.Emulate3Buttons&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;/match&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For updated information look at [[How_to_configure_the_TrackPoint]].&lt;br /&gt;
&lt;br /&gt;
== TO BE CONTINUED ==&lt;/div&gt;</summary>
		<author><name>Rdemaria</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Debian_Sid_(October_2008)_on_a_ThinkPad_X200&amp;diff=45357</id>
		<title>Installing Debian Sid (October 2008) on a ThinkPad X200</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Debian_Sid_(October_2008)_on_a_ThinkPad_X200&amp;diff=45357"/>
		<updated>2010-01-10T16:31:15Z</updated>

		<summary type="html">&lt;p&gt;Rdemaria: /* Kernel */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
Amazing machine: light, quiet, large battery life, ideal for travels, great value for money compared to X200T and X300.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Creating installation device ==&lt;br /&gt;
&lt;br /&gt;
The X200 has no cd/dvd but can boot from USB. On the X200 BIOS settings, the USB disk boot option needed to be raised to be used first. Using F1 at boot gives access to the BIOS.&lt;br /&gt;
&lt;br /&gt;
I created an USB bootable iso from another linux installation.&lt;br /&gt;
I had an usb stick with a FAT32 partition on /dev/sdc1. I dowloaded the boot and iso file and installed the image&lt;br /&gt;
using:&lt;br /&gt;
&lt;br /&gt;
  wget http://people.debian.org/~joeyh/d-i/images/daily/hd-media/boot.img.gz&lt;br /&gt;
  wget http://cdimage.debian.org/cdimage/daily-builds/daily/arch-latest/i386/iso-cd/debian-testing-i386-netinst.iso&lt;br /&gt;
  zcat boot.img.gz &amp;gt;/dev/sdc1&lt;br /&gt;
  mkdir /mnt/sdc1&lt;br /&gt;
  mount /dev/sdc1 /mnt/sdc1&lt;br /&gt;
  cp debian-testing-i386-netinst.iso /mnt/sdc1&lt;br /&gt;
&lt;br /&gt;
The boot stick will use the network to install the package but a more complete ISO image can be dowloaded.&lt;br /&gt;
&lt;br /&gt;
The wifi will not work (see [[Installing_Debian_on_an_X200]]) but the Ethernet card will. In theory it should be possible build custom Debian Live USB stick, using the latest package and install from there, I didn't manage so far.&lt;br /&gt;
&lt;br /&gt;
== Sid installation ==&lt;br /&gt;
&lt;br /&gt;
To install sid use the expert installation support and choose unstable for the repository.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Backup hard drive data ==&lt;br /&gt;
&lt;br /&gt;
In order to save the hard drive content, I created complete hard drive image on another hard disk. During the installation procedure I activated another shell with CTRL-ALT-F3, mounted an external HD (/dev/sdb1) and copied the image with:&lt;br /&gt;
&lt;br /&gt;
  mkdir /mnt/sdb1&lt;br /&gt;
  mount /dev/sdb1 /mnt/sdb1/&lt;br /&gt;
  dd if=/dev/sda of=/mnt/sdb1/sda-image&lt;br /&gt;
&lt;br /&gt;
In principle partimage is better option but the installation image does not have it. Also gzipping the partition on the fly would have bin better, but the gzip or bzip2 were not present. Using a custom Debian Live installation image would solve the problem.&lt;br /&gt;
&lt;br /&gt;
== Kernel ==&lt;br /&gt;
&lt;br /&gt;
Some kernel options here for /boot/grub/menu.lst:&lt;br /&gt;
  &lt;br /&gt;
  # kopt=root=/dev/sda1 ro acpi_sleep=s3_bios vga=0x0368 video=vesafb&lt;br /&gt;
&lt;br /&gt;
Update the real items using&lt;br /&gt;
  &lt;br /&gt;
  update-grub&lt;br /&gt;
&lt;br /&gt;
or &lt;br /&gt;
&lt;br /&gt;
  update-grub2&lt;br /&gt;
&lt;br /&gt;
if you are using grub2.&lt;br /&gt;
&lt;br /&gt;
vga parameters does not work in grub2. To see the boot process on high resolution modify the file&lt;br /&gt;
&lt;br /&gt;
  /etc/grub.d/00_header&lt;br /&gt;
&lt;br /&gt;
adding the line&lt;br /&gt;
&lt;br /&gt;
  set gfxpayload=keep&lt;br /&gt;
&lt;br /&gt;
just after &lt;br /&gt;
  &lt;br /&gt;
  set gfxmode=${GRUB_GFXMODE}&lt;br /&gt;
&lt;br /&gt;
== Video ==&lt;br /&gt;
&lt;br /&gt;
Intel drivers 2.9.1-2 appears to work well on a sid system. &lt;br /&gt;
&lt;br /&gt;
Some options are necessary in xorg.conf:&lt;br /&gt;
&lt;br /&gt;
  $ awk '!/#/ {print &amp;quot; &amp;quot;,$0}' /etc/X11/xorg.conf&lt;br /&gt;
  Section &amp;quot;Screen&amp;quot;&lt;br /&gt;
          Identifier      &amp;quot;Default Screen&amp;quot;&lt;br /&gt;
          Monitor         &amp;quot;Configured Monitor&amp;quot;&lt;br /&gt;
          Defaultdepth    24&lt;br /&gt;
          SubSection &amp;quot;Display&amp;quot;&lt;br /&gt;
                   Modes           &amp;quot;1280x800&amp;quot;&lt;br /&gt;
                   Virtual    2560 1280&lt;br /&gt;
          EndSubSection&lt;br /&gt;
  EndSection&lt;br /&gt;
  &lt;br /&gt;
  &lt;br /&gt;
  Section &amp;quot;Monitor&amp;quot;&lt;br /&gt;
          Identifier      &amp;quot;Configured Monitor&amp;quot;&lt;br /&gt;
          DisplaySize     231 233.5&lt;br /&gt;
  EndSection&lt;br /&gt;
   &lt;br /&gt;
  Section &amp;quot;Monitor&amp;quot;&lt;br /&gt;
          Identifier      &amp;quot;HDMI-1&amp;quot;&lt;br /&gt;
          Option          &amp;quot;Ignore&amp;quot; &amp;quot;True&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
   &lt;br /&gt;
  Section &amp;quot;Monitor&amp;quot;&lt;br /&gt;
          Identifier      &amp;quot;HDMI-2&amp;quot;&lt;br /&gt;
          Option          &amp;quot;Ignore&amp;quot; &amp;quot;True&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
  &lt;br /&gt;
  Section &amp;quot;Device&amp;quot;&lt;br /&gt;
          Identifier      &amp;quot;Configured Video Device&amp;quot;&lt;br /&gt;
            Driver          &amp;quot;intel&amp;quot;&lt;br /&gt;
          Option          &amp;quot;monitor-HDMI-1&amp;quot; &amp;quot;HDMI-1&amp;quot;&lt;br /&gt;
          Option          &amp;quot;monitor-HDMI-2&amp;quot; &amp;quot;HDMI-2&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
&lt;br /&gt;
== Fonts ==&lt;br /&gt;
&lt;br /&gt;
Default fonts are a bit ugly. Things get better by creating some symbolic link:&lt;br /&gt;
&lt;br /&gt;
  cd /etc/fonts/conf.d&lt;br /&gt;
  ln -s ../conf.avail/10-autohint.conf&lt;br /&gt;
  ln -s ../conf.avail/10-sub-pixel-rgb.conf&lt;br /&gt;
  ln -s ../conf.avail/70-no-bitmaps.conf&lt;br /&gt;
&lt;br /&gt;
For GTK and Firefox&lt;br /&gt;
&lt;br /&gt;
Fonts size are too large. Solution:&lt;br /&gt;
  $cat ~/.gtkrc-2.0&lt;br /&gt;
  # -- THEME AUTO-WRITTEN DO NOT EDIT&lt;br /&gt;
  include &amp;quot;/usr/share/themes/Industrial/gtk-2.0/gtkrc&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  include &amp;quot;/home/rdemaria/.gtkrc-2.0.mine&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  # -- THEME AUTO-WRITTEN DO NOT EDIT&lt;br /&gt;
&lt;br /&gt;
  $cat ~/.gtkrc-2.0.mine&lt;br /&gt;
  gtk-font-name = &amp;quot;Sans 8&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Bold font are also ugly on xvrt (in xterm the bold font control seems always broken). See below for the solution.&lt;br /&gt;
&lt;br /&gt;
== Terminal ==&lt;br /&gt;
&lt;br /&gt;
I tried several terminals. But I found rxvt-unicode the easiest and fastest. This resources allow 4 terminals in one window. Bold font (unreadable to me) are disabled.&lt;br /&gt;
  $cat ~/.Xresources&lt;br /&gt;
  rxvt*cutchars: \$:[]&lt;br /&gt;
  rxvt*visualBell: true&lt;br /&gt;
  rxvt*foreground: white&lt;br /&gt;
  rxvt*background: black&lt;br /&gt;
  rxvt*geometry: 80x27&lt;br /&gt;
  rxvt*jumpScroll: true&lt;br /&gt;
  rxvt*skipScroll: true&lt;br /&gt;
  rxvt*scrollBar: false&lt;br /&gt;
  rxvt*boldFont:&lt;br /&gt;
  rxvt*boldItalicFont:&lt;br /&gt;
  rxvt*saveLines: 9096&lt;br /&gt;
  rxvt*mouseWheelScrollPage: false&lt;br /&gt;
&lt;br /&gt;
== Wifi ==&lt;br /&gt;
&lt;br /&gt;
Put in the /etc/apt/source.list&lt;br /&gt;
&lt;br /&gt;
  deb http://kernel-archive.buildserver.net/debian-kernel trunk main &lt;br /&gt;
&lt;br /&gt;
Installed linux-image-2.6.27-1 and firmware&lt;br /&gt;
&lt;br /&gt;
  wget http://intellinuxwireless.org/iwlwifi/downloads/iwlwifi-5000-ucode-5.4.A.11.tar.gz&lt;br /&gt;
  tar xvfz iwlwifi-5000-ucode-5.4.A.11.tar.gz&lt;br /&gt;
  cp  iwlwifi-5000-ucode-5.4.A.11/iwlwifi-5000-1.ucode /lib/firmware&lt;br /&gt;
  aptitude install linux-image-2.6.27-1-686 hal&lt;br /&gt;
&lt;br /&gt;
== Suspend ==&lt;br /&gt;
&lt;br /&gt;
Suspend to disk works using the button Fn+F12.&lt;br /&gt;
&lt;br /&gt;
Suspend to ram (Fn+F4) does not work with sid intel driver, but works with the experimental one.&lt;br /&gt;
Using vesa driver, it works if the i915 driver is installed. I put the line:&lt;br /&gt;
  modprobe i915&lt;br /&gt;
&lt;br /&gt;
in /etc/rc.local.&lt;br /&gt;
&lt;br /&gt;
The trackpoint occasionally stops working after a resume. Apparently it is enough to move it &lt;br /&gt;
a little bit during the resume.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Sound ==&lt;br /&gt;
&lt;br /&gt;
Everything works, but in a strange way. The hardware volume control is managed by acpi&lt;br /&gt;
&lt;br /&gt;
  $ cat /proc/acpi/ibm/volume&lt;br /&gt;
  level:          8&lt;br /&gt;
  mute:           off&lt;br /&gt;
  commands:       up, down, mute&lt;br /&gt;
  commands:       level &amp;lt;level&amp;gt; (&amp;lt;level&amp;gt; is 0-15)&lt;br /&gt;
&lt;br /&gt;
The mute button is linked to the mute command, but volume up and down are passed to X with keycode 122 123. I thought that acpi was intercepting the key and send them to X using fakekey. I played in /etc/acpi/events but I didn't managed to change the behavior.&lt;br /&gt;
&lt;br /&gt;
== Skype ==&lt;br /&gt;
&lt;br /&gt;
Everything works downloading the skype version for Etch. After suspending and resuming the video does not work anymore.&lt;br /&gt;
The error message is:&lt;br /&gt;
&lt;br /&gt;
  Skype V4L2: Could not find a suitable capture format&lt;br /&gt;
&lt;br /&gt;
Several people propose to update the uvcvideo driver.&lt;br /&gt;
  svn checkout http://svn.berlios.de/svnroot/repos/linux-uvc/&lt;br /&gt;
  cd linux-uvc/linux-uvc/trunk/&lt;br /&gt;
  make&lt;br /&gt;
  make install&lt;br /&gt;
  modprobe uvcvideo&lt;br /&gt;
&lt;br /&gt;
But I didn't tried yet cause I'm still using the experimental kernel that does not come with packages for compiling modules.&lt;br /&gt;
&lt;br /&gt;
== GTK and Firefox ==&lt;br /&gt;
&lt;br /&gt;
Font size is too large. Solution:&lt;br /&gt;
  $cat /home/rdemaria/.gtkrc-2.0&lt;br /&gt;
  # -- THEME AUTO-WRITTEN DO NOT EDIT&lt;br /&gt;
  include &amp;quot;/usr/share/themes/Industrial/gtk-2.0/gtkrc&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  include &amp;quot;/home/rdemaria/.gtkrc-2.0.mine&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  # -- THEME AUTO-WRITTEN DO NOT EDIT&lt;br /&gt;
&lt;br /&gt;
  $cat /home/rdemaria/.gtkrc-2.0.mine&lt;br /&gt;
  gtk-font-name = &amp;quot;Sans 8&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== Printer and scanner ==&lt;br /&gt;
&lt;br /&gt;
Usb printer and scanner (HP Officejet J4580) works perfectly using cups, hpoj, xsane, hplib.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== RAM upgrade ==&lt;br /&gt;
&lt;br /&gt;
My X200 came with 2G of ram and 1 free slots. I bought:&lt;br /&gt;
   Crucial 2GB 204-Pin DDR3 SO-DIMM DDR3 1066 (PC3 8500) Laptop Memory Model CT25664BC1067 - Retail&lt;br /&gt;
&lt;br /&gt;
installed and replace the kernel with a bigmem one.&lt;br /&gt;
&lt;br /&gt;
== Hard disk upgrade ==&lt;br /&gt;
&lt;br /&gt;
My X200 came with a 160GB hardrive. I bought the 500GB hard drive&lt;br /&gt;
   Western Digital Scorpio Blue WD5000BEVT 500GB 5400 RPM SATA 3.0Gb/s Notebook Hard Drive - OEM&lt;br /&gt;
&lt;br /&gt;
and the adapter&lt;br /&gt;
  Link Depot USB2-SATA USB2.0 TO IDE/SATA Adapter Cable - Retail&lt;br /&gt;
&lt;br /&gt;
for transfer the data.&lt;br /&gt;
&lt;br /&gt;
I connected the new hard drive using the usb port. The drive was recognized as /dev/sdb. I create the partitions that reads:&lt;br /&gt;
&lt;br /&gt;
  $ sfdisk -d /dev/sdb&lt;br /&gt;
  # partition table of /dev/sdb&lt;br /&gt;
  unit: sectors&lt;br /&gt;
&lt;br /&gt;
  /dev/sdb1 : start=       63, size= 71553447, Id=83&lt;br /&gt;
  /dev/sdb2 : start= 71553510, size=905214555, Id= 5&lt;br /&gt;
  /dev/sdb3 : start=        0, size=        0, Id= 0&lt;br /&gt;
  /dev/sdb4 : start=        0, size=        0, Id= 0&lt;br /&gt;
  /dev/sdb5 : start= 71553573, size=894467007, Id=83&lt;br /&gt;
  /dev/sdb6 : start=966020643, size= 10747422, Id=82&lt;br /&gt;
&lt;br /&gt;
Then made the filesystem and copy the files:&lt;br /&gt;
  $ sudo mkfs.ext3 /dev/sdb1&lt;br /&gt;
  $ sudo mkfs.ext3 /dev/sdb5&lt;br /&gt;
  $ sudo mkswap    /dev/sda6&lt;br /&gt;
  $ sudo mount /mnt/sdb1&lt;br /&gt;
  $ sudo mount /mnt/sdb5&lt;br /&gt;
  $ sudo rsync -a --delete \&lt;br /&gt;
  --exclude /mnt/sdb1 \&lt;br /&gt;
  --exclude /mnt/sdb5 \&lt;br /&gt;
  --exclude /home \&lt;br /&gt;
  --exclude /proc \&lt;br /&gt;
  --exclude /sys \&lt;br /&gt;
  --exclude /lib/init/rw \&lt;br /&gt;
  --exclude /dev \&lt;br /&gt;
  / /mnt/sdb1&lt;br /&gt;
  $ cd /mnt/sdb1; mkdir /home /proc /sys /lib/init/rw /dev; cd &lt;br /&gt;
  $ sudo rsync -a /home/ /mnt/sdb5&lt;br /&gt;
  $ sudo umount /mnt/sdb5; sudo umount /mnt/sdb1&lt;br /&gt;
&lt;br /&gt;
Finally install grub&lt;br /&gt;
  $ sudo grub --no-floppy&lt;br /&gt;
  $ geometry (hd1)&lt;br /&gt;
  &amp;gt; root (hd1,0)&lt;br /&gt;
  &amp;gt; setup (hd1)&lt;br /&gt;
  &amp;gt; quit&lt;br /&gt;
&lt;br /&gt;
and replace the disk. (I tried to boot from the usb to check the new hard drive, but I messed up the old installation...)&lt;br /&gt;
&lt;br /&gt;
For some reason the suspend to disk was not working anymore. But &lt;br /&gt;
  $ sudo aptitude reinstall uswsusp&lt;br /&gt;
fixed the problem answering yes to use the swap disk.&lt;br /&gt;
&lt;br /&gt;
== Keyboard ==&lt;br /&gt;
&lt;br /&gt;
In recent versions of xserver (as of version 1.4.0.90-7) keyboard-layout is handled by hal, so settings done will be overridden. Settings should be put in:&lt;br /&gt;
&lt;br /&gt;
   /etc/default/console-setup&lt;br /&gt;
&lt;br /&gt;
For a double layout us, us(intl) I put:&lt;br /&gt;
&lt;br /&gt;
  XKBMODEL=&amp;quot;pc104&amp;quot;&lt;br /&gt;
  XKBLAYOUT=&amp;quot;us,us(intl)&amp;quot;&lt;br /&gt;
  XKBVARIANT=&amp;quot;&amp;quot;&lt;br /&gt;
  XKBOPTIONS=&amp;quot;compose(lwin),compose(rwin),grp:shifts_toggle,grp_led:scroll&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== Special keys ==&lt;br /&gt;
&lt;br /&gt;
Some keys are intercepted by X Windows. The keycodes are&lt;br /&gt;
&lt;br /&gt;
  151 XF86WakeUp Fn&lt;br /&gt;
  167 XF86Forward&lt;br /&gt;
  166 XF86Back&lt;br /&gt;
  122 XF86AudioLower&lt;br /&gt;
  123 XF86AudioRaiseVolume&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Mute switch the hardware volume which is not controlled by ALSA.&lt;br /&gt;
&lt;br /&gt;
ACPI links suspend to ram and to disc to Fn+F4 and Fn+F12 respectively. Screen brightness, thinklight, bluetooth works as well.&lt;br /&gt;
&lt;br /&gt;
In fluxbox I used for:&lt;br /&gt;
&lt;br /&gt;
  &amp;quot;.fluxbox/keys&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
  Menu  :Exec rxvt&lt;br /&gt;
  Shift Menu :Exec fbrun&lt;br /&gt;
  XF86Forward  :NextWorkspace&lt;br /&gt;
  XF86Back  :PrevWorkspace&lt;br /&gt;
  F86AudioRaiseVolume :Exec amixer sset Master,0 1+&lt;br /&gt;
  XF86AudioLowerVolume :Exec amixer sset Master,0 1-&lt;br /&gt;
&lt;br /&gt;
== Trackpoint ==&lt;br /&gt;
&lt;br /&gt;
As for the keyboard, options are not handled anymore from xorg.cong. Apparently we are in a transition period and HAL is soon to be deprecated. As of Jan 10 2010 this is what works on my system.&lt;br /&gt;
&lt;br /&gt;
The output of &lt;br /&gt;
  $ lshal|grep input.product&lt;br /&gt;
&lt;br /&gt;
  input.product = 'Video Bus'  (string)&lt;br /&gt;
  input.product = 'ThinkPad Extra Buttons'  (string)&lt;br /&gt;
  input.product = 'Lid Switch'  (string)&lt;br /&gt;
  input.product = 'ACPI Virtual Keyboard Device'  (string)&lt;br /&gt;
  input.product = 'Sleep Button'  (string)&lt;br /&gt;
  input.product = 'Power Button'  (string)&lt;br /&gt;
  input.product = 'PC Speaker'  (string)&lt;br /&gt;
  input.product = 'PS/2 Generic Mouse'  (string)&lt;br /&gt;
  input.product = 'AT Translated Set 2 keyboard'  (string)&lt;br /&gt;
  input.product = 'HDA Intel Headphone'  (string)&lt;br /&gt;
  input.product = 'HDA Intel Headphone'  (string)&lt;br /&gt;
  input.product = 'UVC Camera (17ef:480c)'  (string)&lt;br /&gt;
&lt;br /&gt;
So to enable scrooling and emulate third button (e.g. to change view in blender) edit:&lt;br /&gt;
&lt;br /&gt;
  /etc/hal/fdi/policy/mouse-wheel.fdi&lt;br /&gt;
&lt;br /&gt;
as&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;match key=&amp;quot;info.product&amp;quot; string=&amp;quot;PS/2 Generic Mouse&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheel&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheelButton&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;2&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheelTimeout&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;250&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;merge key=&amp;quot;input.x11_options.XAxisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;6 7&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;merge key=&amp;quot;input.x11_options.YAxisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;4 5&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;merge key=&amp;quot;input.x11_options.ZAxsisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;4 5&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;merge key=&amp;quot;input.x11_options.Emulate3Buttons&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;/match&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For updated information look at [[How_to_configure_the_TrackPoint]].&lt;br /&gt;
&lt;br /&gt;
== TO BE CONTINUED ==&lt;/div&gt;</summary>
		<author><name>Rdemaria</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Debian_Sid_(October_2008)_on_a_ThinkPad_X200&amp;diff=45356</id>
		<title>Installing Debian Sid (October 2008) on a ThinkPad X200</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Debian_Sid_(October_2008)_on_a_ThinkPad_X200&amp;diff=45356"/>
		<updated>2010-01-10T16:29:38Z</updated>

		<summary type="html">&lt;p&gt;Rdemaria: /* Kernel */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
Amazing machine: light, quiet, large battery life, ideal for travels, great value for money compared to X200T and X300.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Creating installation device ==&lt;br /&gt;
&lt;br /&gt;
The X200 has no cd/dvd but can boot from USB. On the X200 BIOS settings, the USB disk boot option needed to be raised to be used first. Using F1 at boot gives access to the BIOS.&lt;br /&gt;
&lt;br /&gt;
I created an USB bootable iso from another linux installation.&lt;br /&gt;
I had an usb stick with a FAT32 partition on /dev/sdc1. I dowloaded the boot and iso file and installed the image&lt;br /&gt;
using:&lt;br /&gt;
&lt;br /&gt;
  wget http://people.debian.org/~joeyh/d-i/images/daily/hd-media/boot.img.gz&lt;br /&gt;
  wget http://cdimage.debian.org/cdimage/daily-builds/daily/arch-latest/i386/iso-cd/debian-testing-i386-netinst.iso&lt;br /&gt;
  zcat boot.img.gz &amp;gt;/dev/sdc1&lt;br /&gt;
  mkdir /mnt/sdc1&lt;br /&gt;
  mount /dev/sdc1 /mnt/sdc1&lt;br /&gt;
  cp debian-testing-i386-netinst.iso /mnt/sdc1&lt;br /&gt;
&lt;br /&gt;
The boot stick will use the network to install the package but a more complete ISO image can be dowloaded.&lt;br /&gt;
&lt;br /&gt;
The wifi will not work (see [[Installing_Debian_on_an_X200]]) but the Ethernet card will. In theory it should be possible build custom Debian Live USB stick, using the latest package and install from there, I didn't manage so far.&lt;br /&gt;
&lt;br /&gt;
== Sid installation ==&lt;br /&gt;
&lt;br /&gt;
To install sid use the expert installation support and choose unstable for the repository.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Backup hard drive data ==&lt;br /&gt;
&lt;br /&gt;
In order to save the hard drive content, I created complete hard drive image on another hard disk. During the installation procedure I activated another shell with CTRL-ALT-F3, mounted an external HD (/dev/sdb1) and copied the image with:&lt;br /&gt;
&lt;br /&gt;
  mkdir /mnt/sdb1&lt;br /&gt;
  mount /dev/sdb1 /mnt/sdb1/&lt;br /&gt;
  dd if=/dev/sda of=/mnt/sdb1/sda-image&lt;br /&gt;
&lt;br /&gt;
In principle partimage is better option but the installation image does not have it. Also gzipping the partition on the fly would have bin better, but the gzip or bzip2 were not present. Using a custom Debian Live installation image would solve the problem.&lt;br /&gt;
&lt;br /&gt;
== Kernel ==&lt;br /&gt;
&lt;br /&gt;
Some kernel options here for /boot/grub/menu.lst:&lt;br /&gt;
  &lt;br /&gt;
  # kopt=root=/dev/sda1 ro acpi_sleep=s3_bios vga=0x0368 video=vesafb&lt;br /&gt;
&lt;br /&gt;
Update the real items using&lt;br /&gt;
  &lt;br /&gt;
  update-grub&lt;br /&gt;
&lt;br /&gt;
In order to have grub at high resolution modify the file&lt;br /&gt;
&lt;br /&gt;
  /etc/grub.d/00_header&lt;br /&gt;
&lt;br /&gt;
adding the line&lt;br /&gt;
&lt;br /&gt;
  set gfxpayload=keep&lt;br /&gt;
&lt;br /&gt;
just after &lt;br /&gt;
  &lt;br /&gt;
  set gfxmode=${GRUB_GFXMODE}&lt;br /&gt;
&lt;br /&gt;
== Video ==&lt;br /&gt;
&lt;br /&gt;
Intel drivers 2.9.1-2 appears to work well on a sid system. &lt;br /&gt;
&lt;br /&gt;
Some options are necessary in xorg.conf:&lt;br /&gt;
&lt;br /&gt;
  $ awk '!/#/ {print &amp;quot; &amp;quot;,$0}' /etc/X11/xorg.conf&lt;br /&gt;
  Section &amp;quot;Screen&amp;quot;&lt;br /&gt;
          Identifier      &amp;quot;Default Screen&amp;quot;&lt;br /&gt;
          Monitor         &amp;quot;Configured Monitor&amp;quot;&lt;br /&gt;
          Defaultdepth    24&lt;br /&gt;
          SubSection &amp;quot;Display&amp;quot;&lt;br /&gt;
                   Modes           &amp;quot;1280x800&amp;quot;&lt;br /&gt;
                   Virtual    2560 1280&lt;br /&gt;
          EndSubSection&lt;br /&gt;
  EndSection&lt;br /&gt;
  &lt;br /&gt;
  &lt;br /&gt;
  Section &amp;quot;Monitor&amp;quot;&lt;br /&gt;
          Identifier      &amp;quot;Configured Monitor&amp;quot;&lt;br /&gt;
          DisplaySize     231 233.5&lt;br /&gt;
  EndSection&lt;br /&gt;
   &lt;br /&gt;
  Section &amp;quot;Monitor&amp;quot;&lt;br /&gt;
          Identifier      &amp;quot;HDMI-1&amp;quot;&lt;br /&gt;
          Option          &amp;quot;Ignore&amp;quot; &amp;quot;True&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
   &lt;br /&gt;
  Section &amp;quot;Monitor&amp;quot;&lt;br /&gt;
          Identifier      &amp;quot;HDMI-2&amp;quot;&lt;br /&gt;
          Option          &amp;quot;Ignore&amp;quot; &amp;quot;True&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
  &lt;br /&gt;
  Section &amp;quot;Device&amp;quot;&lt;br /&gt;
          Identifier      &amp;quot;Configured Video Device&amp;quot;&lt;br /&gt;
            Driver          &amp;quot;intel&amp;quot;&lt;br /&gt;
          Option          &amp;quot;monitor-HDMI-1&amp;quot; &amp;quot;HDMI-1&amp;quot;&lt;br /&gt;
          Option          &amp;quot;monitor-HDMI-2&amp;quot; &amp;quot;HDMI-2&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
&lt;br /&gt;
== Fonts ==&lt;br /&gt;
&lt;br /&gt;
Default fonts are a bit ugly. Things get better by creating some symbolic link:&lt;br /&gt;
&lt;br /&gt;
  cd /etc/fonts/conf.d&lt;br /&gt;
  ln -s ../conf.avail/10-autohint.conf&lt;br /&gt;
  ln -s ../conf.avail/10-sub-pixel-rgb.conf&lt;br /&gt;
  ln -s ../conf.avail/70-no-bitmaps.conf&lt;br /&gt;
&lt;br /&gt;
For GTK and Firefox&lt;br /&gt;
&lt;br /&gt;
Fonts size are too large. Solution:&lt;br /&gt;
  $cat ~/.gtkrc-2.0&lt;br /&gt;
  # -- THEME AUTO-WRITTEN DO NOT EDIT&lt;br /&gt;
  include &amp;quot;/usr/share/themes/Industrial/gtk-2.0/gtkrc&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  include &amp;quot;/home/rdemaria/.gtkrc-2.0.mine&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  # -- THEME AUTO-WRITTEN DO NOT EDIT&lt;br /&gt;
&lt;br /&gt;
  $cat ~/.gtkrc-2.0.mine&lt;br /&gt;
  gtk-font-name = &amp;quot;Sans 8&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Bold font are also ugly on xvrt (in xterm the bold font control seems always broken). See below for the solution.&lt;br /&gt;
&lt;br /&gt;
== Terminal ==&lt;br /&gt;
&lt;br /&gt;
I tried several terminals. But I found rxvt-unicode the easiest and fastest. This resources allow 4 terminals in one window. Bold font (unreadable to me) are disabled.&lt;br /&gt;
  $cat ~/.Xresources&lt;br /&gt;
  rxvt*cutchars: \$:[]&lt;br /&gt;
  rxvt*visualBell: true&lt;br /&gt;
  rxvt*foreground: white&lt;br /&gt;
  rxvt*background: black&lt;br /&gt;
  rxvt*geometry: 80x27&lt;br /&gt;
  rxvt*jumpScroll: true&lt;br /&gt;
  rxvt*skipScroll: true&lt;br /&gt;
  rxvt*scrollBar: false&lt;br /&gt;
  rxvt*boldFont:&lt;br /&gt;
  rxvt*boldItalicFont:&lt;br /&gt;
  rxvt*saveLines: 9096&lt;br /&gt;
  rxvt*mouseWheelScrollPage: false&lt;br /&gt;
&lt;br /&gt;
== Wifi ==&lt;br /&gt;
&lt;br /&gt;
Put in the /etc/apt/source.list&lt;br /&gt;
&lt;br /&gt;
  deb http://kernel-archive.buildserver.net/debian-kernel trunk main &lt;br /&gt;
&lt;br /&gt;
Installed linux-image-2.6.27-1 and firmware&lt;br /&gt;
&lt;br /&gt;
  wget http://intellinuxwireless.org/iwlwifi/downloads/iwlwifi-5000-ucode-5.4.A.11.tar.gz&lt;br /&gt;
  tar xvfz iwlwifi-5000-ucode-5.4.A.11.tar.gz&lt;br /&gt;
  cp  iwlwifi-5000-ucode-5.4.A.11/iwlwifi-5000-1.ucode /lib/firmware&lt;br /&gt;
  aptitude install linux-image-2.6.27-1-686 hal&lt;br /&gt;
&lt;br /&gt;
== Suspend ==&lt;br /&gt;
&lt;br /&gt;
Suspend to disk works using the button Fn+F12.&lt;br /&gt;
&lt;br /&gt;
Suspend to ram (Fn+F4) does not work with sid intel driver, but works with the experimental one.&lt;br /&gt;
Using vesa driver, it works if the i915 driver is installed. I put the line:&lt;br /&gt;
  modprobe i915&lt;br /&gt;
&lt;br /&gt;
in /etc/rc.local.&lt;br /&gt;
&lt;br /&gt;
The trackpoint occasionally stops working after a resume. Apparently it is enough to move it &lt;br /&gt;
a little bit during the resume.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Sound ==&lt;br /&gt;
&lt;br /&gt;
Everything works, but in a strange way. The hardware volume control is managed by acpi&lt;br /&gt;
&lt;br /&gt;
  $ cat /proc/acpi/ibm/volume&lt;br /&gt;
  level:          8&lt;br /&gt;
  mute:           off&lt;br /&gt;
  commands:       up, down, mute&lt;br /&gt;
  commands:       level &amp;lt;level&amp;gt; (&amp;lt;level&amp;gt; is 0-15)&lt;br /&gt;
&lt;br /&gt;
The mute button is linked to the mute command, but volume up and down are passed to X with keycode 122 123. I thought that acpi was intercepting the key and send them to X using fakekey. I played in /etc/acpi/events but I didn't managed to change the behavior.&lt;br /&gt;
&lt;br /&gt;
== Skype ==&lt;br /&gt;
&lt;br /&gt;
Everything works downloading the skype version for Etch. After suspending and resuming the video does not work anymore.&lt;br /&gt;
The error message is:&lt;br /&gt;
&lt;br /&gt;
  Skype V4L2: Could not find a suitable capture format&lt;br /&gt;
&lt;br /&gt;
Several people propose to update the uvcvideo driver.&lt;br /&gt;
  svn checkout http://svn.berlios.de/svnroot/repos/linux-uvc/&lt;br /&gt;
  cd linux-uvc/linux-uvc/trunk/&lt;br /&gt;
  make&lt;br /&gt;
  make install&lt;br /&gt;
  modprobe uvcvideo&lt;br /&gt;
&lt;br /&gt;
But I didn't tried yet cause I'm still using the experimental kernel that does not come with packages for compiling modules.&lt;br /&gt;
&lt;br /&gt;
== GTK and Firefox ==&lt;br /&gt;
&lt;br /&gt;
Font size is too large. Solution:&lt;br /&gt;
  $cat /home/rdemaria/.gtkrc-2.0&lt;br /&gt;
  # -- THEME AUTO-WRITTEN DO NOT EDIT&lt;br /&gt;
  include &amp;quot;/usr/share/themes/Industrial/gtk-2.0/gtkrc&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  include &amp;quot;/home/rdemaria/.gtkrc-2.0.mine&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  # -- THEME AUTO-WRITTEN DO NOT EDIT&lt;br /&gt;
&lt;br /&gt;
  $cat /home/rdemaria/.gtkrc-2.0.mine&lt;br /&gt;
  gtk-font-name = &amp;quot;Sans 8&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== Printer and scanner ==&lt;br /&gt;
&lt;br /&gt;
Usb printer and scanner (HP Officejet J4580) works perfectly using cups, hpoj, xsane, hplib.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== RAM upgrade ==&lt;br /&gt;
&lt;br /&gt;
My X200 came with 2G of ram and 1 free slots. I bought:&lt;br /&gt;
   Crucial 2GB 204-Pin DDR3 SO-DIMM DDR3 1066 (PC3 8500) Laptop Memory Model CT25664BC1067 - Retail&lt;br /&gt;
&lt;br /&gt;
installed and replace the kernel with a bigmem one.&lt;br /&gt;
&lt;br /&gt;
== Hard disk upgrade ==&lt;br /&gt;
&lt;br /&gt;
My X200 came with a 160GB hardrive. I bought the 500GB hard drive&lt;br /&gt;
   Western Digital Scorpio Blue WD5000BEVT 500GB 5400 RPM SATA 3.0Gb/s Notebook Hard Drive - OEM&lt;br /&gt;
&lt;br /&gt;
and the adapter&lt;br /&gt;
  Link Depot USB2-SATA USB2.0 TO IDE/SATA Adapter Cable - Retail&lt;br /&gt;
&lt;br /&gt;
for transfer the data.&lt;br /&gt;
&lt;br /&gt;
I connected the new hard drive using the usb port. The drive was recognized as /dev/sdb. I create the partitions that reads:&lt;br /&gt;
&lt;br /&gt;
  $ sfdisk -d /dev/sdb&lt;br /&gt;
  # partition table of /dev/sdb&lt;br /&gt;
  unit: sectors&lt;br /&gt;
&lt;br /&gt;
  /dev/sdb1 : start=       63, size= 71553447, Id=83&lt;br /&gt;
  /dev/sdb2 : start= 71553510, size=905214555, Id= 5&lt;br /&gt;
  /dev/sdb3 : start=        0, size=        0, Id= 0&lt;br /&gt;
  /dev/sdb4 : start=        0, size=        0, Id= 0&lt;br /&gt;
  /dev/sdb5 : start= 71553573, size=894467007, Id=83&lt;br /&gt;
  /dev/sdb6 : start=966020643, size= 10747422, Id=82&lt;br /&gt;
&lt;br /&gt;
Then made the filesystem and copy the files:&lt;br /&gt;
  $ sudo mkfs.ext3 /dev/sdb1&lt;br /&gt;
  $ sudo mkfs.ext3 /dev/sdb5&lt;br /&gt;
  $ sudo mkswap    /dev/sda6&lt;br /&gt;
  $ sudo mount /mnt/sdb1&lt;br /&gt;
  $ sudo mount /mnt/sdb5&lt;br /&gt;
  $ sudo rsync -a --delete \&lt;br /&gt;
  --exclude /mnt/sdb1 \&lt;br /&gt;
  --exclude /mnt/sdb5 \&lt;br /&gt;
  --exclude /home \&lt;br /&gt;
  --exclude /proc \&lt;br /&gt;
  --exclude /sys \&lt;br /&gt;
  --exclude /lib/init/rw \&lt;br /&gt;
  --exclude /dev \&lt;br /&gt;
  / /mnt/sdb1&lt;br /&gt;
  $ cd /mnt/sdb1; mkdir /home /proc /sys /lib/init/rw /dev; cd &lt;br /&gt;
  $ sudo rsync -a /home/ /mnt/sdb5&lt;br /&gt;
  $ sudo umount /mnt/sdb5; sudo umount /mnt/sdb1&lt;br /&gt;
&lt;br /&gt;
Finally install grub&lt;br /&gt;
  $ sudo grub --no-floppy&lt;br /&gt;
  $ geometry (hd1)&lt;br /&gt;
  &amp;gt; root (hd1,0)&lt;br /&gt;
  &amp;gt; setup (hd1)&lt;br /&gt;
  &amp;gt; quit&lt;br /&gt;
&lt;br /&gt;
and replace the disk. (I tried to boot from the usb to check the new hard drive, but I messed up the old installation...)&lt;br /&gt;
&lt;br /&gt;
For some reason the suspend to disk was not working anymore. But &lt;br /&gt;
  $ sudo aptitude reinstall uswsusp&lt;br /&gt;
fixed the problem answering yes to use the swap disk.&lt;br /&gt;
&lt;br /&gt;
== Keyboard ==&lt;br /&gt;
&lt;br /&gt;
In recent versions of xserver (as of version 1.4.0.90-7) keyboard-layout is handled by hal, so settings done will be overridden. Settings should be put in:&lt;br /&gt;
&lt;br /&gt;
   /etc/default/console-setup&lt;br /&gt;
&lt;br /&gt;
For a double layout us, us(intl) I put:&lt;br /&gt;
&lt;br /&gt;
  XKBMODEL=&amp;quot;pc104&amp;quot;&lt;br /&gt;
  XKBLAYOUT=&amp;quot;us,us(intl)&amp;quot;&lt;br /&gt;
  XKBVARIANT=&amp;quot;&amp;quot;&lt;br /&gt;
  XKBOPTIONS=&amp;quot;compose(lwin),compose(rwin),grp:shifts_toggle,grp_led:scroll&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== Special keys ==&lt;br /&gt;
&lt;br /&gt;
Some keys are intercepted by X Windows. The keycodes are&lt;br /&gt;
&lt;br /&gt;
  151 XF86WakeUp Fn&lt;br /&gt;
  167 XF86Forward&lt;br /&gt;
  166 XF86Back&lt;br /&gt;
  122 XF86AudioLower&lt;br /&gt;
  123 XF86AudioRaiseVolume&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Mute switch the hardware volume which is not controlled by ALSA.&lt;br /&gt;
&lt;br /&gt;
ACPI links suspend to ram and to disc to Fn+F4 and Fn+F12 respectively. Screen brightness, thinklight, bluetooth works as well.&lt;br /&gt;
&lt;br /&gt;
In fluxbox I used for:&lt;br /&gt;
&lt;br /&gt;
  &amp;quot;.fluxbox/keys&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
  Menu  :Exec rxvt&lt;br /&gt;
  Shift Menu :Exec fbrun&lt;br /&gt;
  XF86Forward  :NextWorkspace&lt;br /&gt;
  XF86Back  :PrevWorkspace&lt;br /&gt;
  F86AudioRaiseVolume :Exec amixer sset Master,0 1+&lt;br /&gt;
  XF86AudioLowerVolume :Exec amixer sset Master,0 1-&lt;br /&gt;
&lt;br /&gt;
== Trackpoint ==&lt;br /&gt;
&lt;br /&gt;
As for the keyboard, options are not handled anymore from xorg.cong. Apparently we are in a transition period and HAL is soon to be deprecated. As of Jan 10 2010 this is what works on my system.&lt;br /&gt;
&lt;br /&gt;
The output of &lt;br /&gt;
  $ lshal|grep input.product&lt;br /&gt;
&lt;br /&gt;
  input.product = 'Video Bus'  (string)&lt;br /&gt;
  input.product = 'ThinkPad Extra Buttons'  (string)&lt;br /&gt;
  input.product = 'Lid Switch'  (string)&lt;br /&gt;
  input.product = 'ACPI Virtual Keyboard Device'  (string)&lt;br /&gt;
  input.product = 'Sleep Button'  (string)&lt;br /&gt;
  input.product = 'Power Button'  (string)&lt;br /&gt;
  input.product = 'PC Speaker'  (string)&lt;br /&gt;
  input.product = 'PS/2 Generic Mouse'  (string)&lt;br /&gt;
  input.product = 'AT Translated Set 2 keyboard'  (string)&lt;br /&gt;
  input.product = 'HDA Intel Headphone'  (string)&lt;br /&gt;
  input.product = 'HDA Intel Headphone'  (string)&lt;br /&gt;
  input.product = 'UVC Camera (17ef:480c)'  (string)&lt;br /&gt;
&lt;br /&gt;
So to enable scrooling and emulate third button (e.g. to change view in blender) edit:&lt;br /&gt;
&lt;br /&gt;
  /etc/hal/fdi/policy/mouse-wheel.fdi&lt;br /&gt;
&lt;br /&gt;
as&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;match key=&amp;quot;info.product&amp;quot; string=&amp;quot;PS/2 Generic Mouse&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheel&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheelButton&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;2&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheelTimeout&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;250&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;merge key=&amp;quot;input.x11_options.XAxisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;6 7&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;merge key=&amp;quot;input.x11_options.YAxisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;4 5&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;merge key=&amp;quot;input.x11_options.ZAxsisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;4 5&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;merge key=&amp;quot;input.x11_options.Emulate3Buttons&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;/match&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For updated information look at [[How_to_configure_the_TrackPoint]].&lt;br /&gt;
&lt;br /&gt;
== TO BE CONTINUED ==&lt;/div&gt;</summary>
		<author><name>Rdemaria</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Debian_Sid_(October_2008)_on_a_ThinkPad_X200&amp;diff=45355</id>
		<title>Installing Debian Sid (October 2008) on a ThinkPad X200</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Debian_Sid_(October_2008)_on_a_ThinkPad_X200&amp;diff=45355"/>
		<updated>2010-01-10T16:19:32Z</updated>

		<summary type="html">&lt;p&gt;Rdemaria: /* Video */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
Amazing machine: light, quiet, large battery life, ideal for travels, great value for money compared to X200T and X300.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Creating installation device ==&lt;br /&gt;
&lt;br /&gt;
The X200 has no cd/dvd but can boot from USB. On the X200 BIOS settings, the USB disk boot option needed to be raised to be used first. Using F1 at boot gives access to the BIOS.&lt;br /&gt;
&lt;br /&gt;
I created an USB bootable iso from another linux installation.&lt;br /&gt;
I had an usb stick with a FAT32 partition on /dev/sdc1. I dowloaded the boot and iso file and installed the image&lt;br /&gt;
using:&lt;br /&gt;
&lt;br /&gt;
  wget http://people.debian.org/~joeyh/d-i/images/daily/hd-media/boot.img.gz&lt;br /&gt;
  wget http://cdimage.debian.org/cdimage/daily-builds/daily/arch-latest/i386/iso-cd/debian-testing-i386-netinst.iso&lt;br /&gt;
  zcat boot.img.gz &amp;gt;/dev/sdc1&lt;br /&gt;
  mkdir /mnt/sdc1&lt;br /&gt;
  mount /dev/sdc1 /mnt/sdc1&lt;br /&gt;
  cp debian-testing-i386-netinst.iso /mnt/sdc1&lt;br /&gt;
&lt;br /&gt;
The boot stick will use the network to install the package but a more complete ISO image can be dowloaded.&lt;br /&gt;
&lt;br /&gt;
The wifi will not work (see [[Installing_Debian_on_an_X200]]) but the Ethernet card will. In theory it should be possible build custom Debian Live USB stick, using the latest package and install from there, I didn't manage so far.&lt;br /&gt;
&lt;br /&gt;
== Sid installation ==&lt;br /&gt;
&lt;br /&gt;
To install sid use the expert installation support and choose unstable for the repository.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Backup hard drive data ==&lt;br /&gt;
&lt;br /&gt;
In order to save the hard drive content, I created complete hard drive image on another hard disk. During the installation procedure I activated another shell with CTRL-ALT-F3, mounted an external HD (/dev/sdb1) and copied the image with:&lt;br /&gt;
&lt;br /&gt;
  mkdir /mnt/sdb1&lt;br /&gt;
  mount /dev/sdb1 /mnt/sdb1/&lt;br /&gt;
  dd if=/dev/sda of=/mnt/sdb1/sda-image&lt;br /&gt;
&lt;br /&gt;
In principle partimage is better option but the installation image does not have it. Also gzipping the partition on the fly would have bin better, but the gzip or bzip2 were not present. Using a custom Debian Live installation image would solve the problem.&lt;br /&gt;
&lt;br /&gt;
== Kernel ==&lt;br /&gt;
&lt;br /&gt;
Some kernel options here for /boot/grub/menu.lst:&lt;br /&gt;
  &lt;br /&gt;
  # kopt=root=/dev/sda1 ro acpi_sleep=s3_bios vga=0x0368 video=vesafb&lt;br /&gt;
&lt;br /&gt;
Update the real items using&lt;br /&gt;
  &lt;br /&gt;
  update-grub&lt;br /&gt;
&lt;br /&gt;
== Video ==&lt;br /&gt;
&lt;br /&gt;
Intel drivers 2.9.1-2 appears to work well on a sid system. &lt;br /&gt;
&lt;br /&gt;
Some options are necessary in xorg.conf:&lt;br /&gt;
&lt;br /&gt;
  $ awk '!/#/ {print &amp;quot; &amp;quot;,$0}' /etc/X11/xorg.conf&lt;br /&gt;
  Section &amp;quot;Screen&amp;quot;&lt;br /&gt;
          Identifier      &amp;quot;Default Screen&amp;quot;&lt;br /&gt;
          Monitor         &amp;quot;Configured Monitor&amp;quot;&lt;br /&gt;
          Defaultdepth    24&lt;br /&gt;
          SubSection &amp;quot;Display&amp;quot;&lt;br /&gt;
                   Modes           &amp;quot;1280x800&amp;quot;&lt;br /&gt;
                   Virtual    2560 1280&lt;br /&gt;
          EndSubSection&lt;br /&gt;
  EndSection&lt;br /&gt;
  &lt;br /&gt;
  &lt;br /&gt;
  Section &amp;quot;Monitor&amp;quot;&lt;br /&gt;
          Identifier      &amp;quot;Configured Monitor&amp;quot;&lt;br /&gt;
          DisplaySize     231 233.5&lt;br /&gt;
  EndSection&lt;br /&gt;
   &lt;br /&gt;
  Section &amp;quot;Monitor&amp;quot;&lt;br /&gt;
          Identifier      &amp;quot;HDMI-1&amp;quot;&lt;br /&gt;
          Option          &amp;quot;Ignore&amp;quot; &amp;quot;True&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
   &lt;br /&gt;
  Section &amp;quot;Monitor&amp;quot;&lt;br /&gt;
          Identifier      &amp;quot;HDMI-2&amp;quot;&lt;br /&gt;
          Option          &amp;quot;Ignore&amp;quot; &amp;quot;True&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
  &lt;br /&gt;
  Section &amp;quot;Device&amp;quot;&lt;br /&gt;
          Identifier      &amp;quot;Configured Video Device&amp;quot;&lt;br /&gt;
            Driver          &amp;quot;intel&amp;quot;&lt;br /&gt;
          Option          &amp;quot;monitor-HDMI-1&amp;quot; &amp;quot;HDMI-1&amp;quot;&lt;br /&gt;
          Option          &amp;quot;monitor-HDMI-2&amp;quot; &amp;quot;HDMI-2&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
&lt;br /&gt;
== Fonts ==&lt;br /&gt;
&lt;br /&gt;
Default fonts are a bit ugly. Things get better by creating some symbolic link:&lt;br /&gt;
&lt;br /&gt;
  cd /etc/fonts/conf.d&lt;br /&gt;
  ln -s ../conf.avail/10-autohint.conf&lt;br /&gt;
  ln -s ../conf.avail/10-sub-pixel-rgb.conf&lt;br /&gt;
  ln -s ../conf.avail/70-no-bitmaps.conf&lt;br /&gt;
&lt;br /&gt;
For GTK and Firefox&lt;br /&gt;
&lt;br /&gt;
Fonts size are too large. Solution:&lt;br /&gt;
  $cat ~/.gtkrc-2.0&lt;br /&gt;
  # -- THEME AUTO-WRITTEN DO NOT EDIT&lt;br /&gt;
  include &amp;quot;/usr/share/themes/Industrial/gtk-2.0/gtkrc&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  include &amp;quot;/home/rdemaria/.gtkrc-2.0.mine&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  # -- THEME AUTO-WRITTEN DO NOT EDIT&lt;br /&gt;
&lt;br /&gt;
  $cat ~/.gtkrc-2.0.mine&lt;br /&gt;
  gtk-font-name = &amp;quot;Sans 8&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Bold font are also ugly on xvrt (in xterm the bold font control seems always broken). See below for the solution.&lt;br /&gt;
&lt;br /&gt;
== Terminal ==&lt;br /&gt;
&lt;br /&gt;
I tried several terminals. But I found rxvt-unicode the easiest and fastest. This resources allow 4 terminals in one window. Bold font (unreadable to me) are disabled.&lt;br /&gt;
  $cat ~/.Xresources&lt;br /&gt;
  rxvt*cutchars: \$:[]&lt;br /&gt;
  rxvt*visualBell: true&lt;br /&gt;
  rxvt*foreground: white&lt;br /&gt;
  rxvt*background: black&lt;br /&gt;
  rxvt*geometry: 80x27&lt;br /&gt;
  rxvt*jumpScroll: true&lt;br /&gt;
  rxvt*skipScroll: true&lt;br /&gt;
  rxvt*scrollBar: false&lt;br /&gt;
  rxvt*boldFont:&lt;br /&gt;
  rxvt*boldItalicFont:&lt;br /&gt;
  rxvt*saveLines: 9096&lt;br /&gt;
  rxvt*mouseWheelScrollPage: false&lt;br /&gt;
&lt;br /&gt;
== Wifi ==&lt;br /&gt;
&lt;br /&gt;
Put in the /etc/apt/source.list&lt;br /&gt;
&lt;br /&gt;
  deb http://kernel-archive.buildserver.net/debian-kernel trunk main &lt;br /&gt;
&lt;br /&gt;
Installed linux-image-2.6.27-1 and firmware&lt;br /&gt;
&lt;br /&gt;
  wget http://intellinuxwireless.org/iwlwifi/downloads/iwlwifi-5000-ucode-5.4.A.11.tar.gz&lt;br /&gt;
  tar xvfz iwlwifi-5000-ucode-5.4.A.11.tar.gz&lt;br /&gt;
  cp  iwlwifi-5000-ucode-5.4.A.11/iwlwifi-5000-1.ucode /lib/firmware&lt;br /&gt;
  aptitude install linux-image-2.6.27-1-686 hal&lt;br /&gt;
&lt;br /&gt;
== Suspend ==&lt;br /&gt;
&lt;br /&gt;
Suspend to disk works using the button Fn+F12.&lt;br /&gt;
&lt;br /&gt;
Suspend to ram (Fn+F4) does not work with sid intel driver, but works with the experimental one.&lt;br /&gt;
Using vesa driver, it works if the i915 driver is installed. I put the line:&lt;br /&gt;
  modprobe i915&lt;br /&gt;
&lt;br /&gt;
in /etc/rc.local.&lt;br /&gt;
&lt;br /&gt;
The trackpoint occasionally stops working after a resume. Apparently it is enough to move it &lt;br /&gt;
a little bit during the resume.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Sound ==&lt;br /&gt;
&lt;br /&gt;
Everything works, but in a strange way. The hardware volume control is managed by acpi&lt;br /&gt;
&lt;br /&gt;
  $ cat /proc/acpi/ibm/volume&lt;br /&gt;
  level:          8&lt;br /&gt;
  mute:           off&lt;br /&gt;
  commands:       up, down, mute&lt;br /&gt;
  commands:       level &amp;lt;level&amp;gt; (&amp;lt;level&amp;gt; is 0-15)&lt;br /&gt;
&lt;br /&gt;
The mute button is linked to the mute command, but volume up and down are passed to X with keycode 122 123. I thought that acpi was intercepting the key and send them to X using fakekey. I played in /etc/acpi/events but I didn't managed to change the behavior.&lt;br /&gt;
&lt;br /&gt;
== Skype ==&lt;br /&gt;
&lt;br /&gt;
Everything works downloading the skype version for Etch. After suspending and resuming the video does not work anymore.&lt;br /&gt;
The error message is:&lt;br /&gt;
&lt;br /&gt;
  Skype V4L2: Could not find a suitable capture format&lt;br /&gt;
&lt;br /&gt;
Several people propose to update the uvcvideo driver.&lt;br /&gt;
  svn checkout http://svn.berlios.de/svnroot/repos/linux-uvc/&lt;br /&gt;
  cd linux-uvc/linux-uvc/trunk/&lt;br /&gt;
  make&lt;br /&gt;
  make install&lt;br /&gt;
  modprobe uvcvideo&lt;br /&gt;
&lt;br /&gt;
But I didn't tried yet cause I'm still using the experimental kernel that does not come with packages for compiling modules.&lt;br /&gt;
&lt;br /&gt;
== GTK and Firefox ==&lt;br /&gt;
&lt;br /&gt;
Font size is too large. Solution:&lt;br /&gt;
  $cat /home/rdemaria/.gtkrc-2.0&lt;br /&gt;
  # -- THEME AUTO-WRITTEN DO NOT EDIT&lt;br /&gt;
  include &amp;quot;/usr/share/themes/Industrial/gtk-2.0/gtkrc&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  include &amp;quot;/home/rdemaria/.gtkrc-2.0.mine&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  # -- THEME AUTO-WRITTEN DO NOT EDIT&lt;br /&gt;
&lt;br /&gt;
  $cat /home/rdemaria/.gtkrc-2.0.mine&lt;br /&gt;
  gtk-font-name = &amp;quot;Sans 8&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== Printer and scanner ==&lt;br /&gt;
&lt;br /&gt;
Usb printer and scanner (HP Officejet J4580) works perfectly using cups, hpoj, xsane, hplib.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== RAM upgrade ==&lt;br /&gt;
&lt;br /&gt;
My X200 came with 2G of ram and 1 free slots. I bought:&lt;br /&gt;
   Crucial 2GB 204-Pin DDR3 SO-DIMM DDR3 1066 (PC3 8500) Laptop Memory Model CT25664BC1067 - Retail&lt;br /&gt;
&lt;br /&gt;
installed and replace the kernel with a bigmem one.&lt;br /&gt;
&lt;br /&gt;
== Hard disk upgrade ==&lt;br /&gt;
&lt;br /&gt;
My X200 came with a 160GB hardrive. I bought the 500GB hard drive&lt;br /&gt;
   Western Digital Scorpio Blue WD5000BEVT 500GB 5400 RPM SATA 3.0Gb/s Notebook Hard Drive - OEM&lt;br /&gt;
&lt;br /&gt;
and the adapter&lt;br /&gt;
  Link Depot USB2-SATA USB2.0 TO IDE/SATA Adapter Cable - Retail&lt;br /&gt;
&lt;br /&gt;
for transfer the data.&lt;br /&gt;
&lt;br /&gt;
I connected the new hard drive using the usb port. The drive was recognized as /dev/sdb. I create the partitions that reads:&lt;br /&gt;
&lt;br /&gt;
  $ sfdisk -d /dev/sdb&lt;br /&gt;
  # partition table of /dev/sdb&lt;br /&gt;
  unit: sectors&lt;br /&gt;
&lt;br /&gt;
  /dev/sdb1 : start=       63, size= 71553447, Id=83&lt;br /&gt;
  /dev/sdb2 : start= 71553510, size=905214555, Id= 5&lt;br /&gt;
  /dev/sdb3 : start=        0, size=        0, Id= 0&lt;br /&gt;
  /dev/sdb4 : start=        0, size=        0, Id= 0&lt;br /&gt;
  /dev/sdb5 : start= 71553573, size=894467007, Id=83&lt;br /&gt;
  /dev/sdb6 : start=966020643, size= 10747422, Id=82&lt;br /&gt;
&lt;br /&gt;
Then made the filesystem and copy the files:&lt;br /&gt;
  $ sudo mkfs.ext3 /dev/sdb1&lt;br /&gt;
  $ sudo mkfs.ext3 /dev/sdb5&lt;br /&gt;
  $ sudo mkswap    /dev/sda6&lt;br /&gt;
  $ sudo mount /mnt/sdb1&lt;br /&gt;
  $ sudo mount /mnt/sdb5&lt;br /&gt;
  $ sudo rsync -a --delete \&lt;br /&gt;
  --exclude /mnt/sdb1 \&lt;br /&gt;
  --exclude /mnt/sdb5 \&lt;br /&gt;
  --exclude /home \&lt;br /&gt;
  --exclude /proc \&lt;br /&gt;
  --exclude /sys \&lt;br /&gt;
  --exclude /lib/init/rw \&lt;br /&gt;
  --exclude /dev \&lt;br /&gt;
  / /mnt/sdb1&lt;br /&gt;
  $ cd /mnt/sdb1; mkdir /home /proc /sys /lib/init/rw /dev; cd &lt;br /&gt;
  $ sudo rsync -a /home/ /mnt/sdb5&lt;br /&gt;
  $ sudo umount /mnt/sdb5; sudo umount /mnt/sdb1&lt;br /&gt;
&lt;br /&gt;
Finally install grub&lt;br /&gt;
  $ sudo grub --no-floppy&lt;br /&gt;
  $ geometry (hd1)&lt;br /&gt;
  &amp;gt; root (hd1,0)&lt;br /&gt;
  &amp;gt; setup (hd1)&lt;br /&gt;
  &amp;gt; quit&lt;br /&gt;
&lt;br /&gt;
and replace the disk. (I tried to boot from the usb to check the new hard drive, but I messed up the old installation...)&lt;br /&gt;
&lt;br /&gt;
For some reason the suspend to disk was not working anymore. But &lt;br /&gt;
  $ sudo aptitude reinstall uswsusp&lt;br /&gt;
fixed the problem answering yes to use the swap disk.&lt;br /&gt;
&lt;br /&gt;
== Keyboard ==&lt;br /&gt;
&lt;br /&gt;
In recent versions of xserver (as of version 1.4.0.90-7) keyboard-layout is handled by hal, so settings done will be overridden. Settings should be put in:&lt;br /&gt;
&lt;br /&gt;
   /etc/default/console-setup&lt;br /&gt;
&lt;br /&gt;
For a double layout us, us(intl) I put:&lt;br /&gt;
&lt;br /&gt;
  XKBMODEL=&amp;quot;pc104&amp;quot;&lt;br /&gt;
  XKBLAYOUT=&amp;quot;us,us(intl)&amp;quot;&lt;br /&gt;
  XKBVARIANT=&amp;quot;&amp;quot;&lt;br /&gt;
  XKBOPTIONS=&amp;quot;compose(lwin),compose(rwin),grp:shifts_toggle,grp_led:scroll&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== Special keys ==&lt;br /&gt;
&lt;br /&gt;
Some keys are intercepted by X Windows. The keycodes are&lt;br /&gt;
&lt;br /&gt;
  151 XF86WakeUp Fn&lt;br /&gt;
  167 XF86Forward&lt;br /&gt;
  166 XF86Back&lt;br /&gt;
  122 XF86AudioLower&lt;br /&gt;
  123 XF86AudioRaiseVolume&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Mute switch the hardware volume which is not controlled by ALSA.&lt;br /&gt;
&lt;br /&gt;
ACPI links suspend to ram and to disc to Fn+F4 and Fn+F12 respectively. Screen brightness, thinklight, bluetooth works as well.&lt;br /&gt;
&lt;br /&gt;
In fluxbox I used for:&lt;br /&gt;
&lt;br /&gt;
  &amp;quot;.fluxbox/keys&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
  Menu  :Exec rxvt&lt;br /&gt;
  Shift Menu :Exec fbrun&lt;br /&gt;
  XF86Forward  :NextWorkspace&lt;br /&gt;
  XF86Back  :PrevWorkspace&lt;br /&gt;
  F86AudioRaiseVolume :Exec amixer sset Master,0 1+&lt;br /&gt;
  XF86AudioLowerVolume :Exec amixer sset Master,0 1-&lt;br /&gt;
&lt;br /&gt;
== Trackpoint ==&lt;br /&gt;
&lt;br /&gt;
As for the keyboard, options are not handled anymore from xorg.cong. Apparently we are in a transition period and HAL is soon to be deprecated. As of Jan 10 2010 this is what works on my system.&lt;br /&gt;
&lt;br /&gt;
The output of &lt;br /&gt;
  $ lshal|grep input.product&lt;br /&gt;
&lt;br /&gt;
  input.product = 'Video Bus'  (string)&lt;br /&gt;
  input.product = 'ThinkPad Extra Buttons'  (string)&lt;br /&gt;
  input.product = 'Lid Switch'  (string)&lt;br /&gt;
  input.product = 'ACPI Virtual Keyboard Device'  (string)&lt;br /&gt;
  input.product = 'Sleep Button'  (string)&lt;br /&gt;
  input.product = 'Power Button'  (string)&lt;br /&gt;
  input.product = 'PC Speaker'  (string)&lt;br /&gt;
  input.product = 'PS/2 Generic Mouse'  (string)&lt;br /&gt;
  input.product = 'AT Translated Set 2 keyboard'  (string)&lt;br /&gt;
  input.product = 'HDA Intel Headphone'  (string)&lt;br /&gt;
  input.product = 'HDA Intel Headphone'  (string)&lt;br /&gt;
  input.product = 'UVC Camera (17ef:480c)'  (string)&lt;br /&gt;
&lt;br /&gt;
So to enable scrooling and emulate third button (e.g. to change view in blender) edit:&lt;br /&gt;
&lt;br /&gt;
  /etc/hal/fdi/policy/mouse-wheel.fdi&lt;br /&gt;
&lt;br /&gt;
as&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;match key=&amp;quot;info.product&amp;quot; string=&amp;quot;PS/2 Generic Mouse&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheel&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheelButton&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;2&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheelTimeout&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;250&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;merge key=&amp;quot;input.x11_options.XAxisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;6 7&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;merge key=&amp;quot;input.x11_options.YAxisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;4 5&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;merge key=&amp;quot;input.x11_options.ZAxsisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;4 5&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;merge key=&amp;quot;input.x11_options.Emulate3Buttons&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;/match&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For updated information look at [[How_to_configure_the_TrackPoint]].&lt;br /&gt;
&lt;br /&gt;
== TO BE CONTINUED ==&lt;/div&gt;</summary>
		<author><name>Rdemaria</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installation_instructions_for_the_ThinkPad_X200&amp;diff=45354</id>
		<title>Installation instructions for the ThinkPad X200</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installation_instructions_for_the_ThinkPad_X200&amp;diff=45354"/>
		<updated>2010-01-10T16:05:57Z</updated>

		<summary type="html">&lt;p&gt;Rdemaria: /* Installation Instructions */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category: X200]]&lt;br /&gt;
==Installation Instructions==&lt;br /&gt;
*[[Installing Arch on an X200| Installing Arch on a ThinkPad X200]]&lt;br /&gt;
*[[Installing Debian on an X200|Installing Debian 5.0 (Lenny) on a ThinkPad X200]]&lt;br /&gt;
*[[Installing Debian Sid on an X200| Installing Debian Sid on a ThinkPad X200 ]]&lt;br /&gt;
*[[Installing Fedora on an X200| Installing Fedora on a ThinkPad  X200]]&lt;br /&gt;
*[[Installing Ubuntu 8.04 (Hardy Heron) and Ubuntu 8.10 (Intrepid Ibex) on a ThinkPad X200]]&lt;br /&gt;
*[[Installing Ubuntu 9.04 (Jaunty Jackalope) on a ThinkPad X200]]&lt;br /&gt;
*[[Installing Ubuntu 9.10 (Karmic Koala) on a ThinkPad X200]]&lt;/div&gt;</summary>
		<author><name>Rdemaria</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installation_instructions_for_the_ThinkPad_X200&amp;diff=45353</id>
		<title>Installation instructions for the ThinkPad X200</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installation_instructions_for_the_ThinkPad_X200&amp;diff=45353"/>
		<updated>2010-01-10T16:03:31Z</updated>

		<summary type="html">&lt;p&gt;Rdemaria: /* Installation Instructions */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category: X200]]&lt;br /&gt;
==Installation Instructions==&lt;br /&gt;
*[[Installing Arch on a ThinkPad X200]]&lt;br /&gt;
*[[Installing Debian on an X200|Installing Debian 5.0 (Lenny) on a ThinkPad X200]]&lt;br /&gt;
*[[Installing Debian Sid on a ThinkPad X200]]&lt;br /&gt;
*[[Installing Fedora on a  ThinkPad X200]]&lt;br /&gt;
*[[Installing Ubuntu 8.04 (Hardy Heron) and Ubuntu 8.10 (Intrepid Ibex) on a ThinkPad X200]]&lt;br /&gt;
*[[Installing Ubuntu 9.04 (Jaunty Jackalope) on a ThinkPad X200]]&lt;br /&gt;
*[[Installing Ubuntu 9.10 (Karmic Koala) on a ThinkPad X200]]&lt;/div&gt;</summary>
		<author><name>Rdemaria</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Extending_battery_life_on_X200&amp;diff=45352</id>
		<title>Extending battery life on X200</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Extending_battery_life_on_X200&amp;diff=45352"/>
		<updated>2010-01-10T15:59:08Z</updated>

		<summary type="html">&lt;p&gt;Rdemaria: /* Turning off the wireless radios */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Overview ==&lt;br /&gt;
&lt;br /&gt;
I own the beautiful Lenovo X200 and run Ubuntu Intrepid on the machine. Its battery life is significantly lower than that under Windows and many users have reported that it runs hotter than under Windows. &lt;br /&gt;
&lt;br /&gt;
With the changes below and a 9 cell battery I get over 9 hours on an idle system with backlight at the lowest level and wireless radios off. Before the changes I was only getting 5 hours. &lt;br /&gt;
&lt;br /&gt;
The system also runs a lot cooler and I do not need tpfan (sw fan control for the ThinkPad available [[Fan_control_scripts|here]]), the built-in hw controller falls back to the lower speeds shortly after a CPU load subsides.&lt;br /&gt;
&lt;br /&gt;
=== Details ===&lt;br /&gt;
&lt;br /&gt;
The changes fall into 3 categories:&lt;br /&gt;
* '''Removing packages that create unnecessarily frequent wake up interrupts.'''&lt;br /&gt;
**These interrupts wake up the CPU, preventing it from staying in its most energy efficient state.&lt;br /&gt;
**I used Powertop from [[www.lesswatts.org]] for this task.&lt;br /&gt;
* '''Lowering the voltage supplied to the CPU.''' &lt;br /&gt;
** Lowering CPU voltage does ''not'' impact performance since the clock frequency is unaffected&lt;br /&gt;
**I used phc patches and phctools available at [[www.linux-phc.org]] for this task.&lt;br /&gt;
*'''Turning off radios that are not needed''&lt;br /&gt;
**My X200 has 3 wireless radios: Wifi, Bluetooth, Broadband wireless&lt;br /&gt;
&lt;br /&gt;
== Finding and removing high interrupt packages ==&lt;br /&gt;
Install PowerTOP from [[www.lesswatts.org/projects/powertop/download.php | here]].&lt;br /&gt;
&lt;br /&gt;
Run PowerTOP as root (sudo powertop) and look for the packages that come up on top of the interrupt frequency list. These are the packages that wake up the CPU most frequently.&lt;br /&gt;
&lt;br /&gt;
In my case the majority of the ''easily'' ''preventable'' interrupts were from 3 packages:&lt;br /&gt;
*i915, the intel graphics driver&lt;br /&gt;
*SCIM&lt;br /&gt;
*Gnome Power Manager&lt;br /&gt;
&lt;br /&gt;
With the first one accounting for the bulk of the battery life improvement. &lt;br /&gt;
&lt;br /&gt;
The %'s in PowerTOP give you an indication of what to focus on, no need to worry about a 1% problem (unless it is easy to prevent that it), it will not have much impact on your battery life.&lt;br /&gt;
&lt;br /&gt;
Remember that over time these packages will improve  and will not need to be removed.&lt;br /&gt;
=== Turning off DRI ===&lt;br /&gt;
Just insert:  Option &amp;quot;NoDRI&amp;quot;&lt;br /&gt;
to the &amp;quot;Device&amp;quot; section in /etc/X11/xorg.conf. This turns off all 3D, so no compiz or other fancy effect. Worth it for me because the impact on battery life is substantial.&lt;br /&gt;
===Turning off SCIM===&lt;br /&gt;
I had my system set to accept foreign characters. Going to System &amp;gt; Language Support &amp;gt; Disable support to enter complex characters does the trick.&lt;br /&gt;
===Turning off Gnome Power Manager===&lt;br /&gt;
You may decide you cannot live without it, but on my system I disabled Gnome Power Manager from the startup list: System &amp;gt; Sessions &amp;gt; Power Management daemon. &lt;br /&gt;
&lt;br /&gt;
I replaced it with the ''Gnome Panel'' Battery Charge Monitor (Add to Panel...) which works well enough for me.&lt;br /&gt;
&lt;br /&gt;
== Reducing CPU voltage ==&lt;br /&gt;
===Installing phc module patches===&lt;br /&gt;
The phc module patches are available [[www.ubuntuforums.org/showthread.php?t=786402 | here]], make sure you get the version that matches you kernel version. You can easily check by typing uname -r in a console.&lt;br /&gt;
&lt;br /&gt;
You need not compile your own module, check the thread, users have posted already compiled versions of the acpi-cpufreg.ko module for most kernel versions.&lt;br /&gt;
&lt;br /&gt;
Once you have the apci-cpufreq.ko module, back up the old module:&lt;br /&gt;
 sudo cp /lib/modules/$(uname -r)/kernel/arch/x86/kernel/cpu/cpufreq/acpi_cpufreq.ko&lt;br /&gt;
 /lib/modules/$(uname -r)/kernel/arch/x86/kernel/cpu/cpufreq/acpi_cpufreq.ko.bak&lt;br /&gt;
&lt;br /&gt;
Then copy the new module to the right place:&lt;br /&gt;
 sudo cp acpi_cpufreq.ko    /lib/modules/$(uname -r)/kernel/arch/x86/kernel/cpu/cpufreq&lt;br /&gt;
&lt;br /&gt;
Restart your system and check that you now have voltage controls by typing:&lt;br /&gt;
more /sys/devices/system/cpu/cpu0/cpufreq/phc_vids&lt;br /&gt;
&lt;br /&gt;
You should see something like: &lt;br /&gt;
 38 29 23 13 (your values may be different)&lt;br /&gt;
These are the voltage index values for the 4 frequencies available on your CPU. They are directly related to the actual voltages, phctools does the computation for you as explained below.&lt;br /&gt;
&lt;br /&gt;
'''Notes:'''&lt;br /&gt;
*If you check phc_fids you will see values that do not make sense&lt;br /&gt;
 more /sys/devices/system/cpu/cpu0/cpufreq/phc_fids&lt;br /&gt;
These are supposed to be the available frequency indexes, which are the ratios of CPU frequency to FSB frequency, sometimes called multipliers. There is a bug in the phc patches which affects how the multiplers are reported. This bug does not affect undervolting your CPU.&lt;br /&gt;
&lt;br /&gt;
===Intalling phctools===&lt;br /&gt;
Download them [[www.linux-phc.org/ | here]]. &lt;br /&gt;
&lt;br /&gt;
Unpack the package in a directory where you can conveniently access it. Use the install script (install.sh) to enable pctools to run without requiring a password.&lt;br /&gt;
&lt;br /&gt;
Also download [[www.linux-phc.org/viewtopic.php?f=9&amp;amp;t=16 | here]] the update which supports the Core2Duo CPU.&lt;br /&gt;
&lt;br /&gt;
Unpack the archive and copy the file to&amp;quot;inc/libs&amp;quot; within the PHCTool directory (replace the old one).&lt;br /&gt;
&lt;br /&gt;
Lastly made sure the module msr is loaded. PhcTool works without it, but having it loaded allows it to display the actual votage fed into your CPU.&lt;br /&gt;
 sudo modprobe msr&lt;br /&gt;
&lt;br /&gt;
You can make this module load automatically by adding it to the file /etc/modules&lt;br /&gt;
&lt;br /&gt;
Also install the burnMMX application, it is designed to put a heavy load on your system and is necessary to make sure the voltages you choose will work under load:&lt;br /&gt;
 sudo apt-get install burnMMX&lt;br /&gt;
&lt;br /&gt;
===Experimenting with lower voltages===&lt;br /&gt;
This is the scary part: you will have to crash your system on purpose. I found it to be harmless, but be forewarned that some users have reported that it could damage your system. &lt;br /&gt;
&lt;br /&gt;
DO NOT RUN THIS TEST WITH A CUSTOM PROGRAM TO CONTROL THE FAN, YOU COULD FRY YOUR SYSTEM. FIRST REVERT TO HW CONTROLLED FAN IF YOU MADE ANY CHANGES TO FAN CONTROL.&lt;br /&gt;
&lt;br /&gt;
Check that you are using &amp;quot;ondemand&amp;quot; as the frequency scaling governor. This governor delivers the lowest power consumption according to Intel. An easy way to do this is to use Frequency Scaling Monitor Gnome panel applet.&lt;br /&gt;
&lt;br /&gt;
Another way is to check:&lt;br /&gt;
 /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor&lt;br /&gt;
which returns the currently active governor. You can echo a new value as root, it takes effect immediately.&lt;br /&gt;
&lt;br /&gt;
Start phctools:&lt;br /&gt;
 phctools.sh&lt;br /&gt;
&lt;br /&gt;
On the Info tab, you will see your CPU identified and the available frequencies for this CPU:&lt;br /&gt;
 2267Mhz 2266Mhz 1600Mhz 800Mhz&lt;br /&gt;
&lt;br /&gt;
On the Voltage tab you will see the VID and corresponding voltage for each frequency as well as the difference from the default values. &lt;br /&gt;
&lt;br /&gt;
The phc patches prevent you from using a value higher than the highest defaults voltage or a value lower than the lowest default voltage even though phctools will let you enter higher and lower values. They will have no effect, so stay within the range defined by the highest and lowest VID value.&lt;br /&gt;
&lt;br /&gt;
The default values are also reloaded each time you restart the system. Do NOT set phctools to &amp;quot;restore VID on load&amp;quot; at this time.&lt;br /&gt;
&lt;br /&gt;
Now the fun begins...&lt;br /&gt;
#Start burnMMX in a terminal window. WARNING this puts a lot of stress on your sys&lt;br /&gt;
#Lower the first VID value, 25 should work to get started. Do this for both CPU's (tab on the left for CPU0 and CPU1&lt;br /&gt;
#Save values&lt;br /&gt;
#Use your system for a bit and see if it is stable&lt;br /&gt;
#Lower the first VID value until your system crashes (or stop before if you do not dare).&lt;br /&gt;
&lt;br /&gt;
My threshold was 15, at this VID my system crashes after less than a minute. At this point reboot your system, restart phctools and set the VID for 2267Mhz to the value that crashed '''+ 2'''. Do this for both CPU's.&lt;br /&gt;
&lt;br /&gt;
Restart and work on the other frequencies, using the Frequency Scaling Monitor applet to force the CPU to the frequency you want to test.&lt;br /&gt;
&lt;br /&gt;
On my system the safe values were:&lt;br /&gt;
 17 15 13 13&lt;br /&gt;
&lt;br /&gt;
===Making the voltages stick===&lt;br /&gt;
One you have found the lowest VID's that your system can safely run with, enter them on phctools Voltages for both CPU0 and CPU1, then go to settings and click &amp;quot;restore VID's on load&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
All that is left is to make phctools restore your VID's each time you boot. Add the command:&lt;br /&gt;
 yourphcdirectory/phctools.sh background&lt;br /&gt;
to your startup applications in System &amp;gt; Sessions. It will automatically start phctools, make it restore your VID's and quit.&lt;br /&gt;
&lt;br /&gt;
Note that if you do nothing, the original VID's are automatically reloaded each time you reboot the system.&lt;br /&gt;
&lt;br /&gt;
==Turning off the wireless radios==&lt;br /&gt;
The X200 has a great feature: a button on the left side to disable all radios. Use it when you do not need wireless.&lt;br /&gt;
When you need wireless, use FN + F5 to turn on/off Wifi and Blutooth. &lt;br /&gt;
&lt;br /&gt;
The hidden power hog is the 3G broadband modem (Ericsson F3507g), even when the 3G led is off. To completely shut down power to the modem:&lt;br /&gt;
 sudo echo 0 &amp;gt; /sys/devices/platform/thinkpad_acpi/wwan_enable&lt;br /&gt;
&lt;br /&gt;
There are scripts to do this automatically [[Ericsson_F3507g_Mobile_Broadband_Module | here]].&lt;br /&gt;
&lt;br /&gt;
[[Category:X200]]&lt;br /&gt;
[[Category:HOWTOs]]&lt;/div&gt;</summary>
		<author><name>Rdemaria</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Debian_Sid_(October_2008)_on_a_ThinkPad_X200&amp;diff=45351</id>
		<title>Installing Debian Sid (October 2008) on a ThinkPad X200</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Debian_Sid_(October_2008)_on_a_ThinkPad_X200&amp;diff=45351"/>
		<updated>2010-01-10T15:54:07Z</updated>

		<summary type="html">&lt;p&gt;Rdemaria: /* Trackpoint */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
Amazing machine: light, quiet, large battery life, ideal for travels, great value for money compared to X200T and X300.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Creating installation device ==&lt;br /&gt;
&lt;br /&gt;
The X200 has no cd/dvd but can boot from USB. On the X200 BIOS settings, the USB disk boot option needed to be raised to be used first. Using F1 at boot gives access to the BIOS.&lt;br /&gt;
&lt;br /&gt;
I created an USB bootable iso from another linux installation.&lt;br /&gt;
I had an usb stick with a FAT32 partition on /dev/sdc1. I dowloaded the boot and iso file and installed the image&lt;br /&gt;
using:&lt;br /&gt;
&lt;br /&gt;
  wget http://people.debian.org/~joeyh/d-i/images/daily/hd-media/boot.img.gz&lt;br /&gt;
  wget http://cdimage.debian.org/cdimage/daily-builds/daily/arch-latest/i386/iso-cd/debian-testing-i386-netinst.iso&lt;br /&gt;
  zcat boot.img.gz &amp;gt;/dev/sdc1&lt;br /&gt;
  mkdir /mnt/sdc1&lt;br /&gt;
  mount /dev/sdc1 /mnt/sdc1&lt;br /&gt;
  cp debian-testing-i386-netinst.iso /mnt/sdc1&lt;br /&gt;
&lt;br /&gt;
The boot stick will use the network to install the package but a more complete ISO image can be dowloaded.&lt;br /&gt;
&lt;br /&gt;
The wifi will not work (see [[Installing_Debian_on_an_X200]]) but the Ethernet card will. In theory it should be possible build custom Debian Live USB stick, using the latest package and install from there, I didn't manage so far.&lt;br /&gt;
&lt;br /&gt;
== Sid installation ==&lt;br /&gt;
&lt;br /&gt;
To install sid use the expert installation support and choose unstable for the repository.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Backup hard drive data ==&lt;br /&gt;
&lt;br /&gt;
In order to save the hard drive content, I created complete hard drive image on another hard disk. During the installation procedure I activated another shell with CTRL-ALT-F3, mounted an external HD (/dev/sdb1) and copied the image with:&lt;br /&gt;
&lt;br /&gt;
  mkdir /mnt/sdb1&lt;br /&gt;
  mount /dev/sdb1 /mnt/sdb1/&lt;br /&gt;
  dd if=/dev/sda of=/mnt/sdb1/sda-image&lt;br /&gt;
&lt;br /&gt;
In principle partimage is better option but the installation image does not have it. Also gzipping the partition on the fly would have bin better, but the gzip or bzip2 were not present. Using a custom Debian Live installation image would solve the problem.&lt;br /&gt;
&lt;br /&gt;
== Kernel ==&lt;br /&gt;
&lt;br /&gt;
Some kernel options here for /boot/grub/menu.lst:&lt;br /&gt;
  &lt;br /&gt;
  # kopt=root=/dev/sda1 ro acpi_sleep=s3_bios vga=0x0368 video=vesafb&lt;br /&gt;
&lt;br /&gt;
Update the real items using&lt;br /&gt;
  &lt;br /&gt;
  update-grub&lt;br /&gt;
&lt;br /&gt;
== Video ==&lt;br /&gt;
&lt;br /&gt;
Intel drivers are still bad. The one I found working are&lt;br /&gt;
&lt;br /&gt;
  xserver-xorg-video-intel_2.6.1-1ubuntu4_i386.deb&lt;br /&gt;
&lt;br /&gt;
that works on sid as well. Some options are necessary in xorg.conf:&lt;br /&gt;
&lt;br /&gt;
  $ awk '!/#/ {print &amp;quot; &amp;quot;,$0}' /etc/X11/xorg.conf&lt;br /&gt;
  Section &amp;quot;Screen&amp;quot;&lt;br /&gt;
          Identifier      &amp;quot;Default Screen&amp;quot;&lt;br /&gt;
          Monitor         &amp;quot;Configured Monitor&amp;quot;&lt;br /&gt;
          Defaultdepth    24&lt;br /&gt;
          SubSection &amp;quot;Display&amp;quot;&lt;br /&gt;
                   Modes           &amp;quot;1280x800&amp;quot;&lt;br /&gt;
                   Virtual    2560 1280&lt;br /&gt;
          EndSubSection&lt;br /&gt;
  EndSection&lt;br /&gt;
  &lt;br /&gt;
  &lt;br /&gt;
  Section &amp;quot;Monitor&amp;quot;&lt;br /&gt;
          Identifier      &amp;quot;Configured Monitor&amp;quot;&lt;br /&gt;
          DisplaySize     231 233.5&lt;br /&gt;
  EndSection&lt;br /&gt;
   &lt;br /&gt;
  Section &amp;quot;Monitor&amp;quot;&lt;br /&gt;
          Identifier      &amp;quot;HDMI-1&amp;quot;&lt;br /&gt;
          Option          &amp;quot;Ignore&amp;quot; &amp;quot;True&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
   &lt;br /&gt;
  Section &amp;quot;Monitor&amp;quot;&lt;br /&gt;
          Identifier      &amp;quot;HDMI-2&amp;quot;&lt;br /&gt;
          Option          &amp;quot;Ignore&amp;quot; &amp;quot;True&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
  &lt;br /&gt;
  Section &amp;quot;Device&amp;quot;&lt;br /&gt;
          Identifier      &amp;quot;Configured Video Device&amp;quot;&lt;br /&gt;
            Driver          &amp;quot;intel&amp;quot;&lt;br /&gt;
          Option          &amp;quot;monitor-HDMI-1&amp;quot; &amp;quot;HDMI-1&amp;quot;&lt;br /&gt;
          Option          &amp;quot;monitor-HDMI-2&amp;quot; &amp;quot;HDMI-2&amp;quot;&lt;br /&gt;
    Option &amp;quot;AccelMethod&amp;quot; &amp;quot;EXA&amp;quot;&lt;br /&gt;
    Option &amp;quot;ExaNoComposite&amp;quot; &amp;quot;false&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
&lt;br /&gt;
== Fonts ==&lt;br /&gt;
&lt;br /&gt;
Default fonts are a bit ugly. Things get better by creating some symbolic link:&lt;br /&gt;
&lt;br /&gt;
  cd /etc/fonts/conf.d&lt;br /&gt;
  ln -s ../conf.avail/10-autohint.conf&lt;br /&gt;
  ln -s ../conf.avail/10-sub-pixel-rgb.conf&lt;br /&gt;
  ln -s ../conf.avail/70-no-bitmaps.conf&lt;br /&gt;
&lt;br /&gt;
For GTK and Firefox&lt;br /&gt;
&lt;br /&gt;
Fonts size are too large. Solution:&lt;br /&gt;
  $cat ~/.gtkrc-2.0&lt;br /&gt;
  # -- THEME AUTO-WRITTEN DO NOT EDIT&lt;br /&gt;
  include &amp;quot;/usr/share/themes/Industrial/gtk-2.0/gtkrc&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  include &amp;quot;/home/rdemaria/.gtkrc-2.0.mine&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  # -- THEME AUTO-WRITTEN DO NOT EDIT&lt;br /&gt;
&lt;br /&gt;
  $cat ~/.gtkrc-2.0.mine&lt;br /&gt;
  gtk-font-name = &amp;quot;Sans 8&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Bold font are also ugly on xvrt (in xterm the bold font control seems always broken). See below for the solution.&lt;br /&gt;
&lt;br /&gt;
== Terminal ==&lt;br /&gt;
&lt;br /&gt;
I tried several terminals. But I found rxvt-unicode the easiest and fastest. This resources allow 4 terminals in one window. Bold font (unreadable to me) are disabled.&lt;br /&gt;
  $cat ~/.Xresources&lt;br /&gt;
  rxvt*cutchars: \$:[]&lt;br /&gt;
  rxvt*visualBell: true&lt;br /&gt;
  rxvt*foreground: white&lt;br /&gt;
  rxvt*background: black&lt;br /&gt;
  rxvt*geometry: 80x27&lt;br /&gt;
  rxvt*jumpScroll: true&lt;br /&gt;
  rxvt*skipScroll: true&lt;br /&gt;
  rxvt*scrollBar: false&lt;br /&gt;
  rxvt*boldFont:&lt;br /&gt;
  rxvt*boldItalicFont:&lt;br /&gt;
  rxvt*saveLines: 9096&lt;br /&gt;
  rxvt*mouseWheelScrollPage: false&lt;br /&gt;
&lt;br /&gt;
== Wifi ==&lt;br /&gt;
&lt;br /&gt;
Put in the /etc/apt/source.list&lt;br /&gt;
&lt;br /&gt;
  deb http://kernel-archive.buildserver.net/debian-kernel trunk main &lt;br /&gt;
&lt;br /&gt;
Installed linux-image-2.6.27-1 and firmware&lt;br /&gt;
&lt;br /&gt;
  wget http://intellinuxwireless.org/iwlwifi/downloads/iwlwifi-5000-ucode-5.4.A.11.tar.gz&lt;br /&gt;
  tar xvfz iwlwifi-5000-ucode-5.4.A.11.tar.gz&lt;br /&gt;
  cp  iwlwifi-5000-ucode-5.4.A.11/iwlwifi-5000-1.ucode /lib/firmware&lt;br /&gt;
  aptitude install linux-image-2.6.27-1-686 hal&lt;br /&gt;
&lt;br /&gt;
== Suspend ==&lt;br /&gt;
&lt;br /&gt;
Suspend to disk works using the button Fn+F12.&lt;br /&gt;
&lt;br /&gt;
Suspend to ram (Fn+F4) does not work with sid intel driver, but works with the experimental one.&lt;br /&gt;
Using vesa driver, it works if the i915 driver is installed. I put the line:&lt;br /&gt;
  modprobe i915&lt;br /&gt;
&lt;br /&gt;
in /etc/rc.local.&lt;br /&gt;
&lt;br /&gt;
The trackpoint occasionally stops working after a resume. Apparently it is enough to move it &lt;br /&gt;
a little bit during the resume.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Sound ==&lt;br /&gt;
&lt;br /&gt;
Everything works, but in a strange way. The hardware volume control is managed by acpi&lt;br /&gt;
&lt;br /&gt;
  $ cat /proc/acpi/ibm/volume&lt;br /&gt;
  level:          8&lt;br /&gt;
  mute:           off&lt;br /&gt;
  commands:       up, down, mute&lt;br /&gt;
  commands:       level &amp;lt;level&amp;gt; (&amp;lt;level&amp;gt; is 0-15)&lt;br /&gt;
&lt;br /&gt;
The mute button is linked to the mute command, but volume up and down are passed to X with keycode 122 123. I thought that acpi was intercepting the key and send them to X using fakekey. I played in /etc/acpi/events but I didn't managed to change the behavior.&lt;br /&gt;
&lt;br /&gt;
== Skype ==&lt;br /&gt;
&lt;br /&gt;
Everything works downloading the skype version for Etch. After suspending and resuming the video does not work anymore.&lt;br /&gt;
The error message is:&lt;br /&gt;
&lt;br /&gt;
  Skype V4L2: Could not find a suitable capture format&lt;br /&gt;
&lt;br /&gt;
Several people propose to update the uvcvideo driver.&lt;br /&gt;
  svn checkout http://svn.berlios.de/svnroot/repos/linux-uvc/&lt;br /&gt;
  cd linux-uvc/linux-uvc/trunk/&lt;br /&gt;
  make&lt;br /&gt;
  make install&lt;br /&gt;
  modprobe uvcvideo&lt;br /&gt;
&lt;br /&gt;
But I didn't tried yet cause I'm still using the experimental kernel that does not come with packages for compiling modules.&lt;br /&gt;
&lt;br /&gt;
== GTK and Firefox ==&lt;br /&gt;
&lt;br /&gt;
Font size is too large. Solution:&lt;br /&gt;
  $cat /home/rdemaria/.gtkrc-2.0&lt;br /&gt;
  # -- THEME AUTO-WRITTEN DO NOT EDIT&lt;br /&gt;
  include &amp;quot;/usr/share/themes/Industrial/gtk-2.0/gtkrc&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  include &amp;quot;/home/rdemaria/.gtkrc-2.0.mine&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  # -- THEME AUTO-WRITTEN DO NOT EDIT&lt;br /&gt;
&lt;br /&gt;
  $cat /home/rdemaria/.gtkrc-2.0.mine&lt;br /&gt;
  gtk-font-name = &amp;quot;Sans 8&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== Printer and scanner ==&lt;br /&gt;
&lt;br /&gt;
Usb printer and scanner (HP Officejet J4580) works perfectly using cups, hpoj, xsane, hplib.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== RAM upgrade ==&lt;br /&gt;
&lt;br /&gt;
My X200 came with 2G of ram and 1 free slots. I bought:&lt;br /&gt;
   Crucial 2GB 204-Pin DDR3 SO-DIMM DDR3 1066 (PC3 8500) Laptop Memory Model CT25664BC1067 - Retail&lt;br /&gt;
&lt;br /&gt;
installed and replace the kernel with a bigmem one.&lt;br /&gt;
&lt;br /&gt;
== Hard disk upgrade ==&lt;br /&gt;
&lt;br /&gt;
My X200 came with a 160GB hardrive. I bought the 500GB hard drive&lt;br /&gt;
   Western Digital Scorpio Blue WD5000BEVT 500GB 5400 RPM SATA 3.0Gb/s Notebook Hard Drive - OEM&lt;br /&gt;
&lt;br /&gt;
and the adapter&lt;br /&gt;
  Link Depot USB2-SATA USB2.0 TO IDE/SATA Adapter Cable - Retail&lt;br /&gt;
&lt;br /&gt;
for transfer the data.&lt;br /&gt;
&lt;br /&gt;
I connected the new hard drive using the usb port. The drive was recognized as /dev/sdb. I create the partitions that reads:&lt;br /&gt;
&lt;br /&gt;
  $ sfdisk -d /dev/sdb&lt;br /&gt;
  # partition table of /dev/sdb&lt;br /&gt;
  unit: sectors&lt;br /&gt;
&lt;br /&gt;
  /dev/sdb1 : start=       63, size= 71553447, Id=83&lt;br /&gt;
  /dev/sdb2 : start= 71553510, size=905214555, Id= 5&lt;br /&gt;
  /dev/sdb3 : start=        0, size=        0, Id= 0&lt;br /&gt;
  /dev/sdb4 : start=        0, size=        0, Id= 0&lt;br /&gt;
  /dev/sdb5 : start= 71553573, size=894467007, Id=83&lt;br /&gt;
  /dev/sdb6 : start=966020643, size= 10747422, Id=82&lt;br /&gt;
&lt;br /&gt;
Then made the filesystem and copy the files:&lt;br /&gt;
  $ sudo mkfs.ext3 /dev/sdb1&lt;br /&gt;
  $ sudo mkfs.ext3 /dev/sdb5&lt;br /&gt;
  $ sudo mkswap    /dev/sda6&lt;br /&gt;
  $ sudo mount /mnt/sdb1&lt;br /&gt;
  $ sudo mount /mnt/sdb5&lt;br /&gt;
  $ sudo rsync -a --delete \&lt;br /&gt;
  --exclude /mnt/sdb1 \&lt;br /&gt;
  --exclude /mnt/sdb5 \&lt;br /&gt;
  --exclude /home \&lt;br /&gt;
  --exclude /proc \&lt;br /&gt;
  --exclude /sys \&lt;br /&gt;
  --exclude /lib/init/rw \&lt;br /&gt;
  --exclude /dev \&lt;br /&gt;
  / /mnt/sdb1&lt;br /&gt;
  $ cd /mnt/sdb1; mkdir /home /proc /sys /lib/init/rw /dev; cd &lt;br /&gt;
  $ sudo rsync -a /home/ /mnt/sdb5&lt;br /&gt;
  $ sudo umount /mnt/sdb5; sudo umount /mnt/sdb1&lt;br /&gt;
&lt;br /&gt;
Finally install grub&lt;br /&gt;
  $ sudo grub --no-floppy&lt;br /&gt;
  $ geometry (hd1)&lt;br /&gt;
  &amp;gt; root (hd1,0)&lt;br /&gt;
  &amp;gt; setup (hd1)&lt;br /&gt;
  &amp;gt; quit&lt;br /&gt;
&lt;br /&gt;
and replace the disk. (I tried to boot from the usb to check the new hard drive, but I messed up the old installation...)&lt;br /&gt;
&lt;br /&gt;
For some reason the suspend to disk was not working anymore. But &lt;br /&gt;
  $ sudo aptitude reinstall uswsusp&lt;br /&gt;
fixed the problem answering yes to use the swap disk.&lt;br /&gt;
&lt;br /&gt;
== Keyboard ==&lt;br /&gt;
&lt;br /&gt;
In recent versions of xserver (as of version 1.4.0.90-7) keyboard-layout is handled by hal, so settings done will be overridden. Settings should be put in:&lt;br /&gt;
&lt;br /&gt;
   /etc/default/console-setup&lt;br /&gt;
&lt;br /&gt;
For a double layout us, us(intl) I put:&lt;br /&gt;
&lt;br /&gt;
  XKBMODEL=&amp;quot;pc104&amp;quot;&lt;br /&gt;
  XKBLAYOUT=&amp;quot;us,us(intl)&amp;quot;&lt;br /&gt;
  XKBVARIANT=&amp;quot;&amp;quot;&lt;br /&gt;
  XKBOPTIONS=&amp;quot;compose(lwin),compose(rwin),grp:shifts_toggle,grp_led:scroll&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== Special keys ==&lt;br /&gt;
&lt;br /&gt;
Some keys are intercepted by X Windows. The keycodes are&lt;br /&gt;
&lt;br /&gt;
  151 XF86WakeUp Fn&lt;br /&gt;
  167 XF86Forward&lt;br /&gt;
  166 XF86Back&lt;br /&gt;
  122 XF86AudioLower&lt;br /&gt;
  123 XF86AudioRaiseVolume&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Mute switch the hardware volume which is not controlled by ALSA.&lt;br /&gt;
&lt;br /&gt;
ACPI links suspend to ram and to disc to Fn+F4 and Fn+F12 respectively. Screen brightness, thinklight, bluetooth works as well.&lt;br /&gt;
&lt;br /&gt;
In fluxbox I used for:&lt;br /&gt;
&lt;br /&gt;
  &amp;quot;.fluxbox/keys&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
  Menu  :Exec rxvt&lt;br /&gt;
  Shift Menu :Exec fbrun&lt;br /&gt;
  XF86Forward  :NextWorkspace&lt;br /&gt;
  XF86Back  :PrevWorkspace&lt;br /&gt;
  F86AudioRaiseVolume :Exec amixer sset Master,0 1+&lt;br /&gt;
  XF86AudioLowerVolume :Exec amixer sset Master,0 1-&lt;br /&gt;
&lt;br /&gt;
== Trackpoint ==&lt;br /&gt;
&lt;br /&gt;
As for the keyboard, options are not handled anymore from xorg.cong. Apparently we are in a transition period and HAL is soon to be deprecated. As of Jan 10 2010 this is what works on my system.&lt;br /&gt;
&lt;br /&gt;
The output of &lt;br /&gt;
  $ lshal|grep input.product&lt;br /&gt;
&lt;br /&gt;
  input.product = 'Video Bus'  (string)&lt;br /&gt;
  input.product = 'ThinkPad Extra Buttons'  (string)&lt;br /&gt;
  input.product = 'Lid Switch'  (string)&lt;br /&gt;
  input.product = 'ACPI Virtual Keyboard Device'  (string)&lt;br /&gt;
  input.product = 'Sleep Button'  (string)&lt;br /&gt;
  input.product = 'Power Button'  (string)&lt;br /&gt;
  input.product = 'PC Speaker'  (string)&lt;br /&gt;
  input.product = 'PS/2 Generic Mouse'  (string)&lt;br /&gt;
  input.product = 'AT Translated Set 2 keyboard'  (string)&lt;br /&gt;
  input.product = 'HDA Intel Headphone'  (string)&lt;br /&gt;
  input.product = 'HDA Intel Headphone'  (string)&lt;br /&gt;
  input.product = 'UVC Camera (17ef:480c)'  (string)&lt;br /&gt;
&lt;br /&gt;
So to enable scrooling and emulate third button (e.g. to change view in blender) edit:&lt;br /&gt;
&lt;br /&gt;
  /etc/hal/fdi/policy/mouse-wheel.fdi&lt;br /&gt;
&lt;br /&gt;
as&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;match key=&amp;quot;info.product&amp;quot; string=&amp;quot;PS/2 Generic Mouse&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheel&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheelButton&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;2&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheelTimeout&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;250&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;merge key=&amp;quot;input.x11_options.XAxisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;6 7&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;merge key=&amp;quot;input.x11_options.YAxisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;4 5&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;merge key=&amp;quot;input.x11_options.ZAxsisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;4 5&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;merge key=&amp;quot;input.x11_options.Emulate3Buttons&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;/match&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For updated information look at [[How_to_configure_the_TrackPoint]].&lt;br /&gt;
&lt;br /&gt;
== TO BE CONTINUED ==&lt;/div&gt;</summary>
		<author><name>Rdemaria</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Debian_Sid_(October_2008)_on_a_ThinkPad_X200&amp;diff=45350</id>
		<title>Installing Debian Sid (October 2008) on a ThinkPad X200</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Debian_Sid_(October_2008)_on_a_ThinkPad_X200&amp;diff=45350"/>
		<updated>2010-01-10T15:47:48Z</updated>

		<summary type="html">&lt;p&gt;Rdemaria: /* Trackpoint */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
Amazing machine: light, quiet, large battery life, ideal for travels, great value for money compared to X200T and X300.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Creating installation device ==&lt;br /&gt;
&lt;br /&gt;
The X200 has no cd/dvd but can boot from USB. On the X200 BIOS settings, the USB disk boot option needed to be raised to be used first. Using F1 at boot gives access to the BIOS.&lt;br /&gt;
&lt;br /&gt;
I created an USB bootable iso from another linux installation.&lt;br /&gt;
I had an usb stick with a FAT32 partition on /dev/sdc1. I dowloaded the boot and iso file and installed the image&lt;br /&gt;
using:&lt;br /&gt;
&lt;br /&gt;
  wget http://people.debian.org/~joeyh/d-i/images/daily/hd-media/boot.img.gz&lt;br /&gt;
  wget http://cdimage.debian.org/cdimage/daily-builds/daily/arch-latest/i386/iso-cd/debian-testing-i386-netinst.iso&lt;br /&gt;
  zcat boot.img.gz &amp;gt;/dev/sdc1&lt;br /&gt;
  mkdir /mnt/sdc1&lt;br /&gt;
  mount /dev/sdc1 /mnt/sdc1&lt;br /&gt;
  cp debian-testing-i386-netinst.iso /mnt/sdc1&lt;br /&gt;
&lt;br /&gt;
The boot stick will use the network to install the package but a more complete ISO image can be dowloaded.&lt;br /&gt;
&lt;br /&gt;
The wifi will not work (see [[Installing_Debian_on_an_X200]]) but the Ethernet card will. In theory it should be possible build custom Debian Live USB stick, using the latest package and install from there, I didn't manage so far.&lt;br /&gt;
&lt;br /&gt;
== Sid installation ==&lt;br /&gt;
&lt;br /&gt;
To install sid use the expert installation support and choose unstable for the repository.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Backup hard drive data ==&lt;br /&gt;
&lt;br /&gt;
In order to save the hard drive content, I created complete hard drive image on another hard disk. During the installation procedure I activated another shell with CTRL-ALT-F3, mounted an external HD (/dev/sdb1) and copied the image with:&lt;br /&gt;
&lt;br /&gt;
  mkdir /mnt/sdb1&lt;br /&gt;
  mount /dev/sdb1 /mnt/sdb1/&lt;br /&gt;
  dd if=/dev/sda of=/mnt/sdb1/sda-image&lt;br /&gt;
&lt;br /&gt;
In principle partimage is better option but the installation image does not have it. Also gzipping the partition on the fly would have bin better, but the gzip or bzip2 were not present. Using a custom Debian Live installation image would solve the problem.&lt;br /&gt;
&lt;br /&gt;
== Kernel ==&lt;br /&gt;
&lt;br /&gt;
Some kernel options here for /boot/grub/menu.lst:&lt;br /&gt;
  &lt;br /&gt;
  # kopt=root=/dev/sda1 ro acpi_sleep=s3_bios vga=0x0368 video=vesafb&lt;br /&gt;
&lt;br /&gt;
Update the real items using&lt;br /&gt;
  &lt;br /&gt;
  update-grub&lt;br /&gt;
&lt;br /&gt;
== Video ==&lt;br /&gt;
&lt;br /&gt;
Intel drivers are still bad. The one I found working are&lt;br /&gt;
&lt;br /&gt;
  xserver-xorg-video-intel_2.6.1-1ubuntu4_i386.deb&lt;br /&gt;
&lt;br /&gt;
that works on sid as well. Some options are necessary in xorg.conf:&lt;br /&gt;
&lt;br /&gt;
  $ awk '!/#/ {print &amp;quot; &amp;quot;,$0}' /etc/X11/xorg.conf&lt;br /&gt;
  Section &amp;quot;Screen&amp;quot;&lt;br /&gt;
          Identifier      &amp;quot;Default Screen&amp;quot;&lt;br /&gt;
          Monitor         &amp;quot;Configured Monitor&amp;quot;&lt;br /&gt;
          Defaultdepth    24&lt;br /&gt;
          SubSection &amp;quot;Display&amp;quot;&lt;br /&gt;
                   Modes           &amp;quot;1280x800&amp;quot;&lt;br /&gt;
                   Virtual    2560 1280&lt;br /&gt;
          EndSubSection&lt;br /&gt;
  EndSection&lt;br /&gt;
  &lt;br /&gt;
  &lt;br /&gt;
  Section &amp;quot;Monitor&amp;quot;&lt;br /&gt;
          Identifier      &amp;quot;Configured Monitor&amp;quot;&lt;br /&gt;
          DisplaySize     231 233.5&lt;br /&gt;
  EndSection&lt;br /&gt;
   &lt;br /&gt;
  Section &amp;quot;Monitor&amp;quot;&lt;br /&gt;
          Identifier      &amp;quot;HDMI-1&amp;quot;&lt;br /&gt;
          Option          &amp;quot;Ignore&amp;quot; &amp;quot;True&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
   &lt;br /&gt;
  Section &amp;quot;Monitor&amp;quot;&lt;br /&gt;
          Identifier      &amp;quot;HDMI-2&amp;quot;&lt;br /&gt;
          Option          &amp;quot;Ignore&amp;quot; &amp;quot;True&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
  &lt;br /&gt;
  Section &amp;quot;Device&amp;quot;&lt;br /&gt;
          Identifier      &amp;quot;Configured Video Device&amp;quot;&lt;br /&gt;
            Driver          &amp;quot;intel&amp;quot;&lt;br /&gt;
          Option          &amp;quot;monitor-HDMI-1&amp;quot; &amp;quot;HDMI-1&amp;quot;&lt;br /&gt;
          Option          &amp;quot;monitor-HDMI-2&amp;quot; &amp;quot;HDMI-2&amp;quot;&lt;br /&gt;
    Option &amp;quot;AccelMethod&amp;quot; &amp;quot;EXA&amp;quot;&lt;br /&gt;
    Option &amp;quot;ExaNoComposite&amp;quot; &amp;quot;false&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
&lt;br /&gt;
== Fonts ==&lt;br /&gt;
&lt;br /&gt;
Default fonts are a bit ugly. Things get better by creating some symbolic link:&lt;br /&gt;
&lt;br /&gt;
  cd /etc/fonts/conf.d&lt;br /&gt;
  ln -s ../conf.avail/10-autohint.conf&lt;br /&gt;
  ln -s ../conf.avail/10-sub-pixel-rgb.conf&lt;br /&gt;
  ln -s ../conf.avail/70-no-bitmaps.conf&lt;br /&gt;
&lt;br /&gt;
For GTK and Firefox&lt;br /&gt;
&lt;br /&gt;
Fonts size are too large. Solution:&lt;br /&gt;
  $cat ~/.gtkrc-2.0&lt;br /&gt;
  # -- THEME AUTO-WRITTEN DO NOT EDIT&lt;br /&gt;
  include &amp;quot;/usr/share/themes/Industrial/gtk-2.0/gtkrc&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  include &amp;quot;/home/rdemaria/.gtkrc-2.0.mine&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  # -- THEME AUTO-WRITTEN DO NOT EDIT&lt;br /&gt;
&lt;br /&gt;
  $cat ~/.gtkrc-2.0.mine&lt;br /&gt;
  gtk-font-name = &amp;quot;Sans 8&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Bold font are also ugly on xvrt (in xterm the bold font control seems always broken). See below for the solution.&lt;br /&gt;
&lt;br /&gt;
== Terminal ==&lt;br /&gt;
&lt;br /&gt;
I tried several terminals. But I found rxvt-unicode the easiest and fastest. This resources allow 4 terminals in one window. Bold font (unreadable to me) are disabled.&lt;br /&gt;
  $cat ~/.Xresources&lt;br /&gt;
  rxvt*cutchars: \$:[]&lt;br /&gt;
  rxvt*visualBell: true&lt;br /&gt;
  rxvt*foreground: white&lt;br /&gt;
  rxvt*background: black&lt;br /&gt;
  rxvt*geometry: 80x27&lt;br /&gt;
  rxvt*jumpScroll: true&lt;br /&gt;
  rxvt*skipScroll: true&lt;br /&gt;
  rxvt*scrollBar: false&lt;br /&gt;
  rxvt*boldFont:&lt;br /&gt;
  rxvt*boldItalicFont:&lt;br /&gt;
  rxvt*saveLines: 9096&lt;br /&gt;
  rxvt*mouseWheelScrollPage: false&lt;br /&gt;
&lt;br /&gt;
== Wifi ==&lt;br /&gt;
&lt;br /&gt;
Put in the /etc/apt/source.list&lt;br /&gt;
&lt;br /&gt;
  deb http://kernel-archive.buildserver.net/debian-kernel trunk main &lt;br /&gt;
&lt;br /&gt;
Installed linux-image-2.6.27-1 and firmware&lt;br /&gt;
&lt;br /&gt;
  wget http://intellinuxwireless.org/iwlwifi/downloads/iwlwifi-5000-ucode-5.4.A.11.tar.gz&lt;br /&gt;
  tar xvfz iwlwifi-5000-ucode-5.4.A.11.tar.gz&lt;br /&gt;
  cp  iwlwifi-5000-ucode-5.4.A.11/iwlwifi-5000-1.ucode /lib/firmware&lt;br /&gt;
  aptitude install linux-image-2.6.27-1-686 hal&lt;br /&gt;
&lt;br /&gt;
== Suspend ==&lt;br /&gt;
&lt;br /&gt;
Suspend to disk works using the button Fn+F12.&lt;br /&gt;
&lt;br /&gt;
Suspend to ram (Fn+F4) does not work with sid intel driver, but works with the experimental one.&lt;br /&gt;
Using vesa driver, it works if the i915 driver is installed. I put the line:&lt;br /&gt;
  modprobe i915&lt;br /&gt;
&lt;br /&gt;
in /etc/rc.local.&lt;br /&gt;
&lt;br /&gt;
The trackpoint occasionally stops working after a resume. Apparently it is enough to move it &lt;br /&gt;
a little bit during the resume.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Sound ==&lt;br /&gt;
&lt;br /&gt;
Everything works, but in a strange way. The hardware volume control is managed by acpi&lt;br /&gt;
&lt;br /&gt;
  $ cat /proc/acpi/ibm/volume&lt;br /&gt;
  level:          8&lt;br /&gt;
  mute:           off&lt;br /&gt;
  commands:       up, down, mute&lt;br /&gt;
  commands:       level &amp;lt;level&amp;gt; (&amp;lt;level&amp;gt; is 0-15)&lt;br /&gt;
&lt;br /&gt;
The mute button is linked to the mute command, but volume up and down are passed to X with keycode 122 123. I thought that acpi was intercepting the key and send them to X using fakekey. I played in /etc/acpi/events but I didn't managed to change the behavior.&lt;br /&gt;
&lt;br /&gt;
== Skype ==&lt;br /&gt;
&lt;br /&gt;
Everything works downloading the skype version for Etch. After suspending and resuming the video does not work anymore.&lt;br /&gt;
The error message is:&lt;br /&gt;
&lt;br /&gt;
  Skype V4L2: Could not find a suitable capture format&lt;br /&gt;
&lt;br /&gt;
Several people propose to update the uvcvideo driver.&lt;br /&gt;
  svn checkout http://svn.berlios.de/svnroot/repos/linux-uvc/&lt;br /&gt;
  cd linux-uvc/linux-uvc/trunk/&lt;br /&gt;
  make&lt;br /&gt;
  make install&lt;br /&gt;
  modprobe uvcvideo&lt;br /&gt;
&lt;br /&gt;
But I didn't tried yet cause I'm still using the experimental kernel that does not come with packages for compiling modules.&lt;br /&gt;
&lt;br /&gt;
== GTK and Firefox ==&lt;br /&gt;
&lt;br /&gt;
Font size is too large. Solution:&lt;br /&gt;
  $cat /home/rdemaria/.gtkrc-2.0&lt;br /&gt;
  # -- THEME AUTO-WRITTEN DO NOT EDIT&lt;br /&gt;
  include &amp;quot;/usr/share/themes/Industrial/gtk-2.0/gtkrc&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  include &amp;quot;/home/rdemaria/.gtkrc-2.0.mine&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  # -- THEME AUTO-WRITTEN DO NOT EDIT&lt;br /&gt;
&lt;br /&gt;
  $cat /home/rdemaria/.gtkrc-2.0.mine&lt;br /&gt;
  gtk-font-name = &amp;quot;Sans 8&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== Printer and scanner ==&lt;br /&gt;
&lt;br /&gt;
Usb printer and scanner (HP Officejet J4580) works perfectly using cups, hpoj, xsane, hplib.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== RAM upgrade ==&lt;br /&gt;
&lt;br /&gt;
My X200 came with 2G of ram and 1 free slots. I bought:&lt;br /&gt;
   Crucial 2GB 204-Pin DDR3 SO-DIMM DDR3 1066 (PC3 8500) Laptop Memory Model CT25664BC1067 - Retail&lt;br /&gt;
&lt;br /&gt;
installed and replace the kernel with a bigmem one.&lt;br /&gt;
&lt;br /&gt;
== Hard disk upgrade ==&lt;br /&gt;
&lt;br /&gt;
My X200 came with a 160GB hardrive. I bought the 500GB hard drive&lt;br /&gt;
   Western Digital Scorpio Blue WD5000BEVT 500GB 5400 RPM SATA 3.0Gb/s Notebook Hard Drive - OEM&lt;br /&gt;
&lt;br /&gt;
and the adapter&lt;br /&gt;
  Link Depot USB2-SATA USB2.0 TO IDE/SATA Adapter Cable - Retail&lt;br /&gt;
&lt;br /&gt;
for transfer the data.&lt;br /&gt;
&lt;br /&gt;
I connected the new hard drive using the usb port. The drive was recognized as /dev/sdb. I create the partitions that reads:&lt;br /&gt;
&lt;br /&gt;
  $ sfdisk -d /dev/sdb&lt;br /&gt;
  # partition table of /dev/sdb&lt;br /&gt;
  unit: sectors&lt;br /&gt;
&lt;br /&gt;
  /dev/sdb1 : start=       63, size= 71553447, Id=83&lt;br /&gt;
  /dev/sdb2 : start= 71553510, size=905214555, Id= 5&lt;br /&gt;
  /dev/sdb3 : start=        0, size=        0, Id= 0&lt;br /&gt;
  /dev/sdb4 : start=        0, size=        0, Id= 0&lt;br /&gt;
  /dev/sdb5 : start= 71553573, size=894467007, Id=83&lt;br /&gt;
  /dev/sdb6 : start=966020643, size= 10747422, Id=82&lt;br /&gt;
&lt;br /&gt;
Then made the filesystem and copy the files:&lt;br /&gt;
  $ sudo mkfs.ext3 /dev/sdb1&lt;br /&gt;
  $ sudo mkfs.ext3 /dev/sdb5&lt;br /&gt;
  $ sudo mkswap    /dev/sda6&lt;br /&gt;
  $ sudo mount /mnt/sdb1&lt;br /&gt;
  $ sudo mount /mnt/sdb5&lt;br /&gt;
  $ sudo rsync -a --delete \&lt;br /&gt;
  --exclude /mnt/sdb1 \&lt;br /&gt;
  --exclude /mnt/sdb5 \&lt;br /&gt;
  --exclude /home \&lt;br /&gt;
  --exclude /proc \&lt;br /&gt;
  --exclude /sys \&lt;br /&gt;
  --exclude /lib/init/rw \&lt;br /&gt;
  --exclude /dev \&lt;br /&gt;
  / /mnt/sdb1&lt;br /&gt;
  $ cd /mnt/sdb1; mkdir /home /proc /sys /lib/init/rw /dev; cd &lt;br /&gt;
  $ sudo rsync -a /home/ /mnt/sdb5&lt;br /&gt;
  $ sudo umount /mnt/sdb5; sudo umount /mnt/sdb1&lt;br /&gt;
&lt;br /&gt;
Finally install grub&lt;br /&gt;
  $ sudo grub --no-floppy&lt;br /&gt;
  $ geometry (hd1)&lt;br /&gt;
  &amp;gt; root (hd1,0)&lt;br /&gt;
  &amp;gt; setup (hd1)&lt;br /&gt;
  &amp;gt; quit&lt;br /&gt;
&lt;br /&gt;
and replace the disk. (I tried to boot from the usb to check the new hard drive, but I messed up the old installation...)&lt;br /&gt;
&lt;br /&gt;
For some reason the suspend to disk was not working anymore. But &lt;br /&gt;
  $ sudo aptitude reinstall uswsusp&lt;br /&gt;
fixed the problem answering yes to use the swap disk.&lt;br /&gt;
&lt;br /&gt;
== Keyboard ==&lt;br /&gt;
&lt;br /&gt;
In recent versions of xserver (as of version 1.4.0.90-7) keyboard-layout is handled by hal, so settings done will be overridden. Settings should be put in:&lt;br /&gt;
&lt;br /&gt;
   /etc/default/console-setup&lt;br /&gt;
&lt;br /&gt;
For a double layout us, us(intl) I put:&lt;br /&gt;
&lt;br /&gt;
  XKBMODEL=&amp;quot;pc104&amp;quot;&lt;br /&gt;
  XKBLAYOUT=&amp;quot;us,us(intl)&amp;quot;&lt;br /&gt;
  XKBVARIANT=&amp;quot;&amp;quot;&lt;br /&gt;
  XKBOPTIONS=&amp;quot;compose(lwin),compose(rwin),grp:shifts_toggle,grp_led:scroll&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== Special keys ==&lt;br /&gt;
&lt;br /&gt;
Some keys are intercepted by X Windows. The keycodes are&lt;br /&gt;
&lt;br /&gt;
  151 XF86WakeUp Fn&lt;br /&gt;
  167 XF86Forward&lt;br /&gt;
  166 XF86Back&lt;br /&gt;
  122 XF86AudioLower&lt;br /&gt;
  123 XF86AudioRaiseVolume&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Mute switch the hardware volume which is not controlled by ALSA.&lt;br /&gt;
&lt;br /&gt;
ACPI links suspend to ram and to disc to Fn+F4 and Fn+F12 respectively. Screen brightness, thinklight, bluetooth works as well.&lt;br /&gt;
&lt;br /&gt;
In fluxbox I used for:&lt;br /&gt;
&lt;br /&gt;
  &amp;quot;.fluxbox/keys&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
  Menu  :Exec rxvt&lt;br /&gt;
  Shift Menu :Exec fbrun&lt;br /&gt;
  XF86Forward  :NextWorkspace&lt;br /&gt;
  XF86Back  :PrevWorkspace&lt;br /&gt;
  F86AudioRaiseVolume :Exec amixer sset Master,0 1+&lt;br /&gt;
  XF86AudioLowerVolume :Exec amixer sset Master,0 1-&lt;br /&gt;
&lt;br /&gt;
== Trackpoint ==&lt;br /&gt;
&lt;br /&gt;
As for the keyboard, options are not handled anymore from xorg.cong. Apparently we are in a transition period and HAL is soon to be deprecated. As of Jan 10 2010 this is what works on my system.&lt;br /&gt;
&lt;br /&gt;
The output of &lt;br /&gt;
  $ lshal|grep input.product&lt;br /&gt;
&lt;br /&gt;
  input.product = 'Video Bus'  (string)&lt;br /&gt;
  input.product = 'ThinkPad Extra Buttons'  (string)&lt;br /&gt;
  input.product = 'Lid Switch'  (string)&lt;br /&gt;
  input.product = 'ACPI Virtual Keyboard Device'  (string)&lt;br /&gt;
  input.product = 'Sleep Button'  (string)&lt;br /&gt;
  input.product = 'Power Button'  (string)&lt;br /&gt;
  input.product = 'PC Speaker'  (string)&lt;br /&gt;
  input.product = 'PS/2 Generic Mouse'  (string)&lt;br /&gt;
  input.product = 'AT Translated Set 2 keyboard'  (string)&lt;br /&gt;
  input.product = 'HDA Intel Headphone'  (string)&lt;br /&gt;
  input.product = 'HDA Intel Headphone'  (string)&lt;br /&gt;
  input.product = 'UVC Camera (17ef:480c)'  (string)&lt;br /&gt;
&lt;br /&gt;
So to enable scrooling and emulate third button (e.g. to change view in blender) edit:&lt;br /&gt;
&lt;br /&gt;
  /etc/hal/fdi/policy/mouse-wheel.fdi&lt;br /&gt;
&lt;br /&gt;
as&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;match key=&amp;quot;info.product&amp;quot; string=&amp;quot;PS/2 Generic Mouse&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheel&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheelButton&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;2&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheelTimeout&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;250&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;merge key=&amp;quot;input.x11_options.XAxisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;6 7&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;merge key=&amp;quot;input.x11_options.YAxisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;4 5&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;merge key=&amp;quot;input.x11_options.ZAxsisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;4 5&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;merge key=&amp;quot;input.x11_options.Emulate3Buttons&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;/match&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== TO BE CONTINUED ==&lt;/div&gt;</summary>
		<author><name>Rdemaria</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=How_to_configure_the_TrackPoint&amp;diff=45349</id>
		<title>How to configure the TrackPoint</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=How_to_configure_the_TrackPoint&amp;diff=45349"/>
		<updated>2010-01-10T15:43:49Z</updated>

		<summary type="html">&lt;p&gt;Rdemaria: /* Hal (soon to be deprecated) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{| width=&amp;quot;100%&amp;quot;&lt;br /&gt;
|style=&amp;quot;vertical-align:top;padding-right:20px;width:10px;white-space:nowrap;&amp;quot; | __TOC__&lt;br /&gt;
|style=&amp;quot;vertical-align:top&amp;quot; |Below are several ways of configuring the kernel psmouse driver for controlling extended TrackPoint features.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=Configuration using xinput=&lt;br /&gt;
If you want to modify changes on the fly, you can do so with {{cmd|xinput|}} (part of the optional xorg-x11-apps rpm on Fedora).&lt;br /&gt;
Note that these changes are not saved when the xserver is restarted.&lt;br /&gt;
&lt;br /&gt;
To query the available options&lt;br /&gt;
 xinput list-props '&amp;quot;TPPS/2 IBM TrackPoint&amp;quot;'&lt;br /&gt;
&lt;br /&gt;
More information can be found in the man-pages for evdev&lt;br /&gt;
 man evdev&lt;br /&gt;
&lt;br /&gt;
To enable vertical scrolling&lt;br /&gt;
 xinput set-prop '&amp;quot;TPPS/2 IBM TrackPoint&amp;quot;' &amp;quot;Evdev Wheel Emulation&amp;quot; 1&lt;br /&gt;
 xinput set-prop '&amp;quot;TPPS/2 IBM TrackPoint&amp;quot;' &amp;quot;Evdev Wheel Emulation Button&amp;quot; 2&lt;br /&gt;
 xinput set-prop '&amp;quot;TPPS/2 IBM TrackPoint&amp;quot;' &amp;quot;Evdev Wheel Emulation Timeout&amp;quot; 200&lt;br /&gt;
&lt;br /&gt;
To enable middle button emulation (using left- and right-click simultaneously)&lt;br /&gt;
 xinput set-prop '&amp;quot;TPPS/2 IBM TrackPoint&amp;quot;' &amp;quot;Evdev Middle Button Emulation&amp;quot; 1&lt;br /&gt;
 xinput set-prop '&amp;quot;TPPS/2 IBM TrackPoint&amp;quot;' &amp;quot;Evdev Middle Button Timeout&amp;quot; 50&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Todo|some other examples}}&lt;br /&gt;
&lt;br /&gt;
= Configuration using Gnome=&lt;br /&gt;
If you are using GNOME, you might want to use [http://live.gnome.org/GPointingDeviceSettings GPointing Device Settings] as a graphical frontend.&lt;br /&gt;
&lt;br /&gt;
It is available for Fedora 12 and Ubuntu 9.10 in the standard package repositories&lt;br /&gt;
&lt;br /&gt;
= Configuration using DevKit =&lt;br /&gt;
Most recent distributions like Ubuntu 9.10 switch from HAL (being deprecated) to DevKit. Hence, the HAL configurations explained underneath, fail to work. &lt;br /&gt;
&lt;br /&gt;
The easiest way to configure your touchpad and trackpoint with DevKit is by using the [http://live.gnome.org/GPointingDeviceSettings GPointingDeviceSettings] panel that fully supports the hardware. You can easily download the panel by installing {{cmd| gpointing-device-settings|}}. On Ubuntu open a terminal and execute the command {{cmduser| sudo apt-get install gpointing-device-settings}}&lt;br /&gt;
&lt;br /&gt;
Launch the UI through the {{cmduser| gpointing-device-settings}} command, but you can also add a menu entry to your System / Preferences menu for easier access to the UI panel.&lt;br /&gt;
&lt;br /&gt;
= Configuration using udev and HAL =&lt;br /&gt;
Modern distributions like Ubuntu 8.10 and Fedora 10 use udev and HAL to configure the input devices. You should no longer make changes to xorg.conf as by default Xorg (through the evdev driver) will let the kernel now handle input devices.&lt;br /&gt;
&lt;br /&gt;
But before you get started on this you should make sure you have all the updates applied from your distro vendor as both Ubuntu 8.10 and Fedora 10 require some additional fixes that you will need.&lt;br /&gt;
&lt;br /&gt;
=== Scrolling ===&lt;br /&gt;
By default the middle mouse button is that, a middle mouse button, which in Linux is used for the Paste operation.&lt;br /&gt;
&lt;br /&gt;
But you can configure it to act in the same way as in Windows, such that you can use it for vertical scrolling (keep the button pressed and move the TrackPoint up and down to scroll). &lt;br /&gt;
&lt;br /&gt;
==== udev ====&lt;br /&gt;
&lt;br /&gt;
Now that Xorg doesn't use the configuration from hal (in Debian unstable starting january 2010), the only way to “statically” configure scrolling in trackpoint is udev. (for other people, xinput method, below, works fine). This method will be gone (_again_) in not too long so it might be a better idea to use xinput way. YMMV.&lt;br /&gt;
&lt;br /&gt;
Create the file {{path|/etc/udev/rules.d/99_trackpoint.rules}} as root with the following content:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ACTION!=&amp;quot;add|change&amp;quot;, GOTO=&amp;quot;xorg_trackpoint_end&amp;quot;&lt;br /&gt;
KERNEL!=&amp;quot;event*&amp;quot;, GOTO=&amp;quot;xorg_trackpoint_end&amp;quot;&lt;br /&gt;
&lt;br /&gt;
ENV{ID_PATH}!=&amp;quot;platform-i8042-serio-1&amp;quot;, GOTO=&amp;quot;xorg_trackpoint_end&amp;quot;&lt;br /&gt;
&lt;br /&gt;
ENV{x11_options.EmulateWheel}=&amp;quot;1&amp;quot;&lt;br /&gt;
ENV{x11_options.EmulateWheelButton}=&amp;quot;2&amp;quot;&lt;br /&gt;
ENV{x11_options.XAxisMapping}=&amp;quot;6 7&amp;quot;&lt;br /&gt;
ENV{x11_options.Emulate3Buttons}=&amp;quot;0&amp;quot;&lt;br /&gt;
&lt;br /&gt;
LABEL=&amp;quot;xorg_trackpoint_end&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Save and restart udev then Xorg (or it'll be enabled at next reboot).&lt;br /&gt;
&lt;br /&gt;
==== Hal (soon to be deprecated) ====&lt;br /&gt;
&lt;br /&gt;
To accomplish this create the file {{path|/etc/hal/fdi/policy/mouse-wheel.fdi}} as root with the following content:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;match key=&amp;quot;info.product&amp;quot; string=&amp;quot;TPPS/2 IBM TrackPoint&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheel&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheelButton&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;2&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;merge key=&amp;quot;input.x11_options.YAxisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;4 5&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;merge key=&amp;quot;input.x11_options.Emulate3Buttons&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheelTimeout&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;200&amp;lt;/merge&amp;gt;&lt;br /&gt;
&amp;lt;/match&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you also want to have horizontal scrolling, simply add the following XAxisMapping option to the above&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 &amp;lt;merge key=&amp;quot;input.x11_options.XAxisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;6 7&amp;lt;/merge&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
After this reboot, or restart the hal service and Xorg. You can validate the settings with {{cmd|lshal|}}.&lt;br /&gt;
&lt;br /&gt;
In some models (eg: X301 and X200 since Jan 10 2010 on debian sid) you may have to use &amp;quot;PS/2 Generic Mouse&amp;quot; instead of &amp;quot;TPPS/2 IBM TrackPoint&amp;quot;. Have a look to your input devices typing &amp;lt;code&amp;gt;lshal|grep input.product&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
====Reactivate Scrolling after suspend/resume====&lt;br /&gt;
Scrolling may be disabled after a resume from suspend. &lt;br /&gt;
&lt;br /&gt;
You can manually reactivate the trackpoint by reloading the {{path|psmouse}} module as root:&lt;br /&gt;
:{{cmdroot|rmmod psmouse &amp;amp;&amp;amp; modprobe psmouse}}&lt;br /&gt;
&lt;br /&gt;
You can automatically force the pm-utils to reload this module.&lt;br /&gt;
Create a file {{path|/etc/pm/config.d/01reload_mouse}} as root with the following content:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# reload psmouse to reactivate trackpoint scrolling&lt;br /&gt;
SUSPEND_MODULES=&amp;quot;${SUSPEND_MODULES:+$SUSPEND_MODULES }psmouse&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Configuring other options (e.g. Press to select, Sensitivity and Speed)===&lt;br /&gt;
&amp;lt;!--HAL wasn't made to configure sysfs settings, so we'll use udev instead --&amp;gt;&lt;br /&gt;
Create a file {{path|/etc/udev/rules.d/10-trackpoint.rules}} and add a line to suit your needs&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
SUBSYSTEM==&amp;quot;serio&amp;quot;, DRIVERS==&amp;quot;psmouse&amp;quot;, ATTR{press_to_select}=&amp;quot;1&amp;quot;, ATTR{sensitivity}=&amp;quot;122&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Testing udev  with {{cmdroot|udevadm test /sys/devices/platform/i8042/serio1}} should apply the new changes.  All of the settings listed [[How to configure the TrackPoint#Sysfs_Options_Reference|below]] can be specified here as part of a comma separated list.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Configuration using sysfs=&lt;br /&gt;
Another way to modify changes on the fly, is echoing values directly into special files in sysfs.&lt;br /&gt;
&lt;br /&gt;
{{NOTE|&lt;br /&gt;
The examples shown below are valid for ThinkPads with both TrackPoint and Touchpad, in which case the sysfs path is {{path|/sys/devices/platform/i8042/serio1/serio2}}.&lt;br /&gt;
&lt;br /&gt;
If however you have a ThinkPad without Touchpad, or with the Touchpad disabled in the BIOS, the sysfs path needs to be changed to {{path|/sys/devices/platform/i8042/serio1}} instead (notice the missing serio2 at the end).}}&lt;br /&gt;
&lt;br /&gt;
If you want to set the sysfs parameters at boot, you can use the [http://linux-diag.sourceforge.net/Sysfsutils.html sysfsutils] and put the preferred value in /etc/sysfs.conf.&lt;br /&gt;
&lt;br /&gt;
===Press to Select===&lt;br /&gt;
Press to Select allows you to tap the control stick which will simulate a left click. You can enable this feature by typing the following in to a terminal (you may need to be root):&lt;br /&gt;
&lt;br /&gt;
:{{cmdroot|echo -n 1 &amp;gt; /sys/devices/platform/i8042/serio1/serio2/press_to_select}}&lt;br /&gt;
&lt;br /&gt;
Press to Select should now be enabled. You can disable it in a similar manner:&lt;br /&gt;
&lt;br /&gt;
:{{cmdroot|echo -n 0 &amp;gt; /sys/devices/platform/i8042/serio1/serio2/press_to_select}}&lt;br /&gt;
&lt;br /&gt;
You can use this script to automate the operation&lt;br /&gt;
&lt;br /&gt;
        #!/bin/bash&lt;br /&gt;
        if [ &amp;quot;$1&amp;quot; = &amp;quot;1&amp;quot; ]; then&lt;br /&gt;
                echo &amp;quot;Turning on tap on TrackPoint&amp;quot;&lt;br /&gt;
                echo -n 1 &amp;gt; /sys/devices/platform/i8042/serio1/serio2/press_to_select&lt;br /&gt;
                exit 0&lt;br /&gt;
        fi&lt;br /&gt;
        if [ &amp;quot;$1&amp;quot; = &amp;quot;0&amp;quot; ]; then&lt;br /&gt;
                echo &amp;quot;Turning off tap on TrackPoint&amp;quot;&lt;br /&gt;
                echo -n 0 &amp;gt; /sys/devices/platform/i8042/serio1/serio2/press_to_select&lt;br /&gt;
                exit 0&lt;br /&gt;
        fi&lt;br /&gt;
        echo -n &amp;quot;Tap status: &amp;quot;&lt;br /&gt;
        cat /sys/devices/platform/i8042/serio1/serio2/press_to_select&lt;br /&gt;
&lt;br /&gt;
In Ubuntu 8.10 to make Press to Select a permanent change:&lt;br /&gt;
&lt;br /&gt;
echo -n 1 | tee /sys/devices/platform/i8042/serio1/serio2/press_to_select&lt;br /&gt;
&lt;br /&gt;
As root, append the above command above &amp;quot;exit 0&amp;quot; in /etc/gdm/Init/Default&lt;br /&gt;
&lt;br /&gt;
===Sensitivity &amp;amp; Speed===&lt;br /&gt;
Adjusting the speed and sensitivity of the TrackPoint requires echoing a value between 0 and 255 into the appropriate file. For example, for a speed of 120 and a sensitivity of 250, type the following into a terminal:&lt;br /&gt;
&lt;br /&gt;
:{{cmdroot|echo -n 120 &amp;gt; /sys/devices/platform/i8042/serio1/serio2/speed}}&lt;br /&gt;
:{{cmdroot|echo -n 250 &amp;gt; /sys/devices/platform/i8042/serio1/serio2/sensitivity}}&lt;br /&gt;
&lt;br /&gt;
Feel free to experiment with your settings until you find a combination that is comfortable.&lt;br /&gt;
&lt;br /&gt;
When you satisfy your setting, add the two lines into /etc/rc.d/rc.local in order to avoid restoring the default setting every time the system reboots.  In Ubuntu 9.10, add the lines to /etc/rc.local to avoid this.&lt;br /&gt;
&lt;br /&gt;
===Vertical Scrolling===&lt;br /&gt;
No sysfs entry exists for vertical scrolling in kernels after 2.6.11.&lt;br /&gt;
&lt;br /&gt;
The feature was removed as it was not a hardware feature, but rather emulating a scroll action in software and as such did not belong in the kernel.&lt;br /&gt;
Instead the scroll feature of the Xserver should be used, which can be activated with HAL or xinput as described above.&lt;br /&gt;
&lt;br /&gt;
=Configuration using the X server (xorg.conf)=&lt;br /&gt;
==Using the &amp;quot;evdev&amp;quot; driver (preferred, especially for recent Xorg versions)==&lt;br /&gt;
Extract from /etc/X11/xorg.conf on an X31:&lt;br /&gt;
&lt;br /&gt;
    Section &amp;quot;InputDevice&amp;quot;&lt;br /&gt;
        Identifier &amp;quot;TPPS/2 IBM TrackPoint&amp;quot;&lt;br /&gt;
        Driver     &amp;quot;evdev&amp;quot;&lt;br /&gt;
        Option     &amp;quot;Device&amp;quot; &amp;quot;/dev/input/by-path/platform-i8042-serio-1-event-mouse&amp;quot;&lt;br /&gt;
        Option     &amp;quot;GrabDevice&amp;quot; &amp;quot;False&amp;quot;&lt;br /&gt;
        Option     &amp;quot;EmulateWheel&amp;quot; &amp;quot;true&amp;quot; #Enable wheel emulation for the Trackpoint&lt;br /&gt;
        Option     &amp;quot;EmulateWheelButton&amp;quot; &amp;quot;2&amp;quot; #Use the middle button for the emulation&lt;br /&gt;
        Option     &amp;quot;XAxisMapping&amp;quot; &amp;quot;6 7&amp;quot; #Map trackpoint X axis to X axis of emulated wheel&lt;br /&gt;
        Option     &amp;quot;YAxisMapping&amp;quot; &amp;quot;4 5&amp;quot; #Map trackpoint Y axis to Y axis of emulated wheel&lt;br /&gt;
    EndSection&lt;br /&gt;
&lt;br /&gt;
==Using the &amp;quot;mouse&amp;quot; driver (deprecated, only for old Xorg versions)==&lt;br /&gt;
{{NOTE|This only applies to old distributions with Xorg versions that did not yet use evdev. For modern distributions use one of the other methods}}&lt;br /&gt;
The scroll setting has been removed from the trackpoint driver in kernel versions 2.6.11 and above. Scroll emulation should now be handled in the X server.&lt;br /&gt;
&lt;br /&gt;
A nice side effect of that is, that middle button scrolling applies to any mouse and not just the TrackPoint interface, which can be a quite handy feature for desktop computers or people who prefer to use an external mouse, especially when scrolling through long lists or needing to use horizontal scrolling with a mouse which has only a vertical scroll wheel.&lt;br /&gt;
&lt;br /&gt;
The necessary functionality, known  as &amp;quot;EmulateWheelTimeout&amp;quot; allowing to use button 2 for a middle click, wasn't implemented in Xorg prior to 6.9/7.0. However, there was a patch included in most distributions packages of Xorg, which was announced [http://www.mail-archive.com/devel@xfree86.org/msg03333.html here]. You can find an updated version of the package in the experimental branch of {{Debian}} or try to build the mouse driver yourself with the information in the announcement. This has successfully been tried with FC3's 6.8.2 packages.&lt;br /&gt;
&lt;br /&gt;
Once this functionality is in the X.org, add these lines to your TrackPoint configuration section in {{path|/etc/X11/xorg.conf}}:&lt;br /&gt;
&lt;br /&gt;
        Option          &amp;quot;EmulateWheel&amp;quot;          &amp;quot;on&amp;quot;&lt;br /&gt;
        Option          &amp;quot;EmulateWheelButton&amp;quot;    &amp;quot;2&amp;quot;&lt;br /&gt;
&lt;br /&gt;
It may also be necessary to add these lines:&lt;br /&gt;
&lt;br /&gt;
        Option &amp;quot;YAxisMapping&amp;quot; &amp;quot;4 5&amp;quot;&lt;br /&gt;
        Option &amp;quot;XAxisMapping&amp;quot; &amp;quot;6 7&amp;quot;&lt;br /&gt;
&lt;br /&gt;
which specify which buttons are mapped to motion in the vertical (Y) and horizontal (X) directions, respectively, in wheel emulation mode (see http://www.xfree86.org/current/mouse.4.html).&lt;br /&gt;
&lt;br /&gt;
{{HINT| Use the program &amp;quot;xev&amp;quot; to see, what mouse button identifiers are sent by your mouse/touchpad/trackpoint.&amp;lt;br /&amp;gt;You might want to try: &amp;quot;xev &amp;amp;#124; grep button&amp;quot;}}&lt;br /&gt;
{{HINT| If it does not work see if evdev is installed and remove it. On gentoo do the following:&amp;lt;br /&amp;gt;&lt;br /&gt;
eix xf86-input-evdev&amp;lt;br /&amp;gt;&lt;br /&gt;
emerge -C xf86-input-evdev&amp;lt;br /&amp;gt;&lt;br /&gt;
and then remove the evdev flag in make.conf INPUT_DEVICES}}&lt;br /&gt;
&lt;br /&gt;
So, a complete mouse section, that implements this nicely and works very well on my R51, even with a simultaneously connected USB mouse, looks like that (tried out today, 20th of September, 2006 on Dapper):&lt;br /&gt;
&lt;br /&gt;
  Section &amp;quot;InputDevice&amp;quot;&lt;br /&gt;
        Identifier  &amp;quot;Configured Mouse&amp;quot;&lt;br /&gt;
        Driver      &amp;quot;mouse&amp;quot;&lt;br /&gt;
        Option      &amp;quot;CorePointer&amp;quot;&lt;br /&gt;
        Option      &amp;quot;Device&amp;quot;              &amp;quot;/dev/input/mice&amp;quot;&lt;br /&gt;
        Option      &amp;quot;Protocol&amp;quot;            &amp;quot;ExplorerPS/2&amp;quot;&lt;br /&gt;
        Option      &amp;quot;Emulate3Buttons&amp;quot;     &amp;quot;on&amp;quot;&lt;br /&gt;
        Option      &amp;quot;Emulate3TimeOut&amp;quot;     &amp;quot;50&amp;quot;&lt;br /&gt;
        Option      &amp;quot;EmulateWheel&amp;quot;        &amp;quot;on&amp;quot;&lt;br /&gt;
        Option      &amp;quot;EmulateWheelTimeOut&amp;quot; &amp;quot;200&amp;quot;&lt;br /&gt;
        Option      &amp;quot;EmulateWheelButton&amp;quot;  &amp;quot;2&amp;quot;&lt;br /&gt;
        Option      &amp;quot;YAxisMapping&amp;quot;        &amp;quot;4 5&amp;quot;&lt;br /&gt;
        Option      &amp;quot;XAxisMapping&amp;quot;        &amp;quot;6 7&amp;quot;&lt;br /&gt;
        Option      &amp;quot;ZAxisMapping&amp;quot;        &amp;quot;4 5&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
&lt;br /&gt;
The mappings for Y and Z are the same, since the &amp;quot;Z-Axis&amp;quot; refers to actual hardware scrolling wheels which usually scroll the screen along the Y-Axis. If there is no hardware scrolling wheel present, horizontal and vertical scrolling using the TrackPoint work fine without the Z-Axis line.&lt;br /&gt;
&lt;br /&gt;
Now restart X and hold down button 2 and move the mouse to scroll, or just press and release button 2 for a middle click.&lt;br /&gt;
&lt;br /&gt;
To make this work with the synaptics driver for the touchpad, you can add&lt;br /&gt;
        Option      &amp;quot;GuestMouseOff&amp;quot; &amp;quot;1&amp;quot;&lt;br /&gt;
to the synaptics device section. This will make the synaptics driver ignore the Trackpoint, so it will be handled by the mouse driver. This allowed me to disable the touchpad while making the TrackPoint work like it should.&lt;br /&gt;
&lt;br /&gt;
{{NOTE| With the above mouse section in my xorg.conf all this works like a charm: &lt;br /&gt;
*I can press the wheel on my external USB mouse and move the mouse up and down for scrolling&lt;br /&gt;
*or I can just use the wheel on the external mouse for scrolling&lt;br /&gt;
*or pressing the MMB button of the trackpoint and use the trackpoint for scrolling.&lt;br /&gt;
*Even horizontal scrolling works automagically in Konqueror, for Firefox/Opera see below.&lt;br /&gt;
&lt;br /&gt;
Simultaneously I can use &lt;br /&gt;
*a press on the external mouse's wheel &lt;br /&gt;
*or the MMB of the trackpoint&lt;br /&gt;
&lt;br /&gt;
for pasting the buffer. Lovely! :) }}&lt;br /&gt;
&lt;br /&gt;
{{HINT| If you don't use the middle-mouse-button for pasting and sometimes pasting things by mistake while scrolling (witch is really odd) simply set the &amp;quot;EmulateWheelTimeOut&amp;quot; to &amp;quot;1&amp;quot; as a (bloody) workaround. Middle click will only possible with pressing left and right button simultaneously!}}&lt;br /&gt;
&lt;br /&gt;
=Application specific tweaks=&lt;br /&gt;
===Configure Opera for using trackpoint horizontal scrolling===&lt;br /&gt;
To fix horizontal scrolling in Opera, you need to edit the configfile &amp;lt;tt&amp;gt;standard_mouse.ini&amp;lt;/tt&amp;gt; in e.g. /usr/share/opera/ini/ (Debian) or /opt/opera/share/opera/ini/ (Gentoo) and comment out the following lines&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Button6                                                        = Back&lt;br /&gt;
Button7                                                        = Forward&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
so they look like that&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
;Button6                                                        = Back&lt;br /&gt;
;Button7                                                        = Forward&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Remember, Button6 and Button7 do not so coincidental correspond with our X configuration we know from above:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Option &amp;quot;YAxisMapping&amp;quot; &amp;quot;6 7&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
After this change you will be able to scroll vertically and horizontally with your middle button.&lt;br /&gt;
&lt;br /&gt;
===Firefox 3 tweaks===&lt;br /&gt;
These settings make Firefox on Linux behave more like the Windows version. They were tested on an out of the box Fedora 10 system on a Thinkpad T61.  Go into about:config, and set the following:&lt;br /&gt;
&lt;br /&gt;
 middlemouse.paste = false&lt;br /&gt;
 middlemouse.contentLoadURL = false&lt;br /&gt;
 general.autoScroll = true&lt;br /&gt;
&lt;br /&gt;
=Sysfs Options Reference=&lt;br /&gt;
{{NOTE|These options are current as of kernel version 2.6.29, 3 May 2009}}&lt;br /&gt;
{| &lt;br /&gt;
|-&lt;br /&gt;
! Name&lt;br /&gt;
! Type&lt;br /&gt;
! Default&lt;br /&gt;
! Notes&lt;br /&gt;
|-&lt;br /&gt;
| sensitivity&lt;br /&gt;
| Integer&lt;br /&gt;
| 128&lt;br /&gt;
| Sensitivity&lt;br /&gt;
|-&lt;br /&gt;
| speed&lt;br /&gt;
| Integer&lt;br /&gt;
| 97&lt;br /&gt;
| Cursor speed&lt;br /&gt;
|-&lt;br /&gt;
| inertia&lt;br /&gt;
| Integer&lt;br /&gt;
| 6&lt;br /&gt;
| Described as &amp;quot;negative inertia.&amp;quot;  It acts more like friction.  High values cause the cursor to snap backward when the Trackpoint is released&lt;br /&gt;
|-&lt;br /&gt;
| reach&lt;br /&gt;
| Integer&lt;br /&gt;
| 10&lt;br /&gt;
| Backup for Z-axis press&lt;br /&gt;
|-&lt;br /&gt;
| draghys&lt;br /&gt;
| Integer&lt;br /&gt;
| 255&lt;br /&gt;
| Drag hysteresis (how hard it is to drag with Z-axis pressed)&lt;br /&gt;
|-&lt;br /&gt;
| mindrag&lt;br /&gt;
| Integer&lt;br /&gt;
| 20&lt;br /&gt;
| Minimum amount of force needed to trigger dragging&lt;br /&gt;
|-&lt;br /&gt;
| thresh&lt;br /&gt;
| Integer&lt;br /&gt;
| 8&lt;br /&gt;
| Minimum value for a Z-axis press&lt;br /&gt;
|-&lt;br /&gt;
| upthresh&lt;br /&gt;
| Integer&lt;br /&gt;
| 255&lt;br /&gt;
| Used to generate a 'click' on Z-axis&lt;br /&gt;
|-&lt;br /&gt;
| ztime&lt;br /&gt;
| Integer&lt;br /&gt;
| 38&lt;br /&gt;
| How sharp of a press&lt;br /&gt;
|-&lt;br /&gt;
| jenks&lt;br /&gt;
| Integer&lt;br /&gt;
| 135&lt;br /&gt;
| Minimum curvature for double click&lt;br /&gt;
|-&lt;br /&gt;
| press_to_select&lt;br /&gt;
| Boolean&lt;br /&gt;
| 0&lt;br /&gt;
| Press to select&lt;br /&gt;
|-&lt;br /&gt;
| skipback&lt;br /&gt;
| Boolean&lt;br /&gt;
| 0&lt;br /&gt;
| Supress movement after drag release &lt;br /&gt;
|-&lt;br /&gt;
| ext_dev&lt;br /&gt;
| Boolean&lt;br /&gt;
| 0&lt;br /&gt;
| Disable external device&lt;br /&gt;
|}&lt;br /&gt;
Table info taken from [http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=blob;f=drivers/input/mouse/trackpoint.h;hb=HEAD here].  The given link will always point to the current version of the driver.  If the notes seem sparse, that's because the code is sparse.  On the other hand, the [http://wwwcssrv.almaden.ibm.com/trackpoint/files/ykt3eext.pdf Trackpoint Engineering Specification Version 4.0] &amp;lt;!--if this link breaks, I recommend a quick Google search for &amp;quot;trackpoint version 4 engineering specifications&amp;quot; --&amp;gt; contains more documentation information than anyone ever desired.&lt;/div&gt;</summary>
		<author><name>Rdemaria</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Debian_Sid_(October_2008)_on_a_ThinkPad_X200&amp;diff=44061</id>
		<title>Installing Debian Sid (October 2008) on a ThinkPad X200</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Debian_Sid_(October_2008)_on_a_ThinkPad_X200&amp;diff=44061"/>
		<updated>2009-09-05T12:34:22Z</updated>

		<summary type="html">&lt;p&gt;Rdemaria: /* Special keys */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
Amazing machine: light, quiet, large battery life, ideal for travels, great value for money compared to X200T and X300.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Creating installation device ==&lt;br /&gt;
&lt;br /&gt;
The X200 has no cd/dvd but can boot from USB. On the X200 BIOS settings, the USB disk boot option needed to be raised to be used first. Using F1 at boot gives access to the BIOS.&lt;br /&gt;
&lt;br /&gt;
I created an USB bootable iso from another linux installation.&lt;br /&gt;
I had an usb stick with a FAT32 partition on /dev/sdc1. I dowloaded the boot and iso file and installed the image&lt;br /&gt;
using:&lt;br /&gt;
&lt;br /&gt;
  wget http://people.debian.org/~joeyh/d-i/images/daily/hd-media/boot.img.gz&lt;br /&gt;
  wget http://cdimage.debian.org/cdimage/daily-builds/daily/arch-latest/i386/iso-cd/debian-testing-i386-netinst.iso&lt;br /&gt;
  zcat boot.img.gz &amp;gt;/dev/sdc1&lt;br /&gt;
  mkdir /mnt/sdc1&lt;br /&gt;
  mount /dev/sdc1 /mnt/sdc1&lt;br /&gt;
  cp debian-testing-i386-netinst.iso /mnt/sdc1&lt;br /&gt;
&lt;br /&gt;
The boot stick will use the network to install the package but a more complete ISO image can be dowloaded.&lt;br /&gt;
&lt;br /&gt;
The wifi will not work (see [[Installing_Debian_on_an_X200]]) but the Ethernet card will. In theory it should be possible build custom Debian Live USB stick, using the latest package and install from there, I didn't manage so far.&lt;br /&gt;
&lt;br /&gt;
== Sid installation ==&lt;br /&gt;
&lt;br /&gt;
To install sid use the expert installation support and choose unstable for the repository.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Backup hard drive data ==&lt;br /&gt;
&lt;br /&gt;
In order to save the hard drive content, I created complete hard drive image on another hard disk. During the installation procedure I activated another shell with CTRL-ALT-F3, mounted an external HD (/dev/sdb1) and copied the image with:&lt;br /&gt;
&lt;br /&gt;
  mkdir /mnt/sdb1&lt;br /&gt;
  mount /dev/sdb1 /mnt/sdb1/&lt;br /&gt;
  dd if=/dev/sda of=/mnt/sdb1/sda-image&lt;br /&gt;
&lt;br /&gt;
In principle partimage is better option but the installation image does not have it. Also gzipping the partition on the fly would have bin better, but the gzip or bzip2 were not present. Using a custom Debian Live installation image would solve the problem.&lt;br /&gt;
&lt;br /&gt;
== Kernel ==&lt;br /&gt;
&lt;br /&gt;
Some kernel options here for /boot/grub/menu.lst:&lt;br /&gt;
  &lt;br /&gt;
  # kopt=root=/dev/sda1 ro acpi_sleep=s3_bios vga=0x0368 video=vesafb&lt;br /&gt;
&lt;br /&gt;
Update the real items using&lt;br /&gt;
  &lt;br /&gt;
  update-grub&lt;br /&gt;
&lt;br /&gt;
== Video ==&lt;br /&gt;
&lt;br /&gt;
Intel drivers are still bad. The one I found working are&lt;br /&gt;
&lt;br /&gt;
  xserver-xorg-video-intel_2.6.1-1ubuntu4_i386.deb&lt;br /&gt;
&lt;br /&gt;
that works on sid as well. Some options are necessary in xorg.conf:&lt;br /&gt;
&lt;br /&gt;
  $ awk '!/#/ {print &amp;quot; &amp;quot;,$0}' /etc/X11/xorg.conf&lt;br /&gt;
  Section &amp;quot;Screen&amp;quot;&lt;br /&gt;
          Identifier      &amp;quot;Default Screen&amp;quot;&lt;br /&gt;
          Monitor         &amp;quot;Configured Monitor&amp;quot;&lt;br /&gt;
          Defaultdepth    24&lt;br /&gt;
          SubSection &amp;quot;Display&amp;quot;&lt;br /&gt;
                   Modes           &amp;quot;1280x800&amp;quot;&lt;br /&gt;
                   Virtual    2560 1280&lt;br /&gt;
          EndSubSection&lt;br /&gt;
  EndSection&lt;br /&gt;
  &lt;br /&gt;
  &lt;br /&gt;
  Section &amp;quot;Monitor&amp;quot;&lt;br /&gt;
          Identifier      &amp;quot;Configured Monitor&amp;quot;&lt;br /&gt;
          DisplaySize     231 233.5&lt;br /&gt;
  EndSection&lt;br /&gt;
   &lt;br /&gt;
  Section &amp;quot;Monitor&amp;quot;&lt;br /&gt;
          Identifier      &amp;quot;HDMI-1&amp;quot;&lt;br /&gt;
          Option          &amp;quot;Ignore&amp;quot; &amp;quot;True&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
   &lt;br /&gt;
  Section &amp;quot;Monitor&amp;quot;&lt;br /&gt;
          Identifier      &amp;quot;HDMI-2&amp;quot;&lt;br /&gt;
          Option          &amp;quot;Ignore&amp;quot; &amp;quot;True&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
  &lt;br /&gt;
  Section &amp;quot;Device&amp;quot;&lt;br /&gt;
          Identifier      &amp;quot;Configured Video Device&amp;quot;&lt;br /&gt;
            Driver          &amp;quot;intel&amp;quot;&lt;br /&gt;
          Option          &amp;quot;monitor-HDMI-1&amp;quot; &amp;quot;HDMI-1&amp;quot;&lt;br /&gt;
          Option          &amp;quot;monitor-HDMI-2&amp;quot; &amp;quot;HDMI-2&amp;quot;&lt;br /&gt;
    Option &amp;quot;AccelMethod&amp;quot; &amp;quot;EXA&amp;quot;&lt;br /&gt;
    Option &amp;quot;ExaNoComposite&amp;quot; &amp;quot;false&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
&lt;br /&gt;
== Fonts ==&lt;br /&gt;
&lt;br /&gt;
Default fonts are a bit ugly. Things get better by creating some symbolic link:&lt;br /&gt;
&lt;br /&gt;
  cd /etc/fonts/conf.d&lt;br /&gt;
  ln -s ../conf.avail/10-autohint.conf&lt;br /&gt;
  ln -s ../conf.avail/10-sub-pixel-rgb.conf&lt;br /&gt;
  ln -s ../conf.avail/70-no-bitmaps.conf&lt;br /&gt;
&lt;br /&gt;
For GTK and Firefox&lt;br /&gt;
&lt;br /&gt;
Fonts size are too large. Solution:&lt;br /&gt;
  $cat ~/.gtkrc-2.0&lt;br /&gt;
  # -- THEME AUTO-WRITTEN DO NOT EDIT&lt;br /&gt;
  include &amp;quot;/usr/share/themes/Industrial/gtk-2.0/gtkrc&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  include &amp;quot;/home/rdemaria/.gtkrc-2.0.mine&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  # -- THEME AUTO-WRITTEN DO NOT EDIT&lt;br /&gt;
&lt;br /&gt;
  $cat ~/.gtkrc-2.0.mine&lt;br /&gt;
  gtk-font-name = &amp;quot;Sans 8&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Bold font are also ugly on xvrt (in xterm the bold font control seems always broken). See below for the solution.&lt;br /&gt;
&lt;br /&gt;
== Terminal ==&lt;br /&gt;
&lt;br /&gt;
I tried several terminals. But I found rxvt-unicode the easiest and fastest. This resources allow 4 terminals in one window. Bold font (unreadable to me) are disabled.&lt;br /&gt;
  $cat ~/.Xresources&lt;br /&gt;
  rxvt*cutchars: \$:[]&lt;br /&gt;
  rxvt*visualBell: true&lt;br /&gt;
  rxvt*foreground: white&lt;br /&gt;
  rxvt*background: black&lt;br /&gt;
  rxvt*geometry: 80x27&lt;br /&gt;
  rxvt*jumpScroll: true&lt;br /&gt;
  rxvt*skipScroll: true&lt;br /&gt;
  rxvt*scrollBar: false&lt;br /&gt;
  rxvt*boldFont:&lt;br /&gt;
  rxvt*boldItalicFont:&lt;br /&gt;
  rxvt*saveLines: 9096&lt;br /&gt;
  rxvt*mouseWheelScrollPage: false&lt;br /&gt;
&lt;br /&gt;
== Wifi ==&lt;br /&gt;
&lt;br /&gt;
Put in the /etc/apt/source.list&lt;br /&gt;
&lt;br /&gt;
  deb http://kernel-archive.buildserver.net/debian-kernel trunk main &lt;br /&gt;
&lt;br /&gt;
Installed linux-image-2.6.27-1 and firmware&lt;br /&gt;
&lt;br /&gt;
  wget http://intellinuxwireless.org/iwlwifi/downloads/iwlwifi-5000-ucode-5.4.A.11.tar.gz&lt;br /&gt;
  tar xvfz iwlwifi-5000-ucode-5.4.A.11.tar.gz&lt;br /&gt;
  cp  iwlwifi-5000-ucode-5.4.A.11/iwlwifi-5000-1.ucode /lib/firmware&lt;br /&gt;
  aptitude install linux-image-2.6.27-1-686 hal&lt;br /&gt;
&lt;br /&gt;
== Suspend ==&lt;br /&gt;
&lt;br /&gt;
Suspend to disk works using the button Fn+F12.&lt;br /&gt;
&lt;br /&gt;
Suspend to ram (Fn+F4) does not work with sid intel driver, but works with the experimental one.&lt;br /&gt;
Using vesa driver, it works if the i915 driver is installed. I put the line:&lt;br /&gt;
  modprobe i915&lt;br /&gt;
&lt;br /&gt;
in /etc/rc.local.&lt;br /&gt;
&lt;br /&gt;
The trackpoint occasionally stops working after a resume. Apparently it is enough to move it &lt;br /&gt;
a little bit during the resume.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Sound ==&lt;br /&gt;
&lt;br /&gt;
Everything works, but in a strange way. The hardware volume control is managed by acpi&lt;br /&gt;
&lt;br /&gt;
  $ cat /proc/acpi/ibm/volume&lt;br /&gt;
  level:          8&lt;br /&gt;
  mute:           off&lt;br /&gt;
  commands:       up, down, mute&lt;br /&gt;
  commands:       level &amp;lt;level&amp;gt; (&amp;lt;level&amp;gt; is 0-15)&lt;br /&gt;
&lt;br /&gt;
The mute button is linked to the mute command, but volume up and down are passed to X with keycode 122 123. I thought that acpi was intercepting the key and send them to X using fakekey. I played in /etc/acpi/events but I didn't managed to change the behavior.&lt;br /&gt;
&lt;br /&gt;
== Skype ==&lt;br /&gt;
&lt;br /&gt;
Everything works downloading the skype version for Etch. After suspending and resuming the video does not work anymore.&lt;br /&gt;
The error message is:&lt;br /&gt;
&lt;br /&gt;
  Skype V4L2: Could not find a suitable capture format&lt;br /&gt;
&lt;br /&gt;
Several people propose to update the uvcvideo driver.&lt;br /&gt;
  svn checkout http://svn.berlios.de/svnroot/repos/linux-uvc/&lt;br /&gt;
  cd linux-uvc/linux-uvc/trunk/&lt;br /&gt;
  make&lt;br /&gt;
  make install&lt;br /&gt;
  modprobe uvcvideo&lt;br /&gt;
&lt;br /&gt;
But I didn't tried yet cause I'm still using the experimental kernel that does not come with packages for compiling modules.&lt;br /&gt;
&lt;br /&gt;
== GTK and Firefox ==&lt;br /&gt;
&lt;br /&gt;
Font size is too large. Solution:&lt;br /&gt;
  $cat /home/rdemaria/.gtkrc-2.0&lt;br /&gt;
  # -- THEME AUTO-WRITTEN DO NOT EDIT&lt;br /&gt;
  include &amp;quot;/usr/share/themes/Industrial/gtk-2.0/gtkrc&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  include &amp;quot;/home/rdemaria/.gtkrc-2.0.mine&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  # -- THEME AUTO-WRITTEN DO NOT EDIT&lt;br /&gt;
&lt;br /&gt;
  $cat /home/rdemaria/.gtkrc-2.0.mine&lt;br /&gt;
  gtk-font-name = &amp;quot;Sans 8&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== Printer and scanner ==&lt;br /&gt;
&lt;br /&gt;
Usb printer and scanner (HP Officejet J4580) works perfectly using cups, hpoj, xsane, hplib.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== RAM upgrade ==&lt;br /&gt;
&lt;br /&gt;
My X200 came with 2G of ram and 1 free slots. I bought:&lt;br /&gt;
   Crucial 2GB 204-Pin DDR3 SO-DIMM DDR3 1066 (PC3 8500) Laptop Memory Model CT25664BC1067 - Retail&lt;br /&gt;
&lt;br /&gt;
installed and replace the kernel with a bigmem one.&lt;br /&gt;
&lt;br /&gt;
== Hard disk upgrade ==&lt;br /&gt;
&lt;br /&gt;
My X200 came with a 160GB hardrive. I bought the 500GB hard drive&lt;br /&gt;
   Western Digital Scorpio Blue WD5000BEVT 500GB 5400 RPM SATA 3.0Gb/s Notebook Hard Drive - OEM&lt;br /&gt;
&lt;br /&gt;
and the adapter&lt;br /&gt;
  Link Depot USB2-SATA USB2.0 TO IDE/SATA Adapter Cable - Retail&lt;br /&gt;
&lt;br /&gt;
for transfer the data.&lt;br /&gt;
&lt;br /&gt;
I connected the new hard drive using the usb port. The drive was recognized as /dev/sdb. I create the partitions that reads:&lt;br /&gt;
&lt;br /&gt;
  $ sfdisk -d /dev/sdb&lt;br /&gt;
  # partition table of /dev/sdb&lt;br /&gt;
  unit: sectors&lt;br /&gt;
&lt;br /&gt;
  /dev/sdb1 : start=       63, size= 71553447, Id=83&lt;br /&gt;
  /dev/sdb2 : start= 71553510, size=905214555, Id= 5&lt;br /&gt;
  /dev/sdb3 : start=        0, size=        0, Id= 0&lt;br /&gt;
  /dev/sdb4 : start=        0, size=        0, Id= 0&lt;br /&gt;
  /dev/sdb5 : start= 71553573, size=894467007, Id=83&lt;br /&gt;
  /dev/sdb6 : start=966020643, size= 10747422, Id=82&lt;br /&gt;
&lt;br /&gt;
Then made the filesystem and copy the files:&lt;br /&gt;
  $ sudo mkfs.ext3 /dev/sdb1&lt;br /&gt;
  $ sudo mkfs.ext3 /dev/sdb5&lt;br /&gt;
  $ sudo mkswap    /dev/sda6&lt;br /&gt;
  $ sudo mount /mnt/sdb1&lt;br /&gt;
  $ sudo mount /mnt/sdb5&lt;br /&gt;
  $ sudo rsync -a --delete \&lt;br /&gt;
  --exclude /mnt/sdb1 \&lt;br /&gt;
  --exclude /mnt/sdb5 \&lt;br /&gt;
  --exclude /home \&lt;br /&gt;
  --exclude /proc \&lt;br /&gt;
  --exclude /sys \&lt;br /&gt;
  --exclude /lib/init/rw \&lt;br /&gt;
  --exclude /dev \&lt;br /&gt;
  / /mnt/sdb1&lt;br /&gt;
  $ cd /mnt/sdb1; mkdir /home /proc /sys /lib/init/rw /dev; cd &lt;br /&gt;
  $ sudo rsync -a /home/ /mnt/sdb5&lt;br /&gt;
  $ sudo umount /mnt/sdb5; sudo umount /mnt/sdb1&lt;br /&gt;
&lt;br /&gt;
Finally install grub&lt;br /&gt;
  $ sudo grub --no-floppy&lt;br /&gt;
  $ geometry (hd1)&lt;br /&gt;
  &amp;gt; root (hd1,0)&lt;br /&gt;
  &amp;gt; setup (hd1)&lt;br /&gt;
  &amp;gt; quit&lt;br /&gt;
&lt;br /&gt;
and replace the disk. (I tried to boot from the usb to check the new hard drive, but I messed up the old installation...)&lt;br /&gt;
&lt;br /&gt;
For some reason the suspend to disk was not working anymore. But &lt;br /&gt;
  $ sudo aptitude reinstall uswsusp&lt;br /&gt;
fixed the problem answering yes to use the swap disk.&lt;br /&gt;
&lt;br /&gt;
== Keyboard ==&lt;br /&gt;
&lt;br /&gt;
In recent versions of xserver (as of version 1.4.0.90-7) keyboard-layout is handled by hal, so settings done will be overridden. Settings should be put in:&lt;br /&gt;
&lt;br /&gt;
   /etc/default/console-setup&lt;br /&gt;
&lt;br /&gt;
For a double layout us, us(intl) I put:&lt;br /&gt;
&lt;br /&gt;
  XKBMODEL=&amp;quot;pc104&amp;quot;&lt;br /&gt;
  XKBLAYOUT=&amp;quot;us,us(intl)&amp;quot;&lt;br /&gt;
  XKBVARIANT=&amp;quot;&amp;quot;&lt;br /&gt;
  XKBOPTIONS=&amp;quot;compose(lwin),compose(rwin),grp:shifts_toggle,grp_led:scroll&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== Special keys ==&lt;br /&gt;
&lt;br /&gt;
Some keys are intercepted by X Windows. The keycodes are&lt;br /&gt;
&lt;br /&gt;
  151 XF86WakeUp Fn&lt;br /&gt;
  167 XF86Forward&lt;br /&gt;
  166 XF86Back&lt;br /&gt;
  122 XF86AudioLower&lt;br /&gt;
  123 XF86AudioRaiseVolume&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Mute switch the hardware volume which is not controlled by ALSA.&lt;br /&gt;
&lt;br /&gt;
ACPI links suspend to ram and to disc to Fn+F4 and Fn+F12 respectively. Screen brightness, thinklight, bluetooth works as well.&lt;br /&gt;
&lt;br /&gt;
In fluxbox I used for:&lt;br /&gt;
&lt;br /&gt;
  &amp;quot;.fluxbox/keys&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
  Menu  :Exec rxvt&lt;br /&gt;
  Shift Menu :Exec fbrun&lt;br /&gt;
  XF86Forward  :NextWorkspace&lt;br /&gt;
  XF86Back  :PrevWorkspace&lt;br /&gt;
  F86AudioRaiseVolume :Exec amixer sset Master,0 1+&lt;br /&gt;
  XF86AudioLowerVolume :Exec amixer sset Master,0 1-&lt;br /&gt;
&lt;br /&gt;
== Trackpoint ==&lt;br /&gt;
&lt;br /&gt;
As for the keyboard, options are not handled anymore from xorg.cong. To enable scrooling edit:&lt;br /&gt;
&lt;br /&gt;
  /etc/hal/fdi/policy/mouse-wheel.fdi&lt;br /&gt;
&lt;br /&gt;
as&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;match key=&amp;quot;info.product&amp;quot; string=&amp;quot;TPPS/2 IBM TrackPoint&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheel&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheelButton&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;2&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheelTimeout&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;250&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;merge key=&amp;quot;input.x11_options.XAxisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;6 7&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;merge key=&amp;quot;input.x11_options.YAxisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;4 5&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;merge key=&amp;quot;input.x11_options.ZAxsisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;4 5&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;merge key=&amp;quot;input.x11_options.Emulate3Buttons&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;/match&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== TO BE CONTINUED ==&lt;/div&gt;</summary>
		<author><name>Rdemaria</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Debian_Sid_(October_2008)_on_a_ThinkPad_X200&amp;diff=44060</id>
		<title>Installing Debian Sid (October 2008) on a ThinkPad X200</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Debian_Sid_(October_2008)_on_a_ThinkPad_X200&amp;diff=44060"/>
		<updated>2009-09-05T12:23:04Z</updated>

		<summary type="html">&lt;p&gt;Rdemaria: /* Sound */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
Amazing machine: light, quiet, large battery life, ideal for travels, great value for money compared to X200T and X300.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Creating installation device ==&lt;br /&gt;
&lt;br /&gt;
The X200 has no cd/dvd but can boot from USB. On the X200 BIOS settings, the USB disk boot option needed to be raised to be used first. Using F1 at boot gives access to the BIOS.&lt;br /&gt;
&lt;br /&gt;
I created an USB bootable iso from another linux installation.&lt;br /&gt;
I had an usb stick with a FAT32 partition on /dev/sdc1. I dowloaded the boot and iso file and installed the image&lt;br /&gt;
using:&lt;br /&gt;
&lt;br /&gt;
  wget http://people.debian.org/~joeyh/d-i/images/daily/hd-media/boot.img.gz&lt;br /&gt;
  wget http://cdimage.debian.org/cdimage/daily-builds/daily/arch-latest/i386/iso-cd/debian-testing-i386-netinst.iso&lt;br /&gt;
  zcat boot.img.gz &amp;gt;/dev/sdc1&lt;br /&gt;
  mkdir /mnt/sdc1&lt;br /&gt;
  mount /dev/sdc1 /mnt/sdc1&lt;br /&gt;
  cp debian-testing-i386-netinst.iso /mnt/sdc1&lt;br /&gt;
&lt;br /&gt;
The boot stick will use the network to install the package but a more complete ISO image can be dowloaded.&lt;br /&gt;
&lt;br /&gt;
The wifi will not work (see [[Installing_Debian_on_an_X200]]) but the Ethernet card will. In theory it should be possible build custom Debian Live USB stick, using the latest package and install from there, I didn't manage so far.&lt;br /&gt;
&lt;br /&gt;
== Sid installation ==&lt;br /&gt;
&lt;br /&gt;
To install sid use the expert installation support and choose unstable for the repository.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Backup hard drive data ==&lt;br /&gt;
&lt;br /&gt;
In order to save the hard drive content, I created complete hard drive image on another hard disk. During the installation procedure I activated another shell with CTRL-ALT-F3, mounted an external HD (/dev/sdb1) and copied the image with:&lt;br /&gt;
&lt;br /&gt;
  mkdir /mnt/sdb1&lt;br /&gt;
  mount /dev/sdb1 /mnt/sdb1/&lt;br /&gt;
  dd if=/dev/sda of=/mnt/sdb1/sda-image&lt;br /&gt;
&lt;br /&gt;
In principle partimage is better option but the installation image does not have it. Also gzipping the partition on the fly would have bin better, but the gzip or bzip2 were not present. Using a custom Debian Live installation image would solve the problem.&lt;br /&gt;
&lt;br /&gt;
== Kernel ==&lt;br /&gt;
&lt;br /&gt;
Some kernel options here for /boot/grub/menu.lst:&lt;br /&gt;
  &lt;br /&gt;
  # kopt=root=/dev/sda1 ro acpi_sleep=s3_bios vga=0x0368 video=vesafb&lt;br /&gt;
&lt;br /&gt;
Update the real items using&lt;br /&gt;
  &lt;br /&gt;
  update-grub&lt;br /&gt;
&lt;br /&gt;
== Video ==&lt;br /&gt;
&lt;br /&gt;
Intel drivers are still bad. The one I found working are&lt;br /&gt;
&lt;br /&gt;
  xserver-xorg-video-intel_2.6.1-1ubuntu4_i386.deb&lt;br /&gt;
&lt;br /&gt;
that works on sid as well. Some options are necessary in xorg.conf:&lt;br /&gt;
&lt;br /&gt;
  $ awk '!/#/ {print &amp;quot; &amp;quot;,$0}' /etc/X11/xorg.conf&lt;br /&gt;
  Section &amp;quot;Screen&amp;quot;&lt;br /&gt;
          Identifier      &amp;quot;Default Screen&amp;quot;&lt;br /&gt;
          Monitor         &amp;quot;Configured Monitor&amp;quot;&lt;br /&gt;
          Defaultdepth    24&lt;br /&gt;
          SubSection &amp;quot;Display&amp;quot;&lt;br /&gt;
                   Modes           &amp;quot;1280x800&amp;quot;&lt;br /&gt;
                   Virtual    2560 1280&lt;br /&gt;
          EndSubSection&lt;br /&gt;
  EndSection&lt;br /&gt;
  &lt;br /&gt;
  &lt;br /&gt;
  Section &amp;quot;Monitor&amp;quot;&lt;br /&gt;
          Identifier      &amp;quot;Configured Monitor&amp;quot;&lt;br /&gt;
          DisplaySize     231 233.5&lt;br /&gt;
  EndSection&lt;br /&gt;
   &lt;br /&gt;
  Section &amp;quot;Monitor&amp;quot;&lt;br /&gt;
          Identifier      &amp;quot;HDMI-1&amp;quot;&lt;br /&gt;
          Option          &amp;quot;Ignore&amp;quot; &amp;quot;True&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
   &lt;br /&gt;
  Section &amp;quot;Monitor&amp;quot;&lt;br /&gt;
          Identifier      &amp;quot;HDMI-2&amp;quot;&lt;br /&gt;
          Option          &amp;quot;Ignore&amp;quot; &amp;quot;True&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
  &lt;br /&gt;
  Section &amp;quot;Device&amp;quot;&lt;br /&gt;
          Identifier      &amp;quot;Configured Video Device&amp;quot;&lt;br /&gt;
            Driver          &amp;quot;intel&amp;quot;&lt;br /&gt;
          Option          &amp;quot;monitor-HDMI-1&amp;quot; &amp;quot;HDMI-1&amp;quot;&lt;br /&gt;
          Option          &amp;quot;monitor-HDMI-2&amp;quot; &amp;quot;HDMI-2&amp;quot;&lt;br /&gt;
    Option &amp;quot;AccelMethod&amp;quot; &amp;quot;EXA&amp;quot;&lt;br /&gt;
    Option &amp;quot;ExaNoComposite&amp;quot; &amp;quot;false&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
&lt;br /&gt;
== Fonts ==&lt;br /&gt;
&lt;br /&gt;
Default fonts are a bit ugly. Things get better by creating some symbolic link:&lt;br /&gt;
&lt;br /&gt;
  cd /etc/fonts/conf.d&lt;br /&gt;
  ln -s ../conf.avail/10-autohint.conf&lt;br /&gt;
  ln -s ../conf.avail/10-sub-pixel-rgb.conf&lt;br /&gt;
  ln -s ../conf.avail/70-no-bitmaps.conf&lt;br /&gt;
&lt;br /&gt;
For GTK and Firefox&lt;br /&gt;
&lt;br /&gt;
Fonts size are too large. Solution:&lt;br /&gt;
  $cat ~/.gtkrc-2.0&lt;br /&gt;
  # -- THEME AUTO-WRITTEN DO NOT EDIT&lt;br /&gt;
  include &amp;quot;/usr/share/themes/Industrial/gtk-2.0/gtkrc&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  include &amp;quot;/home/rdemaria/.gtkrc-2.0.mine&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  # -- THEME AUTO-WRITTEN DO NOT EDIT&lt;br /&gt;
&lt;br /&gt;
  $cat ~/.gtkrc-2.0.mine&lt;br /&gt;
  gtk-font-name = &amp;quot;Sans 8&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Bold font are also ugly on xvrt (in xterm the bold font control seems always broken). See below for the solution.&lt;br /&gt;
&lt;br /&gt;
== Terminal ==&lt;br /&gt;
&lt;br /&gt;
I tried several terminals. But I found rxvt-unicode the easiest and fastest. This resources allow 4 terminals in one window. Bold font (unreadable to me) are disabled.&lt;br /&gt;
  $cat ~/.Xresources&lt;br /&gt;
  rxvt*cutchars: \$:[]&lt;br /&gt;
  rxvt*visualBell: true&lt;br /&gt;
  rxvt*foreground: white&lt;br /&gt;
  rxvt*background: black&lt;br /&gt;
  rxvt*geometry: 80x27&lt;br /&gt;
  rxvt*jumpScroll: true&lt;br /&gt;
  rxvt*skipScroll: true&lt;br /&gt;
  rxvt*scrollBar: false&lt;br /&gt;
  rxvt*boldFont:&lt;br /&gt;
  rxvt*boldItalicFont:&lt;br /&gt;
  rxvt*saveLines: 9096&lt;br /&gt;
  rxvt*mouseWheelScrollPage: false&lt;br /&gt;
&lt;br /&gt;
== Wifi ==&lt;br /&gt;
&lt;br /&gt;
Put in the /etc/apt/source.list&lt;br /&gt;
&lt;br /&gt;
  deb http://kernel-archive.buildserver.net/debian-kernel trunk main &lt;br /&gt;
&lt;br /&gt;
Installed linux-image-2.6.27-1 and firmware&lt;br /&gt;
&lt;br /&gt;
  wget http://intellinuxwireless.org/iwlwifi/downloads/iwlwifi-5000-ucode-5.4.A.11.tar.gz&lt;br /&gt;
  tar xvfz iwlwifi-5000-ucode-5.4.A.11.tar.gz&lt;br /&gt;
  cp  iwlwifi-5000-ucode-5.4.A.11/iwlwifi-5000-1.ucode /lib/firmware&lt;br /&gt;
  aptitude install linux-image-2.6.27-1-686 hal&lt;br /&gt;
&lt;br /&gt;
== Suspend ==&lt;br /&gt;
&lt;br /&gt;
Suspend to disk works using the button Fn+F12.&lt;br /&gt;
&lt;br /&gt;
Suspend to ram (Fn+F4) does not work with sid intel driver, but works with the experimental one.&lt;br /&gt;
Using vesa driver, it works if the i915 driver is installed. I put the line:&lt;br /&gt;
  modprobe i915&lt;br /&gt;
&lt;br /&gt;
in /etc/rc.local.&lt;br /&gt;
&lt;br /&gt;
The trackpoint occasionally stops working after a resume. Apparently it is enough to move it &lt;br /&gt;
a little bit during the resume.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Sound ==&lt;br /&gt;
&lt;br /&gt;
Everything works, but in a strange way. The hardware volume control is managed by acpi&lt;br /&gt;
&lt;br /&gt;
  $ cat /proc/acpi/ibm/volume&lt;br /&gt;
  level:          8&lt;br /&gt;
  mute:           off&lt;br /&gt;
  commands:       up, down, mute&lt;br /&gt;
  commands:       level &amp;lt;level&amp;gt; (&amp;lt;level&amp;gt; is 0-15)&lt;br /&gt;
&lt;br /&gt;
The mute button is linked to the mute command, but volume up and down are passed to X with keycode 122 123. I thought that acpi was intercepting the key and send them to X using fakekey. I played in /etc/acpi/events but I didn't managed to change the behavior.&lt;br /&gt;
&lt;br /&gt;
== Skype ==&lt;br /&gt;
&lt;br /&gt;
Everything works downloading the skype version for Etch. After suspending and resuming the video does not work anymore.&lt;br /&gt;
The error message is:&lt;br /&gt;
&lt;br /&gt;
  Skype V4L2: Could not find a suitable capture format&lt;br /&gt;
&lt;br /&gt;
Several people propose to update the uvcvideo driver.&lt;br /&gt;
  svn checkout http://svn.berlios.de/svnroot/repos/linux-uvc/&lt;br /&gt;
  cd linux-uvc/linux-uvc/trunk/&lt;br /&gt;
  make&lt;br /&gt;
  make install&lt;br /&gt;
  modprobe uvcvideo&lt;br /&gt;
&lt;br /&gt;
But I didn't tried yet cause I'm still using the experimental kernel that does not come with packages for compiling modules.&lt;br /&gt;
&lt;br /&gt;
== GTK and Firefox ==&lt;br /&gt;
&lt;br /&gt;
Font size is too large. Solution:&lt;br /&gt;
  $cat /home/rdemaria/.gtkrc-2.0&lt;br /&gt;
  # -- THEME AUTO-WRITTEN DO NOT EDIT&lt;br /&gt;
  include &amp;quot;/usr/share/themes/Industrial/gtk-2.0/gtkrc&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  include &amp;quot;/home/rdemaria/.gtkrc-2.0.mine&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  # -- THEME AUTO-WRITTEN DO NOT EDIT&lt;br /&gt;
&lt;br /&gt;
  $cat /home/rdemaria/.gtkrc-2.0.mine&lt;br /&gt;
  gtk-font-name = &amp;quot;Sans 8&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== Printer and scanner ==&lt;br /&gt;
&lt;br /&gt;
Usb printer and scanner (HP Officejet J4580) works perfectly using cups, hpoj, xsane, hplib.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== RAM upgrade ==&lt;br /&gt;
&lt;br /&gt;
My X200 came with 2G of ram and 1 free slots. I bought:&lt;br /&gt;
   Crucial 2GB 204-Pin DDR3 SO-DIMM DDR3 1066 (PC3 8500) Laptop Memory Model CT25664BC1067 - Retail&lt;br /&gt;
&lt;br /&gt;
installed and replace the kernel with a bigmem one.&lt;br /&gt;
&lt;br /&gt;
== Hard disk upgrade ==&lt;br /&gt;
&lt;br /&gt;
My X200 came with a 160GB hardrive. I bought the 500GB hard drive&lt;br /&gt;
   Western Digital Scorpio Blue WD5000BEVT 500GB 5400 RPM SATA 3.0Gb/s Notebook Hard Drive - OEM&lt;br /&gt;
&lt;br /&gt;
and the adapter&lt;br /&gt;
  Link Depot USB2-SATA USB2.0 TO IDE/SATA Adapter Cable - Retail&lt;br /&gt;
&lt;br /&gt;
for transfer the data.&lt;br /&gt;
&lt;br /&gt;
I connected the new hard drive using the usb port. The drive was recognized as /dev/sdb. I create the partitions that reads:&lt;br /&gt;
&lt;br /&gt;
  $ sfdisk -d /dev/sdb&lt;br /&gt;
  # partition table of /dev/sdb&lt;br /&gt;
  unit: sectors&lt;br /&gt;
&lt;br /&gt;
  /dev/sdb1 : start=       63, size= 71553447, Id=83&lt;br /&gt;
  /dev/sdb2 : start= 71553510, size=905214555, Id= 5&lt;br /&gt;
  /dev/sdb3 : start=        0, size=        0, Id= 0&lt;br /&gt;
  /dev/sdb4 : start=        0, size=        0, Id= 0&lt;br /&gt;
  /dev/sdb5 : start= 71553573, size=894467007, Id=83&lt;br /&gt;
  /dev/sdb6 : start=966020643, size= 10747422, Id=82&lt;br /&gt;
&lt;br /&gt;
Then made the filesystem and copy the files:&lt;br /&gt;
  $ sudo mkfs.ext3 /dev/sdb1&lt;br /&gt;
  $ sudo mkfs.ext3 /dev/sdb5&lt;br /&gt;
  $ sudo mkswap    /dev/sda6&lt;br /&gt;
  $ sudo mount /mnt/sdb1&lt;br /&gt;
  $ sudo mount /mnt/sdb5&lt;br /&gt;
  $ sudo rsync -a --delete \&lt;br /&gt;
  --exclude /mnt/sdb1 \&lt;br /&gt;
  --exclude /mnt/sdb5 \&lt;br /&gt;
  --exclude /home \&lt;br /&gt;
  --exclude /proc \&lt;br /&gt;
  --exclude /sys \&lt;br /&gt;
  --exclude /lib/init/rw \&lt;br /&gt;
  --exclude /dev \&lt;br /&gt;
  / /mnt/sdb1&lt;br /&gt;
  $ cd /mnt/sdb1; mkdir /home /proc /sys /lib/init/rw /dev; cd &lt;br /&gt;
  $ sudo rsync -a /home/ /mnt/sdb5&lt;br /&gt;
  $ sudo umount /mnt/sdb5; sudo umount /mnt/sdb1&lt;br /&gt;
&lt;br /&gt;
Finally install grub&lt;br /&gt;
  $ sudo grub --no-floppy&lt;br /&gt;
  $ geometry (hd1)&lt;br /&gt;
  &amp;gt; root (hd1,0)&lt;br /&gt;
  &amp;gt; setup (hd1)&lt;br /&gt;
  &amp;gt; quit&lt;br /&gt;
&lt;br /&gt;
and replace the disk. (I tried to boot from the usb to check the new hard drive, but I messed up the old installation...)&lt;br /&gt;
&lt;br /&gt;
For some reason the suspend to disk was not working anymore. But &lt;br /&gt;
  $ sudo aptitude reinstall uswsusp&lt;br /&gt;
fixed the problem answering yes to use the swap disk.&lt;br /&gt;
&lt;br /&gt;
== Keyboard ==&lt;br /&gt;
&lt;br /&gt;
In recent versions of xserver (as of version 1.4.0.90-7) keyboard-layout is handled by hal, so settings done will be overridden. Settings should be put in:&lt;br /&gt;
&lt;br /&gt;
   /etc/default/console-setup&lt;br /&gt;
&lt;br /&gt;
For a double layout us, us(intl) I put:&lt;br /&gt;
&lt;br /&gt;
  XKBMODEL=&amp;quot;pc104&amp;quot;&lt;br /&gt;
  XKBLAYOUT=&amp;quot;us,us(intl)&amp;quot;&lt;br /&gt;
  XKBVARIANT=&amp;quot;&amp;quot;&lt;br /&gt;
  XKBOPTIONS=&amp;quot;compose(lwin),compose(rwin),grp:shifts_toggle,grp_led:scroll&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== Special keys ==&lt;br /&gt;
&lt;br /&gt;
Some keys are intercepted by X Windows. The keycodes are&lt;br /&gt;
&lt;br /&gt;
  151 XF86WakeUp Fn&lt;br /&gt;
  167 XF86Forward&lt;br /&gt;
  166 XF86Back&lt;br /&gt;
  122 XF86AudioLower&lt;br /&gt;
  123 XF86AudioRaiseVolume&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Mute switch the hardware volume which is not controlled by ALSA.&lt;br /&gt;
&lt;br /&gt;
ACPI links suspend to ram and to disc to Fn+F4 and Fn+F12 respectively. Screen brightness, thinklight, bluetooth works as well.&lt;br /&gt;
&lt;br /&gt;
In fluxbox I used for:&lt;br /&gt;
&lt;br /&gt;
  &amp;quot;.fluxbox/keys&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
  Menu  :Exec rxvt&lt;br /&gt;
  Shift Menu :Exec fbrun&lt;br /&gt;
  XF86Forward  :NextWorkspace&lt;br /&gt;
  XF86Back  :PrevWorkspace&lt;br /&gt;
&lt;br /&gt;
== Trackpoint ==&lt;br /&gt;
&lt;br /&gt;
As for the keyboard, options are not handled anymore from xorg.cong. To enable scrooling edit:&lt;br /&gt;
&lt;br /&gt;
  /etc/hal/fdi/policy/mouse-wheel.fdi&lt;br /&gt;
&lt;br /&gt;
as&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;match key=&amp;quot;info.product&amp;quot; string=&amp;quot;TPPS/2 IBM TrackPoint&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheel&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheelButton&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;2&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheelTimeout&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;250&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;merge key=&amp;quot;input.x11_options.XAxisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;6 7&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;merge key=&amp;quot;input.x11_options.YAxisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;4 5&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;merge key=&amp;quot;input.x11_options.ZAxsisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;4 5&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;merge key=&amp;quot;input.x11_options.Emulate3Buttons&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;/match&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== TO BE CONTINUED ==&lt;/div&gt;</summary>
		<author><name>Rdemaria</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Debian_Sid_(October_2008)_on_a_ThinkPad_X200&amp;diff=44054</id>
		<title>Installing Debian Sid (October 2008) on a ThinkPad X200</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Debian_Sid_(October_2008)_on_a_ThinkPad_X200&amp;diff=44054"/>
		<updated>2009-09-02T08:17:48Z</updated>

		<summary type="html">&lt;p&gt;Rdemaria: /* Video */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
Amazing machine: light, quiet, large battery life, ideal for travels, great value for money compared to X200T and X300.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Creating installation device ==&lt;br /&gt;
&lt;br /&gt;
The X200 has no cd/dvd but can boot from USB. On the X200 BIOS settings, the USB disk boot option needed to be raised to be used first. Using F1 at boot gives access to the BIOS.&lt;br /&gt;
&lt;br /&gt;
I created an USB bootable iso from another linux installation.&lt;br /&gt;
I had an usb stick with a FAT32 partition on /dev/sdc1. I dowloaded the boot and iso file and installed the image&lt;br /&gt;
using:&lt;br /&gt;
&lt;br /&gt;
  wget http://people.debian.org/~joeyh/d-i/images/daily/hd-media/boot.img.gz&lt;br /&gt;
  wget http://cdimage.debian.org/cdimage/daily-builds/daily/arch-latest/i386/iso-cd/debian-testing-i386-netinst.iso&lt;br /&gt;
  zcat boot.img.gz &amp;gt;/dev/sdc1&lt;br /&gt;
  mkdir /mnt/sdc1&lt;br /&gt;
  mount /dev/sdc1 /mnt/sdc1&lt;br /&gt;
  cp debian-testing-i386-netinst.iso /mnt/sdc1&lt;br /&gt;
&lt;br /&gt;
The boot stick will use the network to install the package but a more complete ISO image can be dowloaded.&lt;br /&gt;
&lt;br /&gt;
The wifi will not work (see [[Installing_Debian_on_an_X200]]) but the Ethernet card will. In theory it should be possible build custom Debian Live USB stick, using the latest package and install from there, I didn't manage so far.&lt;br /&gt;
&lt;br /&gt;
== Sid installation ==&lt;br /&gt;
&lt;br /&gt;
To install sid use the expert installation support and choose unstable for the repository.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Backup hard drive data ==&lt;br /&gt;
&lt;br /&gt;
In order to save the hard drive content, I created complete hard drive image on another hard disk. During the installation procedure I activated another shell with CTRL-ALT-F3, mounted an external HD (/dev/sdb1) and copied the image with:&lt;br /&gt;
&lt;br /&gt;
  mkdir /mnt/sdb1&lt;br /&gt;
  mount /dev/sdb1 /mnt/sdb1/&lt;br /&gt;
  dd if=/dev/sda of=/mnt/sdb1/sda-image&lt;br /&gt;
&lt;br /&gt;
In principle partimage is better option but the installation image does not have it. Also gzipping the partition on the fly would have bin better, but the gzip or bzip2 were not present. Using a custom Debian Live installation image would solve the problem.&lt;br /&gt;
&lt;br /&gt;
== Kernel ==&lt;br /&gt;
&lt;br /&gt;
Some kernel options here for /boot/grub/menu.lst:&lt;br /&gt;
  &lt;br /&gt;
  # kopt=root=/dev/sda1 ro acpi_sleep=s3_bios vga=0x0368 video=vesafb&lt;br /&gt;
&lt;br /&gt;
Update the real items using&lt;br /&gt;
  &lt;br /&gt;
  update-grub&lt;br /&gt;
&lt;br /&gt;
== Video ==&lt;br /&gt;
&lt;br /&gt;
Intel drivers are still bad. The one I found working are&lt;br /&gt;
&lt;br /&gt;
  xserver-xorg-video-intel_2.6.1-1ubuntu4_i386.deb&lt;br /&gt;
&lt;br /&gt;
that works on sid as well. Some options are necessary in xorg.conf:&lt;br /&gt;
&lt;br /&gt;
  $ awk '!/#/ {print &amp;quot; &amp;quot;,$0}' /etc/X11/xorg.conf&lt;br /&gt;
  Section &amp;quot;Screen&amp;quot;&lt;br /&gt;
          Identifier      &amp;quot;Default Screen&amp;quot;&lt;br /&gt;
          Monitor         &amp;quot;Configured Monitor&amp;quot;&lt;br /&gt;
          Defaultdepth    24&lt;br /&gt;
          SubSection &amp;quot;Display&amp;quot;&lt;br /&gt;
                   Modes           &amp;quot;1280x800&amp;quot;&lt;br /&gt;
                   Virtual    2560 1280&lt;br /&gt;
          EndSubSection&lt;br /&gt;
  EndSection&lt;br /&gt;
  &lt;br /&gt;
  &lt;br /&gt;
  Section &amp;quot;Monitor&amp;quot;&lt;br /&gt;
          Identifier      &amp;quot;Configured Monitor&amp;quot;&lt;br /&gt;
          DisplaySize     231 233.5&lt;br /&gt;
  EndSection&lt;br /&gt;
   &lt;br /&gt;
  Section &amp;quot;Monitor&amp;quot;&lt;br /&gt;
          Identifier      &amp;quot;HDMI-1&amp;quot;&lt;br /&gt;
          Option          &amp;quot;Ignore&amp;quot; &amp;quot;True&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
   &lt;br /&gt;
  Section &amp;quot;Monitor&amp;quot;&lt;br /&gt;
          Identifier      &amp;quot;HDMI-2&amp;quot;&lt;br /&gt;
          Option          &amp;quot;Ignore&amp;quot; &amp;quot;True&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
  &lt;br /&gt;
  Section &amp;quot;Device&amp;quot;&lt;br /&gt;
          Identifier      &amp;quot;Configured Video Device&amp;quot;&lt;br /&gt;
            Driver          &amp;quot;intel&amp;quot;&lt;br /&gt;
          Option          &amp;quot;monitor-HDMI-1&amp;quot; &amp;quot;HDMI-1&amp;quot;&lt;br /&gt;
          Option          &amp;quot;monitor-HDMI-2&amp;quot; &amp;quot;HDMI-2&amp;quot;&lt;br /&gt;
    Option &amp;quot;AccelMethod&amp;quot; &amp;quot;EXA&amp;quot;&lt;br /&gt;
    Option &amp;quot;ExaNoComposite&amp;quot; &amp;quot;false&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
&lt;br /&gt;
== Fonts ==&lt;br /&gt;
&lt;br /&gt;
Default fonts are a bit ugly. Things get better by creating some symbolic link:&lt;br /&gt;
&lt;br /&gt;
  cd /etc/fonts/conf.d&lt;br /&gt;
  ln -s ../conf.avail/10-autohint.conf&lt;br /&gt;
  ln -s ../conf.avail/10-sub-pixel-rgb.conf&lt;br /&gt;
  ln -s ../conf.avail/70-no-bitmaps.conf&lt;br /&gt;
&lt;br /&gt;
For GTK and Firefox&lt;br /&gt;
&lt;br /&gt;
Fonts size are too large. Solution:&lt;br /&gt;
  $cat ~/.gtkrc-2.0&lt;br /&gt;
  # -- THEME AUTO-WRITTEN DO NOT EDIT&lt;br /&gt;
  include &amp;quot;/usr/share/themes/Industrial/gtk-2.0/gtkrc&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  include &amp;quot;/home/rdemaria/.gtkrc-2.0.mine&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  # -- THEME AUTO-WRITTEN DO NOT EDIT&lt;br /&gt;
&lt;br /&gt;
  $cat ~/.gtkrc-2.0.mine&lt;br /&gt;
  gtk-font-name = &amp;quot;Sans 8&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Bold font are also ugly on xvrt (in xterm the bold font control seems always broken). See below for the solution.&lt;br /&gt;
&lt;br /&gt;
== Terminal ==&lt;br /&gt;
&lt;br /&gt;
I tried several terminals. But I found rxvt-unicode the easiest and fastest. This resources allow 4 terminals in one window. Bold font (unreadable to me) are disabled.&lt;br /&gt;
  $cat ~/.Xresources&lt;br /&gt;
  rxvt*cutchars: \$:[]&lt;br /&gt;
  rxvt*visualBell: true&lt;br /&gt;
  rxvt*foreground: white&lt;br /&gt;
  rxvt*background: black&lt;br /&gt;
  rxvt*geometry: 80x27&lt;br /&gt;
  rxvt*jumpScroll: true&lt;br /&gt;
  rxvt*skipScroll: true&lt;br /&gt;
  rxvt*scrollBar: false&lt;br /&gt;
  rxvt*boldFont:&lt;br /&gt;
  rxvt*boldItalicFont:&lt;br /&gt;
  rxvt*saveLines: 9096&lt;br /&gt;
  rxvt*mouseWheelScrollPage: false&lt;br /&gt;
&lt;br /&gt;
== Wifi ==&lt;br /&gt;
&lt;br /&gt;
Put in the /etc/apt/source.list&lt;br /&gt;
&lt;br /&gt;
  deb http://kernel-archive.buildserver.net/debian-kernel trunk main &lt;br /&gt;
&lt;br /&gt;
Installed linux-image-2.6.27-1 and firmware&lt;br /&gt;
&lt;br /&gt;
  wget http://intellinuxwireless.org/iwlwifi/downloads/iwlwifi-5000-ucode-5.4.A.11.tar.gz&lt;br /&gt;
  tar xvfz iwlwifi-5000-ucode-5.4.A.11.tar.gz&lt;br /&gt;
  cp  iwlwifi-5000-ucode-5.4.A.11/iwlwifi-5000-1.ucode /lib/firmware&lt;br /&gt;
  aptitude install linux-image-2.6.27-1-686 hal&lt;br /&gt;
&lt;br /&gt;
== Suspend ==&lt;br /&gt;
&lt;br /&gt;
Suspend to disk works using the button Fn+F12.&lt;br /&gt;
&lt;br /&gt;
Suspend to ram (Fn+F4) does not work with sid intel driver, but works with the experimental one.&lt;br /&gt;
Using vesa driver, it works if the i915 driver is installed. I put the line:&lt;br /&gt;
  modprobe i915&lt;br /&gt;
&lt;br /&gt;
in /etc/rc.local.&lt;br /&gt;
&lt;br /&gt;
The trackpoint occasionally stops working after a resume. Apparently it is enough to move it &lt;br /&gt;
a little bit during the resume.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Sound ==&lt;br /&gt;
&lt;br /&gt;
Everything works, but in a strange way. The hardware volume control is managed by acpi&lt;br /&gt;
&lt;br /&gt;
  $ cat /proc/acpi/ibm/volume&lt;br /&gt;
  level:          8&lt;br /&gt;
  mute:           off&lt;br /&gt;
  commands:       up, down, mute&lt;br /&gt;
  commands:       level &amp;lt;level&amp;gt; (&amp;lt;level&amp;gt; is 0-15)&lt;br /&gt;
&lt;br /&gt;
The mute button is linked to the mute command, but volume up and down are passed to X with keycode 176 174. I&lt;br /&gt;
thought that acpi was intercepting the key and send them to X using fakekey. I played in /etc/acpi/events but I didn't managed to change the behavior.&lt;br /&gt;
&lt;br /&gt;
== Skype ==&lt;br /&gt;
&lt;br /&gt;
Everything works downloading the skype version for Etch. After suspending and resuming the video does not work anymore.&lt;br /&gt;
The error message is:&lt;br /&gt;
&lt;br /&gt;
  Skype V4L2: Could not find a suitable capture format&lt;br /&gt;
&lt;br /&gt;
Several people propose to update the uvcvideo driver.&lt;br /&gt;
  svn checkout http://svn.berlios.de/svnroot/repos/linux-uvc/&lt;br /&gt;
  cd linux-uvc/linux-uvc/trunk/&lt;br /&gt;
  make&lt;br /&gt;
  make install&lt;br /&gt;
  modprobe uvcvideo&lt;br /&gt;
&lt;br /&gt;
But I didn't tried yet cause I'm still using the experimental kernel that does not come with packages for compiling modules.&lt;br /&gt;
&lt;br /&gt;
== GTK and Firefox ==&lt;br /&gt;
&lt;br /&gt;
Font size is too large. Solution:&lt;br /&gt;
  $cat /home/rdemaria/.gtkrc-2.0&lt;br /&gt;
  # -- THEME AUTO-WRITTEN DO NOT EDIT&lt;br /&gt;
  include &amp;quot;/usr/share/themes/Industrial/gtk-2.0/gtkrc&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  include &amp;quot;/home/rdemaria/.gtkrc-2.0.mine&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  # -- THEME AUTO-WRITTEN DO NOT EDIT&lt;br /&gt;
&lt;br /&gt;
  $cat /home/rdemaria/.gtkrc-2.0.mine&lt;br /&gt;
  gtk-font-name = &amp;quot;Sans 8&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== Printer and scanner ==&lt;br /&gt;
&lt;br /&gt;
Usb printer and scanner (HP Officejet J4580) works perfectly using cups, hpoj, xsane, hplib.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== RAM upgrade ==&lt;br /&gt;
&lt;br /&gt;
My X200 came with 2G of ram and 1 free slots. I bought:&lt;br /&gt;
   Crucial 2GB 204-Pin DDR3 SO-DIMM DDR3 1066 (PC3 8500) Laptop Memory Model CT25664BC1067 - Retail&lt;br /&gt;
&lt;br /&gt;
installed and replace the kernel with a bigmem one.&lt;br /&gt;
&lt;br /&gt;
== Hard disk upgrade ==&lt;br /&gt;
&lt;br /&gt;
My X200 came with a 160GB hardrive. I bought the 500GB hard drive&lt;br /&gt;
   Western Digital Scorpio Blue WD5000BEVT 500GB 5400 RPM SATA 3.0Gb/s Notebook Hard Drive - OEM&lt;br /&gt;
&lt;br /&gt;
and the adapter&lt;br /&gt;
  Link Depot USB2-SATA USB2.0 TO IDE/SATA Adapter Cable - Retail&lt;br /&gt;
&lt;br /&gt;
for transfer the data.&lt;br /&gt;
&lt;br /&gt;
I connected the new hard drive using the usb port. The drive was recognized as /dev/sdb. I create the partitions that reads:&lt;br /&gt;
&lt;br /&gt;
  $ sfdisk -d /dev/sdb&lt;br /&gt;
  # partition table of /dev/sdb&lt;br /&gt;
  unit: sectors&lt;br /&gt;
&lt;br /&gt;
  /dev/sdb1 : start=       63, size= 71553447, Id=83&lt;br /&gt;
  /dev/sdb2 : start= 71553510, size=905214555, Id= 5&lt;br /&gt;
  /dev/sdb3 : start=        0, size=        0, Id= 0&lt;br /&gt;
  /dev/sdb4 : start=        0, size=        0, Id= 0&lt;br /&gt;
  /dev/sdb5 : start= 71553573, size=894467007, Id=83&lt;br /&gt;
  /dev/sdb6 : start=966020643, size= 10747422, Id=82&lt;br /&gt;
&lt;br /&gt;
Then made the filesystem and copy the files:&lt;br /&gt;
  $ sudo mkfs.ext3 /dev/sdb1&lt;br /&gt;
  $ sudo mkfs.ext3 /dev/sdb5&lt;br /&gt;
  $ sudo mkswap    /dev/sda6&lt;br /&gt;
  $ sudo mount /mnt/sdb1&lt;br /&gt;
  $ sudo mount /mnt/sdb5&lt;br /&gt;
  $ sudo rsync -a --delete \&lt;br /&gt;
  --exclude /mnt/sdb1 \&lt;br /&gt;
  --exclude /mnt/sdb5 \&lt;br /&gt;
  --exclude /home \&lt;br /&gt;
  --exclude /proc \&lt;br /&gt;
  --exclude /sys \&lt;br /&gt;
  --exclude /lib/init/rw \&lt;br /&gt;
  --exclude /dev \&lt;br /&gt;
  / /mnt/sdb1&lt;br /&gt;
  $ cd /mnt/sdb1; mkdir /home /proc /sys /lib/init/rw /dev; cd &lt;br /&gt;
  $ sudo rsync -a /home/ /mnt/sdb5&lt;br /&gt;
  $ sudo umount /mnt/sdb5; sudo umount /mnt/sdb1&lt;br /&gt;
&lt;br /&gt;
Finally install grub&lt;br /&gt;
  $ sudo grub --no-floppy&lt;br /&gt;
  $ geometry (hd1)&lt;br /&gt;
  &amp;gt; root (hd1,0)&lt;br /&gt;
  &amp;gt; setup (hd1)&lt;br /&gt;
  &amp;gt; quit&lt;br /&gt;
&lt;br /&gt;
and replace the disk. (I tried to boot from the usb to check the new hard drive, but I messed up the old installation...)&lt;br /&gt;
&lt;br /&gt;
For some reason the suspend to disk was not working anymore. But &lt;br /&gt;
  $ sudo aptitude reinstall uswsusp&lt;br /&gt;
fixed the problem answering yes to use the swap disk.&lt;br /&gt;
&lt;br /&gt;
== Keyboard ==&lt;br /&gt;
&lt;br /&gt;
In recent versions of xserver (as of version 1.4.0.90-7) keyboard-layout is handled by hal, so settings done will be overridden. Settings should be put in:&lt;br /&gt;
&lt;br /&gt;
   /etc/default/console-setup&lt;br /&gt;
&lt;br /&gt;
For a double layout us, us(intl) I put:&lt;br /&gt;
&lt;br /&gt;
  XKBMODEL=&amp;quot;pc104&amp;quot;&lt;br /&gt;
  XKBLAYOUT=&amp;quot;us,us(intl)&amp;quot;&lt;br /&gt;
  XKBVARIANT=&amp;quot;&amp;quot;&lt;br /&gt;
  XKBOPTIONS=&amp;quot;compose(lwin),compose(rwin),grp:shifts_toggle,grp_led:scroll&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== Special keys ==&lt;br /&gt;
&lt;br /&gt;
Some keys are intercepted by X Windows. The keycodes are&lt;br /&gt;
&lt;br /&gt;
  151 XF86WakeUp Fn&lt;br /&gt;
  167 XF86Forward&lt;br /&gt;
  166 XF86Back&lt;br /&gt;
  122 XF86AudioLower&lt;br /&gt;
  123 XF86AudioRaiseVolume&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Mute switch the hardware volume which is not controlled by ALSA.&lt;br /&gt;
&lt;br /&gt;
ACPI links suspend to ram and to disc to Fn+F4 and Fn+F12 respectively. Screen brightness, thinklight, bluetooth works as well.&lt;br /&gt;
&lt;br /&gt;
In fluxbox I used for:&lt;br /&gt;
&lt;br /&gt;
  &amp;quot;.fluxbox/keys&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
  Menu  :Exec rxvt&lt;br /&gt;
  Shift Menu :Exec fbrun&lt;br /&gt;
  XF86Forward  :NextWorkspace&lt;br /&gt;
  XF86Back  :PrevWorkspace&lt;br /&gt;
&lt;br /&gt;
== Trackpoint ==&lt;br /&gt;
&lt;br /&gt;
As for the keyboard, options are not handled anymore from xorg.cong. To enable scrooling edit:&lt;br /&gt;
&lt;br /&gt;
  /etc/hal/fdi/policy/mouse-wheel.fdi&lt;br /&gt;
&lt;br /&gt;
as&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;match key=&amp;quot;info.product&amp;quot; string=&amp;quot;TPPS/2 IBM TrackPoint&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheel&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheelButton&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;2&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheelTimeout&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;250&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;merge key=&amp;quot;input.x11_options.XAxisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;6 7&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;merge key=&amp;quot;input.x11_options.YAxisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;4 5&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;merge key=&amp;quot;input.x11_options.ZAxsisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;4 5&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;merge key=&amp;quot;input.x11_options.Emulate3Buttons&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;/match&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== TO BE CONTINUED ==&lt;/div&gt;</summary>
		<author><name>Rdemaria</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Debian_Sid_(October_2008)_on_a_ThinkPad_X200&amp;diff=44053</id>
		<title>Installing Debian Sid (October 2008) on a ThinkPad X200</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Debian_Sid_(October_2008)_on_a_ThinkPad_X200&amp;diff=44053"/>
		<updated>2009-09-02T08:17:00Z</updated>

		<summary type="html">&lt;p&gt;Rdemaria: /* Video */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
Amazing machine: light, quiet, large battery life, ideal for travels, great value for money compared to X200T and X300.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Creating installation device ==&lt;br /&gt;
&lt;br /&gt;
The X200 has no cd/dvd but can boot from USB. On the X200 BIOS settings, the USB disk boot option needed to be raised to be used first. Using F1 at boot gives access to the BIOS.&lt;br /&gt;
&lt;br /&gt;
I created an USB bootable iso from another linux installation.&lt;br /&gt;
I had an usb stick with a FAT32 partition on /dev/sdc1. I dowloaded the boot and iso file and installed the image&lt;br /&gt;
using:&lt;br /&gt;
&lt;br /&gt;
  wget http://people.debian.org/~joeyh/d-i/images/daily/hd-media/boot.img.gz&lt;br /&gt;
  wget http://cdimage.debian.org/cdimage/daily-builds/daily/arch-latest/i386/iso-cd/debian-testing-i386-netinst.iso&lt;br /&gt;
  zcat boot.img.gz &amp;gt;/dev/sdc1&lt;br /&gt;
  mkdir /mnt/sdc1&lt;br /&gt;
  mount /dev/sdc1 /mnt/sdc1&lt;br /&gt;
  cp debian-testing-i386-netinst.iso /mnt/sdc1&lt;br /&gt;
&lt;br /&gt;
The boot stick will use the network to install the package but a more complete ISO image can be dowloaded.&lt;br /&gt;
&lt;br /&gt;
The wifi will not work (see [[Installing_Debian_on_an_X200]]) but the Ethernet card will. In theory it should be possible build custom Debian Live USB stick, using the latest package and install from there, I didn't manage so far.&lt;br /&gt;
&lt;br /&gt;
== Sid installation ==&lt;br /&gt;
&lt;br /&gt;
To install sid use the expert installation support and choose unstable for the repository.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Backup hard drive data ==&lt;br /&gt;
&lt;br /&gt;
In order to save the hard drive content, I created complete hard drive image on another hard disk. During the installation procedure I activated another shell with CTRL-ALT-F3, mounted an external HD (/dev/sdb1) and copied the image with:&lt;br /&gt;
&lt;br /&gt;
  mkdir /mnt/sdb1&lt;br /&gt;
  mount /dev/sdb1 /mnt/sdb1/&lt;br /&gt;
  dd if=/dev/sda of=/mnt/sdb1/sda-image&lt;br /&gt;
&lt;br /&gt;
In principle partimage is better option but the installation image does not have it. Also gzipping the partition on the fly would have bin better, but the gzip or bzip2 were not present. Using a custom Debian Live installation image would solve the problem.&lt;br /&gt;
&lt;br /&gt;
== Kernel ==&lt;br /&gt;
&lt;br /&gt;
Some kernel options here for /boot/grub/menu.lst:&lt;br /&gt;
  &lt;br /&gt;
  # kopt=root=/dev/sda1 ro acpi_sleep=s3_bios vga=0x0368 video=vesafb&lt;br /&gt;
&lt;br /&gt;
Update the real items using&lt;br /&gt;
  &lt;br /&gt;
  update-grub&lt;br /&gt;
&lt;br /&gt;
== Video ==&lt;br /&gt;
&lt;br /&gt;
Intel driver are still bad. The ones I found working are&lt;br /&gt;
&lt;br /&gt;
  2:2.6.1-1ubuntu4 &lt;br /&gt;
&lt;br /&gt;
that works on sid as well. Some options are necessary in xorg.conf:&lt;br /&gt;
&lt;br /&gt;
  $ awk '!/#/ {print &amp;quot; &amp;quot;,$0}' /etc/X11/xorg.conf&lt;br /&gt;
  Section &amp;quot;Screen&amp;quot;&lt;br /&gt;
          Identifier      &amp;quot;Default Screen&amp;quot;&lt;br /&gt;
          Monitor         &amp;quot;Configured Monitor&amp;quot;&lt;br /&gt;
          Defaultdepth    24&lt;br /&gt;
          SubSection &amp;quot;Display&amp;quot;&lt;br /&gt;
                   Modes           &amp;quot;1280x800&amp;quot;&lt;br /&gt;
                   Virtual    2560 1280&lt;br /&gt;
          EndSubSection&lt;br /&gt;
  EndSection&lt;br /&gt;
  &lt;br /&gt;
  &lt;br /&gt;
  Section &amp;quot;Monitor&amp;quot;&lt;br /&gt;
          Identifier      &amp;quot;Configured Monitor&amp;quot;&lt;br /&gt;
          DisplaySize     231 233.5&lt;br /&gt;
  EndSection&lt;br /&gt;
   &lt;br /&gt;
  Section &amp;quot;Monitor&amp;quot;&lt;br /&gt;
          Identifier      &amp;quot;HDMI-1&amp;quot;&lt;br /&gt;
          Option          &amp;quot;Ignore&amp;quot; &amp;quot;True&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
   &lt;br /&gt;
  Section &amp;quot;Monitor&amp;quot;&lt;br /&gt;
          Identifier      &amp;quot;HDMI-2&amp;quot;&lt;br /&gt;
          Option          &amp;quot;Ignore&amp;quot; &amp;quot;True&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
  &lt;br /&gt;
  Section &amp;quot;Device&amp;quot;&lt;br /&gt;
          Identifier      &amp;quot;Configured Video Device&amp;quot;&lt;br /&gt;
            Driver          &amp;quot;intel&amp;quot;&lt;br /&gt;
          Option          &amp;quot;monitor-HDMI-1&amp;quot; &amp;quot;HDMI-1&amp;quot;&lt;br /&gt;
          Option          &amp;quot;monitor-HDMI-2&amp;quot; &amp;quot;HDMI-2&amp;quot;&lt;br /&gt;
    Option &amp;quot;AccelMethod&amp;quot; &amp;quot;EXA&amp;quot;&lt;br /&gt;
    Option &amp;quot;ExaNoComposite&amp;quot; &amp;quot;false&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
&lt;br /&gt;
== Fonts ==&lt;br /&gt;
&lt;br /&gt;
Default fonts are a bit ugly. Things get better by creating some symbolic link:&lt;br /&gt;
&lt;br /&gt;
  cd /etc/fonts/conf.d&lt;br /&gt;
  ln -s ../conf.avail/10-autohint.conf&lt;br /&gt;
  ln -s ../conf.avail/10-sub-pixel-rgb.conf&lt;br /&gt;
  ln -s ../conf.avail/70-no-bitmaps.conf&lt;br /&gt;
&lt;br /&gt;
For GTK and Firefox&lt;br /&gt;
&lt;br /&gt;
Fonts size are too large. Solution:&lt;br /&gt;
  $cat ~/.gtkrc-2.0&lt;br /&gt;
  # -- THEME AUTO-WRITTEN DO NOT EDIT&lt;br /&gt;
  include &amp;quot;/usr/share/themes/Industrial/gtk-2.0/gtkrc&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  include &amp;quot;/home/rdemaria/.gtkrc-2.0.mine&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  # -- THEME AUTO-WRITTEN DO NOT EDIT&lt;br /&gt;
&lt;br /&gt;
  $cat ~/.gtkrc-2.0.mine&lt;br /&gt;
  gtk-font-name = &amp;quot;Sans 8&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Bold font are also ugly on xvrt (in xterm the bold font control seems always broken). See below for the solution.&lt;br /&gt;
&lt;br /&gt;
== Terminal ==&lt;br /&gt;
&lt;br /&gt;
I tried several terminals. But I found rxvt-unicode the easiest and fastest. This resources allow 4 terminals in one window. Bold font (unreadable to me) are disabled.&lt;br /&gt;
  $cat ~/.Xresources&lt;br /&gt;
  rxvt*cutchars: \$:[]&lt;br /&gt;
  rxvt*visualBell: true&lt;br /&gt;
  rxvt*foreground: white&lt;br /&gt;
  rxvt*background: black&lt;br /&gt;
  rxvt*geometry: 80x27&lt;br /&gt;
  rxvt*jumpScroll: true&lt;br /&gt;
  rxvt*skipScroll: true&lt;br /&gt;
  rxvt*scrollBar: false&lt;br /&gt;
  rxvt*boldFont:&lt;br /&gt;
  rxvt*boldItalicFont:&lt;br /&gt;
  rxvt*saveLines: 9096&lt;br /&gt;
  rxvt*mouseWheelScrollPage: false&lt;br /&gt;
&lt;br /&gt;
== Wifi ==&lt;br /&gt;
&lt;br /&gt;
Put in the /etc/apt/source.list&lt;br /&gt;
&lt;br /&gt;
  deb http://kernel-archive.buildserver.net/debian-kernel trunk main &lt;br /&gt;
&lt;br /&gt;
Installed linux-image-2.6.27-1 and firmware&lt;br /&gt;
&lt;br /&gt;
  wget http://intellinuxwireless.org/iwlwifi/downloads/iwlwifi-5000-ucode-5.4.A.11.tar.gz&lt;br /&gt;
  tar xvfz iwlwifi-5000-ucode-5.4.A.11.tar.gz&lt;br /&gt;
  cp  iwlwifi-5000-ucode-5.4.A.11/iwlwifi-5000-1.ucode /lib/firmware&lt;br /&gt;
  aptitude install linux-image-2.6.27-1-686 hal&lt;br /&gt;
&lt;br /&gt;
== Suspend ==&lt;br /&gt;
&lt;br /&gt;
Suspend to disk works using the button Fn+F12.&lt;br /&gt;
&lt;br /&gt;
Suspend to ram (Fn+F4) does not work with sid intel driver, but works with the experimental one.&lt;br /&gt;
Using vesa driver, it works if the i915 driver is installed. I put the line:&lt;br /&gt;
  modprobe i915&lt;br /&gt;
&lt;br /&gt;
in /etc/rc.local.&lt;br /&gt;
&lt;br /&gt;
The trackpoint occasionally stops working after a resume. Apparently it is enough to move it &lt;br /&gt;
a little bit during the resume.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Sound ==&lt;br /&gt;
&lt;br /&gt;
Everything works, but in a strange way. The hardware volume control is managed by acpi&lt;br /&gt;
&lt;br /&gt;
  $ cat /proc/acpi/ibm/volume&lt;br /&gt;
  level:          8&lt;br /&gt;
  mute:           off&lt;br /&gt;
  commands:       up, down, mute&lt;br /&gt;
  commands:       level &amp;lt;level&amp;gt; (&amp;lt;level&amp;gt; is 0-15)&lt;br /&gt;
&lt;br /&gt;
The mute button is linked to the mute command, but volume up and down are passed to X with keycode 176 174. I&lt;br /&gt;
thought that acpi was intercepting the key and send them to X using fakekey. I played in /etc/acpi/events but I didn't managed to change the behavior.&lt;br /&gt;
&lt;br /&gt;
== Skype ==&lt;br /&gt;
&lt;br /&gt;
Everything works downloading the skype version for Etch. After suspending and resuming the video does not work anymore.&lt;br /&gt;
The error message is:&lt;br /&gt;
&lt;br /&gt;
  Skype V4L2: Could not find a suitable capture format&lt;br /&gt;
&lt;br /&gt;
Several people propose to update the uvcvideo driver.&lt;br /&gt;
  svn checkout http://svn.berlios.de/svnroot/repos/linux-uvc/&lt;br /&gt;
  cd linux-uvc/linux-uvc/trunk/&lt;br /&gt;
  make&lt;br /&gt;
  make install&lt;br /&gt;
  modprobe uvcvideo&lt;br /&gt;
&lt;br /&gt;
But I didn't tried yet cause I'm still using the experimental kernel that does not come with packages for compiling modules.&lt;br /&gt;
&lt;br /&gt;
== GTK and Firefox ==&lt;br /&gt;
&lt;br /&gt;
Font size is too large. Solution:&lt;br /&gt;
  $cat /home/rdemaria/.gtkrc-2.0&lt;br /&gt;
  # -- THEME AUTO-WRITTEN DO NOT EDIT&lt;br /&gt;
  include &amp;quot;/usr/share/themes/Industrial/gtk-2.0/gtkrc&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  include &amp;quot;/home/rdemaria/.gtkrc-2.0.mine&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  # -- THEME AUTO-WRITTEN DO NOT EDIT&lt;br /&gt;
&lt;br /&gt;
  $cat /home/rdemaria/.gtkrc-2.0.mine&lt;br /&gt;
  gtk-font-name = &amp;quot;Sans 8&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== Printer and scanner ==&lt;br /&gt;
&lt;br /&gt;
Usb printer and scanner (HP Officejet J4580) works perfectly using cups, hpoj, xsane, hplib.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== RAM upgrade ==&lt;br /&gt;
&lt;br /&gt;
My X200 came with 2G of ram and 1 free slots. I bought:&lt;br /&gt;
   Crucial 2GB 204-Pin DDR3 SO-DIMM DDR3 1066 (PC3 8500) Laptop Memory Model CT25664BC1067 - Retail&lt;br /&gt;
&lt;br /&gt;
installed and replace the kernel with a bigmem one.&lt;br /&gt;
&lt;br /&gt;
== Hard disk upgrade ==&lt;br /&gt;
&lt;br /&gt;
My X200 came with a 160GB hardrive. I bought the 500GB hard drive&lt;br /&gt;
   Western Digital Scorpio Blue WD5000BEVT 500GB 5400 RPM SATA 3.0Gb/s Notebook Hard Drive - OEM&lt;br /&gt;
&lt;br /&gt;
and the adapter&lt;br /&gt;
  Link Depot USB2-SATA USB2.0 TO IDE/SATA Adapter Cable - Retail&lt;br /&gt;
&lt;br /&gt;
for transfer the data.&lt;br /&gt;
&lt;br /&gt;
I connected the new hard drive using the usb port. The drive was recognized as /dev/sdb. I create the partitions that reads:&lt;br /&gt;
&lt;br /&gt;
  $ sfdisk -d /dev/sdb&lt;br /&gt;
  # partition table of /dev/sdb&lt;br /&gt;
  unit: sectors&lt;br /&gt;
&lt;br /&gt;
  /dev/sdb1 : start=       63, size= 71553447, Id=83&lt;br /&gt;
  /dev/sdb2 : start= 71553510, size=905214555, Id= 5&lt;br /&gt;
  /dev/sdb3 : start=        0, size=        0, Id= 0&lt;br /&gt;
  /dev/sdb4 : start=        0, size=        0, Id= 0&lt;br /&gt;
  /dev/sdb5 : start= 71553573, size=894467007, Id=83&lt;br /&gt;
  /dev/sdb6 : start=966020643, size= 10747422, Id=82&lt;br /&gt;
&lt;br /&gt;
Then made the filesystem and copy the files:&lt;br /&gt;
  $ sudo mkfs.ext3 /dev/sdb1&lt;br /&gt;
  $ sudo mkfs.ext3 /dev/sdb5&lt;br /&gt;
  $ sudo mkswap    /dev/sda6&lt;br /&gt;
  $ sudo mount /mnt/sdb1&lt;br /&gt;
  $ sudo mount /mnt/sdb5&lt;br /&gt;
  $ sudo rsync -a --delete \&lt;br /&gt;
  --exclude /mnt/sdb1 \&lt;br /&gt;
  --exclude /mnt/sdb5 \&lt;br /&gt;
  --exclude /home \&lt;br /&gt;
  --exclude /proc \&lt;br /&gt;
  --exclude /sys \&lt;br /&gt;
  --exclude /lib/init/rw \&lt;br /&gt;
  --exclude /dev \&lt;br /&gt;
  / /mnt/sdb1&lt;br /&gt;
  $ cd /mnt/sdb1; mkdir /home /proc /sys /lib/init/rw /dev; cd &lt;br /&gt;
  $ sudo rsync -a /home/ /mnt/sdb5&lt;br /&gt;
  $ sudo umount /mnt/sdb5; sudo umount /mnt/sdb1&lt;br /&gt;
&lt;br /&gt;
Finally install grub&lt;br /&gt;
  $ sudo grub --no-floppy&lt;br /&gt;
  $ geometry (hd1)&lt;br /&gt;
  &amp;gt; root (hd1,0)&lt;br /&gt;
  &amp;gt; setup (hd1)&lt;br /&gt;
  &amp;gt; quit&lt;br /&gt;
&lt;br /&gt;
and replace the disk. (I tried to boot from the usb to check the new hard drive, but I messed up the old installation...)&lt;br /&gt;
&lt;br /&gt;
For some reason the suspend to disk was not working anymore. But &lt;br /&gt;
  $ sudo aptitude reinstall uswsusp&lt;br /&gt;
fixed the problem answering yes to use the swap disk.&lt;br /&gt;
&lt;br /&gt;
== Keyboard ==&lt;br /&gt;
&lt;br /&gt;
In recent versions of xserver (as of version 1.4.0.90-7) keyboard-layout is handled by hal, so settings done will be overridden. Settings should be put in:&lt;br /&gt;
&lt;br /&gt;
   /etc/default/console-setup&lt;br /&gt;
&lt;br /&gt;
For a double layout us, us(intl) I put:&lt;br /&gt;
&lt;br /&gt;
  XKBMODEL=&amp;quot;pc104&amp;quot;&lt;br /&gt;
  XKBLAYOUT=&amp;quot;us,us(intl)&amp;quot;&lt;br /&gt;
  XKBVARIANT=&amp;quot;&amp;quot;&lt;br /&gt;
  XKBOPTIONS=&amp;quot;compose(lwin),compose(rwin),grp:shifts_toggle,grp_led:scroll&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== Special keys ==&lt;br /&gt;
&lt;br /&gt;
Some keys are intercepted by X Windows. The keycodes are&lt;br /&gt;
&lt;br /&gt;
  151 XF86WakeUp Fn&lt;br /&gt;
  167 XF86Forward&lt;br /&gt;
  166 XF86Back&lt;br /&gt;
  122 XF86AudioLower&lt;br /&gt;
  123 XF86AudioRaiseVolume&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Mute switch the hardware volume which is not controlled by ALSA.&lt;br /&gt;
&lt;br /&gt;
ACPI links suspend to ram and to disc to Fn+F4 and Fn+F12 respectively. Screen brightness, thinklight, bluetooth works as well.&lt;br /&gt;
&lt;br /&gt;
In fluxbox I used for:&lt;br /&gt;
&lt;br /&gt;
  &amp;quot;.fluxbox/keys&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
  Menu  :Exec rxvt&lt;br /&gt;
  Shift Menu :Exec fbrun&lt;br /&gt;
  XF86Forward  :NextWorkspace&lt;br /&gt;
  XF86Back  :PrevWorkspace&lt;br /&gt;
&lt;br /&gt;
== Trackpoint ==&lt;br /&gt;
&lt;br /&gt;
As for the keyboard, options are not handled anymore from xorg.cong. To enable scrooling edit:&lt;br /&gt;
&lt;br /&gt;
  /etc/hal/fdi/policy/mouse-wheel.fdi&lt;br /&gt;
&lt;br /&gt;
as&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;match key=&amp;quot;info.product&amp;quot; string=&amp;quot;TPPS/2 IBM TrackPoint&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheel&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheelButton&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;2&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheelTimeout&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;250&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;merge key=&amp;quot;input.x11_options.XAxisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;6 7&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;merge key=&amp;quot;input.x11_options.YAxisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;4 5&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;merge key=&amp;quot;input.x11_options.ZAxsisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;4 5&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;merge key=&amp;quot;input.x11_options.Emulate3Buttons&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;/match&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== TO BE CONTINUED ==&lt;/div&gt;</summary>
		<author><name>Rdemaria</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Debian_Sid_(October_2008)_on_a_ThinkPad_X200&amp;diff=44052</id>
		<title>Installing Debian Sid (October 2008) on a ThinkPad X200</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Debian_Sid_(October_2008)_on_a_ThinkPad_X200&amp;diff=44052"/>
		<updated>2009-09-02T08:16:12Z</updated>

		<summary type="html">&lt;p&gt;Rdemaria: /* Video */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
Amazing machine: light, quiet, large battery life, ideal for travels, great value for money compared to X200T and X300.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Creating installation device ==&lt;br /&gt;
&lt;br /&gt;
The X200 has no cd/dvd but can boot from USB. On the X200 BIOS settings, the USB disk boot option needed to be raised to be used first. Using F1 at boot gives access to the BIOS.&lt;br /&gt;
&lt;br /&gt;
I created an USB bootable iso from another linux installation.&lt;br /&gt;
I had an usb stick with a FAT32 partition on /dev/sdc1. I dowloaded the boot and iso file and installed the image&lt;br /&gt;
using:&lt;br /&gt;
&lt;br /&gt;
  wget http://people.debian.org/~joeyh/d-i/images/daily/hd-media/boot.img.gz&lt;br /&gt;
  wget http://cdimage.debian.org/cdimage/daily-builds/daily/arch-latest/i386/iso-cd/debian-testing-i386-netinst.iso&lt;br /&gt;
  zcat boot.img.gz &amp;gt;/dev/sdc1&lt;br /&gt;
  mkdir /mnt/sdc1&lt;br /&gt;
  mount /dev/sdc1 /mnt/sdc1&lt;br /&gt;
  cp debian-testing-i386-netinst.iso /mnt/sdc1&lt;br /&gt;
&lt;br /&gt;
The boot stick will use the network to install the package but a more complete ISO image can be dowloaded.&lt;br /&gt;
&lt;br /&gt;
The wifi will not work (see [[Installing_Debian_on_an_X200]]) but the Ethernet card will. In theory it should be possible build custom Debian Live USB stick, using the latest package and install from there, I didn't manage so far.&lt;br /&gt;
&lt;br /&gt;
== Sid installation ==&lt;br /&gt;
&lt;br /&gt;
To install sid use the expert installation support and choose unstable for the repository.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Backup hard drive data ==&lt;br /&gt;
&lt;br /&gt;
In order to save the hard drive content, I created complete hard drive image on another hard disk. During the installation procedure I activated another shell with CTRL-ALT-F3, mounted an external HD (/dev/sdb1) and copied the image with:&lt;br /&gt;
&lt;br /&gt;
  mkdir /mnt/sdb1&lt;br /&gt;
  mount /dev/sdb1 /mnt/sdb1/&lt;br /&gt;
  dd if=/dev/sda of=/mnt/sdb1/sda-image&lt;br /&gt;
&lt;br /&gt;
In principle partimage is better option but the installation image does not have it. Also gzipping the partition on the fly would have bin better, but the gzip or bzip2 were not present. Using a custom Debian Live installation image would solve the problem.&lt;br /&gt;
&lt;br /&gt;
== Kernel ==&lt;br /&gt;
&lt;br /&gt;
Some kernel options here for /boot/grub/menu.lst:&lt;br /&gt;
  &lt;br /&gt;
  # kopt=root=/dev/sda1 ro acpi_sleep=s3_bios vga=0x0368 video=vesafb&lt;br /&gt;
&lt;br /&gt;
Update the real items using&lt;br /&gt;
  &lt;br /&gt;
  update-grub&lt;br /&gt;
&lt;br /&gt;
== Video ==&lt;br /&gt;
&lt;br /&gt;
Intel driver are still bad. The ones I found working are&lt;br /&gt;
&lt;br /&gt;
  2:2.6.1-1ubuntu4 &lt;br /&gt;
&lt;br /&gt;
that works on sid as well. Some options are necessary&lt;br /&gt;
&lt;br /&gt;
This is a simple xorg.conf:&lt;br /&gt;
&lt;br /&gt;
  $ awk '!/#/ {print &amp;quot; &amp;quot;,$0}' /etc/X11/xorg.conf&lt;br /&gt;
  Section &amp;quot;Screen&amp;quot;&lt;br /&gt;
          Identifier      &amp;quot;Default Screen&amp;quot;&lt;br /&gt;
          Monitor         &amp;quot;Configured Monitor&amp;quot;&lt;br /&gt;
          Defaultdepth    24&lt;br /&gt;
          SubSection &amp;quot;Display&amp;quot;&lt;br /&gt;
                   Modes           &amp;quot;1280x800&amp;quot;&lt;br /&gt;
                   Virtual    2560 1280&lt;br /&gt;
          EndSubSection&lt;br /&gt;
  EndSection&lt;br /&gt;
  &lt;br /&gt;
  &lt;br /&gt;
  Section &amp;quot;Monitor&amp;quot;&lt;br /&gt;
          Identifier      &amp;quot;Configured Monitor&amp;quot;&lt;br /&gt;
          DisplaySize     231 233.5&lt;br /&gt;
  EndSection&lt;br /&gt;
   &lt;br /&gt;
  Section &amp;quot;Monitor&amp;quot;&lt;br /&gt;
          Identifier      &amp;quot;HDMI-1&amp;quot;&lt;br /&gt;
          Option          &amp;quot;Ignore&amp;quot; &amp;quot;True&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
   &lt;br /&gt;
  Section &amp;quot;Monitor&amp;quot;&lt;br /&gt;
          Identifier      &amp;quot;HDMI-2&amp;quot;&lt;br /&gt;
          Option          &amp;quot;Ignore&amp;quot; &amp;quot;True&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
  &lt;br /&gt;
  Section &amp;quot;Device&amp;quot;&lt;br /&gt;
          Identifier      &amp;quot;Configured Video Device&amp;quot;&lt;br /&gt;
            Driver          &amp;quot;intel&amp;quot;&lt;br /&gt;
          Option          &amp;quot;monitor-HDMI-1&amp;quot; &amp;quot;HDMI-1&amp;quot;&lt;br /&gt;
          Option          &amp;quot;monitor-HDMI-2&amp;quot; &amp;quot;HDMI-2&amp;quot;&lt;br /&gt;
    Option &amp;quot;AccelMethod&amp;quot; &amp;quot;EXA&amp;quot;&lt;br /&gt;
    Option &amp;quot;ExaNoComposite&amp;quot; &amp;quot;false&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
&lt;br /&gt;
== Fonts ==&lt;br /&gt;
&lt;br /&gt;
Default fonts are a bit ugly. Things get better by creating some symbolic link:&lt;br /&gt;
&lt;br /&gt;
  cd /etc/fonts/conf.d&lt;br /&gt;
  ln -s ../conf.avail/10-autohint.conf&lt;br /&gt;
  ln -s ../conf.avail/10-sub-pixel-rgb.conf&lt;br /&gt;
  ln -s ../conf.avail/70-no-bitmaps.conf&lt;br /&gt;
&lt;br /&gt;
For GTK and Firefox&lt;br /&gt;
&lt;br /&gt;
Fonts size are too large. Solution:&lt;br /&gt;
  $cat ~/.gtkrc-2.0&lt;br /&gt;
  # -- THEME AUTO-WRITTEN DO NOT EDIT&lt;br /&gt;
  include &amp;quot;/usr/share/themes/Industrial/gtk-2.0/gtkrc&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  include &amp;quot;/home/rdemaria/.gtkrc-2.0.mine&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  # -- THEME AUTO-WRITTEN DO NOT EDIT&lt;br /&gt;
&lt;br /&gt;
  $cat ~/.gtkrc-2.0.mine&lt;br /&gt;
  gtk-font-name = &amp;quot;Sans 8&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Bold font are also ugly on xvrt (in xterm the bold font control seems always broken). See below for the solution.&lt;br /&gt;
&lt;br /&gt;
== Terminal ==&lt;br /&gt;
&lt;br /&gt;
I tried several terminals. But I found rxvt-unicode the easiest and fastest. This resources allow 4 terminals in one window. Bold font (unreadable to me) are disabled.&lt;br /&gt;
  $cat ~/.Xresources&lt;br /&gt;
  rxvt*cutchars: \$:[]&lt;br /&gt;
  rxvt*visualBell: true&lt;br /&gt;
  rxvt*foreground: white&lt;br /&gt;
  rxvt*background: black&lt;br /&gt;
  rxvt*geometry: 80x27&lt;br /&gt;
  rxvt*jumpScroll: true&lt;br /&gt;
  rxvt*skipScroll: true&lt;br /&gt;
  rxvt*scrollBar: false&lt;br /&gt;
  rxvt*boldFont:&lt;br /&gt;
  rxvt*boldItalicFont:&lt;br /&gt;
  rxvt*saveLines: 9096&lt;br /&gt;
  rxvt*mouseWheelScrollPage: false&lt;br /&gt;
&lt;br /&gt;
== Wifi ==&lt;br /&gt;
&lt;br /&gt;
Put in the /etc/apt/source.list&lt;br /&gt;
&lt;br /&gt;
  deb http://kernel-archive.buildserver.net/debian-kernel trunk main &lt;br /&gt;
&lt;br /&gt;
Installed linux-image-2.6.27-1 and firmware&lt;br /&gt;
&lt;br /&gt;
  wget http://intellinuxwireless.org/iwlwifi/downloads/iwlwifi-5000-ucode-5.4.A.11.tar.gz&lt;br /&gt;
  tar xvfz iwlwifi-5000-ucode-5.4.A.11.tar.gz&lt;br /&gt;
  cp  iwlwifi-5000-ucode-5.4.A.11/iwlwifi-5000-1.ucode /lib/firmware&lt;br /&gt;
  aptitude install linux-image-2.6.27-1-686 hal&lt;br /&gt;
&lt;br /&gt;
== Suspend ==&lt;br /&gt;
&lt;br /&gt;
Suspend to disk works using the button Fn+F12.&lt;br /&gt;
&lt;br /&gt;
Suspend to ram (Fn+F4) does not work with sid intel driver, but works with the experimental one.&lt;br /&gt;
Using vesa driver, it works if the i915 driver is installed. I put the line:&lt;br /&gt;
  modprobe i915&lt;br /&gt;
&lt;br /&gt;
in /etc/rc.local.&lt;br /&gt;
&lt;br /&gt;
The trackpoint occasionally stops working after a resume. Apparently it is enough to move it &lt;br /&gt;
a little bit during the resume.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Sound ==&lt;br /&gt;
&lt;br /&gt;
Everything works, but in a strange way. The hardware volume control is managed by acpi&lt;br /&gt;
&lt;br /&gt;
  $ cat /proc/acpi/ibm/volume&lt;br /&gt;
  level:          8&lt;br /&gt;
  mute:           off&lt;br /&gt;
  commands:       up, down, mute&lt;br /&gt;
  commands:       level &amp;lt;level&amp;gt; (&amp;lt;level&amp;gt; is 0-15)&lt;br /&gt;
&lt;br /&gt;
The mute button is linked to the mute command, but volume up and down are passed to X with keycode 176 174. I&lt;br /&gt;
thought that acpi was intercepting the key and send them to X using fakekey. I played in /etc/acpi/events but I didn't managed to change the behavior.&lt;br /&gt;
&lt;br /&gt;
== Skype ==&lt;br /&gt;
&lt;br /&gt;
Everything works downloading the skype version for Etch. After suspending and resuming the video does not work anymore.&lt;br /&gt;
The error message is:&lt;br /&gt;
&lt;br /&gt;
  Skype V4L2: Could not find a suitable capture format&lt;br /&gt;
&lt;br /&gt;
Several people propose to update the uvcvideo driver.&lt;br /&gt;
  svn checkout http://svn.berlios.de/svnroot/repos/linux-uvc/&lt;br /&gt;
  cd linux-uvc/linux-uvc/trunk/&lt;br /&gt;
  make&lt;br /&gt;
  make install&lt;br /&gt;
  modprobe uvcvideo&lt;br /&gt;
&lt;br /&gt;
But I didn't tried yet cause I'm still using the experimental kernel that does not come with packages for compiling modules.&lt;br /&gt;
&lt;br /&gt;
== GTK and Firefox ==&lt;br /&gt;
&lt;br /&gt;
Font size is too large. Solution:&lt;br /&gt;
  $cat /home/rdemaria/.gtkrc-2.0&lt;br /&gt;
  # -- THEME AUTO-WRITTEN DO NOT EDIT&lt;br /&gt;
  include &amp;quot;/usr/share/themes/Industrial/gtk-2.0/gtkrc&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  include &amp;quot;/home/rdemaria/.gtkrc-2.0.mine&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  # -- THEME AUTO-WRITTEN DO NOT EDIT&lt;br /&gt;
&lt;br /&gt;
  $cat /home/rdemaria/.gtkrc-2.0.mine&lt;br /&gt;
  gtk-font-name = &amp;quot;Sans 8&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== Printer and scanner ==&lt;br /&gt;
&lt;br /&gt;
Usb printer and scanner (HP Officejet J4580) works perfectly using cups, hpoj, xsane, hplib.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== RAM upgrade ==&lt;br /&gt;
&lt;br /&gt;
My X200 came with 2G of ram and 1 free slots. I bought:&lt;br /&gt;
   Crucial 2GB 204-Pin DDR3 SO-DIMM DDR3 1066 (PC3 8500) Laptop Memory Model CT25664BC1067 - Retail&lt;br /&gt;
&lt;br /&gt;
installed and replace the kernel with a bigmem one.&lt;br /&gt;
&lt;br /&gt;
== Hard disk upgrade ==&lt;br /&gt;
&lt;br /&gt;
My X200 came with a 160GB hardrive. I bought the 500GB hard drive&lt;br /&gt;
   Western Digital Scorpio Blue WD5000BEVT 500GB 5400 RPM SATA 3.0Gb/s Notebook Hard Drive - OEM&lt;br /&gt;
&lt;br /&gt;
and the adapter&lt;br /&gt;
  Link Depot USB2-SATA USB2.0 TO IDE/SATA Adapter Cable - Retail&lt;br /&gt;
&lt;br /&gt;
for transfer the data.&lt;br /&gt;
&lt;br /&gt;
I connected the new hard drive using the usb port. The drive was recognized as /dev/sdb. I create the partitions that reads:&lt;br /&gt;
&lt;br /&gt;
  $ sfdisk -d /dev/sdb&lt;br /&gt;
  # partition table of /dev/sdb&lt;br /&gt;
  unit: sectors&lt;br /&gt;
&lt;br /&gt;
  /dev/sdb1 : start=       63, size= 71553447, Id=83&lt;br /&gt;
  /dev/sdb2 : start= 71553510, size=905214555, Id= 5&lt;br /&gt;
  /dev/sdb3 : start=        0, size=        0, Id= 0&lt;br /&gt;
  /dev/sdb4 : start=        0, size=        0, Id= 0&lt;br /&gt;
  /dev/sdb5 : start= 71553573, size=894467007, Id=83&lt;br /&gt;
  /dev/sdb6 : start=966020643, size= 10747422, Id=82&lt;br /&gt;
&lt;br /&gt;
Then made the filesystem and copy the files:&lt;br /&gt;
  $ sudo mkfs.ext3 /dev/sdb1&lt;br /&gt;
  $ sudo mkfs.ext3 /dev/sdb5&lt;br /&gt;
  $ sudo mkswap    /dev/sda6&lt;br /&gt;
  $ sudo mount /mnt/sdb1&lt;br /&gt;
  $ sudo mount /mnt/sdb5&lt;br /&gt;
  $ sudo rsync -a --delete \&lt;br /&gt;
  --exclude /mnt/sdb1 \&lt;br /&gt;
  --exclude /mnt/sdb5 \&lt;br /&gt;
  --exclude /home \&lt;br /&gt;
  --exclude /proc \&lt;br /&gt;
  --exclude /sys \&lt;br /&gt;
  --exclude /lib/init/rw \&lt;br /&gt;
  --exclude /dev \&lt;br /&gt;
  / /mnt/sdb1&lt;br /&gt;
  $ cd /mnt/sdb1; mkdir /home /proc /sys /lib/init/rw /dev; cd &lt;br /&gt;
  $ sudo rsync -a /home/ /mnt/sdb5&lt;br /&gt;
  $ sudo umount /mnt/sdb5; sudo umount /mnt/sdb1&lt;br /&gt;
&lt;br /&gt;
Finally install grub&lt;br /&gt;
  $ sudo grub --no-floppy&lt;br /&gt;
  $ geometry (hd1)&lt;br /&gt;
  &amp;gt; root (hd1,0)&lt;br /&gt;
  &amp;gt; setup (hd1)&lt;br /&gt;
  &amp;gt; quit&lt;br /&gt;
&lt;br /&gt;
and replace the disk. (I tried to boot from the usb to check the new hard drive, but I messed up the old installation...)&lt;br /&gt;
&lt;br /&gt;
For some reason the suspend to disk was not working anymore. But &lt;br /&gt;
  $ sudo aptitude reinstall uswsusp&lt;br /&gt;
fixed the problem answering yes to use the swap disk.&lt;br /&gt;
&lt;br /&gt;
== Keyboard ==&lt;br /&gt;
&lt;br /&gt;
In recent versions of xserver (as of version 1.4.0.90-7) keyboard-layout is handled by hal, so settings done will be overridden. Settings should be put in:&lt;br /&gt;
&lt;br /&gt;
   /etc/default/console-setup&lt;br /&gt;
&lt;br /&gt;
For a double layout us, us(intl) I put:&lt;br /&gt;
&lt;br /&gt;
  XKBMODEL=&amp;quot;pc104&amp;quot;&lt;br /&gt;
  XKBLAYOUT=&amp;quot;us,us(intl)&amp;quot;&lt;br /&gt;
  XKBVARIANT=&amp;quot;&amp;quot;&lt;br /&gt;
  XKBOPTIONS=&amp;quot;compose(lwin),compose(rwin),grp:shifts_toggle,grp_led:scroll&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== Special keys ==&lt;br /&gt;
&lt;br /&gt;
Some keys are intercepted by X Windows. The keycodes are&lt;br /&gt;
&lt;br /&gt;
  151 XF86WakeUp Fn&lt;br /&gt;
  167 XF86Forward&lt;br /&gt;
  166 XF86Back&lt;br /&gt;
  122 XF86AudioLower&lt;br /&gt;
  123 XF86AudioRaiseVolume&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Mute switch the hardware volume which is not controlled by ALSA.&lt;br /&gt;
&lt;br /&gt;
ACPI links suspend to ram and to disc to Fn+F4 and Fn+F12 respectively. Screen brightness, thinklight, bluetooth works as well.&lt;br /&gt;
&lt;br /&gt;
In fluxbox I used for:&lt;br /&gt;
&lt;br /&gt;
  &amp;quot;.fluxbox/keys&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
  Menu  :Exec rxvt&lt;br /&gt;
  Shift Menu :Exec fbrun&lt;br /&gt;
  XF86Forward  :NextWorkspace&lt;br /&gt;
  XF86Back  :PrevWorkspace&lt;br /&gt;
&lt;br /&gt;
== Trackpoint ==&lt;br /&gt;
&lt;br /&gt;
As for the keyboard, options are not handled anymore from xorg.cong. To enable scrooling edit:&lt;br /&gt;
&lt;br /&gt;
  /etc/hal/fdi/policy/mouse-wheel.fdi&lt;br /&gt;
&lt;br /&gt;
as&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;match key=&amp;quot;info.product&amp;quot; string=&amp;quot;TPPS/2 IBM TrackPoint&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheel&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheelButton&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;2&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheelTimeout&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;250&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;merge key=&amp;quot;input.x11_options.XAxisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;6 7&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;merge key=&amp;quot;input.x11_options.YAxisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;4 5&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;merge key=&amp;quot;input.x11_options.ZAxsisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;4 5&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;merge key=&amp;quot;input.x11_options.Emulate3Buttons&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;/match&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== TO BE CONTINUED ==&lt;/div&gt;</summary>
		<author><name>Rdemaria</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Debian_Sid_(October_2008)_on_a_ThinkPad_X200&amp;diff=44051</id>
		<title>Installing Debian Sid (October 2008) on a ThinkPad X200</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Debian_Sid_(October_2008)_on_a_ThinkPad_X200&amp;diff=44051"/>
		<updated>2009-09-02T08:11:58Z</updated>

		<summary type="html">&lt;p&gt;Rdemaria: /* Keyboard */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
Amazing machine: light, quiet, large battery life, ideal for travels, great value for money compared to X200T and X300.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Creating installation device ==&lt;br /&gt;
&lt;br /&gt;
The X200 has no cd/dvd but can boot from USB. On the X200 BIOS settings, the USB disk boot option needed to be raised to be used first. Using F1 at boot gives access to the BIOS.&lt;br /&gt;
&lt;br /&gt;
I created an USB bootable iso from another linux installation.&lt;br /&gt;
I had an usb stick with a FAT32 partition on /dev/sdc1. I dowloaded the boot and iso file and installed the image&lt;br /&gt;
using:&lt;br /&gt;
&lt;br /&gt;
  wget http://people.debian.org/~joeyh/d-i/images/daily/hd-media/boot.img.gz&lt;br /&gt;
  wget http://cdimage.debian.org/cdimage/daily-builds/daily/arch-latest/i386/iso-cd/debian-testing-i386-netinst.iso&lt;br /&gt;
  zcat boot.img.gz &amp;gt;/dev/sdc1&lt;br /&gt;
  mkdir /mnt/sdc1&lt;br /&gt;
  mount /dev/sdc1 /mnt/sdc1&lt;br /&gt;
  cp debian-testing-i386-netinst.iso /mnt/sdc1&lt;br /&gt;
&lt;br /&gt;
The boot stick will use the network to install the package but a more complete ISO image can be dowloaded.&lt;br /&gt;
&lt;br /&gt;
The wifi will not work (see [[Installing_Debian_on_an_X200]]) but the Ethernet card will. In theory it should be possible build custom Debian Live USB stick, using the latest package and install from there, I didn't manage so far.&lt;br /&gt;
&lt;br /&gt;
== Sid installation ==&lt;br /&gt;
&lt;br /&gt;
To install sid use the expert installation support and choose unstable for the repository.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Backup hard drive data ==&lt;br /&gt;
&lt;br /&gt;
In order to save the hard drive content, I created complete hard drive image on another hard disk. During the installation procedure I activated another shell with CTRL-ALT-F3, mounted an external HD (/dev/sdb1) and copied the image with:&lt;br /&gt;
&lt;br /&gt;
  mkdir /mnt/sdb1&lt;br /&gt;
  mount /dev/sdb1 /mnt/sdb1/&lt;br /&gt;
  dd if=/dev/sda of=/mnt/sdb1/sda-image&lt;br /&gt;
&lt;br /&gt;
In principle partimage is better option but the installation image does not have it. Also gzipping the partition on the fly would have bin better, but the gzip or bzip2 were not present. Using a custom Debian Live installation image would solve the problem.&lt;br /&gt;
&lt;br /&gt;
== Kernel ==&lt;br /&gt;
&lt;br /&gt;
Some kernel options here for /boot/grub/menu.lst:&lt;br /&gt;
  &lt;br /&gt;
  # kopt=root=/dev/sda1 ro acpi_sleep=s3_bios vga=0x0368 video=vesafb&lt;br /&gt;
&lt;br /&gt;
Update the real items using&lt;br /&gt;
  &lt;br /&gt;
  update-grub&lt;br /&gt;
&lt;br /&gt;
== Video ==&lt;br /&gt;
&lt;br /&gt;
Intel driver on sid does not allow suspend to ram. Vesa driver is not that slow, but does not enable the VGA output.&lt;br /&gt;
&lt;br /&gt;
A solution is use the experimental package, but xorg needs a couple of ServerFlag option to avoid&lt;br /&gt;
strange behavior with mouse and keyboard.&lt;br /&gt;
&lt;br /&gt;
This is a simple xorg.conf:&lt;br /&gt;
&lt;br /&gt;
  $ cat /etc/X11/xorg.conf &lt;br /&gt;
&lt;br /&gt;
  Section &amp;quot;Screen&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;Default Screen&amp;quot;&lt;br /&gt;
        Monitor         &amp;quot;Configured Monitor&amp;quot;&lt;br /&gt;
        Defaultdepth    24&lt;br /&gt;
        SubSection &amp;quot;Display&amp;quot;&lt;br /&gt;
                Modes           &amp;quot;1280x800&amp;quot;&lt;br /&gt;
  #             Virtual    2048 1024&lt;br /&gt;
        EndSubSection&lt;br /&gt;
  EndSection&lt;br /&gt;
  Section &amp;quot;Monitor&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;Configured Monitor&amp;quot;&lt;br /&gt;
        DisplaySize     231 233.5 #fake smaller dpi&lt;br /&gt;
  EndSection&lt;br /&gt;
  Section &amp;quot;Monitor&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;HDMI-1&amp;quot;&lt;br /&gt;
        Option          &amp;quot;Ignore&amp;quot; &amp;quot;True&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
  Section &amp;quot;Monitor&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;HDMI-2&amp;quot;&lt;br /&gt;
        Option          &amp;quot;Ignore&amp;quot; &amp;quot;True&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
  Section &amp;quot;Device&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;Configured Video Device&amp;quot;&lt;br /&gt;
        Driver          &amp;quot;intel&amp;quot;&lt;br /&gt;
        Option          &amp;quot;monitor-HDMI-1&amp;quot; &amp;quot;HDMI-1&amp;quot;&lt;br /&gt;
        Option          &amp;quot;monitor-HDMI-2&amp;quot; &amp;quot;HDMI-2&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
&lt;br /&gt;
== Fonts ==&lt;br /&gt;
&lt;br /&gt;
Default fonts are a bit ugly. Things get better by creating some symbolic link:&lt;br /&gt;
&lt;br /&gt;
  cd /etc/fonts/conf.d&lt;br /&gt;
  ln -s ../conf.avail/10-autohint.conf&lt;br /&gt;
  ln -s ../conf.avail/10-sub-pixel-rgb.conf&lt;br /&gt;
  ln -s ../conf.avail/70-no-bitmaps.conf&lt;br /&gt;
&lt;br /&gt;
For GTK and Firefox&lt;br /&gt;
&lt;br /&gt;
Fonts size are too large. Solution:&lt;br /&gt;
  $cat ~/.gtkrc-2.0&lt;br /&gt;
  # -- THEME AUTO-WRITTEN DO NOT EDIT&lt;br /&gt;
  include &amp;quot;/usr/share/themes/Industrial/gtk-2.0/gtkrc&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  include &amp;quot;/home/rdemaria/.gtkrc-2.0.mine&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  # -- THEME AUTO-WRITTEN DO NOT EDIT&lt;br /&gt;
&lt;br /&gt;
  $cat ~/.gtkrc-2.0.mine&lt;br /&gt;
  gtk-font-name = &amp;quot;Sans 8&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Bold font are also ugly on xvrt (in xterm the bold font control seems always broken). See below for the solution.&lt;br /&gt;
&lt;br /&gt;
== Terminal ==&lt;br /&gt;
&lt;br /&gt;
I tried several terminals. But I found rxvt-unicode the easiest and fastest. This resources allow 4 terminals in one window. Bold font (unreadable to me) are disabled.&lt;br /&gt;
  $cat ~/.Xresources&lt;br /&gt;
  rxvt*cutchars: \$:[]&lt;br /&gt;
  rxvt*visualBell: true&lt;br /&gt;
  rxvt*foreground: white&lt;br /&gt;
  rxvt*background: black&lt;br /&gt;
  rxvt*geometry: 80x27&lt;br /&gt;
  rxvt*jumpScroll: true&lt;br /&gt;
  rxvt*skipScroll: true&lt;br /&gt;
  rxvt*scrollBar: false&lt;br /&gt;
  rxvt*boldFont:&lt;br /&gt;
  rxvt*boldItalicFont:&lt;br /&gt;
  rxvt*saveLines: 9096&lt;br /&gt;
  rxvt*mouseWheelScrollPage: false&lt;br /&gt;
&lt;br /&gt;
== Wifi ==&lt;br /&gt;
&lt;br /&gt;
Put in the /etc/apt/source.list&lt;br /&gt;
&lt;br /&gt;
  deb http://kernel-archive.buildserver.net/debian-kernel trunk main &lt;br /&gt;
&lt;br /&gt;
Installed linux-image-2.6.27-1 and firmware&lt;br /&gt;
&lt;br /&gt;
  wget http://intellinuxwireless.org/iwlwifi/downloads/iwlwifi-5000-ucode-5.4.A.11.tar.gz&lt;br /&gt;
  tar xvfz iwlwifi-5000-ucode-5.4.A.11.tar.gz&lt;br /&gt;
  cp  iwlwifi-5000-ucode-5.4.A.11/iwlwifi-5000-1.ucode /lib/firmware&lt;br /&gt;
  aptitude install linux-image-2.6.27-1-686 hal&lt;br /&gt;
&lt;br /&gt;
== Suspend ==&lt;br /&gt;
&lt;br /&gt;
Suspend to disk works using the button Fn+F12.&lt;br /&gt;
&lt;br /&gt;
Suspend to ram (Fn+F4) does not work with sid intel driver, but works with the experimental one.&lt;br /&gt;
Using vesa driver, it works if the i915 driver is installed. I put the line:&lt;br /&gt;
  modprobe i915&lt;br /&gt;
&lt;br /&gt;
in /etc/rc.local.&lt;br /&gt;
&lt;br /&gt;
The trackpoint occasionally stops working after a resume. Apparently it is enough to move it &lt;br /&gt;
a little bit during the resume.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Sound ==&lt;br /&gt;
&lt;br /&gt;
Everything works, but in a strange way. The hardware volume control is managed by acpi&lt;br /&gt;
&lt;br /&gt;
  $ cat /proc/acpi/ibm/volume&lt;br /&gt;
  level:          8&lt;br /&gt;
  mute:           off&lt;br /&gt;
  commands:       up, down, mute&lt;br /&gt;
  commands:       level &amp;lt;level&amp;gt; (&amp;lt;level&amp;gt; is 0-15)&lt;br /&gt;
&lt;br /&gt;
The mute button is linked to the mute command, but volume up and down are passed to X with keycode 176 174. I&lt;br /&gt;
thought that acpi was intercepting the key and send them to X using fakekey. I played in /etc/acpi/events but I didn't managed to change the behavior.&lt;br /&gt;
&lt;br /&gt;
== Skype ==&lt;br /&gt;
&lt;br /&gt;
Everything works downloading the skype version for Etch. After suspending and resuming the video does not work anymore.&lt;br /&gt;
The error message is:&lt;br /&gt;
&lt;br /&gt;
  Skype V4L2: Could not find a suitable capture format&lt;br /&gt;
&lt;br /&gt;
Several people propose to update the uvcvideo driver.&lt;br /&gt;
  svn checkout http://svn.berlios.de/svnroot/repos/linux-uvc/&lt;br /&gt;
  cd linux-uvc/linux-uvc/trunk/&lt;br /&gt;
  make&lt;br /&gt;
  make install&lt;br /&gt;
  modprobe uvcvideo&lt;br /&gt;
&lt;br /&gt;
But I didn't tried yet cause I'm still using the experimental kernel that does not come with packages for compiling modules.&lt;br /&gt;
&lt;br /&gt;
== GTK and Firefox ==&lt;br /&gt;
&lt;br /&gt;
Font size is too large. Solution:&lt;br /&gt;
  $cat /home/rdemaria/.gtkrc-2.0&lt;br /&gt;
  # -- THEME AUTO-WRITTEN DO NOT EDIT&lt;br /&gt;
  include &amp;quot;/usr/share/themes/Industrial/gtk-2.0/gtkrc&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  include &amp;quot;/home/rdemaria/.gtkrc-2.0.mine&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  # -- THEME AUTO-WRITTEN DO NOT EDIT&lt;br /&gt;
&lt;br /&gt;
  $cat /home/rdemaria/.gtkrc-2.0.mine&lt;br /&gt;
  gtk-font-name = &amp;quot;Sans 8&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== Printer and scanner ==&lt;br /&gt;
&lt;br /&gt;
Usb printer and scanner (HP Officejet J4580) works perfectly using cups, hpoj, xsane, hplib.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== RAM upgrade ==&lt;br /&gt;
&lt;br /&gt;
My X200 came with 2G of ram and 1 free slots. I bought:&lt;br /&gt;
   Crucial 2GB 204-Pin DDR3 SO-DIMM DDR3 1066 (PC3 8500) Laptop Memory Model CT25664BC1067 - Retail&lt;br /&gt;
&lt;br /&gt;
installed and replace the kernel with a bigmem one.&lt;br /&gt;
&lt;br /&gt;
== Hard disk upgrade ==&lt;br /&gt;
&lt;br /&gt;
My X200 came with a 160GB hardrive. I bought the 500GB hard drive&lt;br /&gt;
   Western Digital Scorpio Blue WD5000BEVT 500GB 5400 RPM SATA 3.0Gb/s Notebook Hard Drive - OEM&lt;br /&gt;
&lt;br /&gt;
and the adapter&lt;br /&gt;
  Link Depot USB2-SATA USB2.0 TO IDE/SATA Adapter Cable - Retail&lt;br /&gt;
&lt;br /&gt;
for transfer the data.&lt;br /&gt;
&lt;br /&gt;
I connected the new hard drive using the usb port. The drive was recognized as /dev/sdb. I create the partitions that reads:&lt;br /&gt;
&lt;br /&gt;
  $ sfdisk -d /dev/sdb&lt;br /&gt;
  # partition table of /dev/sdb&lt;br /&gt;
  unit: sectors&lt;br /&gt;
&lt;br /&gt;
  /dev/sdb1 : start=       63, size= 71553447, Id=83&lt;br /&gt;
  /dev/sdb2 : start= 71553510, size=905214555, Id= 5&lt;br /&gt;
  /dev/sdb3 : start=        0, size=        0, Id= 0&lt;br /&gt;
  /dev/sdb4 : start=        0, size=        0, Id= 0&lt;br /&gt;
  /dev/sdb5 : start= 71553573, size=894467007, Id=83&lt;br /&gt;
  /dev/sdb6 : start=966020643, size= 10747422, Id=82&lt;br /&gt;
&lt;br /&gt;
Then made the filesystem and copy the files:&lt;br /&gt;
  $ sudo mkfs.ext3 /dev/sdb1&lt;br /&gt;
  $ sudo mkfs.ext3 /dev/sdb5&lt;br /&gt;
  $ sudo mkswap    /dev/sda6&lt;br /&gt;
  $ sudo mount /mnt/sdb1&lt;br /&gt;
  $ sudo mount /mnt/sdb5&lt;br /&gt;
  $ sudo rsync -a --delete \&lt;br /&gt;
  --exclude /mnt/sdb1 \&lt;br /&gt;
  --exclude /mnt/sdb5 \&lt;br /&gt;
  --exclude /home \&lt;br /&gt;
  --exclude /proc \&lt;br /&gt;
  --exclude /sys \&lt;br /&gt;
  --exclude /lib/init/rw \&lt;br /&gt;
  --exclude /dev \&lt;br /&gt;
  / /mnt/sdb1&lt;br /&gt;
  $ cd /mnt/sdb1; mkdir /home /proc /sys /lib/init/rw /dev; cd &lt;br /&gt;
  $ sudo rsync -a /home/ /mnt/sdb5&lt;br /&gt;
  $ sudo umount /mnt/sdb5; sudo umount /mnt/sdb1&lt;br /&gt;
&lt;br /&gt;
Finally install grub&lt;br /&gt;
  $ sudo grub --no-floppy&lt;br /&gt;
  $ geometry (hd1)&lt;br /&gt;
  &amp;gt; root (hd1,0)&lt;br /&gt;
  &amp;gt; setup (hd1)&lt;br /&gt;
  &amp;gt; quit&lt;br /&gt;
&lt;br /&gt;
and replace the disk. (I tried to boot from the usb to check the new hard drive, but I messed up the old installation...)&lt;br /&gt;
&lt;br /&gt;
For some reason the suspend to disk was not working anymore. But &lt;br /&gt;
  $ sudo aptitude reinstall uswsusp&lt;br /&gt;
fixed the problem answering yes to use the swap disk.&lt;br /&gt;
&lt;br /&gt;
== Keyboard ==&lt;br /&gt;
&lt;br /&gt;
In recent versions of xserver (as of version 1.4.0.90-7) keyboard-layout is handled by hal, so settings done will be overridden. Settings should be put in:&lt;br /&gt;
&lt;br /&gt;
   /etc/default/console-setup&lt;br /&gt;
&lt;br /&gt;
For a double layout us, us(intl) I put:&lt;br /&gt;
&lt;br /&gt;
  XKBMODEL=&amp;quot;pc104&amp;quot;&lt;br /&gt;
  XKBLAYOUT=&amp;quot;us,us(intl)&amp;quot;&lt;br /&gt;
  XKBVARIANT=&amp;quot;&amp;quot;&lt;br /&gt;
  XKBOPTIONS=&amp;quot;compose(lwin),compose(rwin),grp:shifts_toggle,grp_led:scroll&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== Special keys ==&lt;br /&gt;
&lt;br /&gt;
Some keys are intercepted by X Windows. The keycodes are&lt;br /&gt;
&lt;br /&gt;
  151 XF86WakeUp Fn&lt;br /&gt;
  167 XF86Forward&lt;br /&gt;
  166 XF86Back&lt;br /&gt;
  122 XF86AudioLower&lt;br /&gt;
  123 XF86AudioRaiseVolume&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Mute switch the hardware volume which is not controlled by ALSA.&lt;br /&gt;
&lt;br /&gt;
ACPI links suspend to ram and to disc to Fn+F4 and Fn+F12 respectively. Screen brightness, thinklight, bluetooth works as well.&lt;br /&gt;
&lt;br /&gt;
In fluxbox I used for:&lt;br /&gt;
&lt;br /&gt;
  &amp;quot;.fluxbox/keys&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
  Menu  :Exec rxvt&lt;br /&gt;
  Shift Menu :Exec fbrun&lt;br /&gt;
  XF86Forward  :NextWorkspace&lt;br /&gt;
  XF86Back  :PrevWorkspace&lt;br /&gt;
&lt;br /&gt;
== Trackpoint ==&lt;br /&gt;
&lt;br /&gt;
As for the keyboard, options are not handled anymore from xorg.cong. To enable scrooling edit:&lt;br /&gt;
&lt;br /&gt;
  /etc/hal/fdi/policy/mouse-wheel.fdi&lt;br /&gt;
&lt;br /&gt;
as&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;match key=&amp;quot;info.product&amp;quot; string=&amp;quot;TPPS/2 IBM TrackPoint&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheel&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheelButton&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;2&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheelTimeout&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;250&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;merge key=&amp;quot;input.x11_options.XAxisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;6 7&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;merge key=&amp;quot;input.x11_options.YAxisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;4 5&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;merge key=&amp;quot;input.x11_options.ZAxsisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;4 5&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;merge key=&amp;quot;input.x11_options.Emulate3Buttons&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;/match&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== TO BE CONTINUED ==&lt;/div&gt;</summary>
		<author><name>Rdemaria</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Debian_Sid_(October_2008)_on_a_ThinkPad_X200&amp;diff=44050</id>
		<title>Installing Debian Sid (October 2008) on a ThinkPad X200</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Debian_Sid_(October_2008)_on_a_ThinkPad_X200&amp;diff=44050"/>
		<updated>2009-09-02T08:07:05Z</updated>

		<summary type="html">&lt;p&gt;Rdemaria: /* Special keys */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
Amazing machine: light, quiet, large battery life, ideal for travels, great value for money compared to X200T and X300.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Creating installation device ==&lt;br /&gt;
&lt;br /&gt;
The X200 has no cd/dvd but can boot from USB. On the X200 BIOS settings, the USB disk boot option needed to be raised to be used first. Using F1 at boot gives access to the BIOS.&lt;br /&gt;
&lt;br /&gt;
I created an USB bootable iso from another linux installation.&lt;br /&gt;
I had an usb stick with a FAT32 partition on /dev/sdc1. I dowloaded the boot and iso file and installed the image&lt;br /&gt;
using:&lt;br /&gt;
&lt;br /&gt;
  wget http://people.debian.org/~joeyh/d-i/images/daily/hd-media/boot.img.gz&lt;br /&gt;
  wget http://cdimage.debian.org/cdimage/daily-builds/daily/arch-latest/i386/iso-cd/debian-testing-i386-netinst.iso&lt;br /&gt;
  zcat boot.img.gz &amp;gt;/dev/sdc1&lt;br /&gt;
  mkdir /mnt/sdc1&lt;br /&gt;
  mount /dev/sdc1 /mnt/sdc1&lt;br /&gt;
  cp debian-testing-i386-netinst.iso /mnt/sdc1&lt;br /&gt;
&lt;br /&gt;
The boot stick will use the network to install the package but a more complete ISO image can be dowloaded.&lt;br /&gt;
&lt;br /&gt;
The wifi will not work (see [[Installing_Debian_on_an_X200]]) but the Ethernet card will. In theory it should be possible build custom Debian Live USB stick, using the latest package and install from there, I didn't manage so far.&lt;br /&gt;
&lt;br /&gt;
== Sid installation ==&lt;br /&gt;
&lt;br /&gt;
To install sid use the expert installation support and choose unstable for the repository.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Backup hard drive data ==&lt;br /&gt;
&lt;br /&gt;
In order to save the hard drive content, I created complete hard drive image on another hard disk. During the installation procedure I activated another shell with CTRL-ALT-F3, mounted an external HD (/dev/sdb1) and copied the image with:&lt;br /&gt;
&lt;br /&gt;
  mkdir /mnt/sdb1&lt;br /&gt;
  mount /dev/sdb1 /mnt/sdb1/&lt;br /&gt;
  dd if=/dev/sda of=/mnt/sdb1/sda-image&lt;br /&gt;
&lt;br /&gt;
In principle partimage is better option but the installation image does not have it. Also gzipping the partition on the fly would have bin better, but the gzip or bzip2 were not present. Using a custom Debian Live installation image would solve the problem.&lt;br /&gt;
&lt;br /&gt;
== Kernel ==&lt;br /&gt;
&lt;br /&gt;
Some kernel options here for /boot/grub/menu.lst:&lt;br /&gt;
  &lt;br /&gt;
  # kopt=root=/dev/sda1 ro acpi_sleep=s3_bios vga=0x0368 video=vesafb&lt;br /&gt;
&lt;br /&gt;
Update the real items using&lt;br /&gt;
  &lt;br /&gt;
  update-grub&lt;br /&gt;
&lt;br /&gt;
== Video ==&lt;br /&gt;
&lt;br /&gt;
Intel driver on sid does not allow suspend to ram. Vesa driver is not that slow, but does not enable the VGA output.&lt;br /&gt;
&lt;br /&gt;
A solution is use the experimental package, but xorg needs a couple of ServerFlag option to avoid&lt;br /&gt;
strange behavior with mouse and keyboard.&lt;br /&gt;
&lt;br /&gt;
This is a simple xorg.conf:&lt;br /&gt;
&lt;br /&gt;
  $ cat /etc/X11/xorg.conf &lt;br /&gt;
&lt;br /&gt;
  Section &amp;quot;Screen&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;Default Screen&amp;quot;&lt;br /&gt;
        Monitor         &amp;quot;Configured Monitor&amp;quot;&lt;br /&gt;
        Defaultdepth    24&lt;br /&gt;
        SubSection &amp;quot;Display&amp;quot;&lt;br /&gt;
                Modes           &amp;quot;1280x800&amp;quot;&lt;br /&gt;
  #             Virtual    2048 1024&lt;br /&gt;
        EndSubSection&lt;br /&gt;
  EndSection&lt;br /&gt;
  Section &amp;quot;Monitor&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;Configured Monitor&amp;quot;&lt;br /&gt;
        DisplaySize     231 233.5 #fake smaller dpi&lt;br /&gt;
  EndSection&lt;br /&gt;
  Section &amp;quot;Monitor&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;HDMI-1&amp;quot;&lt;br /&gt;
        Option          &amp;quot;Ignore&amp;quot; &amp;quot;True&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
  Section &amp;quot;Monitor&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;HDMI-2&amp;quot;&lt;br /&gt;
        Option          &amp;quot;Ignore&amp;quot; &amp;quot;True&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
  Section &amp;quot;Device&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;Configured Video Device&amp;quot;&lt;br /&gt;
        Driver          &amp;quot;intel&amp;quot;&lt;br /&gt;
        Option          &amp;quot;monitor-HDMI-1&amp;quot; &amp;quot;HDMI-1&amp;quot;&lt;br /&gt;
        Option          &amp;quot;monitor-HDMI-2&amp;quot; &amp;quot;HDMI-2&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
&lt;br /&gt;
== Fonts ==&lt;br /&gt;
&lt;br /&gt;
Default fonts are a bit ugly. Things get better by creating some symbolic link:&lt;br /&gt;
&lt;br /&gt;
  cd /etc/fonts/conf.d&lt;br /&gt;
  ln -s ../conf.avail/10-autohint.conf&lt;br /&gt;
  ln -s ../conf.avail/10-sub-pixel-rgb.conf&lt;br /&gt;
  ln -s ../conf.avail/70-no-bitmaps.conf&lt;br /&gt;
&lt;br /&gt;
For GTK and Firefox&lt;br /&gt;
&lt;br /&gt;
Fonts size are too large. Solution:&lt;br /&gt;
  $cat ~/.gtkrc-2.0&lt;br /&gt;
  # -- THEME AUTO-WRITTEN DO NOT EDIT&lt;br /&gt;
  include &amp;quot;/usr/share/themes/Industrial/gtk-2.0/gtkrc&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  include &amp;quot;/home/rdemaria/.gtkrc-2.0.mine&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  # -- THEME AUTO-WRITTEN DO NOT EDIT&lt;br /&gt;
&lt;br /&gt;
  $cat ~/.gtkrc-2.0.mine&lt;br /&gt;
  gtk-font-name = &amp;quot;Sans 8&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Bold font are also ugly on xvrt (in xterm the bold font control seems always broken). See below for the solution.&lt;br /&gt;
&lt;br /&gt;
== Terminal ==&lt;br /&gt;
&lt;br /&gt;
I tried several terminals. But I found rxvt-unicode the easiest and fastest. This resources allow 4 terminals in one window. Bold font (unreadable to me) are disabled.&lt;br /&gt;
  $cat ~/.Xresources&lt;br /&gt;
  rxvt*cutchars: \$:[]&lt;br /&gt;
  rxvt*visualBell: true&lt;br /&gt;
  rxvt*foreground: white&lt;br /&gt;
  rxvt*background: black&lt;br /&gt;
  rxvt*geometry: 80x27&lt;br /&gt;
  rxvt*jumpScroll: true&lt;br /&gt;
  rxvt*skipScroll: true&lt;br /&gt;
  rxvt*scrollBar: false&lt;br /&gt;
  rxvt*boldFont:&lt;br /&gt;
  rxvt*boldItalicFont:&lt;br /&gt;
  rxvt*saveLines: 9096&lt;br /&gt;
  rxvt*mouseWheelScrollPage: false&lt;br /&gt;
&lt;br /&gt;
== Wifi ==&lt;br /&gt;
&lt;br /&gt;
Put in the /etc/apt/source.list&lt;br /&gt;
&lt;br /&gt;
  deb http://kernel-archive.buildserver.net/debian-kernel trunk main &lt;br /&gt;
&lt;br /&gt;
Installed linux-image-2.6.27-1 and firmware&lt;br /&gt;
&lt;br /&gt;
  wget http://intellinuxwireless.org/iwlwifi/downloads/iwlwifi-5000-ucode-5.4.A.11.tar.gz&lt;br /&gt;
  tar xvfz iwlwifi-5000-ucode-5.4.A.11.tar.gz&lt;br /&gt;
  cp  iwlwifi-5000-ucode-5.4.A.11/iwlwifi-5000-1.ucode /lib/firmware&lt;br /&gt;
  aptitude install linux-image-2.6.27-1-686 hal&lt;br /&gt;
&lt;br /&gt;
== Suspend ==&lt;br /&gt;
&lt;br /&gt;
Suspend to disk works using the button Fn+F12.&lt;br /&gt;
&lt;br /&gt;
Suspend to ram (Fn+F4) does not work with sid intel driver, but works with the experimental one.&lt;br /&gt;
Using vesa driver, it works if the i915 driver is installed. I put the line:&lt;br /&gt;
  modprobe i915&lt;br /&gt;
&lt;br /&gt;
in /etc/rc.local.&lt;br /&gt;
&lt;br /&gt;
The trackpoint occasionally stops working after a resume. Apparently it is enough to move it &lt;br /&gt;
a little bit during the resume.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Sound ==&lt;br /&gt;
&lt;br /&gt;
Everything works, but in a strange way. The hardware volume control is managed by acpi&lt;br /&gt;
&lt;br /&gt;
  $ cat /proc/acpi/ibm/volume&lt;br /&gt;
  level:          8&lt;br /&gt;
  mute:           off&lt;br /&gt;
  commands:       up, down, mute&lt;br /&gt;
  commands:       level &amp;lt;level&amp;gt; (&amp;lt;level&amp;gt; is 0-15)&lt;br /&gt;
&lt;br /&gt;
The mute button is linked to the mute command, but volume up and down are passed to X with keycode 176 174. I&lt;br /&gt;
thought that acpi was intercepting the key and send them to X using fakekey. I played in /etc/acpi/events but I didn't managed to change the behavior.&lt;br /&gt;
&lt;br /&gt;
== Skype ==&lt;br /&gt;
&lt;br /&gt;
Everything works downloading the skype version for Etch. After suspending and resuming the video does not work anymore.&lt;br /&gt;
The error message is:&lt;br /&gt;
&lt;br /&gt;
  Skype V4L2: Could not find a suitable capture format&lt;br /&gt;
&lt;br /&gt;
Several people propose to update the uvcvideo driver.&lt;br /&gt;
  svn checkout http://svn.berlios.de/svnroot/repos/linux-uvc/&lt;br /&gt;
  cd linux-uvc/linux-uvc/trunk/&lt;br /&gt;
  make&lt;br /&gt;
  make install&lt;br /&gt;
  modprobe uvcvideo&lt;br /&gt;
&lt;br /&gt;
But I didn't tried yet cause I'm still using the experimental kernel that does not come with packages for compiling modules.&lt;br /&gt;
&lt;br /&gt;
== GTK and Firefox ==&lt;br /&gt;
&lt;br /&gt;
Font size is too large. Solution:&lt;br /&gt;
  $cat /home/rdemaria/.gtkrc-2.0&lt;br /&gt;
  # -- THEME AUTO-WRITTEN DO NOT EDIT&lt;br /&gt;
  include &amp;quot;/usr/share/themes/Industrial/gtk-2.0/gtkrc&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  include &amp;quot;/home/rdemaria/.gtkrc-2.0.mine&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  # -- THEME AUTO-WRITTEN DO NOT EDIT&lt;br /&gt;
&lt;br /&gt;
  $cat /home/rdemaria/.gtkrc-2.0.mine&lt;br /&gt;
  gtk-font-name = &amp;quot;Sans 8&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== Printer and scanner ==&lt;br /&gt;
&lt;br /&gt;
Usb printer and scanner (HP Officejet J4580) works perfectly using cups, hpoj, xsane, hplib.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== RAM upgrade ==&lt;br /&gt;
&lt;br /&gt;
My X200 came with 2G of ram and 1 free slots. I bought:&lt;br /&gt;
   Crucial 2GB 204-Pin DDR3 SO-DIMM DDR3 1066 (PC3 8500) Laptop Memory Model CT25664BC1067 - Retail&lt;br /&gt;
&lt;br /&gt;
installed and replace the kernel with a bigmem one.&lt;br /&gt;
&lt;br /&gt;
== Hard disk upgrade ==&lt;br /&gt;
&lt;br /&gt;
My X200 came with a 160GB hardrive. I bought the 500GB hard drive&lt;br /&gt;
   Western Digital Scorpio Blue WD5000BEVT 500GB 5400 RPM SATA 3.0Gb/s Notebook Hard Drive - OEM&lt;br /&gt;
&lt;br /&gt;
and the adapter&lt;br /&gt;
  Link Depot USB2-SATA USB2.0 TO IDE/SATA Adapter Cable - Retail&lt;br /&gt;
&lt;br /&gt;
for transfer the data.&lt;br /&gt;
&lt;br /&gt;
I connected the new hard drive using the usb port. The drive was recognized as /dev/sdb. I create the partitions that reads:&lt;br /&gt;
&lt;br /&gt;
  $ sfdisk -d /dev/sdb&lt;br /&gt;
  # partition table of /dev/sdb&lt;br /&gt;
  unit: sectors&lt;br /&gt;
&lt;br /&gt;
  /dev/sdb1 : start=       63, size= 71553447, Id=83&lt;br /&gt;
  /dev/sdb2 : start= 71553510, size=905214555, Id= 5&lt;br /&gt;
  /dev/sdb3 : start=        0, size=        0, Id= 0&lt;br /&gt;
  /dev/sdb4 : start=        0, size=        0, Id= 0&lt;br /&gt;
  /dev/sdb5 : start= 71553573, size=894467007, Id=83&lt;br /&gt;
  /dev/sdb6 : start=966020643, size= 10747422, Id=82&lt;br /&gt;
&lt;br /&gt;
Then made the filesystem and copy the files:&lt;br /&gt;
  $ sudo mkfs.ext3 /dev/sdb1&lt;br /&gt;
  $ sudo mkfs.ext3 /dev/sdb5&lt;br /&gt;
  $ sudo mkswap    /dev/sda6&lt;br /&gt;
  $ sudo mount /mnt/sdb1&lt;br /&gt;
  $ sudo mount /mnt/sdb5&lt;br /&gt;
  $ sudo rsync -a --delete \&lt;br /&gt;
  --exclude /mnt/sdb1 \&lt;br /&gt;
  --exclude /mnt/sdb5 \&lt;br /&gt;
  --exclude /home \&lt;br /&gt;
  --exclude /proc \&lt;br /&gt;
  --exclude /sys \&lt;br /&gt;
  --exclude /lib/init/rw \&lt;br /&gt;
  --exclude /dev \&lt;br /&gt;
  / /mnt/sdb1&lt;br /&gt;
  $ cd /mnt/sdb1; mkdir /home /proc /sys /lib/init/rw /dev; cd &lt;br /&gt;
  $ sudo rsync -a /home/ /mnt/sdb5&lt;br /&gt;
  $ sudo umount /mnt/sdb5; sudo umount /mnt/sdb1&lt;br /&gt;
&lt;br /&gt;
Finally install grub&lt;br /&gt;
  $ sudo grub --no-floppy&lt;br /&gt;
  $ geometry (hd1)&lt;br /&gt;
  &amp;gt; root (hd1,0)&lt;br /&gt;
  &amp;gt; setup (hd1)&lt;br /&gt;
  &amp;gt; quit&lt;br /&gt;
&lt;br /&gt;
and replace the disk. (I tried to boot from the usb to check the new hard drive, but I messed up the old installation...)&lt;br /&gt;
&lt;br /&gt;
For some reason the suspend to disk was not working anymore. But &lt;br /&gt;
  $ sudo aptitude reinstall uswsusp&lt;br /&gt;
fixed the problem answering yes to use the swap disk.&lt;br /&gt;
&lt;br /&gt;
== Keyboard ==&lt;br /&gt;
&lt;br /&gt;
In recent versions of xserver (as of version 1.4.0.90-7) keyboard-layout is handled by hal, so settings done will be overridden. Settings should be put in:&lt;br /&gt;
&lt;br /&gt;
   /etc/default/console-setup&lt;br /&gt;
&lt;br /&gt;
For a double layout us, us(intl) I put:&lt;br /&gt;
&lt;br /&gt;
  XKBMODEL=&amp;quot;pc104&amp;quot;&lt;br /&gt;
  XKBLAYOUT=&amp;quot;us,us(intl)&amp;quot;&lt;br /&gt;
  XKBVARIANT=&amp;quot;&amp;quot;&lt;br /&gt;
  XKBOPTIONS=&amp;quot;compose(lwin),compose(rwin),grp:shifts_toggle,grp_led:scroll&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Trackpoint ==&lt;br /&gt;
&lt;br /&gt;
As for the keyboard, options are not handled anymore from xorg.cong. To enable scrooling edit:&lt;br /&gt;
&lt;br /&gt;
  /etc/hal/fdi/policy/mouse-wheel.fdi&lt;br /&gt;
&lt;br /&gt;
as&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;match key=&amp;quot;info.product&amp;quot; string=&amp;quot;TPPS/2 IBM TrackPoint&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheel&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheelButton&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;2&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheelTimeout&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;250&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;merge key=&amp;quot;input.x11_options.XAxisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;6 7&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;merge key=&amp;quot;input.x11_options.YAxisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;4 5&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;merge key=&amp;quot;input.x11_options.ZAxsisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;4 5&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;merge key=&amp;quot;input.x11_options.Emulate3Buttons&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;/match&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== TO BE CONTINUED ==&lt;/div&gt;</summary>
		<author><name>Rdemaria</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Debian_Sid_(October_2008)_on_a_ThinkPad_X200&amp;diff=44049</id>
		<title>Installing Debian Sid (October 2008) on a ThinkPad X200</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Debian_Sid_(October_2008)_on_a_ThinkPad_X200&amp;diff=44049"/>
		<updated>2009-09-02T08:06:43Z</updated>

		<summary type="html">&lt;p&gt;Rdemaria: /* Issues with non-us keyboard layouts */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
Amazing machine: light, quiet, large battery life, ideal for travels, great value for money compared to X200T and X300.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Creating installation device ==&lt;br /&gt;
&lt;br /&gt;
The X200 has no cd/dvd but can boot from USB. On the X200 BIOS settings, the USB disk boot option needed to be raised to be used first. Using F1 at boot gives access to the BIOS.&lt;br /&gt;
&lt;br /&gt;
I created an USB bootable iso from another linux installation.&lt;br /&gt;
I had an usb stick with a FAT32 partition on /dev/sdc1. I dowloaded the boot and iso file and installed the image&lt;br /&gt;
using:&lt;br /&gt;
&lt;br /&gt;
  wget http://people.debian.org/~joeyh/d-i/images/daily/hd-media/boot.img.gz&lt;br /&gt;
  wget http://cdimage.debian.org/cdimage/daily-builds/daily/arch-latest/i386/iso-cd/debian-testing-i386-netinst.iso&lt;br /&gt;
  zcat boot.img.gz &amp;gt;/dev/sdc1&lt;br /&gt;
  mkdir /mnt/sdc1&lt;br /&gt;
  mount /dev/sdc1 /mnt/sdc1&lt;br /&gt;
  cp debian-testing-i386-netinst.iso /mnt/sdc1&lt;br /&gt;
&lt;br /&gt;
The boot stick will use the network to install the package but a more complete ISO image can be dowloaded.&lt;br /&gt;
&lt;br /&gt;
The wifi will not work (see [[Installing_Debian_on_an_X200]]) but the Ethernet card will. In theory it should be possible build custom Debian Live USB stick, using the latest package and install from there, I didn't manage so far.&lt;br /&gt;
&lt;br /&gt;
== Sid installation ==&lt;br /&gt;
&lt;br /&gt;
To install sid use the expert installation support and choose unstable for the repository.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Backup hard drive data ==&lt;br /&gt;
&lt;br /&gt;
In order to save the hard drive content, I created complete hard drive image on another hard disk. During the installation procedure I activated another shell with CTRL-ALT-F3, mounted an external HD (/dev/sdb1) and copied the image with:&lt;br /&gt;
&lt;br /&gt;
  mkdir /mnt/sdb1&lt;br /&gt;
  mount /dev/sdb1 /mnt/sdb1/&lt;br /&gt;
  dd if=/dev/sda of=/mnt/sdb1/sda-image&lt;br /&gt;
&lt;br /&gt;
In principle partimage is better option but the installation image does not have it. Also gzipping the partition on the fly would have bin better, but the gzip or bzip2 were not present. Using a custom Debian Live installation image would solve the problem.&lt;br /&gt;
&lt;br /&gt;
== Kernel ==&lt;br /&gt;
&lt;br /&gt;
Some kernel options here for /boot/grub/menu.lst:&lt;br /&gt;
  &lt;br /&gt;
  # kopt=root=/dev/sda1 ro acpi_sleep=s3_bios vga=0x0368 video=vesafb&lt;br /&gt;
&lt;br /&gt;
Update the real items using&lt;br /&gt;
  &lt;br /&gt;
  update-grub&lt;br /&gt;
&lt;br /&gt;
== Video ==&lt;br /&gt;
&lt;br /&gt;
Intel driver on sid does not allow suspend to ram. Vesa driver is not that slow, but does not enable the VGA output.&lt;br /&gt;
&lt;br /&gt;
A solution is use the experimental package, but xorg needs a couple of ServerFlag option to avoid&lt;br /&gt;
strange behavior with mouse and keyboard.&lt;br /&gt;
&lt;br /&gt;
This is a simple xorg.conf:&lt;br /&gt;
&lt;br /&gt;
  $ cat /etc/X11/xorg.conf &lt;br /&gt;
&lt;br /&gt;
  Section &amp;quot;Screen&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;Default Screen&amp;quot;&lt;br /&gt;
        Monitor         &amp;quot;Configured Monitor&amp;quot;&lt;br /&gt;
        Defaultdepth    24&lt;br /&gt;
        SubSection &amp;quot;Display&amp;quot;&lt;br /&gt;
                Modes           &amp;quot;1280x800&amp;quot;&lt;br /&gt;
  #             Virtual    2048 1024&lt;br /&gt;
        EndSubSection&lt;br /&gt;
  EndSection&lt;br /&gt;
  Section &amp;quot;Monitor&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;Configured Monitor&amp;quot;&lt;br /&gt;
        DisplaySize     231 233.5 #fake smaller dpi&lt;br /&gt;
  EndSection&lt;br /&gt;
  Section &amp;quot;Monitor&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;HDMI-1&amp;quot;&lt;br /&gt;
        Option          &amp;quot;Ignore&amp;quot; &amp;quot;True&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
  Section &amp;quot;Monitor&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;HDMI-2&amp;quot;&lt;br /&gt;
        Option          &amp;quot;Ignore&amp;quot; &amp;quot;True&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
  Section &amp;quot;Device&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;Configured Video Device&amp;quot;&lt;br /&gt;
        Driver          &amp;quot;intel&amp;quot;&lt;br /&gt;
        Option          &amp;quot;monitor-HDMI-1&amp;quot; &amp;quot;HDMI-1&amp;quot;&lt;br /&gt;
        Option          &amp;quot;monitor-HDMI-2&amp;quot; &amp;quot;HDMI-2&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
&lt;br /&gt;
== Fonts ==&lt;br /&gt;
&lt;br /&gt;
Default fonts are a bit ugly. Things get better by creating some symbolic link:&lt;br /&gt;
&lt;br /&gt;
  cd /etc/fonts/conf.d&lt;br /&gt;
  ln -s ../conf.avail/10-autohint.conf&lt;br /&gt;
  ln -s ../conf.avail/10-sub-pixel-rgb.conf&lt;br /&gt;
  ln -s ../conf.avail/70-no-bitmaps.conf&lt;br /&gt;
&lt;br /&gt;
For GTK and Firefox&lt;br /&gt;
&lt;br /&gt;
Fonts size are too large. Solution:&lt;br /&gt;
  $cat ~/.gtkrc-2.0&lt;br /&gt;
  # -- THEME AUTO-WRITTEN DO NOT EDIT&lt;br /&gt;
  include &amp;quot;/usr/share/themes/Industrial/gtk-2.0/gtkrc&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  include &amp;quot;/home/rdemaria/.gtkrc-2.0.mine&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  # -- THEME AUTO-WRITTEN DO NOT EDIT&lt;br /&gt;
&lt;br /&gt;
  $cat ~/.gtkrc-2.0.mine&lt;br /&gt;
  gtk-font-name = &amp;quot;Sans 8&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Bold font are also ugly on xvrt (in xterm the bold font control seems always broken). See below for the solution.&lt;br /&gt;
&lt;br /&gt;
== Terminal ==&lt;br /&gt;
&lt;br /&gt;
I tried several terminals. But I found rxvt-unicode the easiest and fastest. This resources allow 4 terminals in one window. Bold font (unreadable to me) are disabled.&lt;br /&gt;
  $cat ~/.Xresources&lt;br /&gt;
  rxvt*cutchars: \$:[]&lt;br /&gt;
  rxvt*visualBell: true&lt;br /&gt;
  rxvt*foreground: white&lt;br /&gt;
  rxvt*background: black&lt;br /&gt;
  rxvt*geometry: 80x27&lt;br /&gt;
  rxvt*jumpScroll: true&lt;br /&gt;
  rxvt*skipScroll: true&lt;br /&gt;
  rxvt*scrollBar: false&lt;br /&gt;
  rxvt*boldFont:&lt;br /&gt;
  rxvt*boldItalicFont:&lt;br /&gt;
  rxvt*saveLines: 9096&lt;br /&gt;
  rxvt*mouseWheelScrollPage: false&lt;br /&gt;
&lt;br /&gt;
== Wifi ==&lt;br /&gt;
&lt;br /&gt;
Put in the /etc/apt/source.list&lt;br /&gt;
&lt;br /&gt;
  deb http://kernel-archive.buildserver.net/debian-kernel trunk main &lt;br /&gt;
&lt;br /&gt;
Installed linux-image-2.6.27-1 and firmware&lt;br /&gt;
&lt;br /&gt;
  wget http://intellinuxwireless.org/iwlwifi/downloads/iwlwifi-5000-ucode-5.4.A.11.tar.gz&lt;br /&gt;
  tar xvfz iwlwifi-5000-ucode-5.4.A.11.tar.gz&lt;br /&gt;
  cp  iwlwifi-5000-ucode-5.4.A.11/iwlwifi-5000-1.ucode /lib/firmware&lt;br /&gt;
  aptitude install linux-image-2.6.27-1-686 hal&lt;br /&gt;
&lt;br /&gt;
== Suspend ==&lt;br /&gt;
&lt;br /&gt;
Suspend to disk works using the button Fn+F12.&lt;br /&gt;
&lt;br /&gt;
Suspend to ram (Fn+F4) does not work with sid intel driver, but works with the experimental one.&lt;br /&gt;
Using vesa driver, it works if the i915 driver is installed. I put the line:&lt;br /&gt;
  modprobe i915&lt;br /&gt;
&lt;br /&gt;
in /etc/rc.local.&lt;br /&gt;
&lt;br /&gt;
The trackpoint occasionally stops working after a resume. Apparently it is enough to move it &lt;br /&gt;
a little bit during the resume.&lt;br /&gt;
&lt;br /&gt;
== Special keys ==&lt;br /&gt;
&lt;br /&gt;
Some keys are intercepted by X Windows. The keycodes are&lt;br /&gt;
&lt;br /&gt;
  227 Fn&lt;br /&gt;
  234 Tab left&lt;br /&gt;
  233 Tab right&lt;br /&gt;
  176 Volume up&lt;br /&gt;
  174 Volume dn&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Mute switch the hardware volume which is not controlled by ALSA.&lt;br /&gt;
&lt;br /&gt;
ACPI links suspend to ram and to disc to Fn+F4 and Fn+F12 respectively. Screen brightness, thinklight, bluetooth works as well.&lt;br /&gt;
&lt;br /&gt;
== Sound ==&lt;br /&gt;
&lt;br /&gt;
Everything works, but in a strange way. The hardware volume control is managed by acpi&lt;br /&gt;
&lt;br /&gt;
  $ cat /proc/acpi/ibm/volume&lt;br /&gt;
  level:          8&lt;br /&gt;
  mute:           off&lt;br /&gt;
  commands:       up, down, mute&lt;br /&gt;
  commands:       level &amp;lt;level&amp;gt; (&amp;lt;level&amp;gt; is 0-15)&lt;br /&gt;
&lt;br /&gt;
The mute button is linked to the mute command, but volume up and down are passed to X with keycode 176 174. I&lt;br /&gt;
thought that acpi was intercepting the key and send them to X using fakekey. I played in /etc/acpi/events but I didn't managed to change the behavior.&lt;br /&gt;
&lt;br /&gt;
== Skype ==&lt;br /&gt;
&lt;br /&gt;
Everything works downloading the skype version for Etch. After suspending and resuming the video does not work anymore.&lt;br /&gt;
The error message is:&lt;br /&gt;
&lt;br /&gt;
  Skype V4L2: Could not find a suitable capture format&lt;br /&gt;
&lt;br /&gt;
Several people propose to update the uvcvideo driver.&lt;br /&gt;
  svn checkout http://svn.berlios.de/svnroot/repos/linux-uvc/&lt;br /&gt;
  cd linux-uvc/linux-uvc/trunk/&lt;br /&gt;
  make&lt;br /&gt;
  make install&lt;br /&gt;
  modprobe uvcvideo&lt;br /&gt;
&lt;br /&gt;
But I didn't tried yet cause I'm still using the experimental kernel that does not come with packages for compiling modules.&lt;br /&gt;
&lt;br /&gt;
== GTK and Firefox ==&lt;br /&gt;
&lt;br /&gt;
Font size is too large. Solution:&lt;br /&gt;
  $cat /home/rdemaria/.gtkrc-2.0&lt;br /&gt;
  # -- THEME AUTO-WRITTEN DO NOT EDIT&lt;br /&gt;
  include &amp;quot;/usr/share/themes/Industrial/gtk-2.0/gtkrc&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  include &amp;quot;/home/rdemaria/.gtkrc-2.0.mine&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  # -- THEME AUTO-WRITTEN DO NOT EDIT&lt;br /&gt;
&lt;br /&gt;
  $cat /home/rdemaria/.gtkrc-2.0.mine&lt;br /&gt;
  gtk-font-name = &amp;quot;Sans 8&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== Printer and scanner ==&lt;br /&gt;
&lt;br /&gt;
Usb printer and scanner (HP Officejet J4580) works perfectly using cups, hpoj, xsane, hplib.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== RAM upgrade ==&lt;br /&gt;
&lt;br /&gt;
My X200 came with 2G of ram and 1 free slots. I bought:&lt;br /&gt;
   Crucial 2GB 204-Pin DDR3 SO-DIMM DDR3 1066 (PC3 8500) Laptop Memory Model CT25664BC1067 - Retail&lt;br /&gt;
&lt;br /&gt;
installed and replace the kernel with a bigmem one.&lt;br /&gt;
&lt;br /&gt;
== Hard disk upgrade ==&lt;br /&gt;
&lt;br /&gt;
My X200 came with a 160GB hardrive. I bought the 500GB hard drive&lt;br /&gt;
   Western Digital Scorpio Blue WD5000BEVT 500GB 5400 RPM SATA 3.0Gb/s Notebook Hard Drive - OEM&lt;br /&gt;
&lt;br /&gt;
and the adapter&lt;br /&gt;
  Link Depot USB2-SATA USB2.0 TO IDE/SATA Adapter Cable - Retail&lt;br /&gt;
&lt;br /&gt;
for transfer the data.&lt;br /&gt;
&lt;br /&gt;
I connected the new hard drive using the usb port. The drive was recognized as /dev/sdb. I create the partitions that reads:&lt;br /&gt;
&lt;br /&gt;
  $ sfdisk -d /dev/sdb&lt;br /&gt;
  # partition table of /dev/sdb&lt;br /&gt;
  unit: sectors&lt;br /&gt;
&lt;br /&gt;
  /dev/sdb1 : start=       63, size= 71553447, Id=83&lt;br /&gt;
  /dev/sdb2 : start= 71553510, size=905214555, Id= 5&lt;br /&gt;
  /dev/sdb3 : start=        0, size=        0, Id= 0&lt;br /&gt;
  /dev/sdb4 : start=        0, size=        0, Id= 0&lt;br /&gt;
  /dev/sdb5 : start= 71553573, size=894467007, Id=83&lt;br /&gt;
  /dev/sdb6 : start=966020643, size= 10747422, Id=82&lt;br /&gt;
&lt;br /&gt;
Then made the filesystem and copy the files:&lt;br /&gt;
  $ sudo mkfs.ext3 /dev/sdb1&lt;br /&gt;
  $ sudo mkfs.ext3 /dev/sdb5&lt;br /&gt;
  $ sudo mkswap    /dev/sda6&lt;br /&gt;
  $ sudo mount /mnt/sdb1&lt;br /&gt;
  $ sudo mount /mnt/sdb5&lt;br /&gt;
  $ sudo rsync -a --delete \&lt;br /&gt;
  --exclude /mnt/sdb1 \&lt;br /&gt;
  --exclude /mnt/sdb5 \&lt;br /&gt;
  --exclude /home \&lt;br /&gt;
  --exclude /proc \&lt;br /&gt;
  --exclude /sys \&lt;br /&gt;
  --exclude /lib/init/rw \&lt;br /&gt;
  --exclude /dev \&lt;br /&gt;
  / /mnt/sdb1&lt;br /&gt;
  $ cd /mnt/sdb1; mkdir /home /proc /sys /lib/init/rw /dev; cd &lt;br /&gt;
  $ sudo rsync -a /home/ /mnt/sdb5&lt;br /&gt;
  $ sudo umount /mnt/sdb5; sudo umount /mnt/sdb1&lt;br /&gt;
&lt;br /&gt;
Finally install grub&lt;br /&gt;
  $ sudo grub --no-floppy&lt;br /&gt;
  $ geometry (hd1)&lt;br /&gt;
  &amp;gt; root (hd1,0)&lt;br /&gt;
  &amp;gt; setup (hd1)&lt;br /&gt;
  &amp;gt; quit&lt;br /&gt;
&lt;br /&gt;
and replace the disk. (I tried to boot from the usb to check the new hard drive, but I messed up the old installation...)&lt;br /&gt;
&lt;br /&gt;
For some reason the suspend to disk was not working anymore. But &lt;br /&gt;
  $ sudo aptitude reinstall uswsusp&lt;br /&gt;
fixed the problem answering yes to use the swap disk.&lt;br /&gt;
&lt;br /&gt;
== Keyboard ==&lt;br /&gt;
&lt;br /&gt;
In recent versions of xserver (as of version 1.4.0.90-7) keyboard-layout is handled by hal, so settings done will be overridden. Settings should be put in:&lt;br /&gt;
&lt;br /&gt;
   /etc/default/console-setup&lt;br /&gt;
&lt;br /&gt;
For a double layout us, us(intl) I put:&lt;br /&gt;
&lt;br /&gt;
  XKBMODEL=&amp;quot;pc104&amp;quot;&lt;br /&gt;
  XKBLAYOUT=&amp;quot;us,us(intl)&amp;quot;&lt;br /&gt;
  XKBVARIANT=&amp;quot;&amp;quot;&lt;br /&gt;
  XKBOPTIONS=&amp;quot;compose(lwin),compose(rwin),grp:shifts_toggle,grp_led:scroll&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Trackpoint ==&lt;br /&gt;
&lt;br /&gt;
As for the keyboard, options are not handled anymore from xorg.cong. To enable scrooling edit:&lt;br /&gt;
&lt;br /&gt;
  /etc/hal/fdi/policy/mouse-wheel.fdi&lt;br /&gt;
&lt;br /&gt;
as&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;match key=&amp;quot;info.product&amp;quot; string=&amp;quot;TPPS/2 IBM TrackPoint&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheel&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheelButton&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;2&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheelTimeout&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;250&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;merge key=&amp;quot;input.x11_options.XAxisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;6 7&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;merge key=&amp;quot;input.x11_options.YAxisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;4 5&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;merge key=&amp;quot;input.x11_options.ZAxsisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;4 5&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;merge key=&amp;quot;input.x11_options.Emulate3Buttons&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;/match&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== TO BE CONTINUED ==&lt;/div&gt;</summary>
		<author><name>Rdemaria</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Debian_Sid_(October_2008)_on_a_ThinkPad_X200&amp;diff=44048</id>
		<title>Installing Debian Sid (October 2008) on a ThinkPad X200</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Debian_Sid_(October_2008)_on_a_ThinkPad_X200&amp;diff=44048"/>
		<updated>2009-09-02T08:02:10Z</updated>

		<summary type="html">&lt;p&gt;Rdemaria: /* Video */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
Amazing machine: light, quiet, large battery life, ideal for travels, great value for money compared to X200T and X300.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Creating installation device ==&lt;br /&gt;
&lt;br /&gt;
The X200 has no cd/dvd but can boot from USB. On the X200 BIOS settings, the USB disk boot option needed to be raised to be used first. Using F1 at boot gives access to the BIOS.&lt;br /&gt;
&lt;br /&gt;
I created an USB bootable iso from another linux installation.&lt;br /&gt;
I had an usb stick with a FAT32 partition on /dev/sdc1. I dowloaded the boot and iso file and installed the image&lt;br /&gt;
using:&lt;br /&gt;
&lt;br /&gt;
  wget http://people.debian.org/~joeyh/d-i/images/daily/hd-media/boot.img.gz&lt;br /&gt;
  wget http://cdimage.debian.org/cdimage/daily-builds/daily/arch-latest/i386/iso-cd/debian-testing-i386-netinst.iso&lt;br /&gt;
  zcat boot.img.gz &amp;gt;/dev/sdc1&lt;br /&gt;
  mkdir /mnt/sdc1&lt;br /&gt;
  mount /dev/sdc1 /mnt/sdc1&lt;br /&gt;
  cp debian-testing-i386-netinst.iso /mnt/sdc1&lt;br /&gt;
&lt;br /&gt;
The boot stick will use the network to install the package but a more complete ISO image can be dowloaded.&lt;br /&gt;
&lt;br /&gt;
The wifi will not work (see [[Installing_Debian_on_an_X200]]) but the Ethernet card will. In theory it should be possible build custom Debian Live USB stick, using the latest package and install from there, I didn't manage so far.&lt;br /&gt;
&lt;br /&gt;
== Sid installation ==&lt;br /&gt;
&lt;br /&gt;
To install sid use the expert installation support and choose unstable for the repository.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Backup hard drive data ==&lt;br /&gt;
&lt;br /&gt;
In order to save the hard drive content, I created complete hard drive image on another hard disk. During the installation procedure I activated another shell with CTRL-ALT-F3, mounted an external HD (/dev/sdb1) and copied the image with:&lt;br /&gt;
&lt;br /&gt;
  mkdir /mnt/sdb1&lt;br /&gt;
  mount /dev/sdb1 /mnt/sdb1/&lt;br /&gt;
  dd if=/dev/sda of=/mnt/sdb1/sda-image&lt;br /&gt;
&lt;br /&gt;
In principle partimage is better option but the installation image does not have it. Also gzipping the partition on the fly would have bin better, but the gzip or bzip2 were not present. Using a custom Debian Live installation image would solve the problem.&lt;br /&gt;
&lt;br /&gt;
== Kernel ==&lt;br /&gt;
&lt;br /&gt;
Some kernel options here for /boot/grub/menu.lst:&lt;br /&gt;
  &lt;br /&gt;
  # kopt=root=/dev/sda1 ro acpi_sleep=s3_bios vga=0x0368 video=vesafb&lt;br /&gt;
&lt;br /&gt;
Update the real items using&lt;br /&gt;
  &lt;br /&gt;
  update-grub&lt;br /&gt;
&lt;br /&gt;
== Video ==&lt;br /&gt;
&lt;br /&gt;
Intel driver on sid does not allow suspend to ram. Vesa driver is not that slow, but does not enable the VGA output.&lt;br /&gt;
&lt;br /&gt;
A solution is use the experimental package, but xorg needs a couple of ServerFlag option to avoid&lt;br /&gt;
strange behavior with mouse and keyboard.&lt;br /&gt;
&lt;br /&gt;
This is a simple xorg.conf:&lt;br /&gt;
&lt;br /&gt;
  $ cat /etc/X11/xorg.conf &lt;br /&gt;
&lt;br /&gt;
  Section &amp;quot;Screen&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;Default Screen&amp;quot;&lt;br /&gt;
        Monitor         &amp;quot;Configured Monitor&amp;quot;&lt;br /&gt;
        Defaultdepth    24&lt;br /&gt;
        SubSection &amp;quot;Display&amp;quot;&lt;br /&gt;
                Modes           &amp;quot;1280x800&amp;quot;&lt;br /&gt;
  #             Virtual    2048 1024&lt;br /&gt;
        EndSubSection&lt;br /&gt;
  EndSection&lt;br /&gt;
  Section &amp;quot;Monitor&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;Configured Monitor&amp;quot;&lt;br /&gt;
        DisplaySize     231 233.5 #fake smaller dpi&lt;br /&gt;
  EndSection&lt;br /&gt;
  Section &amp;quot;Monitor&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;HDMI-1&amp;quot;&lt;br /&gt;
        Option          &amp;quot;Ignore&amp;quot; &amp;quot;True&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
  Section &amp;quot;Monitor&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;HDMI-2&amp;quot;&lt;br /&gt;
        Option          &amp;quot;Ignore&amp;quot; &amp;quot;True&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
  Section &amp;quot;Device&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;Configured Video Device&amp;quot;&lt;br /&gt;
        Driver          &amp;quot;intel&amp;quot;&lt;br /&gt;
        Option          &amp;quot;monitor-HDMI-1&amp;quot; &amp;quot;HDMI-1&amp;quot;&lt;br /&gt;
        Option          &amp;quot;monitor-HDMI-2&amp;quot; &amp;quot;HDMI-2&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
&lt;br /&gt;
== Fonts ==&lt;br /&gt;
&lt;br /&gt;
Default fonts are a bit ugly. Things get better by creating some symbolic link:&lt;br /&gt;
&lt;br /&gt;
  cd /etc/fonts/conf.d&lt;br /&gt;
  ln -s ../conf.avail/10-autohint.conf&lt;br /&gt;
  ln -s ../conf.avail/10-sub-pixel-rgb.conf&lt;br /&gt;
  ln -s ../conf.avail/70-no-bitmaps.conf&lt;br /&gt;
&lt;br /&gt;
For GTK and Firefox&lt;br /&gt;
&lt;br /&gt;
Fonts size are too large. Solution:&lt;br /&gt;
  $cat ~/.gtkrc-2.0&lt;br /&gt;
  # -- THEME AUTO-WRITTEN DO NOT EDIT&lt;br /&gt;
  include &amp;quot;/usr/share/themes/Industrial/gtk-2.0/gtkrc&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  include &amp;quot;/home/rdemaria/.gtkrc-2.0.mine&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  # -- THEME AUTO-WRITTEN DO NOT EDIT&lt;br /&gt;
&lt;br /&gt;
  $cat ~/.gtkrc-2.0.mine&lt;br /&gt;
  gtk-font-name = &amp;quot;Sans 8&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Bold font are also ugly on xvrt (in xterm the bold font control seems always broken). See below for the solution.&lt;br /&gt;
&lt;br /&gt;
== Terminal ==&lt;br /&gt;
&lt;br /&gt;
I tried several terminals. But I found rxvt-unicode the easiest and fastest. This resources allow 4 terminals in one window. Bold font (unreadable to me) are disabled.&lt;br /&gt;
  $cat ~/.Xresources&lt;br /&gt;
  rxvt*cutchars: \$:[]&lt;br /&gt;
  rxvt*visualBell: true&lt;br /&gt;
  rxvt*foreground: white&lt;br /&gt;
  rxvt*background: black&lt;br /&gt;
  rxvt*geometry: 80x27&lt;br /&gt;
  rxvt*jumpScroll: true&lt;br /&gt;
  rxvt*skipScroll: true&lt;br /&gt;
  rxvt*scrollBar: false&lt;br /&gt;
  rxvt*boldFont:&lt;br /&gt;
  rxvt*boldItalicFont:&lt;br /&gt;
  rxvt*saveLines: 9096&lt;br /&gt;
  rxvt*mouseWheelScrollPage: false&lt;br /&gt;
&lt;br /&gt;
== Wifi ==&lt;br /&gt;
&lt;br /&gt;
Put in the /etc/apt/source.list&lt;br /&gt;
&lt;br /&gt;
  deb http://kernel-archive.buildserver.net/debian-kernel trunk main &lt;br /&gt;
&lt;br /&gt;
Installed linux-image-2.6.27-1 and firmware&lt;br /&gt;
&lt;br /&gt;
  wget http://intellinuxwireless.org/iwlwifi/downloads/iwlwifi-5000-ucode-5.4.A.11.tar.gz&lt;br /&gt;
  tar xvfz iwlwifi-5000-ucode-5.4.A.11.tar.gz&lt;br /&gt;
  cp  iwlwifi-5000-ucode-5.4.A.11/iwlwifi-5000-1.ucode /lib/firmware&lt;br /&gt;
  aptitude install linux-image-2.6.27-1-686 hal&lt;br /&gt;
&lt;br /&gt;
== Suspend ==&lt;br /&gt;
&lt;br /&gt;
Suspend to disk works using the button Fn+F12.&lt;br /&gt;
&lt;br /&gt;
Suspend to ram (Fn+F4) does not work with sid intel driver, but works with the experimental one.&lt;br /&gt;
Using vesa driver, it works if the i915 driver is installed. I put the line:&lt;br /&gt;
  modprobe i915&lt;br /&gt;
&lt;br /&gt;
in /etc/rc.local.&lt;br /&gt;
&lt;br /&gt;
The trackpoint occasionally stops working after a resume. Apparently it is enough to move it &lt;br /&gt;
a little bit during the resume.&lt;br /&gt;
&lt;br /&gt;
== Special keys ==&lt;br /&gt;
&lt;br /&gt;
Some keys are intercepted by X Windows. The keycodes are&lt;br /&gt;
&lt;br /&gt;
  227 Fn&lt;br /&gt;
  234 Tab left&lt;br /&gt;
  233 Tab right&lt;br /&gt;
  176 Volume up&lt;br /&gt;
  174 Volume dn&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Mute switch the hardware volume which is not controlled by ALSA.&lt;br /&gt;
&lt;br /&gt;
ACPI links suspend to ram and to disc to Fn+F4 and Fn+F12 respectively. Screen brightness, thinklight, bluetooth works as well.&lt;br /&gt;
&lt;br /&gt;
== Sound ==&lt;br /&gt;
&lt;br /&gt;
Everything works, but in a strange way. The hardware volume control is managed by acpi&lt;br /&gt;
&lt;br /&gt;
  $ cat /proc/acpi/ibm/volume&lt;br /&gt;
  level:          8&lt;br /&gt;
  mute:           off&lt;br /&gt;
  commands:       up, down, mute&lt;br /&gt;
  commands:       level &amp;lt;level&amp;gt; (&amp;lt;level&amp;gt; is 0-15)&lt;br /&gt;
&lt;br /&gt;
The mute button is linked to the mute command, but volume up and down are passed to X with keycode 176 174. I&lt;br /&gt;
thought that acpi was intercepting the key and send them to X using fakekey. I played in /etc/acpi/events but I didn't managed to change the behavior.&lt;br /&gt;
&lt;br /&gt;
== Skype ==&lt;br /&gt;
&lt;br /&gt;
Everything works downloading the skype version for Etch. After suspending and resuming the video does not work anymore.&lt;br /&gt;
The error message is:&lt;br /&gt;
&lt;br /&gt;
  Skype V4L2: Could not find a suitable capture format&lt;br /&gt;
&lt;br /&gt;
Several people propose to update the uvcvideo driver.&lt;br /&gt;
  svn checkout http://svn.berlios.de/svnroot/repos/linux-uvc/&lt;br /&gt;
  cd linux-uvc/linux-uvc/trunk/&lt;br /&gt;
  make&lt;br /&gt;
  make install&lt;br /&gt;
  modprobe uvcvideo&lt;br /&gt;
&lt;br /&gt;
But I didn't tried yet cause I'm still using the experimental kernel that does not come with packages for compiling modules.&lt;br /&gt;
&lt;br /&gt;
== GTK and Firefox ==&lt;br /&gt;
&lt;br /&gt;
Font size is too large. Solution:&lt;br /&gt;
  $cat /home/rdemaria/.gtkrc-2.0&lt;br /&gt;
  # -- THEME AUTO-WRITTEN DO NOT EDIT&lt;br /&gt;
  include &amp;quot;/usr/share/themes/Industrial/gtk-2.0/gtkrc&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  include &amp;quot;/home/rdemaria/.gtkrc-2.0.mine&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  # -- THEME AUTO-WRITTEN DO NOT EDIT&lt;br /&gt;
&lt;br /&gt;
  $cat /home/rdemaria/.gtkrc-2.0.mine&lt;br /&gt;
  gtk-font-name = &amp;quot;Sans 8&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== Printer and scanner ==&lt;br /&gt;
&lt;br /&gt;
Usb printer and scanner (HP Officejet J4580) works perfectly using cups, hpoj, xsane, hplib.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== RAM upgrade ==&lt;br /&gt;
&lt;br /&gt;
My X200 came with 2G of ram and 1 free slots. I bought:&lt;br /&gt;
   Crucial 2GB 204-Pin DDR3 SO-DIMM DDR3 1066 (PC3 8500) Laptop Memory Model CT25664BC1067 - Retail&lt;br /&gt;
&lt;br /&gt;
installed and replace the kernel with a bigmem one.&lt;br /&gt;
&lt;br /&gt;
== Hard disk upgrade ==&lt;br /&gt;
&lt;br /&gt;
My X200 came with a 160GB hardrive. I bought the 500GB hard drive&lt;br /&gt;
   Western Digital Scorpio Blue WD5000BEVT 500GB 5400 RPM SATA 3.0Gb/s Notebook Hard Drive - OEM&lt;br /&gt;
&lt;br /&gt;
and the adapter&lt;br /&gt;
  Link Depot USB2-SATA USB2.0 TO IDE/SATA Adapter Cable - Retail&lt;br /&gt;
&lt;br /&gt;
for transfer the data.&lt;br /&gt;
&lt;br /&gt;
I connected the new hard drive using the usb port. The drive was recognized as /dev/sdb. I create the partitions that reads:&lt;br /&gt;
&lt;br /&gt;
  $ sfdisk -d /dev/sdb&lt;br /&gt;
  # partition table of /dev/sdb&lt;br /&gt;
  unit: sectors&lt;br /&gt;
&lt;br /&gt;
  /dev/sdb1 : start=       63, size= 71553447, Id=83&lt;br /&gt;
  /dev/sdb2 : start= 71553510, size=905214555, Id= 5&lt;br /&gt;
  /dev/sdb3 : start=        0, size=        0, Id= 0&lt;br /&gt;
  /dev/sdb4 : start=        0, size=        0, Id= 0&lt;br /&gt;
  /dev/sdb5 : start= 71553573, size=894467007, Id=83&lt;br /&gt;
  /dev/sdb6 : start=966020643, size= 10747422, Id=82&lt;br /&gt;
&lt;br /&gt;
Then made the filesystem and copy the files:&lt;br /&gt;
  $ sudo mkfs.ext3 /dev/sdb1&lt;br /&gt;
  $ sudo mkfs.ext3 /dev/sdb5&lt;br /&gt;
  $ sudo mkswap    /dev/sda6&lt;br /&gt;
  $ sudo mount /mnt/sdb1&lt;br /&gt;
  $ sudo mount /mnt/sdb5&lt;br /&gt;
  $ sudo rsync -a --delete \&lt;br /&gt;
  --exclude /mnt/sdb1 \&lt;br /&gt;
  --exclude /mnt/sdb5 \&lt;br /&gt;
  --exclude /home \&lt;br /&gt;
  --exclude /proc \&lt;br /&gt;
  --exclude /sys \&lt;br /&gt;
  --exclude /lib/init/rw \&lt;br /&gt;
  --exclude /dev \&lt;br /&gt;
  / /mnt/sdb1&lt;br /&gt;
  $ cd /mnt/sdb1; mkdir /home /proc /sys /lib/init/rw /dev; cd &lt;br /&gt;
  $ sudo rsync -a /home/ /mnt/sdb5&lt;br /&gt;
  $ sudo umount /mnt/sdb5; sudo umount /mnt/sdb1&lt;br /&gt;
&lt;br /&gt;
Finally install grub&lt;br /&gt;
  $ sudo grub --no-floppy&lt;br /&gt;
  $ geometry (hd1)&lt;br /&gt;
  &amp;gt; root (hd1,0)&lt;br /&gt;
  &amp;gt; setup (hd1)&lt;br /&gt;
  &amp;gt; quit&lt;br /&gt;
&lt;br /&gt;
and replace the disk. (I tried to boot from the usb to check the new hard drive, but I messed up the old installation...)&lt;br /&gt;
&lt;br /&gt;
For some reason the suspend to disk was not working anymore. But &lt;br /&gt;
  $ sudo aptitude reinstall uswsusp&lt;br /&gt;
fixed the problem answering yes to use the swap disk.&lt;br /&gt;
&lt;br /&gt;
== Issues with non-us keyboard layouts ==&lt;br /&gt;
&lt;br /&gt;
In recent versions of xserver (as of version 1.4.0.90-7) keyboard-layout is handled by hal, so settings done in gnome will be overridden. To have a non-us keyboard layout follow these steps (taken from http://bbs.archlinux.org/viewtopic.php?id=44311 and http://wiki.archlinux.de/title/Evdev (last is german)):&lt;br /&gt;
&lt;br /&gt;
 1. comment out all InputSection's in xrog.conf&lt;br /&gt;
 2. cp /usr/share/hal/fdi/policy/10osvendor/10-keymap.fdi /etc/hal/fdi/policy/&lt;br /&gt;
 3. edit /etc/hal/fdi/policy/10-keymap.fdi&lt;br /&gt;
 4. set proper keymap there instead of &amp;quot;us&amp;quot;&lt;br /&gt;
 5. restart X&lt;br /&gt;
&lt;br /&gt;
== TO BE CONTINUED ==&lt;/div&gt;</summary>
		<author><name>Rdemaria</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Debian_Sid_(October_2008)_on_a_ThinkPad_X200&amp;diff=40953</id>
		<title>Installing Debian Sid (October 2008) on a ThinkPad X200</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Debian_Sid_(October_2008)_on_a_ThinkPad_X200&amp;diff=40953"/>
		<updated>2009-02-01T23:49:26Z</updated>

		<summary type="html">&lt;p&gt;Rdemaria: /* Suspend */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
Amazing machine: light, quiet, large battery life, ideal for travels, great value for money compared to X200T and X300.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Creating installation device ==&lt;br /&gt;
&lt;br /&gt;
The X200 has no cd/dvd but can boot from USB. On the X200 BIOS settings, the USB disk boot option needed to be raised to be used first. Using F1 at boot gives access to the BIOS.&lt;br /&gt;
&lt;br /&gt;
I created an USB bootable iso from another linux installation.&lt;br /&gt;
I had an usb stick with a FAT32 partition on /dev/sdc1. I dowloaded the boot and iso file and installed the image&lt;br /&gt;
using:&lt;br /&gt;
&lt;br /&gt;
  wget http://people.debian.org/~joeyh/d-i/images/daily/hd-media/boot.img.gz&lt;br /&gt;
  wget http://cdimage.debian.org/cdimage/daily-builds/daily/arch-latest/i386/iso-cd/debian-testing-i386-netinst.iso&lt;br /&gt;
  zcat boot.img.gz &amp;gt;/dev/sdc1&lt;br /&gt;
  mkdir /mnt/sdc1&lt;br /&gt;
  mount /dev/sdc1 /mnt/sdc1&lt;br /&gt;
  cp debian-testing-i386-netinst.iso /mnt/sdc1&lt;br /&gt;
&lt;br /&gt;
The boot stick will use the network to install the package but a more complete ISO image can be dowloaded.&lt;br /&gt;
&lt;br /&gt;
The wifi will not work (see [[Installing_Debian_on_an_X200]]) but the Ethernet card will. In theory it should be possible build custom Debian Live USB stick, using the latest package and install from there, I didn't manage so far.&lt;br /&gt;
&lt;br /&gt;
== Sid installation ==&lt;br /&gt;
&lt;br /&gt;
To install sid use the expert installation support and choose unstable for the repository.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Backup hard drive data ==&lt;br /&gt;
&lt;br /&gt;
In order to save the hard drive content, I created complete hard drive image on another hard disk. During the installation procedure I activated another shell with CTRL-ALT-F3, mounted an external HD (/dev/sdb1) and copied the image with:&lt;br /&gt;
&lt;br /&gt;
  mkdir /mnt/sdb1&lt;br /&gt;
  mount /dev/sdb1 /mnt/sdb1/&lt;br /&gt;
  dd if=/dev/sda of=/mnt/sdb1/sda-image&lt;br /&gt;
&lt;br /&gt;
In principle partimage is better option but the installation image does not have it. Also gzipping the partition on the fly would have bin better, but the gzip or bzip2 were not present. Using a custom Debian Live installation image would solve the problem.&lt;br /&gt;
&lt;br /&gt;
== Kernel ==&lt;br /&gt;
&lt;br /&gt;
Some kernel options here for /boot/grub/menu.lst:&lt;br /&gt;
  &lt;br /&gt;
  # kopt=root=/dev/sda1 ro acpi_sleep=s3_bios vga=0x0368 video=vesafb&lt;br /&gt;
&lt;br /&gt;
Update the real items using&lt;br /&gt;
  &lt;br /&gt;
  update-grub&lt;br /&gt;
&lt;br /&gt;
== Video ==&lt;br /&gt;
&lt;br /&gt;
Intel driver on sid does not allow suspend to ram. Vesa driver is not that slow, but does not enable the VGA output.&lt;br /&gt;
&lt;br /&gt;
A solution is use the experimental package, but xorg needs a couple of ServerFlag option to avoid&lt;br /&gt;
strange behavior with mouse and keyboard.&lt;br /&gt;
&lt;br /&gt;
This is a simple xorg.conf:&lt;br /&gt;
&lt;br /&gt;
  $ cat /etc/X11/xorg.conf &lt;br /&gt;
  Section &amp;quot;InputDevice&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;Generic Keyboard&amp;quot;&lt;br /&gt;
        Driver          &amp;quot;kbd&amp;quot;&lt;br /&gt;
        Option          &amp;quot;XkbRules&amp;quot;      &amp;quot;xorg&amp;quot;&lt;br /&gt;
        Option          &amp;quot;XkbModel&amp;quot;      &amp;quot;pc104&amp;quot;&lt;br /&gt;
        Option          &amp;quot;XkbLayout&amp;quot;     &amp;quot;us,us(intl)&amp;quot;&lt;br /&gt;
        Option          &amp;quot;XkbOptions&amp;quot;    &amp;quot;compose(lwin),compose(rwin),grp:shifts_toggle,grp_led:scroll&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
  Section &amp;quot;InputDevice&amp;quot;&lt;br /&gt;
        Identifier  &amp;quot;Configured Mouse&amp;quot;&lt;br /&gt;
        Driver      &amp;quot;mouse&amp;quot;&lt;br /&gt;
        Option      &amp;quot;CorePointer&amp;quot;&lt;br /&gt;
        Option      &amp;quot;Device&amp;quot; &amp;quot;/dev/input/mouse0&amp;quot;&lt;br /&gt;
        Option      &amp;quot;Protocol&amp;quot; &amp;quot;ImPS/2&amp;quot;&lt;br /&gt;
        Option      &amp;quot;EmulateWheel&amp;quot; &amp;quot;on&amp;quot;&lt;br /&gt;
        Option      &amp;quot;EmulateWheelButton&amp;quot; &amp;quot;2&amp;quot;&lt;br /&gt;
        Option      &amp;quot;EmulateWheelTimeout&amp;quot; &amp;quot;250&amp;quot;&lt;br /&gt;
        Option      &amp;quot;XAxisMapping&amp;quot; &amp;quot;6 7&amp;quot;&lt;br /&gt;
        Option      &amp;quot;YAxisMapping&amp;quot; &amp;quot;4 5&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
  Section &amp;quot;Screen&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;Default Screen&amp;quot;&lt;br /&gt;
        Monitor         &amp;quot;Configured Monitor&amp;quot;&lt;br /&gt;
        Defaultdepth    24&lt;br /&gt;
        SubSection &amp;quot;Display&amp;quot;&lt;br /&gt;
                Modes           &amp;quot;1280x800&amp;quot;&lt;br /&gt;
  #             Virtual    2048 1024&lt;br /&gt;
        EndSubSection&lt;br /&gt;
  EndSection&lt;br /&gt;
  Section &amp;quot;Monitor&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;Configured Monitor&amp;quot;&lt;br /&gt;
        DisplaySize     231 233.5 #fake smaller dpi&lt;br /&gt;
  EndSection&lt;br /&gt;
  Section &amp;quot;Monitor&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;HDMI-1&amp;quot;&lt;br /&gt;
        Option          &amp;quot;Ignore&amp;quot; &amp;quot;True&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
  Section &amp;quot;Monitor&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;HDMI-2&amp;quot;&lt;br /&gt;
        Option          &amp;quot;Ignore&amp;quot; &amp;quot;True&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
  Section &amp;quot;Device&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;Configured Video Device&amp;quot;&lt;br /&gt;
        Driver          &amp;quot;intel&amp;quot;&lt;br /&gt;
        Option          &amp;quot;monitor-HDMI-1&amp;quot; &amp;quot;HDMI-1&amp;quot;&lt;br /&gt;
        Option          &amp;quot;monitor-HDMI-2&amp;quot; &amp;quot;HDMI-2&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
  Section &amp;quot;ServerFlags&amp;quot;&lt;br /&gt;
    Option &amp;quot;AllowEmptyInput&amp;quot; &amp;quot;off&amp;quot;&lt;br /&gt;
    Option &amp;quot;AutoAddDevices&amp;quot; &amp;quot;off&amp;quot;&lt;br /&gt;
    Option &amp;quot;AIGLX&amp;quot; &amp;quot;off&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
&lt;br /&gt;
== Fonts ==&lt;br /&gt;
&lt;br /&gt;
Default fonts are a bit ugly. Things get better by creating some symbolic link:&lt;br /&gt;
&lt;br /&gt;
  cd /etc/fonts/conf.d&lt;br /&gt;
  ln -s ../conf.avail/10-autohint.conf&lt;br /&gt;
  ln -s ../conf.avail/10-sub-pixel-rgb.conf&lt;br /&gt;
  ln -s ../conf.avail/70-no-bitmaps.conf&lt;br /&gt;
&lt;br /&gt;
For GTK and Firefox&lt;br /&gt;
&lt;br /&gt;
Fonts size are too large. Solution:&lt;br /&gt;
  $cat ~/.gtkrc-2.0&lt;br /&gt;
  # -- THEME AUTO-WRITTEN DO NOT EDIT&lt;br /&gt;
  include &amp;quot;/usr/share/themes/Industrial/gtk-2.0/gtkrc&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  include &amp;quot;/home/rdemaria/.gtkrc-2.0.mine&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  # -- THEME AUTO-WRITTEN DO NOT EDIT&lt;br /&gt;
&lt;br /&gt;
  $cat ~/.gtkrc-2.0.mine&lt;br /&gt;
  gtk-font-name = &amp;quot;Sans 8&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Bold font are also ugly on xvrt (in xterm the bold font control seems always broken). See below for the solution.&lt;br /&gt;
&lt;br /&gt;
== Terminal ==&lt;br /&gt;
&lt;br /&gt;
I tried several terminals. But I found rxvt-unicode the easiest and fastest. This resources allow 4 terminals in one window. Bold font (unreadable to me) are disabled.&lt;br /&gt;
  $cat ~/.Xresources&lt;br /&gt;
  rxvt*cutchars: \$:[]&lt;br /&gt;
  rxvt*visualBell: true&lt;br /&gt;
  rxvt*foreground: white&lt;br /&gt;
  rxvt*background: black&lt;br /&gt;
  rxvt*geometry: 80x27&lt;br /&gt;
  rxvt*jumpScroll: true&lt;br /&gt;
  rxvt*skipScroll: true&lt;br /&gt;
  rxvt*scrollBar: false&lt;br /&gt;
  rxvt*boldFont:&lt;br /&gt;
  rxvt*boldItalicFont:&lt;br /&gt;
  rxvt*saveLines: 9096&lt;br /&gt;
  rxvt*mouseWheelScrollPage: false&lt;br /&gt;
&lt;br /&gt;
== Wifi ==&lt;br /&gt;
&lt;br /&gt;
Put in the /etc/apt/source.list&lt;br /&gt;
&lt;br /&gt;
  deb http://kernel-archive.buildserver.net/debian-kernel trunk main &lt;br /&gt;
&lt;br /&gt;
Installed linux-image-2.6.27-1 and firmware&lt;br /&gt;
&lt;br /&gt;
  wget http://intellinuxwireless.org/iwlwifi/downloads/iwlwifi-5000-ucode-5.4.A.11.tar.gz&lt;br /&gt;
  tar xvfz iwlwifi-5000-ucode-5.4.A.11.tar.gz&lt;br /&gt;
  cp  iwlwifi-5000-ucode-5.4.A.11/iwlwifi-5000-1.ucode /lib/firmware&lt;br /&gt;
  aptitude install linux-image-2.6.27-1-686 hal&lt;br /&gt;
&lt;br /&gt;
== Suspend ==&lt;br /&gt;
&lt;br /&gt;
Suspend to disk works using the button Fn+F12.&lt;br /&gt;
&lt;br /&gt;
Suspend to ram (Fn+F4) does not work with sid intel driver, but works with the experimental one.&lt;br /&gt;
Using vesa driver, it works if the i915 driver is installed. I put the line:&lt;br /&gt;
  modprobe i915&lt;br /&gt;
&lt;br /&gt;
in /etc/rc.local.&lt;br /&gt;
&lt;br /&gt;
The trackpoint occasionally stops working after a resume. Apparently it is enough to move it &lt;br /&gt;
a little bit during the resume.&lt;br /&gt;
&lt;br /&gt;
== Special keys ==&lt;br /&gt;
&lt;br /&gt;
Some keys are intercepted by X Windows. The keycodes are&lt;br /&gt;
&lt;br /&gt;
  227 Fn&lt;br /&gt;
  234 Tab left&lt;br /&gt;
  233 Tab right&lt;br /&gt;
  176 Volume up&lt;br /&gt;
  174 Volume dn&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Mute switch the hardware volume which is not controlled by ALSA.&lt;br /&gt;
&lt;br /&gt;
ACPI links suspend to ram and to disc to Fn+F4 and Fn+F12 respectively. Screen brightness, thinklight, bluetooth works as well.&lt;br /&gt;
&lt;br /&gt;
== Sound ==&lt;br /&gt;
&lt;br /&gt;
Everything works, but in a strange way. The hardware volume control is managed by acpi&lt;br /&gt;
&lt;br /&gt;
  $ cat /proc/acpi/ibm/volume&lt;br /&gt;
  level:          8&lt;br /&gt;
  mute:           off&lt;br /&gt;
  commands:       up, down, mute&lt;br /&gt;
  commands:       level &amp;lt;level&amp;gt; (&amp;lt;level&amp;gt; is 0-15)&lt;br /&gt;
&lt;br /&gt;
The mute button is linked to the mute command, but volume up and down are passed to X with keycode 176 174. I&lt;br /&gt;
thought that acpi was intercepting the key and send them to X using fakekey. I played in /etc/acpi/events but I didn't managed to change the behavior.&lt;br /&gt;
&lt;br /&gt;
== Skype ==&lt;br /&gt;
&lt;br /&gt;
Everything works downloading the skype version for Etch. After suspending and resuming the video does not work anymore.&lt;br /&gt;
The error message is:&lt;br /&gt;
&lt;br /&gt;
  Skype V4L2: Could not find a suitable capture format&lt;br /&gt;
&lt;br /&gt;
Several people propose to update the uvcvideo driver.&lt;br /&gt;
  svn checkout http://svn.berlios.de/svnroot/repos/linux-uvc/&lt;br /&gt;
  cd linux-uvc/linux-uvc/trunk/&lt;br /&gt;
  make&lt;br /&gt;
  make install&lt;br /&gt;
  modprobe uvcvideo&lt;br /&gt;
&lt;br /&gt;
But I didn't tried yet cause I'm still using the experimental kernel that does not come with packages for compiling modules.&lt;br /&gt;
&lt;br /&gt;
== GTK and Firefox ==&lt;br /&gt;
&lt;br /&gt;
Font size is too large. Solution:&lt;br /&gt;
  $cat /home/rdemaria/.gtkrc-2.0&lt;br /&gt;
  # -- THEME AUTO-WRITTEN DO NOT EDIT&lt;br /&gt;
  include &amp;quot;/usr/share/themes/Industrial/gtk-2.0/gtkrc&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  include &amp;quot;/home/rdemaria/.gtkrc-2.0.mine&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  # -- THEME AUTO-WRITTEN DO NOT EDIT&lt;br /&gt;
&lt;br /&gt;
  $cat /home/rdemaria/.gtkrc-2.0.mine&lt;br /&gt;
  gtk-font-name = &amp;quot;Sans 8&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== Printer and scanner ==&lt;br /&gt;
&lt;br /&gt;
Usb printer and scanner (HP Officejet J4580) works perfectly using cups, hpoj, xsane, hplib.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== RAM upgrade ==&lt;br /&gt;
&lt;br /&gt;
My X200 came with 2G of ram and 1 free slots. I bought:&lt;br /&gt;
   Crucial 2GB 204-Pin DDR3 SO-DIMM DDR3 1066 (PC3 8500) Laptop Memory Model CT25664BC1067 - Retail&lt;br /&gt;
&lt;br /&gt;
installed and replace the kernel with a bigmem one.&lt;br /&gt;
&lt;br /&gt;
== Hard disk upgrade ==&lt;br /&gt;
&lt;br /&gt;
My X200 came with a 160GB hardrive. I bought the 500GB hard drive&lt;br /&gt;
   Western Digital Scorpio Blue WD5000BEVT 500GB 5400 RPM SATA 3.0Gb/s Notebook Hard Drive - OEM&lt;br /&gt;
&lt;br /&gt;
and the adapter&lt;br /&gt;
  Link Depot USB2-SATA USB2.0 TO IDE/SATA Adapter Cable - Retail&lt;br /&gt;
&lt;br /&gt;
for transfer the data.&lt;br /&gt;
&lt;br /&gt;
I connected the new hard drive using the usb port. The drive was recognized as /dev/sdb. I create the partitions that reads:&lt;br /&gt;
&lt;br /&gt;
  $ sfdisk -d /dev/sdb&lt;br /&gt;
  # partition table of /dev/sdb&lt;br /&gt;
  unit: sectors&lt;br /&gt;
&lt;br /&gt;
  /dev/sdb1 : start=       63, size= 71553447, Id=83&lt;br /&gt;
  /dev/sdb2 : start= 71553510, size=905214555, Id= 5&lt;br /&gt;
  /dev/sdb3 : start=        0, size=        0, Id= 0&lt;br /&gt;
  /dev/sdb4 : start=        0, size=        0, Id= 0&lt;br /&gt;
  /dev/sdb5 : start= 71553573, size=894467007, Id=83&lt;br /&gt;
  /dev/sdb6 : start=966020643, size= 10747422, Id=82&lt;br /&gt;
&lt;br /&gt;
Then made the filesystem and copy the files:&lt;br /&gt;
  $ sudo mkfs.ext3 /dev/sdb1&lt;br /&gt;
  $ sudo mkfs.ext3 /dev/sdb5&lt;br /&gt;
  $ sudo mkswap    /dev/sda6&lt;br /&gt;
  $ sudo mount /mnt/sdb1&lt;br /&gt;
  $ sudo mount /mnt/sdb5&lt;br /&gt;
  $ sudo rsync -a --delete \&lt;br /&gt;
  --exclude /mnt/sdb1 \&lt;br /&gt;
  --exclude /mnt/sdb5 \&lt;br /&gt;
  --exclude /home \&lt;br /&gt;
  --exclude /proc \&lt;br /&gt;
  --exclude /sys \&lt;br /&gt;
  --exclude /lib/init/rw \&lt;br /&gt;
  --exclude /dev \&lt;br /&gt;
  / /mnt/sdb1&lt;br /&gt;
  $ cd /mnt/sdb1; mkdir /home /proc /sys /lib/init/rw /dev; cd &lt;br /&gt;
  $ sudo rsync -a /home/ /mnt/sdb5&lt;br /&gt;
  $ sudo umount /mnt/sdb5; sudo umount /mnt/sdb1&lt;br /&gt;
&lt;br /&gt;
Finally install grub&lt;br /&gt;
  $ sudo grub --no-floppy&lt;br /&gt;
  $ geometry (hd1)&lt;br /&gt;
  &amp;gt; root (hd1,0)&lt;br /&gt;
  &amp;gt; setup (hd1)&lt;br /&gt;
  &amp;gt; quit&lt;br /&gt;
&lt;br /&gt;
and replace the disk. (I tried to boot from the usb to check the new hard drive, but I messed up the old installation...)&lt;br /&gt;
&lt;br /&gt;
For some reason the suspend to disk was not working anymore. But &lt;br /&gt;
  $ sudo aptitude reinstall uswsusp&lt;br /&gt;
fixed the problem answering yes to use the swap disk.&lt;br /&gt;
&lt;br /&gt;
== TO BE CONTINUED ==&lt;/div&gt;</summary>
		<author><name>Rdemaria</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Debian_Sid_(October_2008)_on_a_ThinkPad_X200&amp;diff=40952</id>
		<title>Installing Debian Sid (October 2008) on a ThinkPad X200</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Debian_Sid_(October_2008)_on_a_ThinkPad_X200&amp;diff=40952"/>
		<updated>2009-02-01T23:48:21Z</updated>

		<summary type="html">&lt;p&gt;Rdemaria: /* Creating installation device */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
Amazing machine: light, quiet, large battery life, ideal for travels, great value for money compared to X200T and X300.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Creating installation device ==&lt;br /&gt;
&lt;br /&gt;
The X200 has no cd/dvd but can boot from USB. On the X200 BIOS settings, the USB disk boot option needed to be raised to be used first. Using F1 at boot gives access to the BIOS.&lt;br /&gt;
&lt;br /&gt;
I created an USB bootable iso from another linux installation.&lt;br /&gt;
I had an usb stick with a FAT32 partition on /dev/sdc1. I dowloaded the boot and iso file and installed the image&lt;br /&gt;
using:&lt;br /&gt;
&lt;br /&gt;
  wget http://people.debian.org/~joeyh/d-i/images/daily/hd-media/boot.img.gz&lt;br /&gt;
  wget http://cdimage.debian.org/cdimage/daily-builds/daily/arch-latest/i386/iso-cd/debian-testing-i386-netinst.iso&lt;br /&gt;
  zcat boot.img.gz &amp;gt;/dev/sdc1&lt;br /&gt;
  mkdir /mnt/sdc1&lt;br /&gt;
  mount /dev/sdc1 /mnt/sdc1&lt;br /&gt;
  cp debian-testing-i386-netinst.iso /mnt/sdc1&lt;br /&gt;
&lt;br /&gt;
The boot stick will use the network to install the package but a more complete ISO image can be dowloaded.&lt;br /&gt;
&lt;br /&gt;
The wifi will not work (see [[Installing_Debian_on_an_X200]]) but the Ethernet card will. In theory it should be possible build custom Debian Live USB stick, using the latest package and install from there, I didn't manage so far.&lt;br /&gt;
&lt;br /&gt;
== Sid installation ==&lt;br /&gt;
&lt;br /&gt;
To install sid use the expert installation support and choose unstable for the repository.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Backup hard drive data ==&lt;br /&gt;
&lt;br /&gt;
In order to save the hard drive content, I created complete hard drive image on another hard disk. During the installation procedure I activated another shell with CTRL-ALT-F3, mounted an external HD (/dev/sdb1) and copied the image with:&lt;br /&gt;
&lt;br /&gt;
  mkdir /mnt/sdb1&lt;br /&gt;
  mount /dev/sdb1 /mnt/sdb1/&lt;br /&gt;
  dd if=/dev/sda of=/mnt/sdb1/sda-image&lt;br /&gt;
&lt;br /&gt;
In principle partimage is better option but the installation image does not have it. Also gzipping the partition on the fly would have bin better, but the gzip or bzip2 were not present. Using a custom Debian Live installation image would solve the problem.&lt;br /&gt;
&lt;br /&gt;
== Kernel ==&lt;br /&gt;
&lt;br /&gt;
Some kernel options here for /boot/grub/menu.lst:&lt;br /&gt;
  &lt;br /&gt;
  # kopt=root=/dev/sda1 ro acpi_sleep=s3_bios vga=0x0368 video=vesafb&lt;br /&gt;
&lt;br /&gt;
Update the real items using&lt;br /&gt;
  &lt;br /&gt;
  update-grub&lt;br /&gt;
&lt;br /&gt;
== Video ==&lt;br /&gt;
&lt;br /&gt;
Intel driver on sid does not allow suspend to ram. Vesa driver is not that slow, but does not enable the VGA output.&lt;br /&gt;
&lt;br /&gt;
A solution is use the experimental package, but xorg needs a couple of ServerFlag option to avoid&lt;br /&gt;
strange behavior with mouse and keyboard.&lt;br /&gt;
&lt;br /&gt;
This is a simple xorg.conf:&lt;br /&gt;
&lt;br /&gt;
  $ cat /etc/X11/xorg.conf &lt;br /&gt;
  Section &amp;quot;InputDevice&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;Generic Keyboard&amp;quot;&lt;br /&gt;
        Driver          &amp;quot;kbd&amp;quot;&lt;br /&gt;
        Option          &amp;quot;XkbRules&amp;quot;      &amp;quot;xorg&amp;quot;&lt;br /&gt;
        Option          &amp;quot;XkbModel&amp;quot;      &amp;quot;pc104&amp;quot;&lt;br /&gt;
        Option          &amp;quot;XkbLayout&amp;quot;     &amp;quot;us,us(intl)&amp;quot;&lt;br /&gt;
        Option          &amp;quot;XkbOptions&amp;quot;    &amp;quot;compose(lwin),compose(rwin),grp:shifts_toggle,grp_led:scroll&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
  Section &amp;quot;InputDevice&amp;quot;&lt;br /&gt;
        Identifier  &amp;quot;Configured Mouse&amp;quot;&lt;br /&gt;
        Driver      &amp;quot;mouse&amp;quot;&lt;br /&gt;
        Option      &amp;quot;CorePointer&amp;quot;&lt;br /&gt;
        Option      &amp;quot;Device&amp;quot; &amp;quot;/dev/input/mouse0&amp;quot;&lt;br /&gt;
        Option      &amp;quot;Protocol&amp;quot; &amp;quot;ImPS/2&amp;quot;&lt;br /&gt;
        Option      &amp;quot;EmulateWheel&amp;quot; &amp;quot;on&amp;quot;&lt;br /&gt;
        Option      &amp;quot;EmulateWheelButton&amp;quot; &amp;quot;2&amp;quot;&lt;br /&gt;
        Option      &amp;quot;EmulateWheelTimeout&amp;quot; &amp;quot;250&amp;quot;&lt;br /&gt;
        Option      &amp;quot;XAxisMapping&amp;quot; &amp;quot;6 7&amp;quot;&lt;br /&gt;
        Option      &amp;quot;YAxisMapping&amp;quot; &amp;quot;4 5&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
  Section &amp;quot;Screen&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;Default Screen&amp;quot;&lt;br /&gt;
        Monitor         &amp;quot;Configured Monitor&amp;quot;&lt;br /&gt;
        Defaultdepth    24&lt;br /&gt;
        SubSection &amp;quot;Display&amp;quot;&lt;br /&gt;
                Modes           &amp;quot;1280x800&amp;quot;&lt;br /&gt;
  #             Virtual    2048 1024&lt;br /&gt;
        EndSubSection&lt;br /&gt;
  EndSection&lt;br /&gt;
  Section &amp;quot;Monitor&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;Configured Monitor&amp;quot;&lt;br /&gt;
        DisplaySize     231 233.5 #fake smaller dpi&lt;br /&gt;
  EndSection&lt;br /&gt;
  Section &amp;quot;Monitor&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;HDMI-1&amp;quot;&lt;br /&gt;
        Option          &amp;quot;Ignore&amp;quot; &amp;quot;True&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
  Section &amp;quot;Monitor&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;HDMI-2&amp;quot;&lt;br /&gt;
        Option          &amp;quot;Ignore&amp;quot; &amp;quot;True&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
  Section &amp;quot;Device&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;Configured Video Device&amp;quot;&lt;br /&gt;
        Driver          &amp;quot;intel&amp;quot;&lt;br /&gt;
        Option          &amp;quot;monitor-HDMI-1&amp;quot; &amp;quot;HDMI-1&amp;quot;&lt;br /&gt;
        Option          &amp;quot;monitor-HDMI-2&amp;quot; &amp;quot;HDMI-2&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
  Section &amp;quot;ServerFlags&amp;quot;&lt;br /&gt;
    Option &amp;quot;AllowEmptyInput&amp;quot; &amp;quot;off&amp;quot;&lt;br /&gt;
    Option &amp;quot;AutoAddDevices&amp;quot; &amp;quot;off&amp;quot;&lt;br /&gt;
    Option &amp;quot;AIGLX&amp;quot; &amp;quot;off&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
&lt;br /&gt;
== Fonts ==&lt;br /&gt;
&lt;br /&gt;
Default fonts are a bit ugly. Things get better by creating some symbolic link:&lt;br /&gt;
&lt;br /&gt;
  cd /etc/fonts/conf.d&lt;br /&gt;
  ln -s ../conf.avail/10-autohint.conf&lt;br /&gt;
  ln -s ../conf.avail/10-sub-pixel-rgb.conf&lt;br /&gt;
  ln -s ../conf.avail/70-no-bitmaps.conf&lt;br /&gt;
&lt;br /&gt;
For GTK and Firefox&lt;br /&gt;
&lt;br /&gt;
Fonts size are too large. Solution:&lt;br /&gt;
  $cat ~/.gtkrc-2.0&lt;br /&gt;
  # -- THEME AUTO-WRITTEN DO NOT EDIT&lt;br /&gt;
  include &amp;quot;/usr/share/themes/Industrial/gtk-2.0/gtkrc&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  include &amp;quot;/home/rdemaria/.gtkrc-2.0.mine&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  # -- THEME AUTO-WRITTEN DO NOT EDIT&lt;br /&gt;
&lt;br /&gt;
  $cat ~/.gtkrc-2.0.mine&lt;br /&gt;
  gtk-font-name = &amp;quot;Sans 8&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Bold font are also ugly on xvrt (in xterm the bold font control seems always broken). See below for the solution.&lt;br /&gt;
&lt;br /&gt;
== Terminal ==&lt;br /&gt;
&lt;br /&gt;
I tried several terminals. But I found rxvt-unicode the easiest and fastest. This resources allow 4 terminals in one window. Bold font (unreadable to me) are disabled.&lt;br /&gt;
  $cat ~/.Xresources&lt;br /&gt;
  rxvt*cutchars: \$:[]&lt;br /&gt;
  rxvt*visualBell: true&lt;br /&gt;
  rxvt*foreground: white&lt;br /&gt;
  rxvt*background: black&lt;br /&gt;
  rxvt*geometry: 80x27&lt;br /&gt;
  rxvt*jumpScroll: true&lt;br /&gt;
  rxvt*skipScroll: true&lt;br /&gt;
  rxvt*scrollBar: false&lt;br /&gt;
  rxvt*boldFont:&lt;br /&gt;
  rxvt*boldItalicFont:&lt;br /&gt;
  rxvt*saveLines: 9096&lt;br /&gt;
  rxvt*mouseWheelScrollPage: false&lt;br /&gt;
&lt;br /&gt;
== Wifi ==&lt;br /&gt;
&lt;br /&gt;
Put in the /etc/apt/source.list&lt;br /&gt;
&lt;br /&gt;
  deb http://kernel-archive.buildserver.net/debian-kernel trunk main &lt;br /&gt;
&lt;br /&gt;
Installed linux-image-2.6.27-1 and firmware&lt;br /&gt;
&lt;br /&gt;
  wget http://intellinuxwireless.org/iwlwifi/downloads/iwlwifi-5000-ucode-5.4.A.11.tar.gz&lt;br /&gt;
  tar xvfz iwlwifi-5000-ucode-5.4.A.11.tar.gz&lt;br /&gt;
  cp  iwlwifi-5000-ucode-5.4.A.11/iwlwifi-5000-1.ucode /lib/firmware&lt;br /&gt;
  aptitude install linux-image-2.6.27-1-686 hal&lt;br /&gt;
&lt;br /&gt;
== Suspend ==&lt;br /&gt;
&lt;br /&gt;
Suspend to disk works using the button Fn+F12.&lt;br /&gt;
&lt;br /&gt;
Suspend to ram (Fn+F4) does not work with intel driver.&lt;br /&gt;
Using vesa driver, it works if the i915 driver is installed. I put the line:&lt;br /&gt;
  modprobe i915&lt;br /&gt;
&lt;br /&gt;
in /etc/rc.local.&lt;br /&gt;
&lt;br /&gt;
The trackpoint occasionally stops working after a resume. Apparently it is enough to move it &lt;br /&gt;
a little bit during the resume.&lt;br /&gt;
&lt;br /&gt;
== Special keys ==&lt;br /&gt;
&lt;br /&gt;
Some keys are intercepted by X Windows. The keycodes are&lt;br /&gt;
&lt;br /&gt;
  227 Fn&lt;br /&gt;
  234 Tab left&lt;br /&gt;
  233 Tab right&lt;br /&gt;
  176 Volume up&lt;br /&gt;
  174 Volume dn&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Mute switch the hardware volume which is not controlled by ALSA.&lt;br /&gt;
&lt;br /&gt;
ACPI links suspend to ram and to disc to Fn+F4 and Fn+F12 respectively. Screen brightness, thinklight, bluetooth works as well.&lt;br /&gt;
&lt;br /&gt;
== Sound ==&lt;br /&gt;
&lt;br /&gt;
Everything works, but in a strange way. The hardware volume control is managed by acpi&lt;br /&gt;
&lt;br /&gt;
  $ cat /proc/acpi/ibm/volume&lt;br /&gt;
  level:          8&lt;br /&gt;
  mute:           off&lt;br /&gt;
  commands:       up, down, mute&lt;br /&gt;
  commands:       level &amp;lt;level&amp;gt; (&amp;lt;level&amp;gt; is 0-15)&lt;br /&gt;
&lt;br /&gt;
The mute button is linked to the mute command, but volume up and down are passed to X with keycode 176 174. I&lt;br /&gt;
thought that acpi was intercepting the key and send them to X using fakekey. I played in /etc/acpi/events but I didn't managed to change the behavior.&lt;br /&gt;
&lt;br /&gt;
== Skype ==&lt;br /&gt;
&lt;br /&gt;
Everything works downloading the skype version for Etch. After suspending and resuming the video does not work anymore.&lt;br /&gt;
The error message is:&lt;br /&gt;
&lt;br /&gt;
  Skype V4L2: Could not find a suitable capture format&lt;br /&gt;
&lt;br /&gt;
Several people propose to update the uvcvideo driver.&lt;br /&gt;
  svn checkout http://svn.berlios.de/svnroot/repos/linux-uvc/&lt;br /&gt;
  cd linux-uvc/linux-uvc/trunk/&lt;br /&gt;
  make&lt;br /&gt;
  make install&lt;br /&gt;
  modprobe uvcvideo&lt;br /&gt;
&lt;br /&gt;
But I didn't tried yet cause I'm still using the experimental kernel that does not come with packages for compiling modules.&lt;br /&gt;
&lt;br /&gt;
== GTK and Firefox ==&lt;br /&gt;
&lt;br /&gt;
Font size is too large. Solution:&lt;br /&gt;
  $cat /home/rdemaria/.gtkrc-2.0&lt;br /&gt;
  # -- THEME AUTO-WRITTEN DO NOT EDIT&lt;br /&gt;
  include &amp;quot;/usr/share/themes/Industrial/gtk-2.0/gtkrc&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  include &amp;quot;/home/rdemaria/.gtkrc-2.0.mine&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  # -- THEME AUTO-WRITTEN DO NOT EDIT&lt;br /&gt;
&lt;br /&gt;
  $cat /home/rdemaria/.gtkrc-2.0.mine&lt;br /&gt;
  gtk-font-name = &amp;quot;Sans 8&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== Printer and scanner ==&lt;br /&gt;
&lt;br /&gt;
Usb printer and scanner (HP Officejet J4580) works perfectly using cups, hpoj, xsane, hplib.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== RAM upgrade ==&lt;br /&gt;
&lt;br /&gt;
My X200 came with 2G of ram and 1 free slots. I bought:&lt;br /&gt;
   Crucial 2GB 204-Pin DDR3 SO-DIMM DDR3 1066 (PC3 8500) Laptop Memory Model CT25664BC1067 - Retail&lt;br /&gt;
&lt;br /&gt;
installed and replace the kernel with a bigmem one.&lt;br /&gt;
&lt;br /&gt;
== Hard disk upgrade ==&lt;br /&gt;
&lt;br /&gt;
My X200 came with a 160GB hardrive. I bought the 500GB hard drive&lt;br /&gt;
   Western Digital Scorpio Blue WD5000BEVT 500GB 5400 RPM SATA 3.0Gb/s Notebook Hard Drive - OEM&lt;br /&gt;
&lt;br /&gt;
and the adapter&lt;br /&gt;
  Link Depot USB2-SATA USB2.0 TO IDE/SATA Adapter Cable - Retail&lt;br /&gt;
&lt;br /&gt;
for transfer the data.&lt;br /&gt;
&lt;br /&gt;
I connected the new hard drive using the usb port. The drive was recognized as /dev/sdb. I create the partitions that reads:&lt;br /&gt;
&lt;br /&gt;
  $ sfdisk -d /dev/sdb&lt;br /&gt;
  # partition table of /dev/sdb&lt;br /&gt;
  unit: sectors&lt;br /&gt;
&lt;br /&gt;
  /dev/sdb1 : start=       63, size= 71553447, Id=83&lt;br /&gt;
  /dev/sdb2 : start= 71553510, size=905214555, Id= 5&lt;br /&gt;
  /dev/sdb3 : start=        0, size=        0, Id= 0&lt;br /&gt;
  /dev/sdb4 : start=        0, size=        0, Id= 0&lt;br /&gt;
  /dev/sdb5 : start= 71553573, size=894467007, Id=83&lt;br /&gt;
  /dev/sdb6 : start=966020643, size= 10747422, Id=82&lt;br /&gt;
&lt;br /&gt;
Then made the filesystem and copy the files:&lt;br /&gt;
  $ sudo mkfs.ext3 /dev/sdb1&lt;br /&gt;
  $ sudo mkfs.ext3 /dev/sdb5&lt;br /&gt;
  $ sudo mkswap    /dev/sda6&lt;br /&gt;
  $ sudo mount /mnt/sdb1&lt;br /&gt;
  $ sudo mount /mnt/sdb5&lt;br /&gt;
  $ sudo rsync -a --delete \&lt;br /&gt;
  --exclude /mnt/sdb1 \&lt;br /&gt;
  --exclude /mnt/sdb5 \&lt;br /&gt;
  --exclude /home \&lt;br /&gt;
  --exclude /proc \&lt;br /&gt;
  --exclude /sys \&lt;br /&gt;
  --exclude /lib/init/rw \&lt;br /&gt;
  --exclude /dev \&lt;br /&gt;
  / /mnt/sdb1&lt;br /&gt;
  $ cd /mnt/sdb1; mkdir /home /proc /sys /lib/init/rw /dev; cd &lt;br /&gt;
  $ sudo rsync -a /home/ /mnt/sdb5&lt;br /&gt;
  $ sudo umount /mnt/sdb5; sudo umount /mnt/sdb1&lt;br /&gt;
&lt;br /&gt;
Finally install grub&lt;br /&gt;
  $ sudo grub --no-floppy&lt;br /&gt;
  $ geometry (hd1)&lt;br /&gt;
  &amp;gt; root (hd1,0)&lt;br /&gt;
  &amp;gt; setup (hd1)&lt;br /&gt;
  &amp;gt; quit&lt;br /&gt;
&lt;br /&gt;
and replace the disk. (I tried to boot from the usb to check the new hard drive, but I messed up the old installation...)&lt;br /&gt;
&lt;br /&gt;
For some reason the suspend to disk was not working anymore. But &lt;br /&gt;
  $ sudo aptitude reinstall uswsusp&lt;br /&gt;
fixed the problem answering yes to use the swap disk.&lt;br /&gt;
&lt;br /&gt;
== TO BE CONTINUED ==&lt;/div&gt;</summary>
		<author><name>Rdemaria</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Debian_Sid_(October_2008)_on_a_ThinkPad_X200&amp;diff=40951</id>
		<title>Installing Debian Sid (October 2008) on a ThinkPad X200</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Debian_Sid_(October_2008)_on_a_ThinkPad_X200&amp;diff=40951"/>
		<updated>2009-02-01T23:44:06Z</updated>

		<summary type="html">&lt;p&gt;Rdemaria: /* GTK and Firefox */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
Amazing machine: light, quiet, large battery life, ideal for travels, great value for money compared to X200T and X300.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Creating installation device ==&lt;br /&gt;
&lt;br /&gt;
The X200 has no cd/dvd but can boot from USB. On the X200 BIOS settings, the USB disk boot option needed to be raised to be used first. Using F1 at boot gives access to the BIOS.&lt;br /&gt;
&lt;br /&gt;
I created an USB bootable iso from another linux installation.&lt;br /&gt;
I had an usb stick with a FAT32 partition on /dev/sdc1. I dowloaded the boot and iso file and installed the image&lt;br /&gt;
using:&lt;br /&gt;
&lt;br /&gt;
  wget http://people.debian.org/~joeyh/d-i/images/daily/hd-media/boot.img.gz&lt;br /&gt;
  wget http://cdimage.debian.org/cdimage/daily-builds/daily/arch-latest/i386/iso-cd/debian-testing-i386-netinst.iso&lt;br /&gt;
  zcat boot.img.gz &amp;gt;/dev/sdc1&lt;br /&gt;
  mkdir /mnt/sdc1&lt;br /&gt;
  mount /dev/sdc1 /mnt/sdc1&lt;br /&gt;
  cp debian-testing-i386-netinst.iso /mnt/sdc1&lt;br /&gt;
&lt;br /&gt;
The boot stick will use the network to install the package but a more complete ISO image can be dowloaded.&lt;br /&gt;
&lt;br /&gt;
The wifi will not work (see [[Installing_Debian_on_an_X200]]) but the Ethernet card will. In theory it should be possible build custom Debian Live USB stick, using the latest package and install from there, I didn't manage so far.&lt;br /&gt;
'''Bold text'''&lt;br /&gt;
&lt;br /&gt;
== Sid installation ==&lt;br /&gt;
&lt;br /&gt;
To install sid use the expert installation support and choose unstable for the repository.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Backup hard drive data ==&lt;br /&gt;
&lt;br /&gt;
In order to save the hard drive content, I created complete hard drive image on another hard disk. During the installation procedure I activated another shell with CTRL-ALT-F3, mounted an external HD (/dev/sdb1) and copied the image with:&lt;br /&gt;
&lt;br /&gt;
  mkdir /mnt/sdb1&lt;br /&gt;
  mount /dev/sdb1 /mnt/sdb1/&lt;br /&gt;
  dd if=/dev/sda of=/mnt/sdb1/sda-image&lt;br /&gt;
&lt;br /&gt;
In principle partimage is better option but the installation image does not have it. Also gzipping the partition on the fly would have bin better, but the gzip or bzip2 were not present. Using a custom Debian Live installation image would solve the problem.&lt;br /&gt;
&lt;br /&gt;
== Kernel ==&lt;br /&gt;
&lt;br /&gt;
Some kernel options here for /boot/grub/menu.lst:&lt;br /&gt;
  &lt;br /&gt;
  # kopt=root=/dev/sda1 ro acpi_sleep=s3_bios vga=0x0368 video=vesafb&lt;br /&gt;
&lt;br /&gt;
Update the real items using&lt;br /&gt;
  &lt;br /&gt;
  update-grub&lt;br /&gt;
&lt;br /&gt;
== Video ==&lt;br /&gt;
&lt;br /&gt;
Intel driver on sid does not allow suspend to ram. Vesa driver is not that slow, but does not enable the VGA output.&lt;br /&gt;
&lt;br /&gt;
A solution is use the experimental package, but xorg needs a couple of ServerFlag option to avoid&lt;br /&gt;
strange behavior with mouse and keyboard.&lt;br /&gt;
&lt;br /&gt;
This is a simple xorg.conf:&lt;br /&gt;
&lt;br /&gt;
  $ cat /etc/X11/xorg.conf &lt;br /&gt;
  Section &amp;quot;InputDevice&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;Generic Keyboard&amp;quot;&lt;br /&gt;
        Driver          &amp;quot;kbd&amp;quot;&lt;br /&gt;
        Option          &amp;quot;XkbRules&amp;quot;      &amp;quot;xorg&amp;quot;&lt;br /&gt;
        Option          &amp;quot;XkbModel&amp;quot;      &amp;quot;pc104&amp;quot;&lt;br /&gt;
        Option          &amp;quot;XkbLayout&amp;quot;     &amp;quot;us,us(intl)&amp;quot;&lt;br /&gt;
        Option          &amp;quot;XkbOptions&amp;quot;    &amp;quot;compose(lwin),compose(rwin),grp:shifts_toggle,grp_led:scroll&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
  Section &amp;quot;InputDevice&amp;quot;&lt;br /&gt;
        Identifier  &amp;quot;Configured Mouse&amp;quot;&lt;br /&gt;
        Driver      &amp;quot;mouse&amp;quot;&lt;br /&gt;
        Option      &amp;quot;CorePointer&amp;quot;&lt;br /&gt;
        Option      &amp;quot;Device&amp;quot; &amp;quot;/dev/input/mouse0&amp;quot;&lt;br /&gt;
        Option      &amp;quot;Protocol&amp;quot; &amp;quot;ImPS/2&amp;quot;&lt;br /&gt;
        Option      &amp;quot;EmulateWheel&amp;quot; &amp;quot;on&amp;quot;&lt;br /&gt;
        Option      &amp;quot;EmulateWheelButton&amp;quot; &amp;quot;2&amp;quot;&lt;br /&gt;
        Option      &amp;quot;EmulateWheelTimeout&amp;quot; &amp;quot;250&amp;quot;&lt;br /&gt;
        Option      &amp;quot;XAxisMapping&amp;quot; &amp;quot;6 7&amp;quot;&lt;br /&gt;
        Option      &amp;quot;YAxisMapping&amp;quot; &amp;quot;4 5&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
  Section &amp;quot;Screen&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;Default Screen&amp;quot;&lt;br /&gt;
        Monitor         &amp;quot;Configured Monitor&amp;quot;&lt;br /&gt;
        Defaultdepth    24&lt;br /&gt;
        SubSection &amp;quot;Display&amp;quot;&lt;br /&gt;
                Modes           &amp;quot;1280x800&amp;quot;&lt;br /&gt;
  #             Virtual    2048 1024&lt;br /&gt;
        EndSubSection&lt;br /&gt;
  EndSection&lt;br /&gt;
  Section &amp;quot;Monitor&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;Configured Monitor&amp;quot;&lt;br /&gt;
        DisplaySize     231 233.5 #fake smaller dpi&lt;br /&gt;
  EndSection&lt;br /&gt;
  Section &amp;quot;Monitor&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;HDMI-1&amp;quot;&lt;br /&gt;
        Option          &amp;quot;Ignore&amp;quot; &amp;quot;True&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
  Section &amp;quot;Monitor&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;HDMI-2&amp;quot;&lt;br /&gt;
        Option          &amp;quot;Ignore&amp;quot; &amp;quot;True&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
  Section &amp;quot;Device&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;Configured Video Device&amp;quot;&lt;br /&gt;
        Driver          &amp;quot;intel&amp;quot;&lt;br /&gt;
        Option          &amp;quot;monitor-HDMI-1&amp;quot; &amp;quot;HDMI-1&amp;quot;&lt;br /&gt;
        Option          &amp;quot;monitor-HDMI-2&amp;quot; &amp;quot;HDMI-2&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
  Section &amp;quot;ServerFlags&amp;quot;&lt;br /&gt;
    Option &amp;quot;AllowEmptyInput&amp;quot; &amp;quot;off&amp;quot;&lt;br /&gt;
    Option &amp;quot;AutoAddDevices&amp;quot; &amp;quot;off&amp;quot;&lt;br /&gt;
    Option &amp;quot;AIGLX&amp;quot; &amp;quot;off&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
&lt;br /&gt;
== Fonts ==&lt;br /&gt;
&lt;br /&gt;
Default fonts are a bit ugly. Things get better by creating some symbolic link:&lt;br /&gt;
&lt;br /&gt;
  cd /etc/fonts/conf.d&lt;br /&gt;
  ln -s ../conf.avail/10-autohint.conf&lt;br /&gt;
  ln -s ../conf.avail/10-sub-pixel-rgb.conf&lt;br /&gt;
  ln -s ../conf.avail/70-no-bitmaps.conf&lt;br /&gt;
&lt;br /&gt;
For GTK and Firefox&lt;br /&gt;
&lt;br /&gt;
Fonts size are too large. Solution:&lt;br /&gt;
  $cat ~/.gtkrc-2.0&lt;br /&gt;
  # -- THEME AUTO-WRITTEN DO NOT EDIT&lt;br /&gt;
  include &amp;quot;/usr/share/themes/Industrial/gtk-2.0/gtkrc&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  include &amp;quot;/home/rdemaria/.gtkrc-2.0.mine&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  # -- THEME AUTO-WRITTEN DO NOT EDIT&lt;br /&gt;
&lt;br /&gt;
  $cat ~/.gtkrc-2.0.mine&lt;br /&gt;
  gtk-font-name = &amp;quot;Sans 8&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Bold font are also ugly on xvrt (in xterm the bold font control seems always broken). See below for the solution.&lt;br /&gt;
&lt;br /&gt;
== Terminal ==&lt;br /&gt;
&lt;br /&gt;
I tried several terminals. But I found rxvt-unicode the easiest and fastest. This resources allow 4 terminals in one window. Bold font (unreadable to me) are disabled.&lt;br /&gt;
  $cat ~/.Xresources&lt;br /&gt;
  rxvt*cutchars: \$:[]&lt;br /&gt;
  rxvt*visualBell: true&lt;br /&gt;
  rxvt*foreground: white&lt;br /&gt;
  rxvt*background: black&lt;br /&gt;
  rxvt*geometry: 80x27&lt;br /&gt;
  rxvt*jumpScroll: true&lt;br /&gt;
  rxvt*skipScroll: true&lt;br /&gt;
  rxvt*scrollBar: false&lt;br /&gt;
  rxvt*boldFont:&lt;br /&gt;
  rxvt*boldItalicFont:&lt;br /&gt;
  rxvt*saveLines: 9096&lt;br /&gt;
  rxvt*mouseWheelScrollPage: false&lt;br /&gt;
&lt;br /&gt;
== Wifi ==&lt;br /&gt;
&lt;br /&gt;
Put in the /etc/apt/source.list&lt;br /&gt;
&lt;br /&gt;
  deb http://kernel-archive.buildserver.net/debian-kernel trunk main &lt;br /&gt;
&lt;br /&gt;
Installed linux-image-2.6.27-1 and firmware&lt;br /&gt;
&lt;br /&gt;
  wget http://intellinuxwireless.org/iwlwifi/downloads/iwlwifi-5000-ucode-5.4.A.11.tar.gz&lt;br /&gt;
  tar xvfz iwlwifi-5000-ucode-5.4.A.11.tar.gz&lt;br /&gt;
  cp  iwlwifi-5000-ucode-5.4.A.11/iwlwifi-5000-1.ucode /lib/firmware&lt;br /&gt;
  aptitude install linux-image-2.6.27-1-686 hal&lt;br /&gt;
&lt;br /&gt;
== Suspend ==&lt;br /&gt;
&lt;br /&gt;
Suspend to disk works using the button Fn+F12.&lt;br /&gt;
&lt;br /&gt;
Suspend to ram (Fn+F4) does not work with intel driver.&lt;br /&gt;
Using vesa driver, it works if the i915 driver is installed. I put the line:&lt;br /&gt;
  modprobe i915&lt;br /&gt;
&lt;br /&gt;
in /etc/rc.local.&lt;br /&gt;
&lt;br /&gt;
The trackpoint occasionally stops working after a resume. Apparently it is enough to move it &lt;br /&gt;
a little bit during the resume.&lt;br /&gt;
&lt;br /&gt;
== Special keys ==&lt;br /&gt;
&lt;br /&gt;
Some keys are intercepted by X Windows. The keycodes are&lt;br /&gt;
&lt;br /&gt;
  227 Fn&lt;br /&gt;
  234 Tab left&lt;br /&gt;
  233 Tab right&lt;br /&gt;
  176 Volume up&lt;br /&gt;
  174 Volume dn&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Mute switch the hardware volume which is not controlled by ALSA.&lt;br /&gt;
&lt;br /&gt;
ACPI links suspend to ram and to disc to Fn+F4 and Fn+F12 respectively. Screen brightness, thinklight, bluetooth works as well.&lt;br /&gt;
&lt;br /&gt;
== Sound ==&lt;br /&gt;
&lt;br /&gt;
Everything works, but in a strange way. The hardware volume control is managed by acpi&lt;br /&gt;
&lt;br /&gt;
  $ cat /proc/acpi/ibm/volume&lt;br /&gt;
  level:          8&lt;br /&gt;
  mute:           off&lt;br /&gt;
  commands:       up, down, mute&lt;br /&gt;
  commands:       level &amp;lt;level&amp;gt; (&amp;lt;level&amp;gt; is 0-15)&lt;br /&gt;
&lt;br /&gt;
The mute button is linked to the mute command, but volume up and down are passed to X with keycode 176 174. I&lt;br /&gt;
thought that acpi was intercepting the key and send them to X using fakekey. I played in /etc/acpi/events but I didn't managed to change the behavior.&lt;br /&gt;
&lt;br /&gt;
== Skype ==&lt;br /&gt;
&lt;br /&gt;
Everything works downloading the skype version for Etch. After suspending and resuming the video does not work anymore.&lt;br /&gt;
The error message is:&lt;br /&gt;
&lt;br /&gt;
  Skype V4L2: Could not find a suitable capture format&lt;br /&gt;
&lt;br /&gt;
Several people propose to update the uvcvideo driver.&lt;br /&gt;
  svn checkout http://svn.berlios.de/svnroot/repos/linux-uvc/&lt;br /&gt;
  cd linux-uvc/linux-uvc/trunk/&lt;br /&gt;
  make&lt;br /&gt;
  make install&lt;br /&gt;
  modprobe uvcvideo&lt;br /&gt;
&lt;br /&gt;
But I didn't tried yet cause I'm still using the experimental kernel that does not come with packages for compiling modules.&lt;br /&gt;
&lt;br /&gt;
== GTK and Firefox ==&lt;br /&gt;
&lt;br /&gt;
Font size is too large. Solution:&lt;br /&gt;
  $cat /home/rdemaria/.gtkrc-2.0&lt;br /&gt;
  # -- THEME AUTO-WRITTEN DO NOT EDIT&lt;br /&gt;
  include &amp;quot;/usr/share/themes/Industrial/gtk-2.0/gtkrc&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  include &amp;quot;/home/rdemaria/.gtkrc-2.0.mine&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  # -- THEME AUTO-WRITTEN DO NOT EDIT&lt;br /&gt;
&lt;br /&gt;
  $cat /home/rdemaria/.gtkrc-2.0.mine&lt;br /&gt;
  gtk-font-name = &amp;quot;Sans 8&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== Printer and scanner ==&lt;br /&gt;
&lt;br /&gt;
Usb printer and scanner (HP Officejet J4580) works perfectly using cups, hpoj, xsane, hplib.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== RAM upgrade ==&lt;br /&gt;
&lt;br /&gt;
My X200 came with 2G of ram and 1 free slots. I bought:&lt;br /&gt;
   Crucial 2GB 204-Pin DDR3 SO-DIMM DDR3 1066 (PC3 8500) Laptop Memory Model CT25664BC1067 - Retail&lt;br /&gt;
&lt;br /&gt;
installed and replace the kernel with a bigmem one.&lt;br /&gt;
&lt;br /&gt;
== Hard disk upgrade ==&lt;br /&gt;
&lt;br /&gt;
My X200 came with a 160GB hardrive. I bought the 500GB hard drive&lt;br /&gt;
   Western Digital Scorpio Blue WD5000BEVT 500GB 5400 RPM SATA 3.0Gb/s Notebook Hard Drive - OEM&lt;br /&gt;
&lt;br /&gt;
and the adapter&lt;br /&gt;
  Link Depot USB2-SATA USB2.0 TO IDE/SATA Adapter Cable - Retail&lt;br /&gt;
&lt;br /&gt;
for transfer the data.&lt;br /&gt;
&lt;br /&gt;
I connected the new hard drive using the usb port. The drive was recognized as /dev/sdb. I create the partitions that reads:&lt;br /&gt;
&lt;br /&gt;
  $ sfdisk -d /dev/sdb&lt;br /&gt;
  # partition table of /dev/sdb&lt;br /&gt;
  unit: sectors&lt;br /&gt;
&lt;br /&gt;
  /dev/sdb1 : start=       63, size= 71553447, Id=83&lt;br /&gt;
  /dev/sdb2 : start= 71553510, size=905214555, Id= 5&lt;br /&gt;
  /dev/sdb3 : start=        0, size=        0, Id= 0&lt;br /&gt;
  /dev/sdb4 : start=        0, size=        0, Id= 0&lt;br /&gt;
  /dev/sdb5 : start= 71553573, size=894467007, Id=83&lt;br /&gt;
  /dev/sdb6 : start=966020643, size= 10747422, Id=82&lt;br /&gt;
&lt;br /&gt;
Then made the filesystem and copy the files:&lt;br /&gt;
  $ sudo mkfs.ext3 /dev/sdb1&lt;br /&gt;
  $ sudo mkfs.ext3 /dev/sdb5&lt;br /&gt;
  $ sudo mkswap    /dev/sda6&lt;br /&gt;
  $ sudo mount /mnt/sdb1&lt;br /&gt;
  $ sudo mount /mnt/sdb5&lt;br /&gt;
  $ sudo rsync -a --delete \&lt;br /&gt;
  --exclude /mnt/sdb1 \&lt;br /&gt;
  --exclude /mnt/sdb5 \&lt;br /&gt;
  --exclude /home \&lt;br /&gt;
  --exclude /proc \&lt;br /&gt;
  --exclude /sys \&lt;br /&gt;
  --exclude /lib/init/rw \&lt;br /&gt;
  --exclude /dev \&lt;br /&gt;
  / /mnt/sdb1&lt;br /&gt;
  $ cd /mnt/sdb1; mkdir /home /proc /sys /lib/init/rw /dev; cd &lt;br /&gt;
  $ sudo rsync -a /home/ /mnt/sdb5&lt;br /&gt;
  $ sudo umount /mnt/sdb5; sudo umount /mnt/sdb1&lt;br /&gt;
&lt;br /&gt;
Finally install grub&lt;br /&gt;
  $ sudo grub --no-floppy&lt;br /&gt;
  $ geometry (hd1)&lt;br /&gt;
  &amp;gt; root (hd1,0)&lt;br /&gt;
  &amp;gt; setup (hd1)&lt;br /&gt;
  &amp;gt; quit&lt;br /&gt;
&lt;br /&gt;
and replace the disk. (I tried to boot from the usb to check the new hard drive, but I messed up the old installation...)&lt;br /&gt;
&lt;br /&gt;
For some reason the suspend to disk was not working anymore. But &lt;br /&gt;
  $ sudo aptitude reinstall uswsusp&lt;br /&gt;
fixed the problem answering yes to use the swap disk.&lt;br /&gt;
&lt;br /&gt;
== TO BE CONTINUED ==&lt;/div&gt;</summary>
		<author><name>Rdemaria</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Debian_Sid_(October_2008)_on_a_ThinkPad_X200&amp;diff=40950</id>
		<title>Installing Debian Sid (October 2008) on a ThinkPad X200</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Debian_Sid_(October_2008)_on_a_ThinkPad_X200&amp;diff=40950"/>
		<updated>2009-02-01T23:40:50Z</updated>

		<summary type="html">&lt;p&gt;Rdemaria: /* Video */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
Amazing machine: light, quiet, large battery life, ideal for travels, great value for money compared to X200T and X300.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Creating installation device ==&lt;br /&gt;
&lt;br /&gt;
The X200 has no cd/dvd but can boot from USB. On the X200 BIOS settings, the USB disk boot option needed to be raised to be used first. Using F1 at boot gives access to the BIOS.&lt;br /&gt;
&lt;br /&gt;
I created an USB bootable iso from another linux installation.&lt;br /&gt;
I had an usb stick with a FAT32 partition on /dev/sdc1. I dowloaded the boot and iso file and installed the image&lt;br /&gt;
using:&lt;br /&gt;
&lt;br /&gt;
  wget http://people.debian.org/~joeyh/d-i/images/daily/hd-media/boot.img.gz&lt;br /&gt;
  wget http://cdimage.debian.org/cdimage/daily-builds/daily/arch-latest/i386/iso-cd/debian-testing-i386-netinst.iso&lt;br /&gt;
  zcat boot.img.gz &amp;gt;/dev/sdc1&lt;br /&gt;
  mkdir /mnt/sdc1&lt;br /&gt;
  mount /dev/sdc1 /mnt/sdc1&lt;br /&gt;
  cp debian-testing-i386-netinst.iso /mnt/sdc1&lt;br /&gt;
&lt;br /&gt;
The boot stick will use the network to install the package but a more complete ISO image can be dowloaded.&lt;br /&gt;
&lt;br /&gt;
The wifi will not work (see [[Installing_Debian_on_an_X200]]) but the Ethernet card will. In theory it should be possible build custom Debian Live USB stick, using the latest package and install from there, I didn't manage so far.&lt;br /&gt;
'''Bold text'''&lt;br /&gt;
&lt;br /&gt;
== Sid installation ==&lt;br /&gt;
&lt;br /&gt;
To install sid use the expert installation support and choose unstable for the repository.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Backup hard drive data ==&lt;br /&gt;
&lt;br /&gt;
In order to save the hard drive content, I created complete hard drive image on another hard disk. During the installation procedure I activated another shell with CTRL-ALT-F3, mounted an external HD (/dev/sdb1) and copied the image with:&lt;br /&gt;
&lt;br /&gt;
  mkdir /mnt/sdb1&lt;br /&gt;
  mount /dev/sdb1 /mnt/sdb1/&lt;br /&gt;
  dd if=/dev/sda of=/mnt/sdb1/sda-image&lt;br /&gt;
&lt;br /&gt;
In principle partimage is better option but the installation image does not have it. Also gzipping the partition on the fly would have bin better, but the gzip or bzip2 were not present. Using a custom Debian Live installation image would solve the problem.&lt;br /&gt;
&lt;br /&gt;
== Kernel ==&lt;br /&gt;
&lt;br /&gt;
Some kernel options here for /boot/grub/menu.lst:&lt;br /&gt;
  &lt;br /&gt;
  # kopt=root=/dev/sda1 ro acpi_sleep=s3_bios vga=0x0368 video=vesafb&lt;br /&gt;
&lt;br /&gt;
Update the real items using&lt;br /&gt;
  &lt;br /&gt;
  update-grub&lt;br /&gt;
&lt;br /&gt;
== Video ==&lt;br /&gt;
&lt;br /&gt;
Intel driver on sid does not allow suspend to ram. Vesa driver is not that slow, but does not enable the VGA output.&lt;br /&gt;
&lt;br /&gt;
A solution is use the experimental package, but xorg needs a couple of ServerFlag option to avoid&lt;br /&gt;
strange behavior with mouse and keyboard.&lt;br /&gt;
&lt;br /&gt;
This is a simple xorg.conf:&lt;br /&gt;
&lt;br /&gt;
  $ cat /etc/X11/xorg.conf &lt;br /&gt;
  Section &amp;quot;InputDevice&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;Generic Keyboard&amp;quot;&lt;br /&gt;
        Driver          &amp;quot;kbd&amp;quot;&lt;br /&gt;
        Option          &amp;quot;XkbRules&amp;quot;      &amp;quot;xorg&amp;quot;&lt;br /&gt;
        Option          &amp;quot;XkbModel&amp;quot;      &amp;quot;pc104&amp;quot;&lt;br /&gt;
        Option          &amp;quot;XkbLayout&amp;quot;     &amp;quot;us,us(intl)&amp;quot;&lt;br /&gt;
        Option          &amp;quot;XkbOptions&amp;quot;    &amp;quot;compose(lwin),compose(rwin),grp:shifts_toggle,grp_led:scroll&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
  Section &amp;quot;InputDevice&amp;quot;&lt;br /&gt;
        Identifier  &amp;quot;Configured Mouse&amp;quot;&lt;br /&gt;
        Driver      &amp;quot;mouse&amp;quot;&lt;br /&gt;
        Option      &amp;quot;CorePointer&amp;quot;&lt;br /&gt;
        Option      &amp;quot;Device&amp;quot; &amp;quot;/dev/input/mouse0&amp;quot;&lt;br /&gt;
        Option      &amp;quot;Protocol&amp;quot; &amp;quot;ImPS/2&amp;quot;&lt;br /&gt;
        Option      &amp;quot;EmulateWheel&amp;quot; &amp;quot;on&amp;quot;&lt;br /&gt;
        Option      &amp;quot;EmulateWheelButton&amp;quot; &amp;quot;2&amp;quot;&lt;br /&gt;
        Option      &amp;quot;EmulateWheelTimeout&amp;quot; &amp;quot;250&amp;quot;&lt;br /&gt;
        Option      &amp;quot;XAxisMapping&amp;quot; &amp;quot;6 7&amp;quot;&lt;br /&gt;
        Option      &amp;quot;YAxisMapping&amp;quot; &amp;quot;4 5&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
  Section &amp;quot;Screen&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;Default Screen&amp;quot;&lt;br /&gt;
        Monitor         &amp;quot;Configured Monitor&amp;quot;&lt;br /&gt;
        Defaultdepth    24&lt;br /&gt;
        SubSection &amp;quot;Display&amp;quot;&lt;br /&gt;
                Modes           &amp;quot;1280x800&amp;quot;&lt;br /&gt;
  #             Virtual    2048 1024&lt;br /&gt;
        EndSubSection&lt;br /&gt;
  EndSection&lt;br /&gt;
  Section &amp;quot;Monitor&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;Configured Monitor&amp;quot;&lt;br /&gt;
        DisplaySize     231 233.5 #fake smaller dpi&lt;br /&gt;
  EndSection&lt;br /&gt;
  Section &amp;quot;Monitor&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;HDMI-1&amp;quot;&lt;br /&gt;
        Option          &amp;quot;Ignore&amp;quot; &amp;quot;True&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
  Section &amp;quot;Monitor&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;HDMI-2&amp;quot;&lt;br /&gt;
        Option          &amp;quot;Ignore&amp;quot; &amp;quot;True&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
  Section &amp;quot;Device&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;Configured Video Device&amp;quot;&lt;br /&gt;
        Driver          &amp;quot;intel&amp;quot;&lt;br /&gt;
        Option          &amp;quot;monitor-HDMI-1&amp;quot; &amp;quot;HDMI-1&amp;quot;&lt;br /&gt;
        Option          &amp;quot;monitor-HDMI-2&amp;quot; &amp;quot;HDMI-2&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
  Section &amp;quot;ServerFlags&amp;quot;&lt;br /&gt;
    Option &amp;quot;AllowEmptyInput&amp;quot; &amp;quot;off&amp;quot;&lt;br /&gt;
    Option &amp;quot;AutoAddDevices&amp;quot; &amp;quot;off&amp;quot;&lt;br /&gt;
    Option &amp;quot;AIGLX&amp;quot; &amp;quot;off&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
&lt;br /&gt;
== Fonts ==&lt;br /&gt;
&lt;br /&gt;
Default fonts are a bit ugly. Things get better by creating some symbolic link:&lt;br /&gt;
&lt;br /&gt;
  cd /etc/fonts/conf.d&lt;br /&gt;
  ln -s ../conf.avail/10-autohint.conf&lt;br /&gt;
  ln -s ../conf.avail/10-sub-pixel-rgb.conf&lt;br /&gt;
  ln -s ../conf.avail/70-no-bitmaps.conf&lt;br /&gt;
&lt;br /&gt;
For GTK and Firefox&lt;br /&gt;
&lt;br /&gt;
Fonts size are too large. Solution:&lt;br /&gt;
  $cat ~/.gtkrc-2.0&lt;br /&gt;
  # -- THEME AUTO-WRITTEN DO NOT EDIT&lt;br /&gt;
  include &amp;quot;/usr/share/themes/Industrial/gtk-2.0/gtkrc&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  include &amp;quot;/home/rdemaria/.gtkrc-2.0.mine&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  # -- THEME AUTO-WRITTEN DO NOT EDIT&lt;br /&gt;
&lt;br /&gt;
  $cat ~/.gtkrc-2.0.mine&lt;br /&gt;
  gtk-font-name = &amp;quot;Sans 8&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Bold font are also ugly on xvrt (in xterm the bold font control seems always broken). See below for the solution.&lt;br /&gt;
&lt;br /&gt;
== Terminal ==&lt;br /&gt;
&lt;br /&gt;
I tried several terminals. But I found rxvt-unicode the easiest and fastest. This resources allow 4 terminals in one window. Bold font (unreadable to me) are disabled.&lt;br /&gt;
  $cat ~/.Xresources&lt;br /&gt;
  rxvt*cutchars: \$:[]&lt;br /&gt;
  rxvt*visualBell: true&lt;br /&gt;
  rxvt*foreground: white&lt;br /&gt;
  rxvt*background: black&lt;br /&gt;
  rxvt*geometry: 80x27&lt;br /&gt;
  rxvt*jumpScroll: true&lt;br /&gt;
  rxvt*skipScroll: true&lt;br /&gt;
  rxvt*scrollBar: false&lt;br /&gt;
  rxvt*boldFont:&lt;br /&gt;
  rxvt*boldItalicFont:&lt;br /&gt;
  rxvt*saveLines: 9096&lt;br /&gt;
  rxvt*mouseWheelScrollPage: false&lt;br /&gt;
&lt;br /&gt;
== Wifi ==&lt;br /&gt;
&lt;br /&gt;
Put in the /etc/apt/source.list&lt;br /&gt;
&lt;br /&gt;
  deb http://kernel-archive.buildserver.net/debian-kernel trunk main &lt;br /&gt;
&lt;br /&gt;
Installed linux-image-2.6.27-1 and firmware&lt;br /&gt;
&lt;br /&gt;
  wget http://intellinuxwireless.org/iwlwifi/downloads/iwlwifi-5000-ucode-5.4.A.11.tar.gz&lt;br /&gt;
  tar xvfz iwlwifi-5000-ucode-5.4.A.11.tar.gz&lt;br /&gt;
  cp  iwlwifi-5000-ucode-5.4.A.11/iwlwifi-5000-1.ucode /lib/firmware&lt;br /&gt;
  aptitude install linux-image-2.6.27-1-686 hal&lt;br /&gt;
&lt;br /&gt;
== Suspend ==&lt;br /&gt;
&lt;br /&gt;
Suspend to disk works using the button Fn+F12.&lt;br /&gt;
&lt;br /&gt;
Suspend to ram (Fn+F4) does not work with intel driver.&lt;br /&gt;
Using vesa driver, it works if the i915 driver is installed. I put the line:&lt;br /&gt;
  modprobe i915&lt;br /&gt;
&lt;br /&gt;
in /etc/rc.local.&lt;br /&gt;
&lt;br /&gt;
The trackpoint occasionally stops working after a resume. Apparently it is enough to move it &lt;br /&gt;
a little bit during the resume.&lt;br /&gt;
&lt;br /&gt;
== Special keys ==&lt;br /&gt;
&lt;br /&gt;
Some keys are intercepted by X Windows. The keycodes are&lt;br /&gt;
&lt;br /&gt;
  227 Fn&lt;br /&gt;
  234 Tab left&lt;br /&gt;
  233 Tab right&lt;br /&gt;
  176 Volume up&lt;br /&gt;
  174 Volume dn&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Mute switch the hardware volume which is not controlled by ALSA.&lt;br /&gt;
&lt;br /&gt;
ACPI links suspend to ram and to disc to Fn+F4 and Fn+F12 respectively. Screen brightness, thinklight, bluetooth works as well.&lt;br /&gt;
&lt;br /&gt;
== Sound ==&lt;br /&gt;
&lt;br /&gt;
Everything works, but in a strange way. The hardware volume control is managed by acpi&lt;br /&gt;
&lt;br /&gt;
  $ cat /proc/acpi/ibm/volume&lt;br /&gt;
  level:          8&lt;br /&gt;
  mute:           off&lt;br /&gt;
  commands:       up, down, mute&lt;br /&gt;
  commands:       level &amp;lt;level&amp;gt; (&amp;lt;level&amp;gt; is 0-15)&lt;br /&gt;
&lt;br /&gt;
The mute button is linked to the mute command, but volume up and down are passed to X with keycode 176 174. I&lt;br /&gt;
thought that acpi was intercepting the key and send them to X using fakekey. I played in /etc/acpi/events but I didn't managed to change the behavior.&lt;br /&gt;
&lt;br /&gt;
== Skype ==&lt;br /&gt;
&lt;br /&gt;
Everything works downloading the skype version for Etch. After suspending and resuming the video does not work anymore.&lt;br /&gt;
The error message is:&lt;br /&gt;
&lt;br /&gt;
  Skype V4L2: Could not find a suitable capture format&lt;br /&gt;
&lt;br /&gt;
Several people propose to update the uvcvideo driver.&lt;br /&gt;
  svn checkout http://svn.berlios.de/svnroot/repos/linux-uvc/&lt;br /&gt;
  cd linux-uvc/linux-uvc/trunk/&lt;br /&gt;
  make&lt;br /&gt;
  make install&lt;br /&gt;
  modprobe uvcvideo&lt;br /&gt;
&lt;br /&gt;
But I didn't tried yet cause I'm still using the experimental kernel that does not come with packages for compiling modules.&lt;br /&gt;
&lt;br /&gt;
== GTK and Firefox ==&lt;br /&gt;
&lt;br /&gt;
Fonts size are too large. Solution:&lt;br /&gt;
  $cat /home/rdemaria/.gtkrc-2.0&lt;br /&gt;
  # -- THEME AUTO-WRITTEN DO NOT EDIT&lt;br /&gt;
  include &amp;quot;/usr/share/themes/Industrial/gtk-2.0/gtkrc&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  include &amp;quot;/home/rdemaria/.gtkrc-2.0.mine&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  # -- THEME AUTO-WRITTEN DO NOT EDIT&lt;br /&gt;
&lt;br /&gt;
  $cat /home/rdemaria/.gtkrc-2.0.mine&lt;br /&gt;
  gtk-font-name = &amp;quot;Sans 8&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== Printer and scanner ==&lt;br /&gt;
&lt;br /&gt;
Usb printer and scanner (HP Officejet J4580) works perfectly using cups, hpoj, xsane, hplib.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== RAM upgrade ==&lt;br /&gt;
&lt;br /&gt;
My X200 came with 2G of ram and 1 free slots. I bought:&lt;br /&gt;
   Crucial 2GB 204-Pin DDR3 SO-DIMM DDR3 1066 (PC3 8500) Laptop Memory Model CT25664BC1067 - Retail&lt;br /&gt;
&lt;br /&gt;
installed and replace the kernel with a bigmem one.&lt;br /&gt;
&lt;br /&gt;
== Hard disk upgrade ==&lt;br /&gt;
&lt;br /&gt;
My X200 came with a 160GB hardrive. I bought the 500GB hard drive&lt;br /&gt;
   Western Digital Scorpio Blue WD5000BEVT 500GB 5400 RPM SATA 3.0Gb/s Notebook Hard Drive - OEM&lt;br /&gt;
&lt;br /&gt;
and the adapter&lt;br /&gt;
  Link Depot USB2-SATA USB2.0 TO IDE/SATA Adapter Cable - Retail&lt;br /&gt;
&lt;br /&gt;
for transfer the data.&lt;br /&gt;
&lt;br /&gt;
I connected the new hard drive using the usb port. The drive was recognized as /dev/sdb. I create the partitions that reads:&lt;br /&gt;
&lt;br /&gt;
  $ sfdisk -d /dev/sdb&lt;br /&gt;
  # partition table of /dev/sdb&lt;br /&gt;
  unit: sectors&lt;br /&gt;
&lt;br /&gt;
  /dev/sdb1 : start=       63, size= 71553447, Id=83&lt;br /&gt;
  /dev/sdb2 : start= 71553510, size=905214555, Id= 5&lt;br /&gt;
  /dev/sdb3 : start=        0, size=        0, Id= 0&lt;br /&gt;
  /dev/sdb4 : start=        0, size=        0, Id= 0&lt;br /&gt;
  /dev/sdb5 : start= 71553573, size=894467007, Id=83&lt;br /&gt;
  /dev/sdb6 : start=966020643, size= 10747422, Id=82&lt;br /&gt;
&lt;br /&gt;
Then made the filesystem and copy the files:&lt;br /&gt;
  $ sudo mkfs.ext3 /dev/sdb1&lt;br /&gt;
  $ sudo mkfs.ext3 /dev/sdb5&lt;br /&gt;
  $ sudo mkswap    /dev/sda6&lt;br /&gt;
  $ sudo mount /mnt/sdb1&lt;br /&gt;
  $ sudo mount /mnt/sdb5&lt;br /&gt;
  $ sudo rsync -a --delete \&lt;br /&gt;
  --exclude /mnt/sdb1 \&lt;br /&gt;
  --exclude /mnt/sdb5 \&lt;br /&gt;
  --exclude /home \&lt;br /&gt;
  --exclude /proc \&lt;br /&gt;
  --exclude /sys \&lt;br /&gt;
  --exclude /lib/init/rw \&lt;br /&gt;
  --exclude /dev \&lt;br /&gt;
  / /mnt/sdb1&lt;br /&gt;
  $ cd /mnt/sdb1; mkdir /home /proc /sys /lib/init/rw /dev; cd &lt;br /&gt;
  $ sudo rsync -a /home/ /mnt/sdb5&lt;br /&gt;
  $ sudo umount /mnt/sdb5; sudo umount /mnt/sdb1&lt;br /&gt;
&lt;br /&gt;
Finally install grub&lt;br /&gt;
  $ sudo grub --no-floppy&lt;br /&gt;
  $ geometry (hd1)&lt;br /&gt;
  &amp;gt; root (hd1,0)&lt;br /&gt;
  &amp;gt; setup (hd1)&lt;br /&gt;
  &amp;gt; quit&lt;br /&gt;
&lt;br /&gt;
and replace the disk. (I tried to boot from the usb to check the new hard drive, but I messed up the old installation...)&lt;br /&gt;
&lt;br /&gt;
For some reason the suspend to disk was not working anymore. But &lt;br /&gt;
  $ sudo aptitude reinstall uswsusp&lt;br /&gt;
fixed the problem answering yes to use the swap disk.&lt;br /&gt;
&lt;br /&gt;
== TO BE CONTINUED ==&lt;/div&gt;</summary>
		<author><name>Rdemaria</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Debian_Sid_(October_2008)_on_a_ThinkPad_X200&amp;diff=40949</id>
		<title>Installing Debian Sid (October 2008) on a ThinkPad X200</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Debian_Sid_(October_2008)_on_a_ThinkPad_X200&amp;diff=40949"/>
		<updated>2009-02-01T23:36:33Z</updated>

		<summary type="html">&lt;p&gt;Rdemaria: /* Kernel */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
Amazing machine: light, quiet, large battery life, ideal for travels, great value for money compared to X200T and X300.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Creating installation device ==&lt;br /&gt;
&lt;br /&gt;
The X200 has no cd/dvd but can boot from USB. On the X200 BIOS settings, the USB disk boot option needed to be raised to be used first. Using F1 at boot gives access to the BIOS.&lt;br /&gt;
&lt;br /&gt;
I created an USB bootable iso from another linux installation.&lt;br /&gt;
I had an usb stick with a FAT32 partition on /dev/sdc1. I dowloaded the boot and iso file and installed the image&lt;br /&gt;
using:&lt;br /&gt;
&lt;br /&gt;
  wget http://people.debian.org/~joeyh/d-i/images/daily/hd-media/boot.img.gz&lt;br /&gt;
  wget http://cdimage.debian.org/cdimage/daily-builds/daily/arch-latest/i386/iso-cd/debian-testing-i386-netinst.iso&lt;br /&gt;
  zcat boot.img.gz &amp;gt;/dev/sdc1&lt;br /&gt;
  mkdir /mnt/sdc1&lt;br /&gt;
  mount /dev/sdc1 /mnt/sdc1&lt;br /&gt;
  cp debian-testing-i386-netinst.iso /mnt/sdc1&lt;br /&gt;
&lt;br /&gt;
The boot stick will use the network to install the package but a more complete ISO image can be dowloaded.&lt;br /&gt;
&lt;br /&gt;
The wifi will not work (see [[Installing_Debian_on_an_X200]]) but the Ethernet card will. In theory it should be possible build custom Debian Live USB stick, using the latest package and install from there, I didn't manage so far.&lt;br /&gt;
'''Bold text'''&lt;br /&gt;
&lt;br /&gt;
== Sid installation ==&lt;br /&gt;
&lt;br /&gt;
To install sid use the expert installation support and choose unstable for the repository.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Backup hard drive data ==&lt;br /&gt;
&lt;br /&gt;
In order to save the hard drive content, I created complete hard drive image on another hard disk. During the installation procedure I activated another shell with CTRL-ALT-F3, mounted an external HD (/dev/sdb1) and copied the image with:&lt;br /&gt;
&lt;br /&gt;
  mkdir /mnt/sdb1&lt;br /&gt;
  mount /dev/sdb1 /mnt/sdb1/&lt;br /&gt;
  dd if=/dev/sda of=/mnt/sdb1/sda-image&lt;br /&gt;
&lt;br /&gt;
In principle partimage is better option but the installation image does not have it. Also gzipping the partition on the fly would have bin better, but the gzip or bzip2 were not present. Using a custom Debian Live installation image would solve the problem.&lt;br /&gt;
&lt;br /&gt;
== Kernel ==&lt;br /&gt;
&lt;br /&gt;
Some kernel options here for /boot/grub/menu.lst:&lt;br /&gt;
  &lt;br /&gt;
  # kopt=root=/dev/sda1 ro acpi_sleep=s3_bios vga=0x0368 video=vesafb&lt;br /&gt;
&lt;br /&gt;
Update the real items using&lt;br /&gt;
  &lt;br /&gt;
  update-grub&lt;br /&gt;
&lt;br /&gt;
== Video ==&lt;br /&gt;
&lt;br /&gt;
Video driver 2:2.3.2-2+lenny5 is not stable enough. Video get garbled from time to time.&lt;br /&gt;
&lt;br /&gt;
Vesa driver is not that slow. For some reason the &amp;quot;Virtual&amp;quot; option make X crash.&lt;br /&gt;
&lt;br /&gt;
This is a simple xorg.conf:&lt;br /&gt;
&lt;br /&gt;
  $ cat /etc/X11/xorg.conf &lt;br /&gt;
  Section &amp;quot;InputDevice&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;Generic Keyboard&amp;quot;&lt;br /&gt;
        Driver          &amp;quot;kbd&amp;quot;&lt;br /&gt;
        Option          &amp;quot;XkbRules&amp;quot;      &amp;quot;xorg&amp;quot;&lt;br /&gt;
        Option          &amp;quot;XkbModel&amp;quot;      &amp;quot;pc104&amp;quot;&lt;br /&gt;
        Option          &amp;quot;XkbLayout&amp;quot;     &amp;quot;us,us(intl)&amp;quot;&lt;br /&gt;
        Option          &amp;quot;XkbOptions&amp;quot;    &amp;quot;compose(lwin),compose(rwin),grp:shifts_toggle,grp_led:scroll&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
  Section &amp;quot;InputDevice&amp;quot;&lt;br /&gt;
        Identifier  &amp;quot;Configured Mouse&amp;quot;&lt;br /&gt;
        Driver      &amp;quot;mouse&amp;quot;&lt;br /&gt;
        Option      &amp;quot;CorePointer&amp;quot;&lt;br /&gt;
        Option      &amp;quot;Device&amp;quot; &amp;quot;/dev/input/mouse0&amp;quot;&lt;br /&gt;
        Option      &amp;quot;Protocol&amp;quot; &amp;quot;ImPS/2&amp;quot;&lt;br /&gt;
        Option      &amp;quot;EmulateWheel&amp;quot; &amp;quot;on&amp;quot;&lt;br /&gt;
        Option      &amp;quot;EmulateWheelButton&amp;quot; &amp;quot;2&amp;quot;&lt;br /&gt;
        Option      &amp;quot;EmulateWheelTimeout&amp;quot; &amp;quot;250&amp;quot;&lt;br /&gt;
        Option      &amp;quot;XAxisMapping&amp;quot; &amp;quot;6 7&amp;quot;&lt;br /&gt;
        Option      &amp;quot;YAxisMapping&amp;quot; &amp;quot;4 5&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
  Section &amp;quot;Screen&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;Default Screen&amp;quot;&lt;br /&gt;
        Monitor         &amp;quot;Configured Monitor&amp;quot;&lt;br /&gt;
        Defaultdepth    24&lt;br /&gt;
        SubSection &amp;quot;Display&amp;quot;&lt;br /&gt;
                Modes           &amp;quot;1280x800&amp;quot;&lt;br /&gt;
  #             Virtual    2048 864&lt;br /&gt;
        EndSubSection&lt;br /&gt;
  EndSection&lt;br /&gt;
  Section &amp;quot;Monitor&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;Configured Monitor&amp;quot;&lt;br /&gt;
        DisplaySize     231 233.5 #fake smaller dpi&lt;br /&gt;
  EndSection&lt;br /&gt;
  Section &amp;quot;Monitor&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;HDMI-1&amp;quot;&lt;br /&gt;
        Option          &amp;quot;Ignore&amp;quot; &amp;quot;True&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
  Section &amp;quot;Monitor&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;HDMI-2&amp;quot;&lt;br /&gt;
        Option          &amp;quot;Ignore&amp;quot; &amp;quot;True&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
  Section &amp;quot;Device&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;Configured Video Device&amp;quot;&lt;br /&gt;
  #        Driver          &amp;quot;intel&amp;quot;&lt;br /&gt;
        Driver          &amp;quot;vesa&amp;quot;&lt;br /&gt;
        Option          &amp;quot;monitor-HDMI-1&amp;quot; &amp;quot;HDMI-1&amp;quot;&lt;br /&gt;
        Option          &amp;quot;monitor-HDMI-2&amp;quot; &amp;quot;HDMI-2&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
&lt;br /&gt;
== Fonts ==&lt;br /&gt;
&lt;br /&gt;
Default fonts are a bit ugly. Things get better by creating some symbolic link:&lt;br /&gt;
&lt;br /&gt;
  cd /etc/fonts/conf.d&lt;br /&gt;
  ln -s ../conf.avail/10-autohint.conf&lt;br /&gt;
  ln -s ../conf.avail/10-sub-pixel-rgb.conf&lt;br /&gt;
  ln -s ../conf.avail/70-no-bitmaps.conf&lt;br /&gt;
&lt;br /&gt;
For GTK and Firefox&lt;br /&gt;
&lt;br /&gt;
Fonts size are too large. Solution:&lt;br /&gt;
  $cat ~/.gtkrc-2.0&lt;br /&gt;
  # -- THEME AUTO-WRITTEN DO NOT EDIT&lt;br /&gt;
  include &amp;quot;/usr/share/themes/Industrial/gtk-2.0/gtkrc&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  include &amp;quot;/home/rdemaria/.gtkrc-2.0.mine&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  # -- THEME AUTO-WRITTEN DO NOT EDIT&lt;br /&gt;
&lt;br /&gt;
  $cat ~/.gtkrc-2.0.mine&lt;br /&gt;
  gtk-font-name = &amp;quot;Sans 8&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Bold font are also ugly on xvrt (in xterm the bold font control seems always broken). See below for the solution.&lt;br /&gt;
&lt;br /&gt;
== Terminal ==&lt;br /&gt;
&lt;br /&gt;
I tried several terminals. But I found rxvt-unicode the easiest and fastest. This resources allow 4 terminals in one window. Bold font (unreadable to me) are disabled.&lt;br /&gt;
  $cat ~/.Xresources&lt;br /&gt;
  rxvt*cutchars: \$:[]&lt;br /&gt;
  rxvt*visualBell: true&lt;br /&gt;
  rxvt*foreground: white&lt;br /&gt;
  rxvt*background: black&lt;br /&gt;
  rxvt*geometry: 80x27&lt;br /&gt;
  rxvt*jumpScroll: true&lt;br /&gt;
  rxvt*skipScroll: true&lt;br /&gt;
  rxvt*scrollBar: false&lt;br /&gt;
  rxvt*boldFont:&lt;br /&gt;
  rxvt*boldItalicFont:&lt;br /&gt;
  rxvt*saveLines: 9096&lt;br /&gt;
  rxvt*mouseWheelScrollPage: false&lt;br /&gt;
&lt;br /&gt;
== Wifi ==&lt;br /&gt;
&lt;br /&gt;
Put in the /etc/apt/source.list&lt;br /&gt;
&lt;br /&gt;
  deb http://kernel-archive.buildserver.net/debian-kernel trunk main &lt;br /&gt;
&lt;br /&gt;
Installed linux-image-2.6.27-1 and firmware&lt;br /&gt;
&lt;br /&gt;
  wget http://intellinuxwireless.org/iwlwifi/downloads/iwlwifi-5000-ucode-5.4.A.11.tar.gz&lt;br /&gt;
  tar xvfz iwlwifi-5000-ucode-5.4.A.11.tar.gz&lt;br /&gt;
  cp  iwlwifi-5000-ucode-5.4.A.11/iwlwifi-5000-1.ucode /lib/firmware&lt;br /&gt;
  aptitude install linux-image-2.6.27-1-686 hal&lt;br /&gt;
&lt;br /&gt;
== Suspend ==&lt;br /&gt;
&lt;br /&gt;
Suspend to disk works using the button Fn+F12.&lt;br /&gt;
&lt;br /&gt;
Suspend to ram (Fn+F4) does not work with intel driver.&lt;br /&gt;
Using vesa driver, it works if the i915 driver is installed. I put the line:&lt;br /&gt;
  modprobe i915&lt;br /&gt;
&lt;br /&gt;
in /etc/rc.local.&lt;br /&gt;
&lt;br /&gt;
The trackpoint occasionally stops working after a resume. Apparently it is enough to move it &lt;br /&gt;
a little bit during the resume.&lt;br /&gt;
&lt;br /&gt;
== Special keys ==&lt;br /&gt;
&lt;br /&gt;
Some keys are intercepted by X Windows. The keycodes are&lt;br /&gt;
&lt;br /&gt;
  227 Fn&lt;br /&gt;
  234 Tab left&lt;br /&gt;
  233 Tab right&lt;br /&gt;
  176 Volume up&lt;br /&gt;
  174 Volume dn&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Mute switch the hardware volume which is not controlled by ALSA.&lt;br /&gt;
&lt;br /&gt;
ACPI links suspend to ram and to disc to Fn+F4 and Fn+F12 respectively. Screen brightness, thinklight, bluetooth works as well.&lt;br /&gt;
&lt;br /&gt;
== Sound ==&lt;br /&gt;
&lt;br /&gt;
Everything works, but in a strange way. The hardware volume control is managed by acpi&lt;br /&gt;
&lt;br /&gt;
  $ cat /proc/acpi/ibm/volume&lt;br /&gt;
  level:          8&lt;br /&gt;
  mute:           off&lt;br /&gt;
  commands:       up, down, mute&lt;br /&gt;
  commands:       level &amp;lt;level&amp;gt; (&amp;lt;level&amp;gt; is 0-15)&lt;br /&gt;
&lt;br /&gt;
The mute button is linked to the mute command, but volume up and down are passed to X with keycode 176 174. I&lt;br /&gt;
thought that acpi was intercepting the key and send them to X using fakekey. I played in /etc/acpi/events but I didn't managed to change the behavior.&lt;br /&gt;
&lt;br /&gt;
== Skype ==&lt;br /&gt;
&lt;br /&gt;
Everything works downloading the skype version for Etch. After suspending and resuming the video does not work anymore.&lt;br /&gt;
The error message is:&lt;br /&gt;
&lt;br /&gt;
  Skype V4L2: Could not find a suitable capture format&lt;br /&gt;
&lt;br /&gt;
Several people propose to update the uvcvideo driver.&lt;br /&gt;
  svn checkout http://svn.berlios.de/svnroot/repos/linux-uvc/&lt;br /&gt;
  cd linux-uvc/linux-uvc/trunk/&lt;br /&gt;
  make&lt;br /&gt;
  make install&lt;br /&gt;
  modprobe uvcvideo&lt;br /&gt;
&lt;br /&gt;
But I didn't tried yet cause I'm still using the experimental kernel that does not come with packages for compiling modules.&lt;br /&gt;
&lt;br /&gt;
== GTK and Firefox ==&lt;br /&gt;
&lt;br /&gt;
Fonts size are too large. Solution:&lt;br /&gt;
  $cat /home/rdemaria/.gtkrc-2.0&lt;br /&gt;
  # -- THEME AUTO-WRITTEN DO NOT EDIT&lt;br /&gt;
  include &amp;quot;/usr/share/themes/Industrial/gtk-2.0/gtkrc&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  include &amp;quot;/home/rdemaria/.gtkrc-2.0.mine&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  # -- THEME AUTO-WRITTEN DO NOT EDIT&lt;br /&gt;
&lt;br /&gt;
  $cat /home/rdemaria/.gtkrc-2.0.mine&lt;br /&gt;
  gtk-font-name = &amp;quot;Sans 8&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== Printer and scanner ==&lt;br /&gt;
&lt;br /&gt;
Usb printer and scanner (HP Officejet J4580) works perfectly using cups, hpoj, xsane, hplib.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== RAM upgrade ==&lt;br /&gt;
&lt;br /&gt;
My X200 came with 2G of ram and 1 free slots. I bought:&lt;br /&gt;
   Crucial 2GB 204-Pin DDR3 SO-DIMM DDR3 1066 (PC3 8500) Laptop Memory Model CT25664BC1067 - Retail&lt;br /&gt;
&lt;br /&gt;
installed and replace the kernel with a bigmem one.&lt;br /&gt;
&lt;br /&gt;
== Hard disk upgrade ==&lt;br /&gt;
&lt;br /&gt;
My X200 came with a 160GB hardrive. I bought the 500GB hard drive&lt;br /&gt;
   Western Digital Scorpio Blue WD5000BEVT 500GB 5400 RPM SATA 3.0Gb/s Notebook Hard Drive - OEM&lt;br /&gt;
&lt;br /&gt;
and the adapter&lt;br /&gt;
  Link Depot USB2-SATA USB2.0 TO IDE/SATA Adapter Cable - Retail&lt;br /&gt;
&lt;br /&gt;
for transfer the data.&lt;br /&gt;
&lt;br /&gt;
I connected the new hard drive using the usb port. The drive was recognized as /dev/sdb. I create the partitions that reads:&lt;br /&gt;
&lt;br /&gt;
  $ sfdisk -d /dev/sdb&lt;br /&gt;
  # partition table of /dev/sdb&lt;br /&gt;
  unit: sectors&lt;br /&gt;
&lt;br /&gt;
  /dev/sdb1 : start=       63, size= 71553447, Id=83&lt;br /&gt;
  /dev/sdb2 : start= 71553510, size=905214555, Id= 5&lt;br /&gt;
  /dev/sdb3 : start=        0, size=        0, Id= 0&lt;br /&gt;
  /dev/sdb4 : start=        0, size=        0, Id= 0&lt;br /&gt;
  /dev/sdb5 : start= 71553573, size=894467007, Id=83&lt;br /&gt;
  /dev/sdb6 : start=966020643, size= 10747422, Id=82&lt;br /&gt;
&lt;br /&gt;
Then made the filesystem and copy the files:&lt;br /&gt;
  $ sudo mkfs.ext3 /dev/sdb1&lt;br /&gt;
  $ sudo mkfs.ext3 /dev/sdb5&lt;br /&gt;
  $ sudo mkswap    /dev/sda6&lt;br /&gt;
  $ sudo mount /mnt/sdb1&lt;br /&gt;
  $ sudo mount /mnt/sdb5&lt;br /&gt;
  $ sudo rsync -a --delete \&lt;br /&gt;
  --exclude /mnt/sdb1 \&lt;br /&gt;
  --exclude /mnt/sdb5 \&lt;br /&gt;
  --exclude /home \&lt;br /&gt;
  --exclude /proc \&lt;br /&gt;
  --exclude /sys \&lt;br /&gt;
  --exclude /lib/init/rw \&lt;br /&gt;
  --exclude /dev \&lt;br /&gt;
  / /mnt/sdb1&lt;br /&gt;
  $ cd /mnt/sdb1; mkdir /home /proc /sys /lib/init/rw /dev; cd &lt;br /&gt;
  $ sudo rsync -a /home/ /mnt/sdb5&lt;br /&gt;
  $ sudo umount /mnt/sdb5; sudo umount /mnt/sdb1&lt;br /&gt;
&lt;br /&gt;
Finally install grub&lt;br /&gt;
  $ sudo grub --no-floppy&lt;br /&gt;
  $ geometry (hd1)&lt;br /&gt;
  &amp;gt; root (hd1,0)&lt;br /&gt;
  &amp;gt; setup (hd1)&lt;br /&gt;
  &amp;gt; quit&lt;br /&gt;
&lt;br /&gt;
and replace the disk. (I tried to boot from the usb to check the new hard drive, but I messed up the old installation...)&lt;br /&gt;
&lt;br /&gt;
For some reason the suspend to disk was not working anymore. But &lt;br /&gt;
  $ sudo aptitude reinstall uswsusp&lt;br /&gt;
fixed the problem answering yes to use the swap disk.&lt;br /&gt;
&lt;br /&gt;
== TO BE CONTINUED ==&lt;/div&gt;</summary>
		<author><name>Rdemaria</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Debian_Sid_(October_2008)_on_a_ThinkPad_X200&amp;diff=39765</id>
		<title>Installing Debian Sid (October 2008) on a ThinkPad X200</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Debian_Sid_(October_2008)_on_a_ThinkPad_X200&amp;diff=39765"/>
		<updated>2008-11-17T01:44:24Z</updated>

		<summary type="html">&lt;p&gt;Rdemaria: /* Hard disk upgrade */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
Amazing machine: light, quiet, large battery life, ideal for travels, great value for money compared to X200T and X300.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Creating installation device ==&lt;br /&gt;
&lt;br /&gt;
The X200 has no cd/dvd but can boot from USB. On the X200 BIOS settings, the USB disk boot option needed to be raised to be used first. Using F1 at boot gives access to the BIOS.&lt;br /&gt;
&lt;br /&gt;
I created an USB bootable iso from another linux installation.&lt;br /&gt;
I had an usb stick with a FAT32 partition on /dev/sdc1. I dowloaded the boot and iso file and installed the image&lt;br /&gt;
using:&lt;br /&gt;
&lt;br /&gt;
  wget http://people.debian.org/~joeyh/d-i/images/daily/hd-media/boot.img.gz&lt;br /&gt;
  wget http://cdimage.debian.org/cdimage/daily-builds/daily/arch-latest/i386/iso-cd/debian-testing-i386-netinst.iso&lt;br /&gt;
  zcat boot.img.gz &amp;gt;/dev/sdc1&lt;br /&gt;
  mkdir /mnt/sdc1&lt;br /&gt;
  mount /dev/sdc1 /mnt/sdc1&lt;br /&gt;
  cp debian-testing-i386-netinst.iso /mnt/sdc1&lt;br /&gt;
&lt;br /&gt;
The boot stick will use the network to install the package but a more complete ISO image can be dowloaded.&lt;br /&gt;
&lt;br /&gt;
The wifi will not work (see [[Installing_Debian_on_an_X200]]) but the Ethernet card will. In theory it should be possible build custom Debian Live USB stick, using the latest package and install from there, I didn't manage so far.&lt;br /&gt;
'''Bold text'''&lt;br /&gt;
&lt;br /&gt;
== Sid installation ==&lt;br /&gt;
&lt;br /&gt;
To install sid use the expert installation support and choose unstable for the repository.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Backup hard drive data ==&lt;br /&gt;
&lt;br /&gt;
In order to save the hard drive content, I created complete hard drive image on another hard disk. During the installation procedure I activated another shell with CTRL-ALT-F3, mounted an external HD (/dev/sdb1) and copied the image with:&lt;br /&gt;
&lt;br /&gt;
  mkdir /mnt/sdb1&lt;br /&gt;
  mount /dev/sdb1 /mnt/sdb1/&lt;br /&gt;
  dd if=/dev/sda of=/mnt/sdb1/sda-image&lt;br /&gt;
&lt;br /&gt;
In principle partimage is better option but the installation image does not have it. Also gzipping the partition on the fly would have bin better, but the gzip or bzip2 were not present. Using a custom Debian Live installation image would solve the problem.&lt;br /&gt;
&lt;br /&gt;
== Kernel ==&lt;br /&gt;
&lt;br /&gt;
Some kernel options here:&lt;br /&gt;
  &lt;br /&gt;
  root=/dev/sda1 ro acpi_sleep=s3_bios vga=868 video=vesafb&lt;br /&gt;
&lt;br /&gt;
== Video ==&lt;br /&gt;
&lt;br /&gt;
Video driver 2:2.3.2-2+lenny5 is not stable enough. Video get garbled from time to time.&lt;br /&gt;
&lt;br /&gt;
Vesa driver is not that slow. For some reason the &amp;quot;Virtual&amp;quot; option make X crash.&lt;br /&gt;
&lt;br /&gt;
This is a simple xorg.conf:&lt;br /&gt;
&lt;br /&gt;
  $ cat /etc/X11/xorg.conf &lt;br /&gt;
  Section &amp;quot;InputDevice&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;Generic Keyboard&amp;quot;&lt;br /&gt;
        Driver          &amp;quot;kbd&amp;quot;&lt;br /&gt;
        Option          &amp;quot;XkbRules&amp;quot;      &amp;quot;xorg&amp;quot;&lt;br /&gt;
        Option          &amp;quot;XkbModel&amp;quot;      &amp;quot;pc104&amp;quot;&lt;br /&gt;
        Option          &amp;quot;XkbLayout&amp;quot;     &amp;quot;us,us(intl)&amp;quot;&lt;br /&gt;
        Option          &amp;quot;XkbOptions&amp;quot;    &amp;quot;compose(lwin),compose(rwin),grp:shifts_toggle,grp_led:scroll&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
  Section &amp;quot;InputDevice&amp;quot;&lt;br /&gt;
        Identifier  &amp;quot;Configured Mouse&amp;quot;&lt;br /&gt;
        Driver      &amp;quot;mouse&amp;quot;&lt;br /&gt;
        Option      &amp;quot;CorePointer&amp;quot;&lt;br /&gt;
        Option      &amp;quot;Device&amp;quot; &amp;quot;/dev/input/mouse0&amp;quot;&lt;br /&gt;
        Option      &amp;quot;Protocol&amp;quot; &amp;quot;ImPS/2&amp;quot;&lt;br /&gt;
        Option      &amp;quot;EmulateWheel&amp;quot; &amp;quot;on&amp;quot;&lt;br /&gt;
        Option      &amp;quot;EmulateWheelButton&amp;quot; &amp;quot;2&amp;quot;&lt;br /&gt;
        Option      &amp;quot;EmulateWheelTimeout&amp;quot; &amp;quot;250&amp;quot;&lt;br /&gt;
        Option      &amp;quot;XAxisMapping&amp;quot; &amp;quot;6 7&amp;quot;&lt;br /&gt;
        Option      &amp;quot;YAxisMapping&amp;quot; &amp;quot;4 5&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
  Section &amp;quot;Screen&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;Default Screen&amp;quot;&lt;br /&gt;
        Monitor         &amp;quot;Configured Monitor&amp;quot;&lt;br /&gt;
        Defaultdepth    24&lt;br /&gt;
        SubSection &amp;quot;Display&amp;quot;&lt;br /&gt;
                Modes           &amp;quot;1280x800&amp;quot;&lt;br /&gt;
  #             Virtual    2048 864&lt;br /&gt;
        EndSubSection&lt;br /&gt;
  EndSection&lt;br /&gt;
  Section &amp;quot;Monitor&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;Configured Monitor&amp;quot;&lt;br /&gt;
        DisplaySize     231 233.5 #fake smaller dpi&lt;br /&gt;
  EndSection&lt;br /&gt;
  Section &amp;quot;Monitor&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;HDMI-1&amp;quot;&lt;br /&gt;
        Option          &amp;quot;Ignore&amp;quot; &amp;quot;True&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
  Section &amp;quot;Monitor&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;HDMI-2&amp;quot;&lt;br /&gt;
        Option          &amp;quot;Ignore&amp;quot; &amp;quot;True&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
  Section &amp;quot;Device&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;Configured Video Device&amp;quot;&lt;br /&gt;
  #        Driver          &amp;quot;intel&amp;quot;&lt;br /&gt;
        Driver          &amp;quot;vesa&amp;quot;&lt;br /&gt;
        Option          &amp;quot;monitor-HDMI-1&amp;quot; &amp;quot;HDMI-1&amp;quot;&lt;br /&gt;
        Option          &amp;quot;monitor-HDMI-2&amp;quot; &amp;quot;HDMI-2&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
&lt;br /&gt;
== Fonts ==&lt;br /&gt;
&lt;br /&gt;
Default fonts are a bit ugly. Things get better by creating some symbolic link:&lt;br /&gt;
&lt;br /&gt;
  cd /etc/fonts/conf.d&lt;br /&gt;
  ln -s ../conf.avail/10-autohint.conf&lt;br /&gt;
  ln -s ../conf.avail/10-sub-pixel-rgb.conf&lt;br /&gt;
  ln -s ../conf.avail/70-no-bitmaps.conf&lt;br /&gt;
&lt;br /&gt;
For GTK and Firefox&lt;br /&gt;
&lt;br /&gt;
Fonts size are too large. Solution:&lt;br /&gt;
  $cat ~/.gtkrc-2.0&lt;br /&gt;
  # -- THEME AUTO-WRITTEN DO NOT EDIT&lt;br /&gt;
  include &amp;quot;/usr/share/themes/Industrial/gtk-2.0/gtkrc&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  include &amp;quot;/home/rdemaria/.gtkrc-2.0.mine&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  # -- THEME AUTO-WRITTEN DO NOT EDIT&lt;br /&gt;
&lt;br /&gt;
  $cat ~/.gtkrc-2.0.mine&lt;br /&gt;
  gtk-font-name = &amp;quot;Sans 8&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Bold font are also ugly on xvrt (in xterm the bold font control seems always broken). See below for the solution.&lt;br /&gt;
&lt;br /&gt;
== Terminal ==&lt;br /&gt;
&lt;br /&gt;
I tried several terminals. But I found rxvt-unicode the easiest and fastest. This resources allow 4 terminals in one window. Bold font (unreadable to me) are disabled.&lt;br /&gt;
  $cat ~/.Xresources&lt;br /&gt;
  rxvt*cutchars: \$:[]&lt;br /&gt;
  rxvt*visualBell: true&lt;br /&gt;
  rxvt*foreground: white&lt;br /&gt;
  rxvt*background: black&lt;br /&gt;
  rxvt*geometry: 80x27&lt;br /&gt;
  rxvt*jumpScroll: true&lt;br /&gt;
  rxvt*skipScroll: true&lt;br /&gt;
  rxvt*scrollBar: false&lt;br /&gt;
  rxvt*boldFont:&lt;br /&gt;
  rxvt*boldItalicFont:&lt;br /&gt;
  rxvt*saveLines: 9096&lt;br /&gt;
  rxvt*mouseWheelScrollPage: false&lt;br /&gt;
&lt;br /&gt;
== Wifi ==&lt;br /&gt;
&lt;br /&gt;
Put in the /etc/apt/source.list&lt;br /&gt;
&lt;br /&gt;
  deb http://kernel-archive.buildserver.net/debian-kernel trunk main &lt;br /&gt;
&lt;br /&gt;
Installed linux-image-2.6.27-1 and firmware&lt;br /&gt;
&lt;br /&gt;
  wget http://intellinuxwireless.org/iwlwifi/downloads/iwlwifi-5000-ucode-5.4.A.11.tar.gz&lt;br /&gt;
  tar xvfz iwlwifi-5000-ucode-5.4.A.11.tar.gz&lt;br /&gt;
  cp  iwlwifi-5000-ucode-5.4.A.11/iwlwifi-5000-1.ucode /lib/firmware&lt;br /&gt;
  aptitude install linux-image-2.6.27-1-686 hal&lt;br /&gt;
&lt;br /&gt;
== Suspend ==&lt;br /&gt;
&lt;br /&gt;
Suspend to disk works using the button Fn+F12.&lt;br /&gt;
&lt;br /&gt;
Suspend to ram (Fn+F4) does not work with intel driver.&lt;br /&gt;
Using vesa driver, it works if the i915 driver is installed. I put the line:&lt;br /&gt;
  modprobe i915&lt;br /&gt;
&lt;br /&gt;
in /etc/rc.local.&lt;br /&gt;
&lt;br /&gt;
The trackpoint occasionally stops working after a resume. Apparently it is enough to move it &lt;br /&gt;
a little bit during the resume.&lt;br /&gt;
&lt;br /&gt;
== Special keys ==&lt;br /&gt;
&lt;br /&gt;
Some keys are intercepted by X Windows. The keycodes are&lt;br /&gt;
&lt;br /&gt;
  227 Fn&lt;br /&gt;
  234 Tab left&lt;br /&gt;
  233 Tab right&lt;br /&gt;
  176 Volume up&lt;br /&gt;
  174 Volume dn&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Mute switch the hardware volume which is not controlled by ALSA.&lt;br /&gt;
&lt;br /&gt;
ACPI links suspend to ram and to disc to Fn+F4 and Fn+F12 respectively. Screen brightness, thinklight, bluetooth works as well.&lt;br /&gt;
&lt;br /&gt;
== Sound ==&lt;br /&gt;
&lt;br /&gt;
Everything works, but in a strange way. The hardware volume control is managed by acpi&lt;br /&gt;
&lt;br /&gt;
  $ cat /proc/acpi/ibm/volume&lt;br /&gt;
  level:          8&lt;br /&gt;
  mute:           off&lt;br /&gt;
  commands:       up, down, mute&lt;br /&gt;
  commands:       level &amp;lt;level&amp;gt; (&amp;lt;level&amp;gt; is 0-15)&lt;br /&gt;
&lt;br /&gt;
The mute button is linked to the mute command, but volume up and down are passed to X with keycode 176 174. I&lt;br /&gt;
thought that acpi was intercepting the key and send them to X using fakekey. I played in /etc/acpi/events but I didn't managed to change the behavior.&lt;br /&gt;
&lt;br /&gt;
== Skype ==&lt;br /&gt;
&lt;br /&gt;
Everything works downloading the skype version for Etch. After suspending and resuming the video does not work anymore.&lt;br /&gt;
The error message is:&lt;br /&gt;
&lt;br /&gt;
  Skype V4L2: Could not find a suitable capture format&lt;br /&gt;
&lt;br /&gt;
Several people propose to update the uvcvideo driver.&lt;br /&gt;
  svn checkout http://svn.berlios.de/svnroot/repos/linux-uvc/&lt;br /&gt;
  cd linux-uvc/linux-uvc/trunk/&lt;br /&gt;
  make&lt;br /&gt;
  make install&lt;br /&gt;
  modprobe uvcvideo&lt;br /&gt;
&lt;br /&gt;
But I didn't tried yet cause I'm still using the experimental kernel that does not come with packages for compiling modules.&lt;br /&gt;
&lt;br /&gt;
== GTK and Firefox ==&lt;br /&gt;
&lt;br /&gt;
Fonts size are too large. Solution:&lt;br /&gt;
  $cat /home/rdemaria/.gtkrc-2.0&lt;br /&gt;
  # -- THEME AUTO-WRITTEN DO NOT EDIT&lt;br /&gt;
  include &amp;quot;/usr/share/themes/Industrial/gtk-2.0/gtkrc&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  include &amp;quot;/home/rdemaria/.gtkrc-2.0.mine&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  # -- THEME AUTO-WRITTEN DO NOT EDIT&lt;br /&gt;
&lt;br /&gt;
  $cat /home/rdemaria/.gtkrc-2.0.mine&lt;br /&gt;
  gtk-font-name = &amp;quot;Sans 8&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== Printer and scanner ==&lt;br /&gt;
&lt;br /&gt;
Usb printer and scanner (HP Officejet J4580) works perfectly using cups, hpoj, xsane, hplib.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== RAM upgrade ==&lt;br /&gt;
&lt;br /&gt;
My X200 came with 2G of ram and 1 free slots. I bought:&lt;br /&gt;
   Crucial 2GB 204-Pin DDR3 SO-DIMM DDR3 1066 (PC3 8500) Laptop Memory Model CT25664BC1067 - Retail&lt;br /&gt;
&lt;br /&gt;
installed and replace the kernel with a bigmem one.&lt;br /&gt;
&lt;br /&gt;
== Hard disk upgrade ==&lt;br /&gt;
&lt;br /&gt;
My X200 came with a 160GB hardrive. I bought the 500GB hard drive&lt;br /&gt;
   Western Digital Scorpio Blue WD5000BEVT 500GB 5400 RPM SATA 3.0Gb/s Notebook Hard Drive - OEM&lt;br /&gt;
&lt;br /&gt;
and the adapter&lt;br /&gt;
  Link Depot USB2-SATA USB2.0 TO IDE/SATA Adapter Cable - Retail&lt;br /&gt;
&lt;br /&gt;
for transfer the data.&lt;br /&gt;
&lt;br /&gt;
I connected the new hard drive using the usb port. The drive was recognized as /dev/sdb. I create the partitions that reads:&lt;br /&gt;
&lt;br /&gt;
  $ sfdisk -d /dev/sdb&lt;br /&gt;
  # partition table of /dev/sdb&lt;br /&gt;
  unit: sectors&lt;br /&gt;
&lt;br /&gt;
  /dev/sdb1 : start=       63, size= 71553447, Id=83&lt;br /&gt;
  /dev/sdb2 : start= 71553510, size=905214555, Id= 5&lt;br /&gt;
  /dev/sdb3 : start=        0, size=        0, Id= 0&lt;br /&gt;
  /dev/sdb4 : start=        0, size=        0, Id= 0&lt;br /&gt;
  /dev/sdb5 : start= 71553573, size=894467007, Id=83&lt;br /&gt;
  /dev/sdb6 : start=966020643, size= 10747422, Id=82&lt;br /&gt;
&lt;br /&gt;
Then made the filesystem and copy the files:&lt;br /&gt;
  $ sudo mkfs.ext3 /dev/sdb1&lt;br /&gt;
  $ sudo mkfs.ext3 /dev/sdb5&lt;br /&gt;
  $ sudo mkswap    /dev/sda6&lt;br /&gt;
  $ sudo mount /mnt/sdb1&lt;br /&gt;
  $ sudo mount /mnt/sdb5&lt;br /&gt;
  $ sudo rsync -a --delete \&lt;br /&gt;
  --exclude /mnt/sdb1 \&lt;br /&gt;
  --exclude /mnt/sdb5 \&lt;br /&gt;
  --exclude /home \&lt;br /&gt;
  --exclude /proc \&lt;br /&gt;
  --exclude /sys \&lt;br /&gt;
  --exclude /lib/init/rw \&lt;br /&gt;
  --exclude /dev \&lt;br /&gt;
  / /mnt/sdb1&lt;br /&gt;
  $ cd /mnt/sdb1; mkdir /home /proc /sys /lib/init/rw /dev; cd &lt;br /&gt;
  $ sudo rsync -a /home/ /mnt/sdb5&lt;br /&gt;
  $ sudo umount /mnt/sdb5; sudo umount /mnt/sdb1&lt;br /&gt;
&lt;br /&gt;
Finally install grub&lt;br /&gt;
  $ sudo grub --no-floppy&lt;br /&gt;
  $ geometry (hd1)&lt;br /&gt;
  &amp;gt; root (hd1,0)&lt;br /&gt;
  &amp;gt; setup (hd1)&lt;br /&gt;
  &amp;gt; quit&lt;br /&gt;
&lt;br /&gt;
and replace the disk. (I tried to boot from the usb to check the new hard drive, but I messed up the old installation...)&lt;br /&gt;
&lt;br /&gt;
For some reason the suspend to disk was not working anymore. But &lt;br /&gt;
  $ sudo aptitude reinstall uswsusp&lt;br /&gt;
fixed the problem answering yes to use the swap disk.&lt;br /&gt;
&lt;br /&gt;
== TO BE CONTINUED ==&lt;/div&gt;</summary>
		<author><name>Rdemaria</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Debian_Sid_(October_2008)_on_a_ThinkPad_X200&amp;diff=39715</id>
		<title>Installing Debian Sid (October 2008) on a ThinkPad X200</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Debian_Sid_(October_2008)_on_a_ThinkPad_X200&amp;diff=39715"/>
		<updated>2008-11-13T19:41:10Z</updated>

		<summary type="html">&lt;p&gt;Rdemaria: /* Suspend */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
Amazing machine: light, quiet, large battery life, ideal for travels, great value for money compared to X200T and X300.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Creating installation device ==&lt;br /&gt;
&lt;br /&gt;
The X200 has no cd/dvd but can boot from USB. On the X200 BIOS settings, the USB disk boot option needed to be raised to be used first. Using F1 at boot gives access to the BIOS.&lt;br /&gt;
&lt;br /&gt;
I created an USB bootable iso from another linux installation.&lt;br /&gt;
I had an usb stick with a FAT32 partition on /dev/sdc1. I dowloaded the boot and iso file and installed the image&lt;br /&gt;
using:&lt;br /&gt;
&lt;br /&gt;
  wget http://people.debian.org/~joeyh/d-i/images/daily/hd-media/boot.img.gz&lt;br /&gt;
  wget http://cdimage.debian.org/cdimage/daily-builds/daily/arch-latest/i386/iso-cd/debian-testing-i386-netinst.iso&lt;br /&gt;
  zcat boot.img.gz &amp;gt;/dev/sdc1&lt;br /&gt;
  mkdir /mnt/sdc1&lt;br /&gt;
  mount /dev/sdc1 /mnt/sdc1&lt;br /&gt;
  cp debian-testing-i386-netinst.iso /mnt/sdc1&lt;br /&gt;
&lt;br /&gt;
The boot stick will use the network to install the package but a more complete ISO image can be dowloaded.&lt;br /&gt;
&lt;br /&gt;
The wifi will not work (see [[Installing_Debian_on_an_X200]]) but the Ethernet card will. In theory it should be possible build custom Debian Live USB stick, using the latest package and install from there, I didn't manage so far.&lt;br /&gt;
'''Bold text'''&lt;br /&gt;
&lt;br /&gt;
== Sid installation ==&lt;br /&gt;
&lt;br /&gt;
To install sid use the expert installation support and choose unstable for the repository.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Backup hard drive data ==&lt;br /&gt;
&lt;br /&gt;
In order to save the hard drive content, I created complete hard drive image on another hard disk. During the installation procedure I activated another shell with CTRL-ALT-F3, mounted an external HD (/dev/sdb1) and copied the image with:&lt;br /&gt;
&lt;br /&gt;
  mkdir /mnt/sdb1&lt;br /&gt;
  mount /dev/sdb1 /mnt/sdb1/&lt;br /&gt;
  dd if=/dev/sda of=/mnt/sdb1/sda-image&lt;br /&gt;
&lt;br /&gt;
In principle partimage is better option but the installation image does not have it. Also gzipping the partition on the fly would have bin better, but the gzip or bzip2 were not present. Using a custom Debian Live installation image would solve the problem.&lt;br /&gt;
&lt;br /&gt;
== Kernel ==&lt;br /&gt;
&lt;br /&gt;
Some kernel options here:&lt;br /&gt;
  &lt;br /&gt;
  root=/dev/sda1 ro acpi_sleep=s3_bios vga=868 video=vesafb&lt;br /&gt;
&lt;br /&gt;
== Video ==&lt;br /&gt;
&lt;br /&gt;
Video driver 2:2.3.2-2+lenny5 is not stable enough. Video get garbled from time to time.&lt;br /&gt;
&lt;br /&gt;
Vesa driver is not that slow. For some reason the &amp;quot;Virtual&amp;quot; option make X crash.&lt;br /&gt;
&lt;br /&gt;
This is a simple xorg.conf:&lt;br /&gt;
&lt;br /&gt;
  $ cat /etc/X11/xorg.conf &lt;br /&gt;
  Section &amp;quot;InputDevice&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;Generic Keyboard&amp;quot;&lt;br /&gt;
        Driver          &amp;quot;kbd&amp;quot;&lt;br /&gt;
        Option          &amp;quot;XkbRules&amp;quot;      &amp;quot;xorg&amp;quot;&lt;br /&gt;
        Option          &amp;quot;XkbModel&amp;quot;      &amp;quot;pc104&amp;quot;&lt;br /&gt;
        Option          &amp;quot;XkbLayout&amp;quot;     &amp;quot;us,us(intl)&amp;quot;&lt;br /&gt;
        Option          &amp;quot;XkbOptions&amp;quot;    &amp;quot;compose(lwin),compose(rwin),grp:shifts_toggle,grp_led:scroll&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
  Section &amp;quot;InputDevice&amp;quot;&lt;br /&gt;
        Identifier  &amp;quot;Configured Mouse&amp;quot;&lt;br /&gt;
        Driver      &amp;quot;mouse&amp;quot;&lt;br /&gt;
        Option      &amp;quot;CorePointer&amp;quot;&lt;br /&gt;
        Option      &amp;quot;Device&amp;quot; &amp;quot;/dev/input/mouse0&amp;quot;&lt;br /&gt;
        Option      &amp;quot;Protocol&amp;quot; &amp;quot;ImPS/2&amp;quot;&lt;br /&gt;
        Option      &amp;quot;EmulateWheel&amp;quot; &amp;quot;on&amp;quot;&lt;br /&gt;
        Option      &amp;quot;EmulateWheelButton&amp;quot; &amp;quot;2&amp;quot;&lt;br /&gt;
        Option      &amp;quot;EmulateWheelTimeout&amp;quot; &amp;quot;250&amp;quot;&lt;br /&gt;
        Option      &amp;quot;XAxisMapping&amp;quot; &amp;quot;6 7&amp;quot;&lt;br /&gt;
        Option      &amp;quot;YAxisMapping&amp;quot; &amp;quot;4 5&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
  Section &amp;quot;Screen&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;Default Screen&amp;quot;&lt;br /&gt;
        Monitor         &amp;quot;Configured Monitor&amp;quot;&lt;br /&gt;
        Defaultdepth    24&lt;br /&gt;
        SubSection &amp;quot;Display&amp;quot;&lt;br /&gt;
                Modes           &amp;quot;1280x800&amp;quot;&lt;br /&gt;
  #             Virtual    2048 864&lt;br /&gt;
        EndSubSection&lt;br /&gt;
  EndSection&lt;br /&gt;
  Section &amp;quot;Monitor&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;Configured Monitor&amp;quot;&lt;br /&gt;
        DisplaySize     231 233.5 #fake smaller dpi&lt;br /&gt;
  EndSection&lt;br /&gt;
  Section &amp;quot;Monitor&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;HDMI-1&amp;quot;&lt;br /&gt;
        Option          &amp;quot;Ignore&amp;quot; &amp;quot;True&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
  Section &amp;quot;Monitor&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;HDMI-2&amp;quot;&lt;br /&gt;
        Option          &amp;quot;Ignore&amp;quot; &amp;quot;True&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
  Section &amp;quot;Device&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;Configured Video Device&amp;quot;&lt;br /&gt;
  #        Driver          &amp;quot;intel&amp;quot;&lt;br /&gt;
        Driver          &amp;quot;vesa&amp;quot;&lt;br /&gt;
        Option          &amp;quot;monitor-HDMI-1&amp;quot; &amp;quot;HDMI-1&amp;quot;&lt;br /&gt;
        Option          &amp;quot;monitor-HDMI-2&amp;quot; &amp;quot;HDMI-2&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
&lt;br /&gt;
== Fonts ==&lt;br /&gt;
&lt;br /&gt;
Default fonts are a bit ugly. Things get better by creating some symbolic link:&lt;br /&gt;
&lt;br /&gt;
  cd /etc/fonts/conf.d&lt;br /&gt;
  ln -s ../conf.avail/10-autohint.conf&lt;br /&gt;
  ln -s ../conf.avail/10-sub-pixel-rgb.conf&lt;br /&gt;
  ln -s ../conf.avail/70-no-bitmaps.conf&lt;br /&gt;
&lt;br /&gt;
For GTK and Firefox&lt;br /&gt;
&lt;br /&gt;
Fonts size are too large. Solution:&lt;br /&gt;
  $cat ~/.gtkrc-2.0&lt;br /&gt;
  # -- THEME AUTO-WRITTEN DO NOT EDIT&lt;br /&gt;
  include &amp;quot;/usr/share/themes/Industrial/gtk-2.0/gtkrc&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  include &amp;quot;/home/rdemaria/.gtkrc-2.0.mine&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  # -- THEME AUTO-WRITTEN DO NOT EDIT&lt;br /&gt;
&lt;br /&gt;
  $cat ~/.gtkrc-2.0.mine&lt;br /&gt;
  gtk-font-name = &amp;quot;Sans 8&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Bold font are also ugly on xvrt (in xterm the bold font control seems always broken). See below for the solution.&lt;br /&gt;
&lt;br /&gt;
== Terminal ==&lt;br /&gt;
&lt;br /&gt;
I tried several terminals. But I found rxvt-unicode the easiest and fastest. This resources allow 4 terminals in one window. Bold font (unreadable to me) are disabled.&lt;br /&gt;
  $cat ~/.Xresources&lt;br /&gt;
  rxvt*cutchars: \$:[]&lt;br /&gt;
  rxvt*visualBell: true&lt;br /&gt;
  rxvt*foreground: white&lt;br /&gt;
  rxvt*background: black&lt;br /&gt;
  rxvt*geometry: 80x27&lt;br /&gt;
  rxvt*jumpScroll: true&lt;br /&gt;
  rxvt*skipScroll: true&lt;br /&gt;
  rxvt*scrollBar: false&lt;br /&gt;
  rxvt*boldFont:&lt;br /&gt;
  rxvt*boldItalicFont:&lt;br /&gt;
  rxvt*saveLines: 9096&lt;br /&gt;
  rxvt*mouseWheelScrollPage: false&lt;br /&gt;
&lt;br /&gt;
== Wifi ==&lt;br /&gt;
&lt;br /&gt;
Put in the /etc/apt/source.list&lt;br /&gt;
&lt;br /&gt;
  deb http://kernel-archive.buildserver.net/debian-kernel trunk main &lt;br /&gt;
&lt;br /&gt;
Installed linux-image-2.6.27-1 and firmware&lt;br /&gt;
&lt;br /&gt;
  wget http://intellinuxwireless.org/iwlwifi/downloads/iwlwifi-5000-ucode-5.4.A.11.tar.gz&lt;br /&gt;
  tar xvfz iwlwifi-5000-ucode-5.4.A.11.tar.gz&lt;br /&gt;
  cp  iwlwifi-5000-ucode-5.4.A.11/iwlwifi-5000-1.ucode /lib/firmware&lt;br /&gt;
  aptitude install linux-image-2.6.27-1-686 hal&lt;br /&gt;
&lt;br /&gt;
== Suspend ==&lt;br /&gt;
&lt;br /&gt;
Suspend to disk works using the button Fn+F12.&lt;br /&gt;
&lt;br /&gt;
Suspend to ram (Fn+F4) does not work with intel driver.&lt;br /&gt;
Using vesa driver, it works if the i915 driver is installed. I put the line:&lt;br /&gt;
  modprobe i915&lt;br /&gt;
&lt;br /&gt;
in /etc/rc.local.&lt;br /&gt;
&lt;br /&gt;
The trackpoint occasionally stops working after a resume. Apparently it is enough to move it &lt;br /&gt;
a little bit during the resume.&lt;br /&gt;
&lt;br /&gt;
== Special keys ==&lt;br /&gt;
&lt;br /&gt;
Some keys are intercepted by X Windows. The keycodes are&lt;br /&gt;
&lt;br /&gt;
  227 Fn&lt;br /&gt;
  234 Tab left&lt;br /&gt;
  233 Tab right&lt;br /&gt;
  176 Volume up&lt;br /&gt;
  174 Volume dn&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Mute switch the hardware volume which is not controlled by ALSA.&lt;br /&gt;
&lt;br /&gt;
ACPI links suspend to ram and to disc to Fn+F4 and Fn+F12 respectively. Screen brightness, thinklight, bluetooth works as well.&lt;br /&gt;
&lt;br /&gt;
== Sound ==&lt;br /&gt;
&lt;br /&gt;
Everything works, but in a strange way. The hardware volume control is managed by acpi&lt;br /&gt;
&lt;br /&gt;
  $ cat /proc/acpi/ibm/volume&lt;br /&gt;
  level:          8&lt;br /&gt;
  mute:           off&lt;br /&gt;
  commands:       up, down, mute&lt;br /&gt;
  commands:       level &amp;lt;level&amp;gt; (&amp;lt;level&amp;gt; is 0-15)&lt;br /&gt;
&lt;br /&gt;
The mute button is linked to the mute command, but volume up and down are passed to X with keycode 176 174. I&lt;br /&gt;
thought that acpi was intercepting the key and send them to X using fakekey. I played in /etc/acpi/events but I didn't managed to change the behavior.&lt;br /&gt;
&lt;br /&gt;
== Skype ==&lt;br /&gt;
&lt;br /&gt;
Everything works downloading the skype version for Etch. After suspending and resuming the video does not work anymore.&lt;br /&gt;
The error message is:&lt;br /&gt;
&lt;br /&gt;
  Skype V4L2: Could not find a suitable capture format&lt;br /&gt;
&lt;br /&gt;
Several people propose to update the uvcvideo driver.&lt;br /&gt;
  svn checkout http://svn.berlios.de/svnroot/repos/linux-uvc/&lt;br /&gt;
  cd linux-uvc/linux-uvc/trunk/&lt;br /&gt;
  make&lt;br /&gt;
  make install&lt;br /&gt;
  modprobe uvcvideo&lt;br /&gt;
&lt;br /&gt;
But I didn't tried yet cause I'm still using the experimental kernel that does not come with packages for compiling modules.&lt;br /&gt;
&lt;br /&gt;
== GTK and Firefox ==&lt;br /&gt;
&lt;br /&gt;
Fonts size are too large. Solution:&lt;br /&gt;
  $cat /home/rdemaria/.gtkrc-2.0&lt;br /&gt;
  # -- THEME AUTO-WRITTEN DO NOT EDIT&lt;br /&gt;
  include &amp;quot;/usr/share/themes/Industrial/gtk-2.0/gtkrc&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  include &amp;quot;/home/rdemaria/.gtkrc-2.0.mine&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  # -- THEME AUTO-WRITTEN DO NOT EDIT&lt;br /&gt;
&lt;br /&gt;
  $cat /home/rdemaria/.gtkrc-2.0.mine&lt;br /&gt;
  gtk-font-name = &amp;quot;Sans 8&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== Printer and scanner ==&lt;br /&gt;
&lt;br /&gt;
Usb printer and scanner (HP Officejet J4580) works perfectly using cups, hpoj, xsane, hplib.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== RAM upgrade ==&lt;br /&gt;
&lt;br /&gt;
My X200 came with 2G of ram and 1 free slots. I bought:&lt;br /&gt;
   Crucial 2GB 204-Pin DDR3 SO-DIMM DDR3 1066 (PC3 8500) Laptop Memory Model CT25664BC1067 - Retail&lt;br /&gt;
&lt;br /&gt;
installed and replace the kernel with a bigmem one.&lt;br /&gt;
&lt;br /&gt;
== Hard disk upgrade ==&lt;br /&gt;
&lt;br /&gt;
My X200 came with a 160GB hardrive. I bought the 500GB hard drive&lt;br /&gt;
   Western Digital Scorpio Blue WD5000BEVT 500GB 5400 RPM SATA 3.0Gb/s Notebook Hard Drive - OEM&lt;br /&gt;
&lt;br /&gt;
and the adapter&lt;br /&gt;
  Link Depot USB2-SATA USB2.0 TO IDE/SATA Adapter Cable - Retail&lt;br /&gt;
&lt;br /&gt;
for transfer the data.&lt;br /&gt;
&lt;br /&gt;
I connected the new hard drive using the usb port. The drive was recognized as /dev/sdb. I create the partitions that reads:&lt;br /&gt;
&lt;br /&gt;
  $ sfdisk -d /dev/sdb&lt;br /&gt;
  # partition table of /dev/sdb&lt;br /&gt;
  unit: sectors&lt;br /&gt;
&lt;br /&gt;
  /dev/sdb1 : start=       63, size= 71553447, Id=83&lt;br /&gt;
  /dev/sdb2 : start= 71553510, size=905214555, Id= 5&lt;br /&gt;
  /dev/sdb3 : start=        0, size=        0, Id= 0&lt;br /&gt;
  /dev/sdb4 : start=        0, size=        0, Id= 0&lt;br /&gt;
  /dev/sdb5 : start= 71553573, size=894467007, Id=83&lt;br /&gt;
  /dev/sdb6 : start=966020643, size= 10747422, Id=82&lt;br /&gt;
&lt;br /&gt;
Then made the filesystem and copy the files:&lt;br /&gt;
  $ sudo mkfs.ext3 /dev/sdb1&lt;br /&gt;
  $ sudo mkfs.ext3 /dev/sdb5&lt;br /&gt;
  $ sudo mkswap    /dev/sda6&lt;br /&gt;
  $ sudo mount /mnt/sdb1&lt;br /&gt;
  $ sudo mount /mnt/sdb5&lt;br /&gt;
  $ sudo rsync -a --delete \&lt;br /&gt;
  --exclude /mnt/sdb1 \&lt;br /&gt;
  --exclude /mnt/sdb5 \&lt;br /&gt;
  --exclude /home \&lt;br /&gt;
  --exclude /proc \&lt;br /&gt;
  --exclude /sys \&lt;br /&gt;
  --exclude /lib/init/rw \&lt;br /&gt;
  --exclude /dev \&lt;br /&gt;
  / /mnt/sdb1&lt;br /&gt;
  $ cd /mnt/sdb1; mkdir /home /proc /sys /lib/init/rw /dev; cd &lt;br /&gt;
  $ sudo rsync -a /home/ /mnt/sdb5&lt;br /&gt;
  $ sudo umount /mnt/sdb5; sudo umount /mnt/sdb1&lt;br /&gt;
&lt;br /&gt;
Finally install grub&lt;br /&gt;
  $ sudo grub --no-floppy&lt;br /&gt;
  $ geometry (hd1)&lt;br /&gt;
  &amp;gt; root (hd1,0)&lt;br /&gt;
  &amp;gt; setup (hd1)&lt;br /&gt;
  &amp;gt; quit&lt;br /&gt;
&lt;br /&gt;
and replace the disk. (I tried to boot from the usb to check the new hard drive, but I messed up the old installation...)&lt;br /&gt;
&lt;br /&gt;
== TO BE CONTINUED ==&lt;/div&gt;</summary>
		<author><name>Rdemaria</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Debian_Sid_(October_2008)_on_a_ThinkPad_X200&amp;diff=39714</id>
		<title>Installing Debian Sid (October 2008) on a ThinkPad X200</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Debian_Sid_(October_2008)_on_a_ThinkPad_X200&amp;diff=39714"/>
		<updated>2008-11-13T19:39:15Z</updated>

		<summary type="html">&lt;p&gt;Rdemaria: /* Video */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
Amazing machine: light, quiet, large battery life, ideal for travels, great value for money compared to X200T and X300.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Creating installation device ==&lt;br /&gt;
&lt;br /&gt;
The X200 has no cd/dvd but can boot from USB. On the X200 BIOS settings, the USB disk boot option needed to be raised to be used first. Using F1 at boot gives access to the BIOS.&lt;br /&gt;
&lt;br /&gt;
I created an USB bootable iso from another linux installation.&lt;br /&gt;
I had an usb stick with a FAT32 partition on /dev/sdc1. I dowloaded the boot and iso file and installed the image&lt;br /&gt;
using:&lt;br /&gt;
&lt;br /&gt;
  wget http://people.debian.org/~joeyh/d-i/images/daily/hd-media/boot.img.gz&lt;br /&gt;
  wget http://cdimage.debian.org/cdimage/daily-builds/daily/arch-latest/i386/iso-cd/debian-testing-i386-netinst.iso&lt;br /&gt;
  zcat boot.img.gz &amp;gt;/dev/sdc1&lt;br /&gt;
  mkdir /mnt/sdc1&lt;br /&gt;
  mount /dev/sdc1 /mnt/sdc1&lt;br /&gt;
  cp debian-testing-i386-netinst.iso /mnt/sdc1&lt;br /&gt;
&lt;br /&gt;
The boot stick will use the network to install the package but a more complete ISO image can be dowloaded.&lt;br /&gt;
&lt;br /&gt;
The wifi will not work (see [[Installing_Debian_on_an_X200]]) but the Ethernet card will. In theory it should be possible build custom Debian Live USB stick, using the latest package and install from there, I didn't manage so far.&lt;br /&gt;
'''Bold text'''&lt;br /&gt;
&lt;br /&gt;
== Sid installation ==&lt;br /&gt;
&lt;br /&gt;
To install sid use the expert installation support and choose unstable for the repository.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Backup hard drive data ==&lt;br /&gt;
&lt;br /&gt;
In order to save the hard drive content, I created complete hard drive image on another hard disk. During the installation procedure I activated another shell with CTRL-ALT-F3, mounted an external HD (/dev/sdb1) and copied the image with:&lt;br /&gt;
&lt;br /&gt;
  mkdir /mnt/sdb1&lt;br /&gt;
  mount /dev/sdb1 /mnt/sdb1/&lt;br /&gt;
  dd if=/dev/sda of=/mnt/sdb1/sda-image&lt;br /&gt;
&lt;br /&gt;
In principle partimage is better option but the installation image does not have it. Also gzipping the partition on the fly would have bin better, but the gzip or bzip2 were not present. Using a custom Debian Live installation image would solve the problem.&lt;br /&gt;
&lt;br /&gt;
== Kernel ==&lt;br /&gt;
&lt;br /&gt;
Some kernel options here:&lt;br /&gt;
  &lt;br /&gt;
  root=/dev/sda1 ro acpi_sleep=s3_bios vga=868 video=vesafb&lt;br /&gt;
&lt;br /&gt;
== Video ==&lt;br /&gt;
&lt;br /&gt;
Video driver 2:2.3.2-2+lenny5 is not stable enough. Video get garbled from time to time.&lt;br /&gt;
&lt;br /&gt;
Vesa driver is not that slow. For some reason the &amp;quot;Virtual&amp;quot; option make X crash.&lt;br /&gt;
&lt;br /&gt;
This is a simple xorg.conf:&lt;br /&gt;
&lt;br /&gt;
  $ cat /etc/X11/xorg.conf &lt;br /&gt;
  Section &amp;quot;InputDevice&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;Generic Keyboard&amp;quot;&lt;br /&gt;
        Driver          &amp;quot;kbd&amp;quot;&lt;br /&gt;
        Option          &amp;quot;XkbRules&amp;quot;      &amp;quot;xorg&amp;quot;&lt;br /&gt;
        Option          &amp;quot;XkbModel&amp;quot;      &amp;quot;pc104&amp;quot;&lt;br /&gt;
        Option          &amp;quot;XkbLayout&amp;quot;     &amp;quot;us,us(intl)&amp;quot;&lt;br /&gt;
        Option          &amp;quot;XkbOptions&amp;quot;    &amp;quot;compose(lwin),compose(rwin),grp:shifts_toggle,grp_led:scroll&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
  Section &amp;quot;InputDevice&amp;quot;&lt;br /&gt;
        Identifier  &amp;quot;Configured Mouse&amp;quot;&lt;br /&gt;
        Driver      &amp;quot;mouse&amp;quot;&lt;br /&gt;
        Option      &amp;quot;CorePointer&amp;quot;&lt;br /&gt;
        Option      &amp;quot;Device&amp;quot; &amp;quot;/dev/input/mouse0&amp;quot;&lt;br /&gt;
        Option      &amp;quot;Protocol&amp;quot; &amp;quot;ImPS/2&amp;quot;&lt;br /&gt;
        Option      &amp;quot;EmulateWheel&amp;quot; &amp;quot;on&amp;quot;&lt;br /&gt;
        Option      &amp;quot;EmulateWheelButton&amp;quot; &amp;quot;2&amp;quot;&lt;br /&gt;
        Option      &amp;quot;EmulateWheelTimeout&amp;quot; &amp;quot;250&amp;quot;&lt;br /&gt;
        Option      &amp;quot;XAxisMapping&amp;quot; &amp;quot;6 7&amp;quot;&lt;br /&gt;
        Option      &amp;quot;YAxisMapping&amp;quot; &amp;quot;4 5&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
  Section &amp;quot;Screen&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;Default Screen&amp;quot;&lt;br /&gt;
        Monitor         &amp;quot;Configured Monitor&amp;quot;&lt;br /&gt;
        Defaultdepth    24&lt;br /&gt;
        SubSection &amp;quot;Display&amp;quot;&lt;br /&gt;
                Modes           &amp;quot;1280x800&amp;quot;&lt;br /&gt;
  #             Virtual    2048 864&lt;br /&gt;
        EndSubSection&lt;br /&gt;
  EndSection&lt;br /&gt;
  Section &amp;quot;Monitor&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;Configured Monitor&amp;quot;&lt;br /&gt;
        DisplaySize     231 233.5 #fake smaller dpi&lt;br /&gt;
  EndSection&lt;br /&gt;
  Section &amp;quot;Monitor&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;HDMI-1&amp;quot;&lt;br /&gt;
        Option          &amp;quot;Ignore&amp;quot; &amp;quot;True&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
  Section &amp;quot;Monitor&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;HDMI-2&amp;quot;&lt;br /&gt;
        Option          &amp;quot;Ignore&amp;quot; &amp;quot;True&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
  Section &amp;quot;Device&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;Configured Video Device&amp;quot;&lt;br /&gt;
  #        Driver          &amp;quot;intel&amp;quot;&lt;br /&gt;
        Driver          &amp;quot;vesa&amp;quot;&lt;br /&gt;
        Option          &amp;quot;monitor-HDMI-1&amp;quot; &amp;quot;HDMI-1&amp;quot;&lt;br /&gt;
        Option          &amp;quot;monitor-HDMI-2&amp;quot; &amp;quot;HDMI-2&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
&lt;br /&gt;
== Fonts ==&lt;br /&gt;
&lt;br /&gt;
Default fonts are a bit ugly. Things get better by creating some symbolic link:&lt;br /&gt;
&lt;br /&gt;
  cd /etc/fonts/conf.d&lt;br /&gt;
  ln -s ../conf.avail/10-autohint.conf&lt;br /&gt;
  ln -s ../conf.avail/10-sub-pixel-rgb.conf&lt;br /&gt;
  ln -s ../conf.avail/70-no-bitmaps.conf&lt;br /&gt;
&lt;br /&gt;
For GTK and Firefox&lt;br /&gt;
&lt;br /&gt;
Fonts size are too large. Solution:&lt;br /&gt;
  $cat ~/.gtkrc-2.0&lt;br /&gt;
  # -- THEME AUTO-WRITTEN DO NOT EDIT&lt;br /&gt;
  include &amp;quot;/usr/share/themes/Industrial/gtk-2.0/gtkrc&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  include &amp;quot;/home/rdemaria/.gtkrc-2.0.mine&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  # -- THEME AUTO-WRITTEN DO NOT EDIT&lt;br /&gt;
&lt;br /&gt;
  $cat ~/.gtkrc-2.0.mine&lt;br /&gt;
  gtk-font-name = &amp;quot;Sans 8&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Bold font are also ugly on xvrt (in xterm the bold font control seems always broken). See below for the solution.&lt;br /&gt;
&lt;br /&gt;
== Terminal ==&lt;br /&gt;
&lt;br /&gt;
I tried several terminals. But I found rxvt-unicode the easiest and fastest. This resources allow 4 terminals in one window. Bold font (unreadable to me) are disabled.&lt;br /&gt;
  $cat ~/.Xresources&lt;br /&gt;
  rxvt*cutchars: \$:[]&lt;br /&gt;
  rxvt*visualBell: true&lt;br /&gt;
  rxvt*foreground: white&lt;br /&gt;
  rxvt*background: black&lt;br /&gt;
  rxvt*geometry: 80x27&lt;br /&gt;
  rxvt*jumpScroll: true&lt;br /&gt;
  rxvt*skipScroll: true&lt;br /&gt;
  rxvt*scrollBar: false&lt;br /&gt;
  rxvt*boldFont:&lt;br /&gt;
  rxvt*boldItalicFont:&lt;br /&gt;
  rxvt*saveLines: 9096&lt;br /&gt;
  rxvt*mouseWheelScrollPage: false&lt;br /&gt;
&lt;br /&gt;
== Wifi ==&lt;br /&gt;
&lt;br /&gt;
Put in the /etc/apt/source.list&lt;br /&gt;
&lt;br /&gt;
  deb http://kernel-archive.buildserver.net/debian-kernel trunk main &lt;br /&gt;
&lt;br /&gt;
Installed linux-image-2.6.27-1 and firmware&lt;br /&gt;
&lt;br /&gt;
  wget http://intellinuxwireless.org/iwlwifi/downloads/iwlwifi-5000-ucode-5.4.A.11.tar.gz&lt;br /&gt;
  tar xvfz iwlwifi-5000-ucode-5.4.A.11.tar.gz&lt;br /&gt;
  cp  iwlwifi-5000-ucode-5.4.A.11/iwlwifi-5000-1.ucode /lib/firmware&lt;br /&gt;
  aptitude install linux-image-2.6.27-1-686 hal&lt;br /&gt;
&lt;br /&gt;
== Suspend ==&lt;br /&gt;
&lt;br /&gt;
Suspend to disk works using the button Fn+F12.&lt;br /&gt;
&lt;br /&gt;
Suspend to ram (Fn+F4) does not work with intel driver.&lt;br /&gt;
Using vesa driver, it seemed it worked, but now I have the lcd back light not switching on. &lt;br /&gt;
&lt;br /&gt;
I tried some of the remedies in [[Problem_with_display_remaining_black_after_resume]] but without success.&lt;br /&gt;
&lt;br /&gt;
The trackpoint occasionally stops working after a resume. Apparently it is enough to move it &lt;br /&gt;
a little bit during the resume.&lt;br /&gt;
&lt;br /&gt;
== Special keys ==&lt;br /&gt;
&lt;br /&gt;
Some keys are intercepted by X Windows. The keycodes are&lt;br /&gt;
&lt;br /&gt;
  227 Fn&lt;br /&gt;
  234 Tab left&lt;br /&gt;
  233 Tab right&lt;br /&gt;
  176 Volume up&lt;br /&gt;
  174 Volume dn&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Mute switch the hardware volume which is not controlled by ALSA.&lt;br /&gt;
&lt;br /&gt;
ACPI links suspend to ram and to disc to Fn+F4 and Fn+F12 respectively. Screen brightness, thinklight, bluetooth works as well.&lt;br /&gt;
&lt;br /&gt;
== Sound ==&lt;br /&gt;
&lt;br /&gt;
Everything works, but in a strange way. The hardware volume control is managed by acpi&lt;br /&gt;
&lt;br /&gt;
  $ cat /proc/acpi/ibm/volume&lt;br /&gt;
  level:          8&lt;br /&gt;
  mute:           off&lt;br /&gt;
  commands:       up, down, mute&lt;br /&gt;
  commands:       level &amp;lt;level&amp;gt; (&amp;lt;level&amp;gt; is 0-15)&lt;br /&gt;
&lt;br /&gt;
The mute button is linked to the mute command, but volume up and down are passed to X with keycode 176 174. I&lt;br /&gt;
thought that acpi was intercepting the key and send them to X using fakekey. I played in /etc/acpi/events but I didn't managed to change the behavior.&lt;br /&gt;
&lt;br /&gt;
== Skype ==&lt;br /&gt;
&lt;br /&gt;
Everything works downloading the skype version for Etch. After suspending and resuming the video does not work anymore.&lt;br /&gt;
The error message is:&lt;br /&gt;
&lt;br /&gt;
  Skype V4L2: Could not find a suitable capture format&lt;br /&gt;
&lt;br /&gt;
Several people propose to update the uvcvideo driver.&lt;br /&gt;
  svn checkout http://svn.berlios.de/svnroot/repos/linux-uvc/&lt;br /&gt;
  cd linux-uvc/linux-uvc/trunk/&lt;br /&gt;
  make&lt;br /&gt;
  make install&lt;br /&gt;
  modprobe uvcvideo&lt;br /&gt;
&lt;br /&gt;
But I didn't tried yet cause I'm still using the experimental kernel that does not come with packages for compiling modules.&lt;br /&gt;
&lt;br /&gt;
== GTK and Firefox ==&lt;br /&gt;
&lt;br /&gt;
Fonts size are too large. Solution:&lt;br /&gt;
  $cat /home/rdemaria/.gtkrc-2.0&lt;br /&gt;
  # -- THEME AUTO-WRITTEN DO NOT EDIT&lt;br /&gt;
  include &amp;quot;/usr/share/themes/Industrial/gtk-2.0/gtkrc&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  include &amp;quot;/home/rdemaria/.gtkrc-2.0.mine&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  # -- THEME AUTO-WRITTEN DO NOT EDIT&lt;br /&gt;
&lt;br /&gt;
  $cat /home/rdemaria/.gtkrc-2.0.mine&lt;br /&gt;
  gtk-font-name = &amp;quot;Sans 8&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== Printer and scanner ==&lt;br /&gt;
&lt;br /&gt;
Usb printer and scanner (HP Officejet J4580) works perfectly using cups, hpoj, xsane, hplib.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== RAM upgrade ==&lt;br /&gt;
&lt;br /&gt;
My X200 came with 2G of ram and 1 free slots. I bought:&lt;br /&gt;
   Crucial 2GB 204-Pin DDR3 SO-DIMM DDR3 1066 (PC3 8500) Laptop Memory Model CT25664BC1067 - Retail&lt;br /&gt;
&lt;br /&gt;
installed and replace the kernel with a bigmem one.&lt;br /&gt;
&lt;br /&gt;
== Hard disk upgrade ==&lt;br /&gt;
&lt;br /&gt;
My X200 came with a 160GB hardrive. I bought the 500GB hard drive&lt;br /&gt;
   Western Digital Scorpio Blue WD5000BEVT 500GB 5400 RPM SATA 3.0Gb/s Notebook Hard Drive - OEM&lt;br /&gt;
&lt;br /&gt;
and the adapter&lt;br /&gt;
  Link Depot USB2-SATA USB2.0 TO IDE/SATA Adapter Cable - Retail&lt;br /&gt;
&lt;br /&gt;
for transfer the data.&lt;br /&gt;
&lt;br /&gt;
I connected the new hard drive using the usb port. The drive was recognized as /dev/sdb. I create the partitions that reads:&lt;br /&gt;
&lt;br /&gt;
  $ sfdisk -d /dev/sdb&lt;br /&gt;
  # partition table of /dev/sdb&lt;br /&gt;
  unit: sectors&lt;br /&gt;
&lt;br /&gt;
  /dev/sdb1 : start=       63, size= 71553447, Id=83&lt;br /&gt;
  /dev/sdb2 : start= 71553510, size=905214555, Id= 5&lt;br /&gt;
  /dev/sdb3 : start=        0, size=        0, Id= 0&lt;br /&gt;
  /dev/sdb4 : start=        0, size=        0, Id= 0&lt;br /&gt;
  /dev/sdb5 : start= 71553573, size=894467007, Id=83&lt;br /&gt;
  /dev/sdb6 : start=966020643, size= 10747422, Id=82&lt;br /&gt;
&lt;br /&gt;
Then made the filesystem and copy the files:&lt;br /&gt;
  $ sudo mkfs.ext3 /dev/sdb1&lt;br /&gt;
  $ sudo mkfs.ext3 /dev/sdb5&lt;br /&gt;
  $ sudo mkswap    /dev/sda6&lt;br /&gt;
  $ sudo mount /mnt/sdb1&lt;br /&gt;
  $ sudo mount /mnt/sdb5&lt;br /&gt;
  $ sudo rsync -a --delete \&lt;br /&gt;
  --exclude /mnt/sdb1 \&lt;br /&gt;
  --exclude /mnt/sdb5 \&lt;br /&gt;
  --exclude /home \&lt;br /&gt;
  --exclude /proc \&lt;br /&gt;
  --exclude /sys \&lt;br /&gt;
  --exclude /lib/init/rw \&lt;br /&gt;
  --exclude /dev \&lt;br /&gt;
  / /mnt/sdb1&lt;br /&gt;
  $ cd /mnt/sdb1; mkdir /home /proc /sys /lib/init/rw /dev; cd &lt;br /&gt;
  $ sudo rsync -a /home/ /mnt/sdb5&lt;br /&gt;
  $ sudo umount /mnt/sdb5; sudo umount /mnt/sdb1&lt;br /&gt;
&lt;br /&gt;
Finally install grub&lt;br /&gt;
  $ sudo grub --no-floppy&lt;br /&gt;
  $ geometry (hd1)&lt;br /&gt;
  &amp;gt; root (hd1,0)&lt;br /&gt;
  &amp;gt; setup (hd1)&lt;br /&gt;
  &amp;gt; quit&lt;br /&gt;
&lt;br /&gt;
and replace the disk. (I tried to boot from the usb to check the new hard drive, but I messed up the old installation...)&lt;br /&gt;
&lt;br /&gt;
== TO BE CONTINUED ==&lt;/div&gt;</summary>
		<author><name>Rdemaria</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Debian_Sid_(October_2008)_on_a_ThinkPad_X200&amp;diff=39713</id>
		<title>Installing Debian Sid (October 2008) on a ThinkPad X200</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Debian_Sid_(October_2008)_on_a_ThinkPad_X200&amp;diff=39713"/>
		<updated>2008-11-13T19:38:18Z</updated>

		<summary type="html">&lt;p&gt;Rdemaria: /* Kernel */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
Amazing machine: light, quiet, large battery life, ideal for travels, great value for money compared to X200T and X300.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Creating installation device ==&lt;br /&gt;
&lt;br /&gt;
The X200 has no cd/dvd but can boot from USB. On the X200 BIOS settings, the USB disk boot option needed to be raised to be used first. Using F1 at boot gives access to the BIOS.&lt;br /&gt;
&lt;br /&gt;
I created an USB bootable iso from another linux installation.&lt;br /&gt;
I had an usb stick with a FAT32 partition on /dev/sdc1. I dowloaded the boot and iso file and installed the image&lt;br /&gt;
using:&lt;br /&gt;
&lt;br /&gt;
  wget http://people.debian.org/~joeyh/d-i/images/daily/hd-media/boot.img.gz&lt;br /&gt;
  wget http://cdimage.debian.org/cdimage/daily-builds/daily/arch-latest/i386/iso-cd/debian-testing-i386-netinst.iso&lt;br /&gt;
  zcat boot.img.gz &amp;gt;/dev/sdc1&lt;br /&gt;
  mkdir /mnt/sdc1&lt;br /&gt;
  mount /dev/sdc1 /mnt/sdc1&lt;br /&gt;
  cp debian-testing-i386-netinst.iso /mnt/sdc1&lt;br /&gt;
&lt;br /&gt;
The boot stick will use the network to install the package but a more complete ISO image can be dowloaded.&lt;br /&gt;
&lt;br /&gt;
The wifi will not work (see [[Installing_Debian_on_an_X200]]) but the Ethernet card will. In theory it should be possible build custom Debian Live USB stick, using the latest package and install from there, I didn't manage so far.&lt;br /&gt;
'''Bold text'''&lt;br /&gt;
&lt;br /&gt;
== Sid installation ==&lt;br /&gt;
&lt;br /&gt;
To install sid use the expert installation support and choose unstable for the repository.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Backup hard drive data ==&lt;br /&gt;
&lt;br /&gt;
In order to save the hard drive content, I created complete hard drive image on another hard disk. During the installation procedure I activated another shell with CTRL-ALT-F3, mounted an external HD (/dev/sdb1) and copied the image with:&lt;br /&gt;
&lt;br /&gt;
  mkdir /mnt/sdb1&lt;br /&gt;
  mount /dev/sdb1 /mnt/sdb1/&lt;br /&gt;
  dd if=/dev/sda of=/mnt/sdb1/sda-image&lt;br /&gt;
&lt;br /&gt;
In principle partimage is better option but the installation image does not have it. Also gzipping the partition on the fly would have bin better, but the gzip or bzip2 were not present. Using a custom Debian Live installation image would solve the problem.&lt;br /&gt;
&lt;br /&gt;
== Kernel ==&lt;br /&gt;
&lt;br /&gt;
Some kernel options here:&lt;br /&gt;
  &lt;br /&gt;
  root=/dev/sda1 ro acpi_sleep=s3_bios vga=868 video=vesafb&lt;br /&gt;
&lt;br /&gt;
== Video ==&lt;br /&gt;
&lt;br /&gt;
Video driver 2:2.3.2-2+lenny5 is not stable enough. Video get garbled from time to time. Vesa driver is not that slow.&lt;br /&gt;
&lt;br /&gt;
This is a simple xorg.conf:&lt;br /&gt;
&lt;br /&gt;
  $ cat /etc/X11/xorg.conf &lt;br /&gt;
  Section &amp;quot;InputDevice&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;Generic Keyboard&amp;quot;&lt;br /&gt;
        Driver          &amp;quot;kbd&amp;quot;&lt;br /&gt;
        Option          &amp;quot;XkbRules&amp;quot;      &amp;quot;xorg&amp;quot;&lt;br /&gt;
        Option          &amp;quot;XkbModel&amp;quot;      &amp;quot;pc104&amp;quot;&lt;br /&gt;
        Option          &amp;quot;XkbLayout&amp;quot;     &amp;quot;us,us(intl)&amp;quot;&lt;br /&gt;
        Option          &amp;quot;XkbOptions&amp;quot;    &amp;quot;compose(lwin),compose(rwin),grp:shifts_toggle,grp_led:scroll&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
  Section &amp;quot;InputDevice&amp;quot;&lt;br /&gt;
        Identifier  &amp;quot;Configured Mouse&amp;quot;&lt;br /&gt;
        Driver      &amp;quot;mouse&amp;quot;&lt;br /&gt;
        Option      &amp;quot;CorePointer&amp;quot;&lt;br /&gt;
        Option      &amp;quot;Device&amp;quot; &amp;quot;/dev/input/mouse0&amp;quot;&lt;br /&gt;
        Option      &amp;quot;Protocol&amp;quot; &amp;quot;ImPS/2&amp;quot;&lt;br /&gt;
        Option      &amp;quot;EmulateWheel&amp;quot; &amp;quot;on&amp;quot;&lt;br /&gt;
        Option      &amp;quot;EmulateWheelButton&amp;quot; &amp;quot;2&amp;quot;&lt;br /&gt;
        Option      &amp;quot;EmulateWheelTimeout&amp;quot; &amp;quot;250&amp;quot;&lt;br /&gt;
        Option      &amp;quot;XAxisMapping&amp;quot; &amp;quot;6 7&amp;quot;&lt;br /&gt;
        Option      &amp;quot;YAxisMapping&amp;quot; &amp;quot;4 5&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
  Section &amp;quot;Screen&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;Default Screen&amp;quot;&lt;br /&gt;
        Monitor         &amp;quot;Configured Monitor&amp;quot;&lt;br /&gt;
        Defaultdepth    24&lt;br /&gt;
        SubSection &amp;quot;Display&amp;quot;&lt;br /&gt;
                Modes           &amp;quot;1280x800&amp;quot;&lt;br /&gt;
  #             Virtual    2048 864&lt;br /&gt;
        EndSubSection&lt;br /&gt;
  EndSection&lt;br /&gt;
  Section &amp;quot;Monitor&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;Configured Monitor&amp;quot;&lt;br /&gt;
        DisplaySize     231 233.5 #fake smaller dpi&lt;br /&gt;
  EndSection&lt;br /&gt;
  Section &amp;quot;Monitor&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;HDMI-1&amp;quot;&lt;br /&gt;
        Option          &amp;quot;Ignore&amp;quot; &amp;quot;True&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
  Section &amp;quot;Monitor&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;HDMI-2&amp;quot;&lt;br /&gt;
        Option          &amp;quot;Ignore&amp;quot; &amp;quot;True&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
  Section &amp;quot;Device&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;Configured Video Device&amp;quot;&lt;br /&gt;
  #        Driver          &amp;quot;intel&amp;quot;&lt;br /&gt;
        Driver          &amp;quot;vesa&amp;quot;&lt;br /&gt;
        Option          &amp;quot;monitor-HDMI-1&amp;quot; &amp;quot;HDMI-1&amp;quot;&lt;br /&gt;
        Option          &amp;quot;monitor-HDMI-2&amp;quot; &amp;quot;HDMI-2&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
&lt;br /&gt;
== Fonts ==&lt;br /&gt;
&lt;br /&gt;
Default fonts are a bit ugly. Things get better by creating some symbolic link:&lt;br /&gt;
&lt;br /&gt;
  cd /etc/fonts/conf.d&lt;br /&gt;
  ln -s ../conf.avail/10-autohint.conf&lt;br /&gt;
  ln -s ../conf.avail/10-sub-pixel-rgb.conf&lt;br /&gt;
  ln -s ../conf.avail/70-no-bitmaps.conf&lt;br /&gt;
&lt;br /&gt;
For GTK and Firefox&lt;br /&gt;
&lt;br /&gt;
Fonts size are too large. Solution:&lt;br /&gt;
  $cat ~/.gtkrc-2.0&lt;br /&gt;
  # -- THEME AUTO-WRITTEN DO NOT EDIT&lt;br /&gt;
  include &amp;quot;/usr/share/themes/Industrial/gtk-2.0/gtkrc&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  include &amp;quot;/home/rdemaria/.gtkrc-2.0.mine&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  # -- THEME AUTO-WRITTEN DO NOT EDIT&lt;br /&gt;
&lt;br /&gt;
  $cat ~/.gtkrc-2.0.mine&lt;br /&gt;
  gtk-font-name = &amp;quot;Sans 8&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Bold font are also ugly on xvrt (in xterm the bold font control seems always broken). See below for the solution.&lt;br /&gt;
&lt;br /&gt;
== Terminal ==&lt;br /&gt;
&lt;br /&gt;
I tried several terminals. But I found rxvt-unicode the easiest and fastest. This resources allow 4 terminals in one window. Bold font (unreadable to me) are disabled.&lt;br /&gt;
  $cat ~/.Xresources&lt;br /&gt;
  rxvt*cutchars: \$:[]&lt;br /&gt;
  rxvt*visualBell: true&lt;br /&gt;
  rxvt*foreground: white&lt;br /&gt;
  rxvt*background: black&lt;br /&gt;
  rxvt*geometry: 80x27&lt;br /&gt;
  rxvt*jumpScroll: true&lt;br /&gt;
  rxvt*skipScroll: true&lt;br /&gt;
  rxvt*scrollBar: false&lt;br /&gt;
  rxvt*boldFont:&lt;br /&gt;
  rxvt*boldItalicFont:&lt;br /&gt;
  rxvt*saveLines: 9096&lt;br /&gt;
  rxvt*mouseWheelScrollPage: false&lt;br /&gt;
&lt;br /&gt;
== Wifi ==&lt;br /&gt;
&lt;br /&gt;
Put in the /etc/apt/source.list&lt;br /&gt;
&lt;br /&gt;
  deb http://kernel-archive.buildserver.net/debian-kernel trunk main &lt;br /&gt;
&lt;br /&gt;
Installed linux-image-2.6.27-1 and firmware&lt;br /&gt;
&lt;br /&gt;
  wget http://intellinuxwireless.org/iwlwifi/downloads/iwlwifi-5000-ucode-5.4.A.11.tar.gz&lt;br /&gt;
  tar xvfz iwlwifi-5000-ucode-5.4.A.11.tar.gz&lt;br /&gt;
  cp  iwlwifi-5000-ucode-5.4.A.11/iwlwifi-5000-1.ucode /lib/firmware&lt;br /&gt;
  aptitude install linux-image-2.6.27-1-686 hal&lt;br /&gt;
&lt;br /&gt;
== Suspend ==&lt;br /&gt;
&lt;br /&gt;
Suspend to disk works using the button Fn+F12.&lt;br /&gt;
&lt;br /&gt;
Suspend to ram (Fn+F4) does not work with intel driver.&lt;br /&gt;
Using vesa driver, it seemed it worked, but now I have the lcd back light not switching on. &lt;br /&gt;
&lt;br /&gt;
I tried some of the remedies in [[Problem_with_display_remaining_black_after_resume]] but without success.&lt;br /&gt;
&lt;br /&gt;
The trackpoint occasionally stops working after a resume. Apparently it is enough to move it &lt;br /&gt;
a little bit during the resume.&lt;br /&gt;
&lt;br /&gt;
== Special keys ==&lt;br /&gt;
&lt;br /&gt;
Some keys are intercepted by X Windows. The keycodes are&lt;br /&gt;
&lt;br /&gt;
  227 Fn&lt;br /&gt;
  234 Tab left&lt;br /&gt;
  233 Tab right&lt;br /&gt;
  176 Volume up&lt;br /&gt;
  174 Volume dn&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Mute switch the hardware volume which is not controlled by ALSA.&lt;br /&gt;
&lt;br /&gt;
ACPI links suspend to ram and to disc to Fn+F4 and Fn+F12 respectively. Screen brightness, thinklight, bluetooth works as well.&lt;br /&gt;
&lt;br /&gt;
== Sound ==&lt;br /&gt;
&lt;br /&gt;
Everything works, but in a strange way. The hardware volume control is managed by acpi&lt;br /&gt;
&lt;br /&gt;
  $ cat /proc/acpi/ibm/volume&lt;br /&gt;
  level:          8&lt;br /&gt;
  mute:           off&lt;br /&gt;
  commands:       up, down, mute&lt;br /&gt;
  commands:       level &amp;lt;level&amp;gt; (&amp;lt;level&amp;gt; is 0-15)&lt;br /&gt;
&lt;br /&gt;
The mute button is linked to the mute command, but volume up and down are passed to X with keycode 176 174. I&lt;br /&gt;
thought that acpi was intercepting the key and send them to X using fakekey. I played in /etc/acpi/events but I didn't managed to change the behavior.&lt;br /&gt;
&lt;br /&gt;
== Skype ==&lt;br /&gt;
&lt;br /&gt;
Everything works downloading the skype version for Etch. After suspending and resuming the video does not work anymore.&lt;br /&gt;
The error message is:&lt;br /&gt;
&lt;br /&gt;
  Skype V4L2: Could not find a suitable capture format&lt;br /&gt;
&lt;br /&gt;
Several people propose to update the uvcvideo driver.&lt;br /&gt;
  svn checkout http://svn.berlios.de/svnroot/repos/linux-uvc/&lt;br /&gt;
  cd linux-uvc/linux-uvc/trunk/&lt;br /&gt;
  make&lt;br /&gt;
  make install&lt;br /&gt;
  modprobe uvcvideo&lt;br /&gt;
&lt;br /&gt;
But I didn't tried yet cause I'm still using the experimental kernel that does not come with packages for compiling modules.&lt;br /&gt;
&lt;br /&gt;
== GTK and Firefox ==&lt;br /&gt;
&lt;br /&gt;
Fonts size are too large. Solution:&lt;br /&gt;
  $cat /home/rdemaria/.gtkrc-2.0&lt;br /&gt;
  # -- THEME AUTO-WRITTEN DO NOT EDIT&lt;br /&gt;
  include &amp;quot;/usr/share/themes/Industrial/gtk-2.0/gtkrc&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  include &amp;quot;/home/rdemaria/.gtkrc-2.0.mine&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  # -- THEME AUTO-WRITTEN DO NOT EDIT&lt;br /&gt;
&lt;br /&gt;
  $cat /home/rdemaria/.gtkrc-2.0.mine&lt;br /&gt;
  gtk-font-name = &amp;quot;Sans 8&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== Printer and scanner ==&lt;br /&gt;
&lt;br /&gt;
Usb printer and scanner (HP Officejet J4580) works perfectly using cups, hpoj, xsane, hplib.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== RAM upgrade ==&lt;br /&gt;
&lt;br /&gt;
My X200 came with 2G of ram and 1 free slots. I bought:&lt;br /&gt;
   Crucial 2GB 204-Pin DDR3 SO-DIMM DDR3 1066 (PC3 8500) Laptop Memory Model CT25664BC1067 - Retail&lt;br /&gt;
&lt;br /&gt;
installed and replace the kernel with a bigmem one.&lt;br /&gt;
&lt;br /&gt;
== Hard disk upgrade ==&lt;br /&gt;
&lt;br /&gt;
My X200 came with a 160GB hardrive. I bought the 500GB hard drive&lt;br /&gt;
   Western Digital Scorpio Blue WD5000BEVT 500GB 5400 RPM SATA 3.0Gb/s Notebook Hard Drive - OEM&lt;br /&gt;
&lt;br /&gt;
and the adapter&lt;br /&gt;
  Link Depot USB2-SATA USB2.0 TO IDE/SATA Adapter Cable - Retail&lt;br /&gt;
&lt;br /&gt;
for transfer the data.&lt;br /&gt;
&lt;br /&gt;
I connected the new hard drive using the usb port. The drive was recognized as /dev/sdb. I create the partitions that reads:&lt;br /&gt;
&lt;br /&gt;
  $ sfdisk -d /dev/sdb&lt;br /&gt;
  # partition table of /dev/sdb&lt;br /&gt;
  unit: sectors&lt;br /&gt;
&lt;br /&gt;
  /dev/sdb1 : start=       63, size= 71553447, Id=83&lt;br /&gt;
  /dev/sdb2 : start= 71553510, size=905214555, Id= 5&lt;br /&gt;
  /dev/sdb3 : start=        0, size=        0, Id= 0&lt;br /&gt;
  /dev/sdb4 : start=        0, size=        0, Id= 0&lt;br /&gt;
  /dev/sdb5 : start= 71553573, size=894467007, Id=83&lt;br /&gt;
  /dev/sdb6 : start=966020643, size= 10747422, Id=82&lt;br /&gt;
&lt;br /&gt;
Then made the filesystem and copy the files:&lt;br /&gt;
  $ sudo mkfs.ext3 /dev/sdb1&lt;br /&gt;
  $ sudo mkfs.ext3 /dev/sdb5&lt;br /&gt;
  $ sudo mkswap    /dev/sda6&lt;br /&gt;
  $ sudo mount /mnt/sdb1&lt;br /&gt;
  $ sudo mount /mnt/sdb5&lt;br /&gt;
  $ sudo rsync -a --delete \&lt;br /&gt;
  --exclude /mnt/sdb1 \&lt;br /&gt;
  --exclude /mnt/sdb5 \&lt;br /&gt;
  --exclude /home \&lt;br /&gt;
  --exclude /proc \&lt;br /&gt;
  --exclude /sys \&lt;br /&gt;
  --exclude /lib/init/rw \&lt;br /&gt;
  --exclude /dev \&lt;br /&gt;
  / /mnt/sdb1&lt;br /&gt;
  $ cd /mnt/sdb1; mkdir /home /proc /sys /lib/init/rw /dev; cd &lt;br /&gt;
  $ sudo rsync -a /home/ /mnt/sdb5&lt;br /&gt;
  $ sudo umount /mnt/sdb5; sudo umount /mnt/sdb1&lt;br /&gt;
&lt;br /&gt;
Finally install grub&lt;br /&gt;
  $ sudo grub --no-floppy&lt;br /&gt;
  $ geometry (hd1)&lt;br /&gt;
  &amp;gt; root (hd1,0)&lt;br /&gt;
  &amp;gt; setup (hd1)&lt;br /&gt;
  &amp;gt; quit&lt;br /&gt;
&lt;br /&gt;
and replace the disk. (I tried to boot from the usb to check the new hard drive, but I messed up the old installation...)&lt;br /&gt;
&lt;br /&gt;
== TO BE CONTINUED ==&lt;/div&gt;</summary>
		<author><name>Rdemaria</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Debian_Sid_(October_2008)_on_a_ThinkPad_X200&amp;diff=39712</id>
		<title>Installing Debian Sid (October 2008) on a ThinkPad X200</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Debian_Sid_(October_2008)_on_a_ThinkPad_X200&amp;diff=39712"/>
		<updated>2008-11-13T19:37:17Z</updated>

		<summary type="html">&lt;p&gt;Rdemaria: /* Hard disk upgrade */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
Amazing machine: light, quiet, large battery life, ideal for travels, great value for money compared to X200T and X300.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Creating installation device ==&lt;br /&gt;
&lt;br /&gt;
The X200 has no cd/dvd but can boot from USB. On the X200 BIOS settings, the USB disk boot option needed to be raised to be used first. Using F1 at boot gives access to the BIOS.&lt;br /&gt;
&lt;br /&gt;
I created an USB bootable iso from another linux installation.&lt;br /&gt;
I had an usb stick with a FAT32 partition on /dev/sdc1. I dowloaded the boot and iso file and installed the image&lt;br /&gt;
using:&lt;br /&gt;
&lt;br /&gt;
  wget http://people.debian.org/~joeyh/d-i/images/daily/hd-media/boot.img.gz&lt;br /&gt;
  wget http://cdimage.debian.org/cdimage/daily-builds/daily/arch-latest/i386/iso-cd/debian-testing-i386-netinst.iso&lt;br /&gt;
  zcat boot.img.gz &amp;gt;/dev/sdc1&lt;br /&gt;
  mkdir /mnt/sdc1&lt;br /&gt;
  mount /dev/sdc1 /mnt/sdc1&lt;br /&gt;
  cp debian-testing-i386-netinst.iso /mnt/sdc1&lt;br /&gt;
&lt;br /&gt;
The boot stick will use the network to install the package but a more complete ISO image can be dowloaded.&lt;br /&gt;
&lt;br /&gt;
The wifi will not work (see [[Installing_Debian_on_an_X200]]) but the Ethernet card will. In theory it should be possible build custom Debian Live USB stick, using the latest package and install from there, I didn't manage so far.&lt;br /&gt;
'''Bold text'''&lt;br /&gt;
&lt;br /&gt;
== Sid installation ==&lt;br /&gt;
&lt;br /&gt;
To install sid use the expert installation support and choose unstable for the repository.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Backup hard drive data ==&lt;br /&gt;
&lt;br /&gt;
In order to save the hard drive content, I created complete hard drive image on another hard disk. During the installation procedure I activated another shell with CTRL-ALT-F3, mounted an external HD (/dev/sdb1) and copied the image with:&lt;br /&gt;
&lt;br /&gt;
  mkdir /mnt/sdb1&lt;br /&gt;
  mount /dev/sdb1 /mnt/sdb1/&lt;br /&gt;
  dd if=/dev/sda of=/mnt/sdb1/sda-image&lt;br /&gt;
&lt;br /&gt;
In principle partimage is better option but the installation image does not have it. Also gzipping the partition on the fly would have bin better, but the gzip or bzip2 were not present. Using a custom Debian Live installation image would solve the problem.&lt;br /&gt;
&lt;br /&gt;
== Kernel ==&lt;br /&gt;
&lt;br /&gt;
Some kernel options here:&lt;br /&gt;
  &lt;br /&gt;
  root=/dev/sda1 ro acpi_sleep=s3_bios vga=360 video=vesafb,mtrr&lt;br /&gt;
&lt;br /&gt;
== Video ==&lt;br /&gt;
&lt;br /&gt;
Video driver 2:2.3.2-2+lenny5 is not stable enough. Video get garbled from time to time. Vesa driver is not that slow.&lt;br /&gt;
&lt;br /&gt;
This is a simple xorg.conf:&lt;br /&gt;
&lt;br /&gt;
  $ cat /etc/X11/xorg.conf &lt;br /&gt;
  Section &amp;quot;InputDevice&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;Generic Keyboard&amp;quot;&lt;br /&gt;
        Driver          &amp;quot;kbd&amp;quot;&lt;br /&gt;
        Option          &amp;quot;XkbRules&amp;quot;      &amp;quot;xorg&amp;quot;&lt;br /&gt;
        Option          &amp;quot;XkbModel&amp;quot;      &amp;quot;pc104&amp;quot;&lt;br /&gt;
        Option          &amp;quot;XkbLayout&amp;quot;     &amp;quot;us,us(intl)&amp;quot;&lt;br /&gt;
        Option          &amp;quot;XkbOptions&amp;quot;    &amp;quot;compose(lwin),compose(rwin),grp:shifts_toggle,grp_led:scroll&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
  Section &amp;quot;InputDevice&amp;quot;&lt;br /&gt;
        Identifier  &amp;quot;Configured Mouse&amp;quot;&lt;br /&gt;
        Driver      &amp;quot;mouse&amp;quot;&lt;br /&gt;
        Option      &amp;quot;CorePointer&amp;quot;&lt;br /&gt;
        Option      &amp;quot;Device&amp;quot; &amp;quot;/dev/input/mouse0&amp;quot;&lt;br /&gt;
        Option      &amp;quot;Protocol&amp;quot; &amp;quot;ImPS/2&amp;quot;&lt;br /&gt;
        Option      &amp;quot;EmulateWheel&amp;quot; &amp;quot;on&amp;quot;&lt;br /&gt;
        Option      &amp;quot;EmulateWheelButton&amp;quot; &amp;quot;2&amp;quot;&lt;br /&gt;
        Option      &amp;quot;EmulateWheelTimeout&amp;quot; &amp;quot;250&amp;quot;&lt;br /&gt;
        Option      &amp;quot;XAxisMapping&amp;quot; &amp;quot;6 7&amp;quot;&lt;br /&gt;
        Option      &amp;quot;YAxisMapping&amp;quot; &amp;quot;4 5&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
  Section &amp;quot;Screen&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;Default Screen&amp;quot;&lt;br /&gt;
        Monitor         &amp;quot;Configured Monitor&amp;quot;&lt;br /&gt;
        Defaultdepth    24&lt;br /&gt;
        SubSection &amp;quot;Display&amp;quot;&lt;br /&gt;
                Modes           &amp;quot;1280x800&amp;quot;&lt;br /&gt;
  #             Virtual    2048 864&lt;br /&gt;
        EndSubSection&lt;br /&gt;
  EndSection&lt;br /&gt;
  Section &amp;quot;Monitor&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;Configured Monitor&amp;quot;&lt;br /&gt;
        DisplaySize     231 233.5 #fake smaller dpi&lt;br /&gt;
  EndSection&lt;br /&gt;
  Section &amp;quot;Monitor&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;HDMI-1&amp;quot;&lt;br /&gt;
        Option          &amp;quot;Ignore&amp;quot; &amp;quot;True&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
  Section &amp;quot;Monitor&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;HDMI-2&amp;quot;&lt;br /&gt;
        Option          &amp;quot;Ignore&amp;quot; &amp;quot;True&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
  Section &amp;quot;Device&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;Configured Video Device&amp;quot;&lt;br /&gt;
  #        Driver          &amp;quot;intel&amp;quot;&lt;br /&gt;
        Driver          &amp;quot;vesa&amp;quot;&lt;br /&gt;
        Option          &amp;quot;monitor-HDMI-1&amp;quot; &amp;quot;HDMI-1&amp;quot;&lt;br /&gt;
        Option          &amp;quot;monitor-HDMI-2&amp;quot; &amp;quot;HDMI-2&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
&lt;br /&gt;
== Fonts ==&lt;br /&gt;
&lt;br /&gt;
Default fonts are a bit ugly. Things get better by creating some symbolic link:&lt;br /&gt;
&lt;br /&gt;
  cd /etc/fonts/conf.d&lt;br /&gt;
  ln -s ../conf.avail/10-autohint.conf&lt;br /&gt;
  ln -s ../conf.avail/10-sub-pixel-rgb.conf&lt;br /&gt;
  ln -s ../conf.avail/70-no-bitmaps.conf&lt;br /&gt;
&lt;br /&gt;
For GTK and Firefox&lt;br /&gt;
&lt;br /&gt;
Fonts size are too large. Solution:&lt;br /&gt;
  $cat ~/.gtkrc-2.0&lt;br /&gt;
  # -- THEME AUTO-WRITTEN DO NOT EDIT&lt;br /&gt;
  include &amp;quot;/usr/share/themes/Industrial/gtk-2.0/gtkrc&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  include &amp;quot;/home/rdemaria/.gtkrc-2.0.mine&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  # -- THEME AUTO-WRITTEN DO NOT EDIT&lt;br /&gt;
&lt;br /&gt;
  $cat ~/.gtkrc-2.0.mine&lt;br /&gt;
  gtk-font-name = &amp;quot;Sans 8&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Bold font are also ugly on xvrt (in xterm the bold font control seems always broken). See below for the solution.&lt;br /&gt;
&lt;br /&gt;
== Terminal ==&lt;br /&gt;
&lt;br /&gt;
I tried several terminals. But I found rxvt-unicode the easiest and fastest. This resources allow 4 terminals in one window. Bold font (unreadable to me) are disabled.&lt;br /&gt;
  $cat ~/.Xresources&lt;br /&gt;
  rxvt*cutchars: \$:[]&lt;br /&gt;
  rxvt*visualBell: true&lt;br /&gt;
  rxvt*foreground: white&lt;br /&gt;
  rxvt*background: black&lt;br /&gt;
  rxvt*geometry: 80x27&lt;br /&gt;
  rxvt*jumpScroll: true&lt;br /&gt;
  rxvt*skipScroll: true&lt;br /&gt;
  rxvt*scrollBar: false&lt;br /&gt;
  rxvt*boldFont:&lt;br /&gt;
  rxvt*boldItalicFont:&lt;br /&gt;
  rxvt*saveLines: 9096&lt;br /&gt;
  rxvt*mouseWheelScrollPage: false&lt;br /&gt;
&lt;br /&gt;
== Wifi ==&lt;br /&gt;
&lt;br /&gt;
Put in the /etc/apt/source.list&lt;br /&gt;
&lt;br /&gt;
  deb http://kernel-archive.buildserver.net/debian-kernel trunk main &lt;br /&gt;
&lt;br /&gt;
Installed linux-image-2.6.27-1 and firmware&lt;br /&gt;
&lt;br /&gt;
  wget http://intellinuxwireless.org/iwlwifi/downloads/iwlwifi-5000-ucode-5.4.A.11.tar.gz&lt;br /&gt;
  tar xvfz iwlwifi-5000-ucode-5.4.A.11.tar.gz&lt;br /&gt;
  cp  iwlwifi-5000-ucode-5.4.A.11/iwlwifi-5000-1.ucode /lib/firmware&lt;br /&gt;
  aptitude install linux-image-2.6.27-1-686 hal&lt;br /&gt;
&lt;br /&gt;
== Suspend ==&lt;br /&gt;
&lt;br /&gt;
Suspend to disk works using the button Fn+F12.&lt;br /&gt;
&lt;br /&gt;
Suspend to ram (Fn+F4) does not work with intel driver.&lt;br /&gt;
Using vesa driver, it seemed it worked, but now I have the lcd back light not switching on. &lt;br /&gt;
&lt;br /&gt;
I tried some of the remedies in [[Problem_with_display_remaining_black_after_resume]] but without success.&lt;br /&gt;
&lt;br /&gt;
The trackpoint occasionally stops working after a resume. Apparently it is enough to move it &lt;br /&gt;
a little bit during the resume.&lt;br /&gt;
&lt;br /&gt;
== Special keys ==&lt;br /&gt;
&lt;br /&gt;
Some keys are intercepted by X Windows. The keycodes are&lt;br /&gt;
&lt;br /&gt;
  227 Fn&lt;br /&gt;
  234 Tab left&lt;br /&gt;
  233 Tab right&lt;br /&gt;
  176 Volume up&lt;br /&gt;
  174 Volume dn&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Mute switch the hardware volume which is not controlled by ALSA.&lt;br /&gt;
&lt;br /&gt;
ACPI links suspend to ram and to disc to Fn+F4 and Fn+F12 respectively. Screen brightness, thinklight, bluetooth works as well.&lt;br /&gt;
&lt;br /&gt;
== Sound ==&lt;br /&gt;
&lt;br /&gt;
Everything works, but in a strange way. The hardware volume control is managed by acpi&lt;br /&gt;
&lt;br /&gt;
  $ cat /proc/acpi/ibm/volume&lt;br /&gt;
  level:          8&lt;br /&gt;
  mute:           off&lt;br /&gt;
  commands:       up, down, mute&lt;br /&gt;
  commands:       level &amp;lt;level&amp;gt; (&amp;lt;level&amp;gt; is 0-15)&lt;br /&gt;
&lt;br /&gt;
The mute button is linked to the mute command, but volume up and down are passed to X with keycode 176 174. I&lt;br /&gt;
thought that acpi was intercepting the key and send them to X using fakekey. I played in /etc/acpi/events but I didn't managed to change the behavior.&lt;br /&gt;
&lt;br /&gt;
== Skype ==&lt;br /&gt;
&lt;br /&gt;
Everything works downloading the skype version for Etch. After suspending and resuming the video does not work anymore.&lt;br /&gt;
The error message is:&lt;br /&gt;
&lt;br /&gt;
  Skype V4L2: Could not find a suitable capture format&lt;br /&gt;
&lt;br /&gt;
Several people propose to update the uvcvideo driver.&lt;br /&gt;
  svn checkout http://svn.berlios.de/svnroot/repos/linux-uvc/&lt;br /&gt;
  cd linux-uvc/linux-uvc/trunk/&lt;br /&gt;
  make&lt;br /&gt;
  make install&lt;br /&gt;
  modprobe uvcvideo&lt;br /&gt;
&lt;br /&gt;
But I didn't tried yet cause I'm still using the experimental kernel that does not come with packages for compiling modules.&lt;br /&gt;
&lt;br /&gt;
== GTK and Firefox ==&lt;br /&gt;
&lt;br /&gt;
Fonts size are too large. Solution:&lt;br /&gt;
  $cat /home/rdemaria/.gtkrc-2.0&lt;br /&gt;
  # -- THEME AUTO-WRITTEN DO NOT EDIT&lt;br /&gt;
  include &amp;quot;/usr/share/themes/Industrial/gtk-2.0/gtkrc&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  include &amp;quot;/home/rdemaria/.gtkrc-2.0.mine&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  # -- THEME AUTO-WRITTEN DO NOT EDIT&lt;br /&gt;
&lt;br /&gt;
  $cat /home/rdemaria/.gtkrc-2.0.mine&lt;br /&gt;
  gtk-font-name = &amp;quot;Sans 8&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== Printer and scanner ==&lt;br /&gt;
&lt;br /&gt;
Usb printer and scanner (HP Officejet J4580) works perfectly using cups, hpoj, xsane, hplib.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== RAM upgrade ==&lt;br /&gt;
&lt;br /&gt;
My X200 came with 2G of ram and 1 free slots. I bought:&lt;br /&gt;
   Crucial 2GB 204-Pin DDR3 SO-DIMM DDR3 1066 (PC3 8500) Laptop Memory Model CT25664BC1067 - Retail&lt;br /&gt;
&lt;br /&gt;
installed and replace the kernel with a bigmem one.&lt;br /&gt;
&lt;br /&gt;
== Hard disk upgrade ==&lt;br /&gt;
&lt;br /&gt;
My X200 came with a 160GB hardrive. I bought the 500GB hard drive&lt;br /&gt;
   Western Digital Scorpio Blue WD5000BEVT 500GB 5400 RPM SATA 3.0Gb/s Notebook Hard Drive - OEM&lt;br /&gt;
&lt;br /&gt;
and the adapter&lt;br /&gt;
  Link Depot USB2-SATA USB2.0 TO IDE/SATA Adapter Cable - Retail&lt;br /&gt;
&lt;br /&gt;
for transfer the data.&lt;br /&gt;
&lt;br /&gt;
I connected the new hard drive using the usb port. The drive was recognized as /dev/sdb. I create the partitions that reads:&lt;br /&gt;
&lt;br /&gt;
  $ sfdisk -d /dev/sdb&lt;br /&gt;
  # partition table of /dev/sdb&lt;br /&gt;
  unit: sectors&lt;br /&gt;
&lt;br /&gt;
  /dev/sdb1 : start=       63, size= 71553447, Id=83&lt;br /&gt;
  /dev/sdb2 : start= 71553510, size=905214555, Id= 5&lt;br /&gt;
  /dev/sdb3 : start=        0, size=        0, Id= 0&lt;br /&gt;
  /dev/sdb4 : start=        0, size=        0, Id= 0&lt;br /&gt;
  /dev/sdb5 : start= 71553573, size=894467007, Id=83&lt;br /&gt;
  /dev/sdb6 : start=966020643, size= 10747422, Id=82&lt;br /&gt;
&lt;br /&gt;
Then made the filesystem and copy the files:&lt;br /&gt;
  $ sudo mkfs.ext3 /dev/sdb1&lt;br /&gt;
  $ sudo mkfs.ext3 /dev/sdb5&lt;br /&gt;
  $ sudo mkswap    /dev/sda6&lt;br /&gt;
  $ sudo mount /mnt/sdb1&lt;br /&gt;
  $ sudo mount /mnt/sdb5&lt;br /&gt;
  $ sudo rsync -a --delete \&lt;br /&gt;
  --exclude /mnt/sdb1 \&lt;br /&gt;
  --exclude /mnt/sdb5 \&lt;br /&gt;
  --exclude /home \&lt;br /&gt;
  --exclude /proc \&lt;br /&gt;
  --exclude /sys \&lt;br /&gt;
  --exclude /lib/init/rw \&lt;br /&gt;
  --exclude /dev \&lt;br /&gt;
  / /mnt/sdb1&lt;br /&gt;
  $ cd /mnt/sdb1; mkdir /home /proc /sys /lib/init/rw /dev; cd &lt;br /&gt;
  $ sudo rsync -a /home/ /mnt/sdb5&lt;br /&gt;
  $ sudo umount /mnt/sdb5; sudo umount /mnt/sdb1&lt;br /&gt;
&lt;br /&gt;
Finally install grub&lt;br /&gt;
  $ sudo grub --no-floppy&lt;br /&gt;
  $ geometry (hd1)&lt;br /&gt;
  &amp;gt; root (hd1,0)&lt;br /&gt;
  &amp;gt; setup (hd1)&lt;br /&gt;
  &amp;gt; quit&lt;br /&gt;
&lt;br /&gt;
and replace the disk. (I tried to boot from the usb to check the new hard drive, but I messed up the old installation...)&lt;br /&gt;
&lt;br /&gt;
== TO BE CONTINUED ==&lt;/div&gt;</summary>
		<author><name>Rdemaria</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Debian_Sid_(October_2008)_on_a_ThinkPad_X200&amp;diff=39711</id>
		<title>Installing Debian Sid (October 2008) on a ThinkPad X200</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Debian_Sid_(October_2008)_on_a_ThinkPad_X200&amp;diff=39711"/>
		<updated>2008-11-13T19:29:51Z</updated>

		<summary type="html">&lt;p&gt;Rdemaria: /* Hard disk upgrade */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
Amazing machine: light, quiet, large battery life, ideal for travels, great value for money compared to X200T and X300.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Creating installation device ==&lt;br /&gt;
&lt;br /&gt;
The X200 has no cd/dvd but can boot from USB. On the X200 BIOS settings, the USB disk boot option needed to be raised to be used first. Using F1 at boot gives access to the BIOS.&lt;br /&gt;
&lt;br /&gt;
I created an USB bootable iso from another linux installation.&lt;br /&gt;
I had an usb stick with a FAT32 partition on /dev/sdc1. I dowloaded the boot and iso file and installed the image&lt;br /&gt;
using:&lt;br /&gt;
&lt;br /&gt;
  wget http://people.debian.org/~joeyh/d-i/images/daily/hd-media/boot.img.gz&lt;br /&gt;
  wget http://cdimage.debian.org/cdimage/daily-builds/daily/arch-latest/i386/iso-cd/debian-testing-i386-netinst.iso&lt;br /&gt;
  zcat boot.img.gz &amp;gt;/dev/sdc1&lt;br /&gt;
  mkdir /mnt/sdc1&lt;br /&gt;
  mount /dev/sdc1 /mnt/sdc1&lt;br /&gt;
  cp debian-testing-i386-netinst.iso /mnt/sdc1&lt;br /&gt;
&lt;br /&gt;
The boot stick will use the network to install the package but a more complete ISO image can be dowloaded.&lt;br /&gt;
&lt;br /&gt;
The wifi will not work (see [[Installing_Debian_on_an_X200]]) but the Ethernet card will. In theory it should be possible build custom Debian Live USB stick, using the latest package and install from there, I didn't manage so far.&lt;br /&gt;
'''Bold text'''&lt;br /&gt;
&lt;br /&gt;
== Sid installation ==&lt;br /&gt;
&lt;br /&gt;
To install sid use the expert installation support and choose unstable for the repository.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Backup hard drive data ==&lt;br /&gt;
&lt;br /&gt;
In order to save the hard drive content, I created complete hard drive image on another hard disk. During the installation procedure I activated another shell with CTRL-ALT-F3, mounted an external HD (/dev/sdb1) and copied the image with:&lt;br /&gt;
&lt;br /&gt;
  mkdir /mnt/sdb1&lt;br /&gt;
  mount /dev/sdb1 /mnt/sdb1/&lt;br /&gt;
  dd if=/dev/sda of=/mnt/sdb1/sda-image&lt;br /&gt;
&lt;br /&gt;
In principle partimage is better option but the installation image does not have it. Also gzipping the partition on the fly would have bin better, but the gzip or bzip2 were not present. Using a custom Debian Live installation image would solve the problem.&lt;br /&gt;
&lt;br /&gt;
== Kernel ==&lt;br /&gt;
&lt;br /&gt;
Some kernel options here:&lt;br /&gt;
  &lt;br /&gt;
  root=/dev/sda1 ro acpi_sleep=s3_bios vga=360 video=vesafb,mtrr&lt;br /&gt;
&lt;br /&gt;
== Video ==&lt;br /&gt;
&lt;br /&gt;
Video driver 2:2.3.2-2+lenny5 is not stable enough. Video get garbled from time to time. Vesa driver is not that slow.&lt;br /&gt;
&lt;br /&gt;
This is a simple xorg.conf:&lt;br /&gt;
&lt;br /&gt;
  $ cat /etc/X11/xorg.conf &lt;br /&gt;
  Section &amp;quot;InputDevice&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;Generic Keyboard&amp;quot;&lt;br /&gt;
        Driver          &amp;quot;kbd&amp;quot;&lt;br /&gt;
        Option          &amp;quot;XkbRules&amp;quot;      &amp;quot;xorg&amp;quot;&lt;br /&gt;
        Option          &amp;quot;XkbModel&amp;quot;      &amp;quot;pc104&amp;quot;&lt;br /&gt;
        Option          &amp;quot;XkbLayout&amp;quot;     &amp;quot;us,us(intl)&amp;quot;&lt;br /&gt;
        Option          &amp;quot;XkbOptions&amp;quot;    &amp;quot;compose(lwin),compose(rwin),grp:shifts_toggle,grp_led:scroll&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
  Section &amp;quot;InputDevice&amp;quot;&lt;br /&gt;
        Identifier  &amp;quot;Configured Mouse&amp;quot;&lt;br /&gt;
        Driver      &amp;quot;mouse&amp;quot;&lt;br /&gt;
        Option      &amp;quot;CorePointer&amp;quot;&lt;br /&gt;
        Option      &amp;quot;Device&amp;quot; &amp;quot;/dev/input/mouse0&amp;quot;&lt;br /&gt;
        Option      &amp;quot;Protocol&amp;quot; &amp;quot;ImPS/2&amp;quot;&lt;br /&gt;
        Option      &amp;quot;EmulateWheel&amp;quot; &amp;quot;on&amp;quot;&lt;br /&gt;
        Option      &amp;quot;EmulateWheelButton&amp;quot; &amp;quot;2&amp;quot;&lt;br /&gt;
        Option      &amp;quot;EmulateWheelTimeout&amp;quot; &amp;quot;250&amp;quot;&lt;br /&gt;
        Option      &amp;quot;XAxisMapping&amp;quot; &amp;quot;6 7&amp;quot;&lt;br /&gt;
        Option      &amp;quot;YAxisMapping&amp;quot; &amp;quot;4 5&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
  Section &amp;quot;Screen&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;Default Screen&amp;quot;&lt;br /&gt;
        Monitor         &amp;quot;Configured Monitor&amp;quot;&lt;br /&gt;
        Defaultdepth    24&lt;br /&gt;
        SubSection &amp;quot;Display&amp;quot;&lt;br /&gt;
                Modes           &amp;quot;1280x800&amp;quot;&lt;br /&gt;
  #             Virtual    2048 864&lt;br /&gt;
        EndSubSection&lt;br /&gt;
  EndSection&lt;br /&gt;
  Section &amp;quot;Monitor&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;Configured Monitor&amp;quot;&lt;br /&gt;
        DisplaySize     231 233.5 #fake smaller dpi&lt;br /&gt;
  EndSection&lt;br /&gt;
  Section &amp;quot;Monitor&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;HDMI-1&amp;quot;&lt;br /&gt;
        Option          &amp;quot;Ignore&amp;quot; &amp;quot;True&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
  Section &amp;quot;Monitor&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;HDMI-2&amp;quot;&lt;br /&gt;
        Option          &amp;quot;Ignore&amp;quot; &amp;quot;True&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
  Section &amp;quot;Device&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;Configured Video Device&amp;quot;&lt;br /&gt;
  #        Driver          &amp;quot;intel&amp;quot;&lt;br /&gt;
        Driver          &amp;quot;vesa&amp;quot;&lt;br /&gt;
        Option          &amp;quot;monitor-HDMI-1&amp;quot; &amp;quot;HDMI-1&amp;quot;&lt;br /&gt;
        Option          &amp;quot;monitor-HDMI-2&amp;quot; &amp;quot;HDMI-2&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
&lt;br /&gt;
== Fonts ==&lt;br /&gt;
&lt;br /&gt;
Default fonts are a bit ugly. Things get better by creating some symbolic link:&lt;br /&gt;
&lt;br /&gt;
  cd /etc/fonts/conf.d&lt;br /&gt;
  ln -s ../conf.avail/10-autohint.conf&lt;br /&gt;
  ln -s ../conf.avail/10-sub-pixel-rgb.conf&lt;br /&gt;
  ln -s ../conf.avail/70-no-bitmaps.conf&lt;br /&gt;
&lt;br /&gt;
For GTK and Firefox&lt;br /&gt;
&lt;br /&gt;
Fonts size are too large. Solution:&lt;br /&gt;
  $cat ~/.gtkrc-2.0&lt;br /&gt;
  # -- THEME AUTO-WRITTEN DO NOT EDIT&lt;br /&gt;
  include &amp;quot;/usr/share/themes/Industrial/gtk-2.0/gtkrc&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  include &amp;quot;/home/rdemaria/.gtkrc-2.0.mine&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  # -- THEME AUTO-WRITTEN DO NOT EDIT&lt;br /&gt;
&lt;br /&gt;
  $cat ~/.gtkrc-2.0.mine&lt;br /&gt;
  gtk-font-name = &amp;quot;Sans 8&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Bold font are also ugly on xvrt (in xterm the bold font control seems always broken). See below for the solution.&lt;br /&gt;
&lt;br /&gt;
== Terminal ==&lt;br /&gt;
&lt;br /&gt;
I tried several terminals. But I found rxvt-unicode the easiest and fastest. This resources allow 4 terminals in one window. Bold font (unreadable to me) are disabled.&lt;br /&gt;
  $cat ~/.Xresources&lt;br /&gt;
  rxvt*cutchars: \$:[]&lt;br /&gt;
  rxvt*visualBell: true&lt;br /&gt;
  rxvt*foreground: white&lt;br /&gt;
  rxvt*background: black&lt;br /&gt;
  rxvt*geometry: 80x27&lt;br /&gt;
  rxvt*jumpScroll: true&lt;br /&gt;
  rxvt*skipScroll: true&lt;br /&gt;
  rxvt*scrollBar: false&lt;br /&gt;
  rxvt*boldFont:&lt;br /&gt;
  rxvt*boldItalicFont:&lt;br /&gt;
  rxvt*saveLines: 9096&lt;br /&gt;
  rxvt*mouseWheelScrollPage: false&lt;br /&gt;
&lt;br /&gt;
== Wifi ==&lt;br /&gt;
&lt;br /&gt;
Put in the /etc/apt/source.list&lt;br /&gt;
&lt;br /&gt;
  deb http://kernel-archive.buildserver.net/debian-kernel trunk main &lt;br /&gt;
&lt;br /&gt;
Installed linux-image-2.6.27-1 and firmware&lt;br /&gt;
&lt;br /&gt;
  wget http://intellinuxwireless.org/iwlwifi/downloads/iwlwifi-5000-ucode-5.4.A.11.tar.gz&lt;br /&gt;
  tar xvfz iwlwifi-5000-ucode-5.4.A.11.tar.gz&lt;br /&gt;
  cp  iwlwifi-5000-ucode-5.4.A.11/iwlwifi-5000-1.ucode /lib/firmware&lt;br /&gt;
  aptitude install linux-image-2.6.27-1-686 hal&lt;br /&gt;
&lt;br /&gt;
== Suspend ==&lt;br /&gt;
&lt;br /&gt;
Suspend to disk works using the button Fn+F12.&lt;br /&gt;
&lt;br /&gt;
Suspend to ram (Fn+F4) does not work with intel driver.&lt;br /&gt;
Using vesa driver, it seemed it worked, but now I have the lcd back light not switching on. &lt;br /&gt;
&lt;br /&gt;
I tried some of the remedies in [[Problem_with_display_remaining_black_after_resume]] but without success.&lt;br /&gt;
&lt;br /&gt;
The trackpoint occasionally stops working after a resume. Apparently it is enough to move it &lt;br /&gt;
a little bit during the resume.&lt;br /&gt;
&lt;br /&gt;
== Special keys ==&lt;br /&gt;
&lt;br /&gt;
Some keys are intercepted by X Windows. The keycodes are&lt;br /&gt;
&lt;br /&gt;
  227 Fn&lt;br /&gt;
  234 Tab left&lt;br /&gt;
  233 Tab right&lt;br /&gt;
  176 Volume up&lt;br /&gt;
  174 Volume dn&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Mute switch the hardware volume which is not controlled by ALSA.&lt;br /&gt;
&lt;br /&gt;
ACPI links suspend to ram and to disc to Fn+F4 and Fn+F12 respectively. Screen brightness, thinklight, bluetooth works as well.&lt;br /&gt;
&lt;br /&gt;
== Sound ==&lt;br /&gt;
&lt;br /&gt;
Everything works, but in a strange way. The hardware volume control is managed by acpi&lt;br /&gt;
&lt;br /&gt;
  $ cat /proc/acpi/ibm/volume&lt;br /&gt;
  level:          8&lt;br /&gt;
  mute:           off&lt;br /&gt;
  commands:       up, down, mute&lt;br /&gt;
  commands:       level &amp;lt;level&amp;gt; (&amp;lt;level&amp;gt; is 0-15)&lt;br /&gt;
&lt;br /&gt;
The mute button is linked to the mute command, but volume up and down are passed to X with keycode 176 174. I&lt;br /&gt;
thought that acpi was intercepting the key and send them to X using fakekey. I played in /etc/acpi/events but I didn't managed to change the behavior.&lt;br /&gt;
&lt;br /&gt;
== Skype ==&lt;br /&gt;
&lt;br /&gt;
Everything works downloading the skype version for Etch. After suspending and resuming the video does not work anymore.&lt;br /&gt;
The error message is:&lt;br /&gt;
&lt;br /&gt;
  Skype V4L2: Could not find a suitable capture format&lt;br /&gt;
&lt;br /&gt;
Several people propose to update the uvcvideo driver.&lt;br /&gt;
  svn checkout http://svn.berlios.de/svnroot/repos/linux-uvc/&lt;br /&gt;
  cd linux-uvc/linux-uvc/trunk/&lt;br /&gt;
  make&lt;br /&gt;
  make install&lt;br /&gt;
  modprobe uvcvideo&lt;br /&gt;
&lt;br /&gt;
But I didn't tried yet cause I'm still using the experimental kernel that does not come with packages for compiling modules.&lt;br /&gt;
&lt;br /&gt;
== GTK and Firefox ==&lt;br /&gt;
&lt;br /&gt;
Fonts size are too large. Solution:&lt;br /&gt;
  $cat /home/rdemaria/.gtkrc-2.0&lt;br /&gt;
  # -- THEME AUTO-WRITTEN DO NOT EDIT&lt;br /&gt;
  include &amp;quot;/usr/share/themes/Industrial/gtk-2.0/gtkrc&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  include &amp;quot;/home/rdemaria/.gtkrc-2.0.mine&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  # -- THEME AUTO-WRITTEN DO NOT EDIT&lt;br /&gt;
&lt;br /&gt;
  $cat /home/rdemaria/.gtkrc-2.0.mine&lt;br /&gt;
  gtk-font-name = &amp;quot;Sans 8&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== Printer and scanner ==&lt;br /&gt;
&lt;br /&gt;
Usb printer and scanner (HP Officejet J4580) works perfectly using cups, hpoj, xsane, hplib.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== RAM upgrade ==&lt;br /&gt;
&lt;br /&gt;
My X200 came with 2G of ram and 1 free slots. I bought:&lt;br /&gt;
   Crucial 2GB 204-Pin DDR3 SO-DIMM DDR3 1066 (PC3 8500) Laptop Memory Model CT25664BC1067 - Retail&lt;br /&gt;
&lt;br /&gt;
installed and replace the kernel with a bigmem one.&lt;br /&gt;
&lt;br /&gt;
== Hard disk upgrade ==&lt;br /&gt;
&lt;br /&gt;
My X200 came with a 160GB hardrive. I bought the 500GB hard drive&lt;br /&gt;
   Western Digital Scorpio Blue WD5000BEVT 500GB 5400 RPM SATA 3.0Gb/s Notebook Hard Drive - OEM&lt;br /&gt;
&lt;br /&gt;
and the adapter&lt;br /&gt;
  Link Depot USB2-SATA USB2.0 TO IDE/SATA Adapter Cable - Retail&lt;br /&gt;
&lt;br /&gt;
for transfer the data.&lt;br /&gt;
&lt;br /&gt;
I connected the new hard drive using the usb port. The drive was recognized as /dev/sdb. I create the partitions that reads:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
  $ sfdisk -d /dev/sdb&lt;br /&gt;
  # partition table of /dev/sdb&lt;br /&gt;
  unit: sectors&lt;br /&gt;
&lt;br /&gt;
  /dev/sdb1 : start=       63, size= 71553447, Id=83&lt;br /&gt;
  /dev/sdb2 : start= 71553510, size=905214555, Id= 5&lt;br /&gt;
  /dev/sdb3 : start=        0, size=        0, Id= 0&lt;br /&gt;
  /dev/sdb4 : start=        0, size=        0, Id= 0&lt;br /&gt;
  /dev/sdb5 : start= 71553573, size=894467007, Id=83&lt;br /&gt;
  /dev/sdb6 : start=966020643, size= 10747422, Id=82&lt;br /&gt;
&lt;br /&gt;
Then made the filesystem and copy the files:&lt;br /&gt;
  $ sudo mkfs.ext3 /dev/sdb1&lt;br /&gt;
  $ sudo mkfs.ext3 /dev/sdb5&lt;br /&gt;
  $ sudo mount /mnt/sdb1&lt;br /&gt;
  $ sudo mount /mnt/sdb5&lt;br /&gt;
  $ sudo rsync -a --delete \&lt;br /&gt;
  --exclude /mnt/sdb1 \&lt;br /&gt;
  --exclude /mnt/sdb5 \&lt;br /&gt;
  --exclude /home \&lt;br /&gt;
  --exclude /proc \&lt;br /&gt;
  --exclude /sys \&lt;br /&gt;
  --exclude /lib/init/rw \&lt;br /&gt;
  --exclude /dev \&lt;br /&gt;
  / /mnt/sdb1&lt;br /&gt;
  $ cd /mnt/sdb1; mkdir /home /proc /sys /lib/init/rw /dev; cd &lt;br /&gt;
  $ sudo rsync -a /home/ /mnt/sdb5&lt;br /&gt;
  $ sudo umount /mnt/sdb5; sudo umount /mnt/sdb1&lt;br /&gt;
&lt;br /&gt;
Finally install grub&lt;br /&gt;
  $ sudo grub --no-floppy&lt;br /&gt;
  $ geometry (hd1)&lt;br /&gt;
  &amp;gt; root (hd1,0)&lt;br /&gt;
  &amp;gt; setup (hd1)&lt;br /&gt;
  &amp;gt; quit&lt;br /&gt;
&lt;br /&gt;
and replace the disk. (I tried to boot from the usb to check the new hard drive, but I messed up the old installation...)&lt;br /&gt;
&lt;br /&gt;
== TO BE CONTINUED ==&lt;/div&gt;</summary>
		<author><name>Rdemaria</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Debian_Sid_(October_2008)_on_a_ThinkPad_X200&amp;diff=39710</id>
		<title>Installing Debian Sid (October 2008) on a ThinkPad X200</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Debian_Sid_(October_2008)_on_a_ThinkPad_X200&amp;diff=39710"/>
		<updated>2008-11-13T18:26:27Z</updated>

		<summary type="html">&lt;p&gt;Rdemaria: /* TO BE CONTINUED */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
Amazing machine: light, quiet, large battery life, ideal for travels, great value for money compared to X200T and X300.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Creating installation device ==&lt;br /&gt;
&lt;br /&gt;
The X200 has no cd/dvd but can boot from USB. On the X200 BIOS settings, the USB disk boot option needed to be raised to be used first. Using F1 at boot gives access to the BIOS.&lt;br /&gt;
&lt;br /&gt;
I created an USB bootable iso from another linux installation.&lt;br /&gt;
I had an usb stick with a FAT32 partition on /dev/sdc1. I dowloaded the boot and iso file and installed the image&lt;br /&gt;
using:&lt;br /&gt;
&lt;br /&gt;
  wget http://people.debian.org/~joeyh/d-i/images/daily/hd-media/boot.img.gz&lt;br /&gt;
  wget http://cdimage.debian.org/cdimage/daily-builds/daily/arch-latest/i386/iso-cd/debian-testing-i386-netinst.iso&lt;br /&gt;
  zcat boot.img.gz &amp;gt;/dev/sdc1&lt;br /&gt;
  mkdir /mnt/sdc1&lt;br /&gt;
  mount /dev/sdc1 /mnt/sdc1&lt;br /&gt;
  cp debian-testing-i386-netinst.iso /mnt/sdc1&lt;br /&gt;
&lt;br /&gt;
The boot stick will use the network to install the package but a more complete ISO image can be dowloaded.&lt;br /&gt;
&lt;br /&gt;
The wifi will not work (see [[Installing_Debian_on_an_X200]]) but the Ethernet card will. In theory it should be possible build custom Debian Live USB stick, using the latest package and install from there, I didn't manage so far.&lt;br /&gt;
'''Bold text'''&lt;br /&gt;
&lt;br /&gt;
== Sid installation ==&lt;br /&gt;
&lt;br /&gt;
To install sid use the expert installation support and choose unstable for the repository.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Backup hard drive data ==&lt;br /&gt;
&lt;br /&gt;
In order to save the hard drive content, I created complete hard drive image on another hard disk. During the installation procedure I activated another shell with CTRL-ALT-F3, mounted an external HD (/dev/sdb1) and copied the image with:&lt;br /&gt;
&lt;br /&gt;
  mkdir /mnt/sdb1&lt;br /&gt;
  mount /dev/sdb1 /mnt/sdb1/&lt;br /&gt;
  dd if=/dev/sda of=/mnt/sdb1/sda-image&lt;br /&gt;
&lt;br /&gt;
In principle partimage is better option but the installation image does not have it. Also gzipping the partition on the fly would have bin better, but the gzip or bzip2 were not present. Using a custom Debian Live installation image would solve the problem.&lt;br /&gt;
&lt;br /&gt;
== Kernel ==&lt;br /&gt;
&lt;br /&gt;
Some kernel options here:&lt;br /&gt;
  &lt;br /&gt;
  root=/dev/sda1 ro acpi_sleep=s3_bios vga=360 video=vesafb,mtrr&lt;br /&gt;
&lt;br /&gt;
== Video ==&lt;br /&gt;
&lt;br /&gt;
Video driver 2:2.3.2-2+lenny5 is not stable enough. Video get garbled from time to time. Vesa driver is not that slow.&lt;br /&gt;
&lt;br /&gt;
This is a simple xorg.conf:&lt;br /&gt;
&lt;br /&gt;
  $ cat /etc/X11/xorg.conf &lt;br /&gt;
  Section &amp;quot;InputDevice&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;Generic Keyboard&amp;quot;&lt;br /&gt;
        Driver          &amp;quot;kbd&amp;quot;&lt;br /&gt;
        Option          &amp;quot;XkbRules&amp;quot;      &amp;quot;xorg&amp;quot;&lt;br /&gt;
        Option          &amp;quot;XkbModel&amp;quot;      &amp;quot;pc104&amp;quot;&lt;br /&gt;
        Option          &amp;quot;XkbLayout&amp;quot;     &amp;quot;us,us(intl)&amp;quot;&lt;br /&gt;
        Option          &amp;quot;XkbOptions&amp;quot;    &amp;quot;compose(lwin),compose(rwin),grp:shifts_toggle,grp_led:scroll&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
  Section &amp;quot;InputDevice&amp;quot;&lt;br /&gt;
        Identifier  &amp;quot;Configured Mouse&amp;quot;&lt;br /&gt;
        Driver      &amp;quot;mouse&amp;quot;&lt;br /&gt;
        Option      &amp;quot;CorePointer&amp;quot;&lt;br /&gt;
        Option      &amp;quot;Device&amp;quot; &amp;quot;/dev/input/mouse0&amp;quot;&lt;br /&gt;
        Option      &amp;quot;Protocol&amp;quot; &amp;quot;ImPS/2&amp;quot;&lt;br /&gt;
        Option      &amp;quot;EmulateWheel&amp;quot; &amp;quot;on&amp;quot;&lt;br /&gt;
        Option      &amp;quot;EmulateWheelButton&amp;quot; &amp;quot;2&amp;quot;&lt;br /&gt;
        Option      &amp;quot;EmulateWheelTimeout&amp;quot; &amp;quot;250&amp;quot;&lt;br /&gt;
        Option      &amp;quot;XAxisMapping&amp;quot; &amp;quot;6 7&amp;quot;&lt;br /&gt;
        Option      &amp;quot;YAxisMapping&amp;quot; &amp;quot;4 5&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
  Section &amp;quot;Screen&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;Default Screen&amp;quot;&lt;br /&gt;
        Monitor         &amp;quot;Configured Monitor&amp;quot;&lt;br /&gt;
        Defaultdepth    24&lt;br /&gt;
        SubSection &amp;quot;Display&amp;quot;&lt;br /&gt;
                Modes           &amp;quot;1280x800&amp;quot;&lt;br /&gt;
  #             Virtual    2048 864&lt;br /&gt;
        EndSubSection&lt;br /&gt;
  EndSection&lt;br /&gt;
  Section &amp;quot;Monitor&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;Configured Monitor&amp;quot;&lt;br /&gt;
        DisplaySize     231 233.5 #fake smaller dpi&lt;br /&gt;
  EndSection&lt;br /&gt;
  Section &amp;quot;Monitor&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;HDMI-1&amp;quot;&lt;br /&gt;
        Option          &amp;quot;Ignore&amp;quot; &amp;quot;True&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
  Section &amp;quot;Monitor&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;HDMI-2&amp;quot;&lt;br /&gt;
        Option          &amp;quot;Ignore&amp;quot; &amp;quot;True&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
  Section &amp;quot;Device&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;Configured Video Device&amp;quot;&lt;br /&gt;
  #        Driver          &amp;quot;intel&amp;quot;&lt;br /&gt;
        Driver          &amp;quot;vesa&amp;quot;&lt;br /&gt;
        Option          &amp;quot;monitor-HDMI-1&amp;quot; &amp;quot;HDMI-1&amp;quot;&lt;br /&gt;
        Option          &amp;quot;monitor-HDMI-2&amp;quot; &amp;quot;HDMI-2&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
&lt;br /&gt;
== Fonts ==&lt;br /&gt;
&lt;br /&gt;
Default fonts are a bit ugly. Things get better by creating some symbolic link:&lt;br /&gt;
&lt;br /&gt;
  cd /etc/fonts/conf.d&lt;br /&gt;
  ln -s ../conf.avail/10-autohint.conf&lt;br /&gt;
  ln -s ../conf.avail/10-sub-pixel-rgb.conf&lt;br /&gt;
  ln -s ../conf.avail/70-no-bitmaps.conf&lt;br /&gt;
&lt;br /&gt;
For GTK and Firefox&lt;br /&gt;
&lt;br /&gt;
Fonts size are too large. Solution:&lt;br /&gt;
  $cat ~/.gtkrc-2.0&lt;br /&gt;
  # -- THEME AUTO-WRITTEN DO NOT EDIT&lt;br /&gt;
  include &amp;quot;/usr/share/themes/Industrial/gtk-2.0/gtkrc&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  include &amp;quot;/home/rdemaria/.gtkrc-2.0.mine&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  # -- THEME AUTO-WRITTEN DO NOT EDIT&lt;br /&gt;
&lt;br /&gt;
  $cat ~/.gtkrc-2.0.mine&lt;br /&gt;
  gtk-font-name = &amp;quot;Sans 8&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Bold font are also ugly on xvrt (in xterm the bold font control seems always broken). See below for the solution.&lt;br /&gt;
&lt;br /&gt;
== Terminal ==&lt;br /&gt;
&lt;br /&gt;
I tried several terminals. But I found rxvt-unicode the easiest and fastest. This resources allow 4 terminals in one window. Bold font (unreadable to me) are disabled.&lt;br /&gt;
  $cat ~/.Xresources&lt;br /&gt;
  rxvt*cutchars: \$:[]&lt;br /&gt;
  rxvt*visualBell: true&lt;br /&gt;
  rxvt*foreground: white&lt;br /&gt;
  rxvt*background: black&lt;br /&gt;
  rxvt*geometry: 80x27&lt;br /&gt;
  rxvt*jumpScroll: true&lt;br /&gt;
  rxvt*skipScroll: true&lt;br /&gt;
  rxvt*scrollBar: false&lt;br /&gt;
  rxvt*boldFont:&lt;br /&gt;
  rxvt*boldItalicFont:&lt;br /&gt;
  rxvt*saveLines: 9096&lt;br /&gt;
  rxvt*mouseWheelScrollPage: false&lt;br /&gt;
&lt;br /&gt;
== Wifi ==&lt;br /&gt;
&lt;br /&gt;
Put in the /etc/apt/source.list&lt;br /&gt;
&lt;br /&gt;
  deb http://kernel-archive.buildserver.net/debian-kernel trunk main &lt;br /&gt;
&lt;br /&gt;
Installed linux-image-2.6.27-1 and firmware&lt;br /&gt;
&lt;br /&gt;
  wget http://intellinuxwireless.org/iwlwifi/downloads/iwlwifi-5000-ucode-5.4.A.11.tar.gz&lt;br /&gt;
  tar xvfz iwlwifi-5000-ucode-5.4.A.11.tar.gz&lt;br /&gt;
  cp  iwlwifi-5000-ucode-5.4.A.11/iwlwifi-5000-1.ucode /lib/firmware&lt;br /&gt;
  aptitude install linux-image-2.6.27-1-686 hal&lt;br /&gt;
&lt;br /&gt;
== Suspend ==&lt;br /&gt;
&lt;br /&gt;
Suspend to disk works using the button Fn+F12.&lt;br /&gt;
&lt;br /&gt;
Suspend to ram (Fn+F4) does not work with intel driver.&lt;br /&gt;
Using vesa driver, it seemed it worked, but now I have the lcd back light not switching on. &lt;br /&gt;
&lt;br /&gt;
I tried some of the remedies in [[Problem_with_display_remaining_black_after_resume]] but without success.&lt;br /&gt;
&lt;br /&gt;
The trackpoint occasionally stops working after a resume. Apparently it is enough to move it &lt;br /&gt;
a little bit during the resume.&lt;br /&gt;
&lt;br /&gt;
== Special keys ==&lt;br /&gt;
&lt;br /&gt;
Some keys are intercepted by X Windows. The keycodes are&lt;br /&gt;
&lt;br /&gt;
  227 Fn&lt;br /&gt;
  234 Tab left&lt;br /&gt;
  233 Tab right&lt;br /&gt;
  176 Volume up&lt;br /&gt;
  174 Volume dn&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Mute switch the hardware volume which is not controlled by ALSA.&lt;br /&gt;
&lt;br /&gt;
ACPI links suspend to ram and to disc to Fn+F4 and Fn+F12 respectively. Screen brightness, thinklight, bluetooth works as well.&lt;br /&gt;
&lt;br /&gt;
== Sound ==&lt;br /&gt;
&lt;br /&gt;
Everything works, but in a strange way. The hardware volume control is managed by acpi&lt;br /&gt;
&lt;br /&gt;
  $ cat /proc/acpi/ibm/volume&lt;br /&gt;
  level:          8&lt;br /&gt;
  mute:           off&lt;br /&gt;
  commands:       up, down, mute&lt;br /&gt;
  commands:       level &amp;lt;level&amp;gt; (&amp;lt;level&amp;gt; is 0-15)&lt;br /&gt;
&lt;br /&gt;
The mute button is linked to the mute command, but volume up and down are passed to X with keycode 176 174. I&lt;br /&gt;
thought that acpi was intercepting the key and send them to X using fakekey. I played in /etc/acpi/events but I didn't managed to change the behavior.&lt;br /&gt;
&lt;br /&gt;
== Skype ==&lt;br /&gt;
&lt;br /&gt;
Everything works downloading the skype version for Etch. After suspending and resuming the video does not work anymore.&lt;br /&gt;
The error message is:&lt;br /&gt;
&lt;br /&gt;
  Skype V4L2: Could not find a suitable capture format&lt;br /&gt;
&lt;br /&gt;
Several people propose to update the uvcvideo driver.&lt;br /&gt;
  svn checkout http://svn.berlios.de/svnroot/repos/linux-uvc/&lt;br /&gt;
  cd linux-uvc/linux-uvc/trunk/&lt;br /&gt;
  make&lt;br /&gt;
  make install&lt;br /&gt;
  modprobe uvcvideo&lt;br /&gt;
&lt;br /&gt;
But I didn't tried yet cause I'm still using the experimental kernel that does not come with packages for compiling modules.&lt;br /&gt;
&lt;br /&gt;
== GTK and Firefox ==&lt;br /&gt;
&lt;br /&gt;
Fonts size are too large. Solution:&lt;br /&gt;
  $cat /home/rdemaria/.gtkrc-2.0&lt;br /&gt;
  # -- THEME AUTO-WRITTEN DO NOT EDIT&lt;br /&gt;
  include &amp;quot;/usr/share/themes/Industrial/gtk-2.0/gtkrc&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  include &amp;quot;/home/rdemaria/.gtkrc-2.0.mine&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  # -- THEME AUTO-WRITTEN DO NOT EDIT&lt;br /&gt;
&lt;br /&gt;
  $cat /home/rdemaria/.gtkrc-2.0.mine&lt;br /&gt;
  gtk-font-name = &amp;quot;Sans 8&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== Printer and scanner ==&lt;br /&gt;
&lt;br /&gt;
Usb printer and scanner (HP Officejet J4580) works perfectly using cups, hpoj, xsane, hplib.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== RAM upgrade ==&lt;br /&gt;
&lt;br /&gt;
My X200 came with 2G of ram and 1 free slots. I bought:&lt;br /&gt;
   Crucial 2GB 204-Pin DDR3 SO-DIMM DDR3 1066 (PC3 8500) Laptop Memory Model CT25664BC1067 - Retail&lt;br /&gt;
&lt;br /&gt;
installed and replace the kernel with a bigmem one.&lt;br /&gt;
&lt;br /&gt;
== Hard disk upgrade ==&lt;br /&gt;
&lt;br /&gt;
My X200 came with a 160GB hardrive. I bought the 500GB hard drive&lt;br /&gt;
   Western Digital Scorpio Blue WD5000BEVT 500GB 5400 RPM SATA 3.0Gb/s Notebook Hard Drive - OEM&lt;br /&gt;
&lt;br /&gt;
and the adapter&lt;br /&gt;
  Link Depot USB2-SATA USB2.0 TO IDE/SATA Adapter Cable - Retail&lt;br /&gt;
&lt;br /&gt;
for transfer the data. The installation is on going...&lt;br /&gt;
&lt;br /&gt;
== TO BE CONTINUED ==&lt;/div&gt;</summary>
		<author><name>Rdemaria</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Category_talk:X200&amp;diff=39703</id>
		<title>Category talk:X200</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Category_talk:X200&amp;diff=39703"/>
		<updated>2008-11-13T16:32:26Z</updated>

		<summary type="html">&lt;p&gt;Rdemaria: /* See my Fedora 9 on X200 article */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;I have the ThinkPad X200, and I was wondering if anybody had success with hibernate, sleep, and general power saving?&lt;br /&gt;
&lt;br /&gt;
Also, can anybody find the right framebuffer module and configure it for the 1200x800 screen resolution?&lt;br /&gt;
&lt;br /&gt;
== See my Fedora 9 on X200 article ==&lt;br /&gt;
&lt;br /&gt;
I am now running Fedora 10-Alpha/rawhide on my X200 and everything basically functions (gigabit ethernet, 5100AGN wireless, webcam) except I have to use the vesa driver with xorg.conf instead of the i810 which causes machine crashes. (Apparently it is a known bug upstream and I'm just hoping for some newer xorg-x11-drv-i810 to try out from rawhide). You can set a 1280x800 mode in xorg.conf with the vesa driver.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:Hmm... I run debian testing so I may or may not be able to help, but it appears that at least in X in debian, all the intel chips have been integrated into an 'intel' video driver, which works fine for me.  The question about the 1200x800 mode was just for setting it in the framebuffer.  Also, it appears that the option to disable HV expansion in BIOS has disappeared, has it not?&lt;br /&gt;
&lt;br /&gt;
:Hibernate and sleep have the problem of immediately resuming—I don't believe any of the workarounds I found on the ACPI page have any effect.&lt;br /&gt;
&lt;br /&gt;
:--[[User:Harrisonts|Harrisonts]] 08:09, 2 October 2008 (CEST)&lt;br /&gt;
&lt;br /&gt;
::Hibernate works well with me. Suspend has the backlight issue. The resume is ok but the screen is dark. In fact on certain angles it is possible to see the image displayed...&lt;br /&gt;
&lt;br /&gt;
::--[[User:rdemaria|rdemaria]] Mon Nov 10 19:43:59 EST 2008&lt;br /&gt;
&lt;br /&gt;
::I mentioned i810 but that is just the package name on Fedora which includes the &amp;quot;intel&amp;quot; driver which is being loaded to operate the card when I tried it. It works after reboot but crashes after suspend/resume and hibernate/resume and there is a bug in the Fedora bugzilla (for rawhide/Fedora 10) already with multiple reporters for Thinkpad X200 models.&lt;br /&gt;
&lt;br /&gt;
::Rdemaria: Are you using the vesa driver? I think the backlight works after suspend with the vesa xorg driver, if the i915 kernel module is loaded so it handles power management... however, I have not done enough cycles to be sure everything is reliable. I still have crashes on resume if I use the intel xorg driver. I use vesa and have modprobe i915 in my rc.local.&lt;br /&gt;
::: Yes it works!!!&lt;br /&gt;
:::--[[User:rdemaria|rdemaria]] Thu Nov 13 10:59:40 EST 2008&lt;br /&gt;
&lt;br /&gt;
::Harrisonts: I wrote up a hardware issue in the known problems page. I had to have my X200 mainboard replaced, to make it stop resuming immediately from suspend, hibernate, and poweroff actions. It was painful to get through the layers of Lenovo tech support to do this, having to convince each person over again that there was a problem!&lt;br /&gt;
&lt;br /&gt;
::--[[User:karlcz|karlcz]] Tue Nov 11 07:45:46 PST 2008&lt;br /&gt;
&lt;br /&gt;
== Does the X200 have AMT? ==&lt;br /&gt;
&lt;br /&gt;
Does anyone know whether the X200 has Intel AMT support?  I don't see anything in the BIOS or during POST, but I've already destroyed the windows and recovery partitions and cannot check whether there are any other utilities to gain access...&lt;/div&gt;</summary>
		<author><name>Rdemaria</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Category_talk:X200&amp;diff=39645</id>
		<title>Category talk:X200</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Category_talk:X200&amp;diff=39645"/>
		<updated>2008-11-11T01:17:04Z</updated>

		<summary type="html">&lt;p&gt;Rdemaria: /* See my Fedora 9 on X200 article */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;I have the ThinkPad X200, and I was wondering if anybody had success with hibernate, sleep, and general power saving?&lt;br /&gt;
&lt;br /&gt;
Also, can anybody find the right framebuffer module and configure it for the 1200x800 screen resolution?&lt;br /&gt;
&lt;br /&gt;
== See my Fedora 9 on X200 article ==&lt;br /&gt;
&lt;br /&gt;
I am now running Fedora 10-Alpha/rawhide on my X200 and everything basically functions (gigabit ethernet, 5100AGN wireless, webcam) except I have to use the vesa driver with xorg.conf instead of the i810 which causes machine crashes. (Apparently it is a known bug upstream and I'm just hoping for some newer xorg-x11-drv-i810 to try out from rawhide). You can set a 1280x800 mode in xorg.conf with the vesa driver.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:Hmm... I run debian testing so I may or may not be able to help, but it appears that at least in X in debian, all the intel chips have been integrated into an 'intel' video driver, which works fine for me.  The question about the 1200x800 mode was just for setting it in the framebuffer.  Also, it appears that the option to disable HV expansion in BIOS has disappeared, has it not?&lt;br /&gt;
&lt;br /&gt;
:Hibernate and sleep have the problem of immediately resuming—I don't believe any of the workarounds I found on the ACPI page have any effect.&lt;br /&gt;
&lt;br /&gt;
:--[[User:Harrisonts|Harrisonts]] 08:09, 2 October 2008 (CEST)&lt;br /&gt;
&lt;br /&gt;
::Hibernate works well with me. Suspend has the backlight issue. The resume is ok but the screen is dark. In fact on certain angles it is possible to see the image displayed...&lt;br /&gt;
&lt;br /&gt;
::--[[User:rdemaria|rdemaria]] Mon Nov 10 19:43:59 EST 2008&lt;br /&gt;
&lt;br /&gt;
== Does the X200 have AMT? ==&lt;br /&gt;
&lt;br /&gt;
Does anyone know whether the X200 has Intel AMT support?  I don't see anything in the BIOS or during POST, but I've already destroyed the windows and recovery partitions and cannot check whether there are any other utilities to gain access...&lt;/div&gt;</summary>
		<author><name>Rdemaria</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Debian_Sid_(October_2008)_on_a_ThinkPad_X200&amp;diff=39644</id>
		<title>Installing Debian Sid (October 2008) on a ThinkPad X200</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Debian_Sid_(October_2008)_on_a_ThinkPad_X200&amp;diff=39644"/>
		<updated>2008-11-11T01:09:34Z</updated>

		<summary type="html">&lt;p&gt;Rdemaria: /* Kernel typos*/&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
Amazing machine: light, quiet, large battery life, ideal for travels, great value for money compared to X200T and X300.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Creating installation device ==&lt;br /&gt;
&lt;br /&gt;
The X200 has no cd/dvd but can boot from USB. On the X200 BIOS settings, the USB disk boot option needed to be raised to be used first. Using F1 at boot gives access to the BIOS.&lt;br /&gt;
&lt;br /&gt;
I created an USB bootable iso from another linux installation.&lt;br /&gt;
I had an usb stick with a FAT32 partition on /dev/sdc1. I dowloaded the boot and iso file and installed the image&lt;br /&gt;
using:&lt;br /&gt;
&lt;br /&gt;
  wget http://people.debian.org/~joeyh/d-i/images/daily/hd-media/boot.img.gz&lt;br /&gt;
  wget http://cdimage.debian.org/cdimage/daily-builds/daily/arch-latest/i386/iso-cd/debian-testing-i386-netinst.iso&lt;br /&gt;
  zcat boot.img.gz &amp;gt;/dev/sdc1&lt;br /&gt;
  mkdir /mnt/sdc1&lt;br /&gt;
  mount /dev/sdc1 /mnt/sdc1&lt;br /&gt;
  cp debian-testing-i386-netinst.iso /mnt/sdc1&lt;br /&gt;
&lt;br /&gt;
The boot stick will use the network to install the package but a more complete ISO image can be dowloaded.&lt;br /&gt;
&lt;br /&gt;
The wifi will not work (see [[Installing_Debian_on_an_X200]]) but the Ethernet card will. In theory it should be possible build custom Debian Live USB stick, using the latest package and install from there, I didn't manage so far.&lt;br /&gt;
'''Bold text'''&lt;br /&gt;
&lt;br /&gt;
== Sid installation ==&lt;br /&gt;
&lt;br /&gt;
To install sid use the expert installation support and choose unstable for the repository.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Backup hard drive data ==&lt;br /&gt;
&lt;br /&gt;
In order to save the hard drive content, I created complete hard drive image on another hard disk. During the installation procedure I activated another shell with CTRL-ALT-F3, mounted an external HD (/dev/sdb1) and copied the image with:&lt;br /&gt;
&lt;br /&gt;
  mkdir /mnt/sdb1&lt;br /&gt;
  mount /dev/sdb1 /mnt/sdb1/&lt;br /&gt;
  dd if=/dev/sda of=/mnt/sdb1/sda-image&lt;br /&gt;
&lt;br /&gt;
In principle partimage is better option but the installation image does not have it. Also gzipping the partition on the fly would have bin better, but the gzip or bzip2 were not present. Using a custom Debian Live installation image would solve the problem.&lt;br /&gt;
&lt;br /&gt;
== Kernel ==&lt;br /&gt;
&lt;br /&gt;
Some kernel options here:&lt;br /&gt;
  &lt;br /&gt;
  root=/dev/sda1 ro acpi_sleep=s3_bios vga=360 video=vesafb,mtrr&lt;br /&gt;
&lt;br /&gt;
== Video ==&lt;br /&gt;
&lt;br /&gt;
Video driver 2:2.3.2-2+lenny5 is not stable enough. Video get garbled from time to time. Vesa driver is not that slow.&lt;br /&gt;
&lt;br /&gt;
This is a simple xorg.conf:&lt;br /&gt;
&lt;br /&gt;
  $ cat /etc/X11/xorg.conf &lt;br /&gt;
  Section &amp;quot;InputDevice&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;Generic Keyboard&amp;quot;&lt;br /&gt;
        Driver          &amp;quot;kbd&amp;quot;&lt;br /&gt;
        Option          &amp;quot;XkbRules&amp;quot;      &amp;quot;xorg&amp;quot;&lt;br /&gt;
        Option          &amp;quot;XkbModel&amp;quot;      &amp;quot;pc104&amp;quot;&lt;br /&gt;
        Option          &amp;quot;XkbLayout&amp;quot;     &amp;quot;us,us(intl)&amp;quot;&lt;br /&gt;
        Option          &amp;quot;XkbOptions&amp;quot;    &amp;quot;compose(lwin),compose(rwin),grp:shifts_toggle,grp_led:scroll&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
  Section &amp;quot;InputDevice&amp;quot;&lt;br /&gt;
        Identifier  &amp;quot;Configured Mouse&amp;quot;&lt;br /&gt;
        Driver      &amp;quot;mouse&amp;quot;&lt;br /&gt;
        Option      &amp;quot;CorePointer&amp;quot;&lt;br /&gt;
        Option      &amp;quot;Device&amp;quot; &amp;quot;/dev/input/mouse0&amp;quot;&lt;br /&gt;
        Option      &amp;quot;Protocol&amp;quot; &amp;quot;ImPS/2&amp;quot;&lt;br /&gt;
        Option      &amp;quot;EmulateWheel&amp;quot; &amp;quot;on&amp;quot;&lt;br /&gt;
        Option      &amp;quot;EmulateWheelButton&amp;quot; &amp;quot;2&amp;quot;&lt;br /&gt;
        Option      &amp;quot;EmulateWheelTimeout&amp;quot; &amp;quot;250&amp;quot;&lt;br /&gt;
        Option      &amp;quot;XAxisMapping&amp;quot; &amp;quot;6 7&amp;quot;&lt;br /&gt;
        Option      &amp;quot;YAxisMapping&amp;quot; &amp;quot;4 5&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
  Section &amp;quot;Screen&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;Default Screen&amp;quot;&lt;br /&gt;
        Monitor         &amp;quot;Configured Monitor&amp;quot;&lt;br /&gt;
        Defaultdepth    24&lt;br /&gt;
        SubSection &amp;quot;Display&amp;quot;&lt;br /&gt;
                Modes           &amp;quot;1280x800&amp;quot;&lt;br /&gt;
  #             Virtual    2048 864&lt;br /&gt;
        EndSubSection&lt;br /&gt;
  EndSection&lt;br /&gt;
  Section &amp;quot;Monitor&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;Configured Monitor&amp;quot;&lt;br /&gt;
        DisplaySize     231 233.5 #fake smaller dpi&lt;br /&gt;
  EndSection&lt;br /&gt;
  Section &amp;quot;Monitor&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;HDMI-1&amp;quot;&lt;br /&gt;
        Option          &amp;quot;Ignore&amp;quot; &amp;quot;True&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
  Section &amp;quot;Monitor&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;HDMI-2&amp;quot;&lt;br /&gt;
        Option          &amp;quot;Ignore&amp;quot; &amp;quot;True&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
  Section &amp;quot;Device&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;Configured Video Device&amp;quot;&lt;br /&gt;
  #        Driver          &amp;quot;intel&amp;quot;&lt;br /&gt;
        Driver          &amp;quot;vesa&amp;quot;&lt;br /&gt;
        Option          &amp;quot;monitor-HDMI-1&amp;quot; &amp;quot;HDMI-1&amp;quot;&lt;br /&gt;
        Option          &amp;quot;monitor-HDMI-2&amp;quot; &amp;quot;HDMI-2&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
&lt;br /&gt;
== Fonts ==&lt;br /&gt;
&lt;br /&gt;
Default fonts are a bit ugly. Things get better by creating some symbolic link:&lt;br /&gt;
&lt;br /&gt;
  cd /etc/fonts/conf.d&lt;br /&gt;
  ln -s ../conf.avail/10-autohint.conf&lt;br /&gt;
  ln -s ../conf.avail/10-sub-pixel-rgb.conf&lt;br /&gt;
  ln -s ../conf.avail/70-no-bitmaps.conf&lt;br /&gt;
&lt;br /&gt;
For GTK and Firefox&lt;br /&gt;
&lt;br /&gt;
Fonts size are too large. Solution:&lt;br /&gt;
  $cat ~/.gtkrc-2.0&lt;br /&gt;
  # -- THEME AUTO-WRITTEN DO NOT EDIT&lt;br /&gt;
  include &amp;quot;/usr/share/themes/Industrial/gtk-2.0/gtkrc&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  include &amp;quot;/home/rdemaria/.gtkrc-2.0.mine&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  # -- THEME AUTO-WRITTEN DO NOT EDIT&lt;br /&gt;
&lt;br /&gt;
  $cat ~/.gtkrc-2.0.mine&lt;br /&gt;
  gtk-font-name = &amp;quot;Sans 8&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Bold font are also ugly on xvrt (in xterm the bold font control seems always broken). See below for the solution.&lt;br /&gt;
&lt;br /&gt;
== Terminal ==&lt;br /&gt;
&lt;br /&gt;
I tried several terminals. But I found rxvt-unicode the easiest and fastest. This resources allow 4 terminals in one window. Bold font (unreadable to me) are disabled.&lt;br /&gt;
  $cat ~/.Xresources&lt;br /&gt;
  rxvt*cutchars: \$:[]&lt;br /&gt;
  rxvt*visualBell: true&lt;br /&gt;
  rxvt*foreground: white&lt;br /&gt;
  rxvt*background: black&lt;br /&gt;
  rxvt*geometry: 80x27&lt;br /&gt;
  rxvt*jumpScroll: true&lt;br /&gt;
  rxvt*skipScroll: true&lt;br /&gt;
  rxvt*scrollBar: false&lt;br /&gt;
  rxvt*boldFont:&lt;br /&gt;
  rxvt*boldItalicFont:&lt;br /&gt;
  rxvt*saveLines: 9096&lt;br /&gt;
  rxvt*mouseWheelScrollPage: false&lt;br /&gt;
&lt;br /&gt;
== Wifi ==&lt;br /&gt;
&lt;br /&gt;
Put in the /etc/apt/source.list&lt;br /&gt;
&lt;br /&gt;
  deb http://kernel-archive.buildserver.net/debian-kernel trunk main &lt;br /&gt;
&lt;br /&gt;
Installed linux-image-2.6.27-1 and firmware&lt;br /&gt;
&lt;br /&gt;
  wget http://intellinuxwireless.org/iwlwifi/downloads/iwlwifi-5000-ucode-5.4.A.11.tar.gz&lt;br /&gt;
  tar xvfz iwlwifi-5000-ucode-5.4.A.11.tar.gz&lt;br /&gt;
  cp  iwlwifi-5000-ucode-5.4.A.11/iwlwifi-5000-1.ucode /lib/firmware&lt;br /&gt;
  aptitude install linux-image-2.6.27-1-686 hal&lt;br /&gt;
&lt;br /&gt;
== Suspend ==&lt;br /&gt;
&lt;br /&gt;
Suspend to disk works using the button Fn+F12.&lt;br /&gt;
&lt;br /&gt;
Suspend to ram (Fn+F4) does not work with intel driver.&lt;br /&gt;
Using vesa driver, it seemed it worked, but now I have the lcd back light not switching on. &lt;br /&gt;
&lt;br /&gt;
I tried some of the remedies in [[Problem_with_display_remaining_black_after_resume]] but without success.&lt;br /&gt;
&lt;br /&gt;
The trackpoint occasionally stops working after a resume. Apparently it is enough to move it &lt;br /&gt;
a little bit during the resume.&lt;br /&gt;
&lt;br /&gt;
== Special keys ==&lt;br /&gt;
&lt;br /&gt;
Some keys are intercepted by X Windows. The keycodes are&lt;br /&gt;
&lt;br /&gt;
  227 Fn&lt;br /&gt;
  234 Tab left&lt;br /&gt;
  233 Tab right&lt;br /&gt;
  176 Volume up&lt;br /&gt;
  174 Volume dn&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Mute switch the hardware volume which is not controlled by ALSA.&lt;br /&gt;
&lt;br /&gt;
ACPI links suspend to ram and to disc to Fn+F4 and Fn+F12 respectively. Screen brightness, thinklight, bluetooth works as well.&lt;br /&gt;
&lt;br /&gt;
== Sound ==&lt;br /&gt;
&lt;br /&gt;
Everything works, but in a strange way. The hardware volume control is managed by acpi&lt;br /&gt;
&lt;br /&gt;
  $ cat /proc/acpi/ibm/volume&lt;br /&gt;
  level:          8&lt;br /&gt;
  mute:           off&lt;br /&gt;
  commands:       up, down, mute&lt;br /&gt;
  commands:       level &amp;lt;level&amp;gt; (&amp;lt;level&amp;gt; is 0-15)&lt;br /&gt;
&lt;br /&gt;
The mute button is linked to the mute command, but volume up and down are passed to X with keycode 176 174. I&lt;br /&gt;
thought that acpi was intercepting the key and send them to X using fakekey. I played in /etc/acpi/events but I didn't managed to change the behavior.&lt;br /&gt;
&lt;br /&gt;
== Skype ==&lt;br /&gt;
&lt;br /&gt;
Everything works downloading the skype version for Etch. After suspending and resuming the video does not work anymore.&lt;br /&gt;
The error message is:&lt;br /&gt;
&lt;br /&gt;
  Skype V4L2: Could not find a suitable capture format&lt;br /&gt;
&lt;br /&gt;
Several people propose to update the uvcvideo driver.&lt;br /&gt;
  svn checkout http://svn.berlios.de/svnroot/repos/linux-uvc/&lt;br /&gt;
  cd linux-uvc/linux-uvc/trunk/&lt;br /&gt;
  make&lt;br /&gt;
  make install&lt;br /&gt;
  modprobe uvcvideo&lt;br /&gt;
&lt;br /&gt;
But I didn't tried yet cause I'm still using the experimental kernel that does not come with packages for compiling modules.&lt;br /&gt;
&lt;br /&gt;
== GTK and Firefox ==&lt;br /&gt;
&lt;br /&gt;
Fonts size are too large. Solution:&lt;br /&gt;
  $cat /home/rdemaria/.gtkrc-2.0&lt;br /&gt;
  # -- THEME AUTO-WRITTEN DO NOT EDIT&lt;br /&gt;
  include &amp;quot;/usr/share/themes/Industrial/gtk-2.0/gtkrc&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  include &amp;quot;/home/rdemaria/.gtkrc-2.0.mine&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  # -- THEME AUTO-WRITTEN DO NOT EDIT&lt;br /&gt;
&lt;br /&gt;
  $cat /home/rdemaria/.gtkrc-2.0.mine&lt;br /&gt;
  gtk-font-name = &amp;quot;Sans 8&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== Printer and scanner ==&lt;br /&gt;
&lt;br /&gt;
Usb printer and scanner (HP Officejet J4580) works perfectly using cups, hpoj, xsane, hplib.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== TO BE CONTINUED ==&lt;/div&gt;</summary>
		<author><name>Rdemaria</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Debian_Sid_(October_2008)_on_a_ThinkPad_X200&amp;diff=39643</id>
		<title>Installing Debian Sid (October 2008) on a ThinkPad X200</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Debian_Sid_(October_2008)_on_a_ThinkPad_X200&amp;diff=39643"/>
		<updated>2008-11-11T01:09:13Z</updated>

		<summary type="html">&lt;p&gt;Rdemaria: add kernel&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
Amazing machine: light, quiet, large battery life, ideal for travels, great value for money compared to X200T and X300.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Creating installation device ==&lt;br /&gt;
&lt;br /&gt;
The X200 has no cd/dvd but can boot from USB. On the X200 BIOS settings, the USB disk boot option needed to be raised to be used first. Using F1 at boot gives access to the BIOS.&lt;br /&gt;
&lt;br /&gt;
I created an USB bootable iso from another linux installation.&lt;br /&gt;
I had an usb stick with a FAT32 partition on /dev/sdc1. I dowloaded the boot and iso file and installed the image&lt;br /&gt;
using:&lt;br /&gt;
&lt;br /&gt;
  wget http://people.debian.org/~joeyh/d-i/images/daily/hd-media/boot.img.gz&lt;br /&gt;
  wget http://cdimage.debian.org/cdimage/daily-builds/daily/arch-latest/i386/iso-cd/debian-testing-i386-netinst.iso&lt;br /&gt;
  zcat boot.img.gz &amp;gt;/dev/sdc1&lt;br /&gt;
  mkdir /mnt/sdc1&lt;br /&gt;
  mount /dev/sdc1 /mnt/sdc1&lt;br /&gt;
  cp debian-testing-i386-netinst.iso /mnt/sdc1&lt;br /&gt;
&lt;br /&gt;
The boot stick will use the network to install the package but a more complete ISO image can be dowloaded.&lt;br /&gt;
&lt;br /&gt;
The wifi will not work (see [[Installing_Debian_on_an_X200]]) but the Ethernet card will. In theory it should be possible build custom Debian Live USB stick, using the latest package and install from there, I didn't manage so far.&lt;br /&gt;
'''Bold text'''&lt;br /&gt;
&lt;br /&gt;
== Sid installation ==&lt;br /&gt;
&lt;br /&gt;
To install sid use the expert installation support and choose unstable for the repository.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Backup hard drive data ==&lt;br /&gt;
&lt;br /&gt;
In order to save the hard drive content, I created complete hard drive image on another hard disk. During the installation procedure I activated another shell with CTRL-ALT-F3, mounted an external HD (/dev/sdb1) and copied the image with:&lt;br /&gt;
&lt;br /&gt;
  mkdir /mnt/sdb1&lt;br /&gt;
  mount /dev/sdb1 /mnt/sdb1/&lt;br /&gt;
  dd if=/dev/sda of=/mnt/sdb1/sda-image&lt;br /&gt;
&lt;br /&gt;
In principle partimage is better option but the installation image does not have it. Also gzipping the partition on the fly would have bin better, but the gzip or bzip2 were not present. Using a custom Debian Live installation image would solve the problem.&lt;br /&gt;
&lt;br /&gt;
== Kernel ==&lt;br /&gt;
&lt;br /&gt;
Some kernel option here:&lt;br /&gt;
  &lt;br /&gt;
  root=/dev/sda1 ro acpi_sleep=s3_bios vga=360 video=vesafb,mtrr&lt;br /&gt;
&lt;br /&gt;
== Video ==&lt;br /&gt;
&lt;br /&gt;
Video driver 2:2.3.2-2+lenny5 is not stable enough. Video get garbled from time to time. Vesa driver is not that slow.&lt;br /&gt;
&lt;br /&gt;
This is a simple xorg.conf:&lt;br /&gt;
&lt;br /&gt;
  $ cat /etc/X11/xorg.conf &lt;br /&gt;
  Section &amp;quot;InputDevice&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;Generic Keyboard&amp;quot;&lt;br /&gt;
        Driver          &amp;quot;kbd&amp;quot;&lt;br /&gt;
        Option          &amp;quot;XkbRules&amp;quot;      &amp;quot;xorg&amp;quot;&lt;br /&gt;
        Option          &amp;quot;XkbModel&amp;quot;      &amp;quot;pc104&amp;quot;&lt;br /&gt;
        Option          &amp;quot;XkbLayout&amp;quot;     &amp;quot;us,us(intl)&amp;quot;&lt;br /&gt;
        Option          &amp;quot;XkbOptions&amp;quot;    &amp;quot;compose(lwin),compose(rwin),grp:shifts_toggle,grp_led:scroll&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
  Section &amp;quot;InputDevice&amp;quot;&lt;br /&gt;
        Identifier  &amp;quot;Configured Mouse&amp;quot;&lt;br /&gt;
        Driver      &amp;quot;mouse&amp;quot;&lt;br /&gt;
        Option      &amp;quot;CorePointer&amp;quot;&lt;br /&gt;
        Option      &amp;quot;Device&amp;quot; &amp;quot;/dev/input/mouse0&amp;quot;&lt;br /&gt;
        Option      &amp;quot;Protocol&amp;quot; &amp;quot;ImPS/2&amp;quot;&lt;br /&gt;
        Option      &amp;quot;EmulateWheel&amp;quot; &amp;quot;on&amp;quot;&lt;br /&gt;
        Option      &amp;quot;EmulateWheelButton&amp;quot; &amp;quot;2&amp;quot;&lt;br /&gt;
        Option      &amp;quot;EmulateWheelTimeout&amp;quot; &amp;quot;250&amp;quot;&lt;br /&gt;
        Option      &amp;quot;XAxisMapping&amp;quot; &amp;quot;6 7&amp;quot;&lt;br /&gt;
        Option      &amp;quot;YAxisMapping&amp;quot; &amp;quot;4 5&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
  Section &amp;quot;Screen&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;Default Screen&amp;quot;&lt;br /&gt;
        Monitor         &amp;quot;Configured Monitor&amp;quot;&lt;br /&gt;
        Defaultdepth    24&lt;br /&gt;
        SubSection &amp;quot;Display&amp;quot;&lt;br /&gt;
                Modes           &amp;quot;1280x800&amp;quot;&lt;br /&gt;
  #             Virtual    2048 864&lt;br /&gt;
        EndSubSection&lt;br /&gt;
  EndSection&lt;br /&gt;
  Section &amp;quot;Monitor&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;Configured Monitor&amp;quot;&lt;br /&gt;
        DisplaySize     231 233.5 #fake smaller dpi&lt;br /&gt;
  EndSection&lt;br /&gt;
  Section &amp;quot;Monitor&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;HDMI-1&amp;quot;&lt;br /&gt;
        Option          &amp;quot;Ignore&amp;quot; &amp;quot;True&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
  Section &amp;quot;Monitor&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;HDMI-2&amp;quot;&lt;br /&gt;
        Option          &amp;quot;Ignore&amp;quot; &amp;quot;True&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
  Section &amp;quot;Device&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;Configured Video Device&amp;quot;&lt;br /&gt;
  #        Driver          &amp;quot;intel&amp;quot;&lt;br /&gt;
        Driver          &amp;quot;vesa&amp;quot;&lt;br /&gt;
        Option          &amp;quot;monitor-HDMI-1&amp;quot; &amp;quot;HDMI-1&amp;quot;&lt;br /&gt;
        Option          &amp;quot;monitor-HDMI-2&amp;quot; &amp;quot;HDMI-2&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
&lt;br /&gt;
== Fonts ==&lt;br /&gt;
&lt;br /&gt;
Default fonts are a bit ugly. Things get better by creating some symbolic link:&lt;br /&gt;
&lt;br /&gt;
  cd /etc/fonts/conf.d&lt;br /&gt;
  ln -s ../conf.avail/10-autohint.conf&lt;br /&gt;
  ln -s ../conf.avail/10-sub-pixel-rgb.conf&lt;br /&gt;
  ln -s ../conf.avail/70-no-bitmaps.conf&lt;br /&gt;
&lt;br /&gt;
For GTK and Firefox&lt;br /&gt;
&lt;br /&gt;
Fonts size are too large. Solution:&lt;br /&gt;
  $cat ~/.gtkrc-2.0&lt;br /&gt;
  # -- THEME AUTO-WRITTEN DO NOT EDIT&lt;br /&gt;
  include &amp;quot;/usr/share/themes/Industrial/gtk-2.0/gtkrc&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  include &amp;quot;/home/rdemaria/.gtkrc-2.0.mine&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  # -- THEME AUTO-WRITTEN DO NOT EDIT&lt;br /&gt;
&lt;br /&gt;
  $cat ~/.gtkrc-2.0.mine&lt;br /&gt;
  gtk-font-name = &amp;quot;Sans 8&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Bold font are also ugly on xvrt (in xterm the bold font control seems always broken). See below for the solution.&lt;br /&gt;
&lt;br /&gt;
== Terminal ==&lt;br /&gt;
&lt;br /&gt;
I tried several terminals. But I found rxvt-unicode the easiest and fastest. This resources allow 4 terminals in one window. Bold font (unreadable to me) are disabled.&lt;br /&gt;
  $cat ~/.Xresources&lt;br /&gt;
  rxvt*cutchars: \$:[]&lt;br /&gt;
  rxvt*visualBell: true&lt;br /&gt;
  rxvt*foreground: white&lt;br /&gt;
  rxvt*background: black&lt;br /&gt;
  rxvt*geometry: 80x27&lt;br /&gt;
  rxvt*jumpScroll: true&lt;br /&gt;
  rxvt*skipScroll: true&lt;br /&gt;
  rxvt*scrollBar: false&lt;br /&gt;
  rxvt*boldFont:&lt;br /&gt;
  rxvt*boldItalicFont:&lt;br /&gt;
  rxvt*saveLines: 9096&lt;br /&gt;
  rxvt*mouseWheelScrollPage: false&lt;br /&gt;
&lt;br /&gt;
== Wifi ==&lt;br /&gt;
&lt;br /&gt;
Put in the /etc/apt/source.list&lt;br /&gt;
&lt;br /&gt;
  deb http://kernel-archive.buildserver.net/debian-kernel trunk main &lt;br /&gt;
&lt;br /&gt;
Installed linux-image-2.6.27-1 and firmware&lt;br /&gt;
&lt;br /&gt;
  wget http://intellinuxwireless.org/iwlwifi/downloads/iwlwifi-5000-ucode-5.4.A.11.tar.gz&lt;br /&gt;
  tar xvfz iwlwifi-5000-ucode-5.4.A.11.tar.gz&lt;br /&gt;
  cp  iwlwifi-5000-ucode-5.4.A.11/iwlwifi-5000-1.ucode /lib/firmware&lt;br /&gt;
  aptitude install linux-image-2.6.27-1-686 hal&lt;br /&gt;
&lt;br /&gt;
== Suspend ==&lt;br /&gt;
&lt;br /&gt;
Suspend to disk works using the button Fn+F12.&lt;br /&gt;
&lt;br /&gt;
Suspend to ram (Fn+F4) does not work with intel driver.&lt;br /&gt;
Using vesa driver, it seemed it worked, but now I have the lcd back light not switching on. &lt;br /&gt;
&lt;br /&gt;
I tried some of the remedies in [[Problem_with_display_remaining_black_after_resume]] but without success.&lt;br /&gt;
&lt;br /&gt;
The trackpoint occasionally stops working after a resume. Apparently it is enough to move it &lt;br /&gt;
a little bit during the resume.&lt;br /&gt;
&lt;br /&gt;
== Special keys ==&lt;br /&gt;
&lt;br /&gt;
Some keys are intercepted by X Windows. The keycodes are&lt;br /&gt;
&lt;br /&gt;
  227 Fn&lt;br /&gt;
  234 Tab left&lt;br /&gt;
  233 Tab right&lt;br /&gt;
  176 Volume up&lt;br /&gt;
  174 Volume dn&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Mute switch the hardware volume which is not controlled by ALSA.&lt;br /&gt;
&lt;br /&gt;
ACPI links suspend to ram and to disc to Fn+F4 and Fn+F12 respectively. Screen brightness, thinklight, bluetooth works as well.&lt;br /&gt;
&lt;br /&gt;
== Sound ==&lt;br /&gt;
&lt;br /&gt;
Everything works, but in a strange way. The hardware volume control is managed by acpi&lt;br /&gt;
&lt;br /&gt;
  $ cat /proc/acpi/ibm/volume&lt;br /&gt;
  level:          8&lt;br /&gt;
  mute:           off&lt;br /&gt;
  commands:       up, down, mute&lt;br /&gt;
  commands:       level &amp;lt;level&amp;gt; (&amp;lt;level&amp;gt; is 0-15)&lt;br /&gt;
&lt;br /&gt;
The mute button is linked to the mute command, but volume up and down are passed to X with keycode 176 174. I&lt;br /&gt;
thought that acpi was intercepting the key and send them to X using fakekey. I played in /etc/acpi/events but I didn't managed to change the behavior.&lt;br /&gt;
&lt;br /&gt;
== Skype ==&lt;br /&gt;
&lt;br /&gt;
Everything works downloading the skype version for Etch. After suspending and resuming the video does not work anymore.&lt;br /&gt;
The error message is:&lt;br /&gt;
&lt;br /&gt;
  Skype V4L2: Could not find a suitable capture format&lt;br /&gt;
&lt;br /&gt;
Several people propose to update the uvcvideo driver.&lt;br /&gt;
  svn checkout http://svn.berlios.de/svnroot/repos/linux-uvc/&lt;br /&gt;
  cd linux-uvc/linux-uvc/trunk/&lt;br /&gt;
  make&lt;br /&gt;
  make install&lt;br /&gt;
  modprobe uvcvideo&lt;br /&gt;
&lt;br /&gt;
But I didn't tried yet cause I'm still using the experimental kernel that does not come with packages for compiling modules.&lt;br /&gt;
&lt;br /&gt;
== GTK and Firefox ==&lt;br /&gt;
&lt;br /&gt;
Fonts size are too large. Solution:&lt;br /&gt;
  $cat /home/rdemaria/.gtkrc-2.0&lt;br /&gt;
  # -- THEME AUTO-WRITTEN DO NOT EDIT&lt;br /&gt;
  include &amp;quot;/usr/share/themes/Industrial/gtk-2.0/gtkrc&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  include &amp;quot;/home/rdemaria/.gtkrc-2.0.mine&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  # -- THEME AUTO-WRITTEN DO NOT EDIT&lt;br /&gt;
&lt;br /&gt;
  $cat /home/rdemaria/.gtkrc-2.0.mine&lt;br /&gt;
  gtk-font-name = &amp;quot;Sans 8&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== Printer and scanner ==&lt;br /&gt;
&lt;br /&gt;
Usb printer and scanner (HP Officejet J4580) works perfectly using cups, hpoj, xsane, hplib.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== TO BE CONTINUED ==&lt;/div&gt;</summary>
		<author><name>Rdemaria</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Rescue_and_Recovery&amp;diff=39601</id>
		<title>Rescue and Recovery</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Rescue_and_Recovery&amp;diff=39601"/>
		<updated>2008-11-08T01:58:24Z</updated>

		<summary type="html">&lt;p&gt;Rdemaria: /* Recovery Boot Hangs */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{| width=&amp;quot;100%&amp;quot;&lt;br /&gt;
|style=&amp;quot;vertical-align:top;padding-right:20px;width:10px;&amp;quot; | __NOTOC__&lt;br /&gt;
|style=&amp;quot;vertical-align:top&amp;quot; |&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin: 0; margin-right:10px; border: 1px solid #dfdfdf; padding: 0em 1em 1em 1em; background-color:#F8F8FF; align:right;&amp;quot;&amp;gt;&lt;br /&gt;
Rescue and Recovery version 3.0 consists of a bootable partition containing various system recovery tools, including full recovery of the preinstalled Windows XP partition. It can be activated by pressing the {{ibmkey|ThinkPad|#494949}}, {{ibmkey|Access IBM|#495988}} or {{ibmkey|ThinkVantage|#495988}} [[ThinkPad Button|Button]] during system boot. It contains a FAT filesystem (sometimes labeled &amp;quot;IBM_SERVICE&amp;quot;, &amp;quot;SERVICEV001&amp;quot;, etc.), and has partition type 0x12 (&amp;quot;Compaq diagnostics&amp;quot; in &amp;lt;tt&amp;gt;fdisk&amp;lt;/tt&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
As opposed to a [[Hidden Protected Area]] Recovery partitions are ordinary partitions, accessible through the partition table. As they are ordinary partitions they are accessible by ordinary partitioning tools. They should be dealt with carefully.&lt;br /&gt;
&lt;br /&gt;
Rescue and Recovery is a Windows-specific feature. If you intend to recover into Windows when you have an issue, it is important to follow the warnings here carefully. If you intend to run another operating system exclusively and never return to Windows, removing this partition is safe. If you remove it, you can still reinstall windows at a later time, provided you have created a Recovery set of discs (1CD + 1DVD or 5CDs required). Booting from the Recovery CD will restore the system to the factory state including the recovery partition.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Proper MBR==&lt;br /&gt;
{{WARN|Only tinker with the MBR and the Rescue and Recovery partition if you know what you're doing. Mistakes can leave the system unbootable and can make it very difficult to retrieve the data on the harddisk.}}&lt;br /&gt;
&lt;br /&gt;
Consideration 6 of the Readme states:&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&amp;quot;The Master Boot Record (MBR) must be configured properly for the Rescue and Recovery application to function properly.  When possible, the Rescue and Recovery application attempts to ensure the proper configuration of the MBR.  This can only occur if the Rescue and Recovery application is installed after other applications that requires the MBR.&amp;quot;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Apparently, the MBR is not &amp;quot;configured properly&amp;quot; if LILO or GRUB have written it. The following is the case:&lt;br /&gt;
*The default bootloader seems to ignore the active bit and always boots the first partition instead&lt;br /&gt;
*The default bootloader contains code to catch a press of the appropriate button during bootup and launch the Rescue and Recovery application in that case&lt;br /&gt;
*Before launching the Rescue and Recovery application at system boot, the default bootloader changes the partition type of the Rescue and Recovery partiton to 0x0b, otherwise it changes it to 0x12 (to hide it from Windows)&lt;br /&gt;
*The Rescue and Recovery application assumes that the first partition contains Windows&lt;br /&gt;
*When booting from the Rescue and Recovery partition, it needs to have its type set (either by Thinkvantage or by GRUB) to 0x0b (FAT32) for the default bootloader to launch the Rescue and Recovery application.&lt;br /&gt;
&lt;br /&gt;
Since neither LILO nor GRUB catch the press of the button (an undocumented mechanism anyway) it is not possible to launch the Rescue and Recovery application by pressing the appropriate button during system boot, once LILO or GRUB have altered the MBR for their boot procedure.&lt;br /&gt;
&lt;br /&gt;
IBM provides a program to manage the Rescue and Recovery bootloader. It is located in {{path|C:\Program Files\IBM ThinkVantage\Common\BMGR}} or {{path|C:\Program Files\Common Files\Lenovo\BMGR}}. It can select the partition to boot, and also allows for rewriting the MBR if it was written by another bootloader. More information is needed about this program. Here is an example that restores the IBM MBR. It seems that it only extends the already installed MBR. Therefore you must have a valid Windows MBR installed if you want to boot into Windows. The GRUB MBR doesn't work here.&lt;br /&gt;
&lt;br /&gt;
 cd C:\Program Files\IBM ThinkVantage\Common\BMGR&lt;br /&gt;
 bmgr32 /Fbootmgr.bin /v&lt;br /&gt;
&lt;br /&gt;
Some more information about BMGR here, but it may be slightly out of date:&lt;br /&gt;
http://www.redbooks.ibm.com/abstracts/SG247107.html (lookup BMGR32 in the Index)&lt;br /&gt;
&lt;br /&gt;
Sometimes it is not enough to simply restore the IBM MBR if you want to boot into Windows. The Windows MBR might have been overwritten by another bootloader. In that case you should restore the Windows MBR using a Windows CD. More info can be found on http://www.novell.com/documentation/suse91/suselinux-adminguide/html/ch07s05.html&lt;br /&gt;
&lt;br /&gt;
===MBR written by GRUB===&lt;br /&gt;
The MBR written by GRUB can be used to launch the Rescue and Recovery application. However, if you leave the type of the Rescue and Recovery partition to 0x12 (Compaq diagnostics), trying to boot this partition will result in an error message &amp;quot;c000021a, Fatal System Error&amp;quot;. To avoid that, and to make sure the recovery partition is always of the right type, add a line to change the partition type to 0x0b (FAT32) to the Rescue and Recovery partition's entry in your {{path|/boot/grub/menu.lst}}. Also, as we will be hiding the Rescue and Recovery partition from Windows (see below), we need to &amp;lt;tt&amp;gt;unhide&amp;lt;/tt&amp;gt; the partition here to make sure it will be visible and bootable. So, assuming your Rescue and Recovery partition is the second partition, the GRUB entry would look like this:&lt;br /&gt;
&lt;br /&gt;
  title           IBM Rescue and Recovery&lt;br /&gt;
  root            (hd0,1)&lt;br /&gt;
  '''parttype        (hd0,1) 0x0b'''&lt;br /&gt;
  '''unhide          (hd0,1)'''&lt;br /&gt;
  chainloader     +1&lt;br /&gt;
&lt;br /&gt;
{{NOTE|Some people reported this not working (in particular, on a {{Z61m}} 9450-3HG). Version 4.0 of Rescue and Recovery uses an NTFS partition, so a partition type of 0x07 (HPFS/NTFS) may be needed.&lt;br /&gt;
}}&lt;br /&gt;
{{Todo|verify this note}}&lt;br /&gt;
&lt;br /&gt;
You will find that while the above lets you launch the Rescue and Recovery application, trying to run the Hardware Diagnostics tool will fail, as it needs a &amp;quot;properly configured&amp;quot; (original) MBR. What happens is that to run the hardware diagnostics, the R&amp;amp;R software temporarily changes the &amp;quot;properly configured&amp;quot; MBR to boot a PC-DOCTOR disk image found on the Rescue and Recovery partition, then asks you to reboot. So all we need to do to get the Hardware Diagnostics back is add another entry to {{path|/boot/grub/menu.lst}}, that will load the PC-DOCTOR disk image. The entry is similar to the &amp;lt;tt&amp;gt;IBM Rescue and Recovery&amp;lt;/tt&amp;gt; one above, with a different &amp;lt;tt&amp;gt;chainloader&amp;lt;/tt&amp;gt; line:&lt;br /&gt;
&lt;br /&gt;
  title           Hardware Diagnostics&lt;br /&gt;
  root            (hd0,1)&lt;br /&gt;
  parttype        (hd0,1) 0x0b&lt;br /&gt;
  unhide          (hd0,1)&lt;br /&gt;
  '''chainloader     /bootsect.dos'''&lt;br /&gt;
&lt;br /&gt;
Finally, as mentioned previously, the Rescue and Recovery partition should be hidden from Windows. This is to prevent any modifications being done to it, as they may damage the Rescue and Recovery software. So, assuming that Windows is on the first partition, the Windows GRUB entry would look like this:&lt;br /&gt;
&lt;br /&gt;
  title           Windows&lt;br /&gt;
  root            (hd0,0)&lt;br /&gt;
  '''hide            (hd0,1)'''&lt;br /&gt;
  chainloader     +1&lt;br /&gt;
&lt;br /&gt;
===GRUB in a partition's boot sector===&lt;br /&gt;
A way to have your Access IBM button still functional on bootup, is to create a separate {{path|/boot}} partition, install GRUB to that partition and make it active. This will leave the MBR untouched.&lt;br /&gt;
{{NOTE|If the above finding is true that the MBR ignores the active bit, that partition has to be the first one. In most recent Linux distributions it is not easy to create /boot as first partition and shrink the Windows partition. In that case the Windows bootloader can be used to boot Windows and Linux, also preserving the Rescue and Recovery functionality. See below.}}&lt;br /&gt;
*In the BIOS, set the IBM Predesktop Area to 'Secure'.&lt;br /&gt;
*Boot your Linux distribution's installation CD.&lt;br /&gt;
*Follow the instructions and go through the regular installation process.&lt;br /&gt;
*Create a '''primary partition''' for /boot (the other stuff can go into the extended partitions) and when the time comes to install GRUB, make sure you install it into the boot sector of the boot partition.&lt;br /&gt;
*Set this boot partition as active.&lt;br /&gt;
&lt;br /&gt;
===Using the Windows Bootloader to Boot Linux===&lt;br /&gt;
The NTLDR Windows bootloader can be configured to boot Linux in addition to Windows.  The master boot record (MBR) is unchanged, so the ThinkVantage Rescue and Recovery system boot functionality is preserved.  This clever procedure was [http://gawrysiak.org/corvus/?p=4 originally applied] to Ubuntu Dapper Drake, and is generalized here.&lt;br /&gt;
&lt;br /&gt;
0. Added warning: with this method, you cannot hibernate windows and boot anything else. The windows boot loader jumps on resuming windows before asking anything (and you can already verify this right now, whatever your current configuration is).&lt;br /&gt;
&lt;br /&gt;
1. Boot Windows and make product recovery disks.  You will see this step repeated throught this wiki for good reason.  The recovery disks can refresh your hard disk to its original factory state, getting you out of the trouble you might make in the next step.&lt;br /&gt;
&lt;br /&gt;
2. Shrink the Windows NTFS partition to the size you like.  You will need a bootable CD that is capable of resizing NTFS partitions.  I have done this before with Knoppix, but this time I used Partition Magic (US$70).&lt;br /&gt;
&lt;br /&gt;
Leave the Rescue and Recovery partition (~5GB) at the end of the disk.  Other authors claim that it ''must not'' be moved.  I did move it, and it works fine.  Still, in retrospect I agree that the end of the disk is the best place for your Rescue and Recovery partition.&lt;br /&gt;
&lt;br /&gt;
3. Reboot.  Push the {{ibmkey|ThinkVantage|#495988}} button during system boot, and verify that Rescue and Recovery still runs.  Reboot into Windows to verify that the partition resize was successful.&lt;br /&gt;
&lt;br /&gt;
4. Begin your Linux installation.  Linux will see the Windows NTFS partition as /dev/sda1, and the Rescue and Recovery FAT32 partition as /dev/sda2.  When the Linux installer asks you about GRUB, do not install GRUB in the MBR.  Instead, install GRUB in the /boot partition (most likely /dev/sda3).&lt;br /&gt;
&lt;br /&gt;
5. After the Linux installation is finished, reboot with a bootable Linux live CD.  The &amp;quot;rescue mode&amp;quot; of your Linux installation CD #1 should work fine for this.  Usually you start the rescue mode with the command,&lt;br /&gt;
&lt;br /&gt;
    linux rescue&lt;br /&gt;
&lt;br /&gt;
Start the network if you plan to use FTP in step 7.&lt;br /&gt;
&lt;br /&gt;
6. After you get a shell prompt, become root if necessary, and then write the first sector of the /boot partition (probably /dev/sda3) to a file using the dd command:&lt;br /&gt;
&lt;br /&gt;
     sudo -i                   # If necessary&lt;br /&gt;
     cd /mnt/sysimage/boot     # Or wherever your live CD mounts the /boot partition&lt;br /&gt;
     dd if=/dev/sda3 of=grub.img bs=512 count=1&lt;br /&gt;
&lt;br /&gt;
The resulting grub.img file should be 512 bytes long.&lt;br /&gt;
&lt;br /&gt;
7. Transfer the grub.img file somewhere where you can read it from Windows.  You can use removable media like a USB flash drive, or even FTP.&lt;br /&gt;
&lt;br /&gt;
8. Reboot into Windows. Copy the grub.img file to c:\grub.img.&lt;br /&gt;
&lt;br /&gt;
9. Make a backup copy of the c:\boot.ini NTLDR control file.  c:\boot.ini is read-only and hidden, so you will have to tell Windows to show hidden files, and turn off the read-only property on c:\boot.ini.&lt;br /&gt;
&lt;br /&gt;
10. Edit c:\boot.ini.  Append the line,&lt;br /&gt;
&lt;br /&gt;
    c:\grub.img=&amp;quot;Linux GRUB Bootloader&amp;quot;&lt;br /&gt;
&lt;br /&gt;
So that Linux will boot by default, you may also want to change the default OS to c:\grub.img, and reduce the timeout to 5 seconds or so.  For reference, here is my c:\boot.ini file for Windows XP:&lt;br /&gt;
&lt;br /&gt;
    [boot loader]&lt;br /&gt;
    timeout=5&lt;br /&gt;
    default=c:\grub.img&lt;br /&gt;
    [operating systems]&lt;br /&gt;
    c:\grub.img=&amp;quot;Linux GRUB Bootloader&amp;quot;&lt;br /&gt;
    multi(0)disk(0)rdisk(0)partition(1)\WINDOWS=&amp;quot;Windows XP Professional&amp;quot; /noexecute=optin /fastdetec&lt;br /&gt;
&lt;br /&gt;
11. Reboot.  Now the Windows boot menu should offer you a choice of &amp;quot;Linux GRUB Bootloader&amp;quot; or Windows XP.  Choose &amp;quot;Linux GRUB Bootloader&amp;quot;, and you will be taken to the GRUB boot menu, where you can select Linux, or even go back to the Windows boot menu.&lt;br /&gt;
&lt;br /&gt;
12. When you need Rescue and Recovery, push the {{ibmkey|ThinkVantage|#495988}} button upon system boot.  Since you have touched neither the MBR nor the Rescue and Recovery partition, Rescue and Recovery will work exactly the same as it did before you installed Linux.&lt;br /&gt;
&lt;br /&gt;
==Newer versions of Rescue and Recovery==&lt;br /&gt;
&lt;br /&gt;
Rescue and Recovery version 4 is installed on T61/R61.&lt;br /&gt;
&lt;br /&gt;
The partition type is 0x27. By factory default, the R&amp;amp;R partition is the first partition on the disk. The filesystem used is NTFS. The preloaded Windows appear as the second partition, with the active bit set.&lt;br /&gt;
&lt;br /&gt;
(_NOT_ on all T61s.  Mine has version 4, but the R&amp;amp;R partition is the 2nd,&lt;br /&gt;
and its ID is 0x12.  More work needed here....)&lt;br /&gt;
&lt;br /&gt;
(The same here on R61 8919-CTO - R&amp;amp;R version 4 was second partition of type FAT32)&lt;br /&gt;
&lt;br /&gt;
R&amp;amp;R version 4 bootloader seems to honor the active bit in the partition table. To install Linux while maintaining the R&amp;amp;R functionality is therefore rather straightforward:&lt;br /&gt;
&lt;br /&gt;
* Shrink the second Windows partition &amp;amp;ndash; or remove it if not needed&lt;br /&gt;
* Add partitions for Linux (or other operating systems), one of them has to be a '''primary partition''' since the R&amp;amp;R bootloader cannot boot from an extended one&lt;br /&gt;
* Install GRUB on the boot sector of the newly added primary partition&lt;br /&gt;
* Remove the active bit from the Windows partition and activate the boot partition with GRUB&lt;br /&gt;
&lt;br /&gt;
==Older versions of Rescue and Recovery==&lt;br /&gt;
Some Thinkpads (e.g., T23 and T30) do not come with a Recovery CD, but also do not support the [[Hidden Protected Area]].  These ThinkPads have an older version of Rescue and Recovery preloaded on the hard disk to implement the factory recovery function.  Most of the comments above also apply to the older versions, with the following differences:&lt;br /&gt;
*The recovery partition type is 0x1c, hidden FAT32, LBA-mapped (or 0xc when unhidden).&lt;br /&gt;
*The boot manager program is in {{path|C:\IBMTOOLS\RECOVERY}} and only runs in a 16-bit DOS environment&lt;br /&gt;
{{Fixme|name of this boot manager needed}}&lt;br /&gt;
*The IBM Predesktop area runs atop of Windows 98 (command-line) instead of WinPE&lt;br /&gt;
&lt;br /&gt;
== Recovery Boot Hangs ==&lt;br /&gt;
On an R61 I recently tried to restore XP via cd/dvd with a new hard drive in the machine which had fedora 9 installed with an encrypted partition. The boot cd/dvd would start booting, flash &amp;quot;inspecting machine configuration&amp;quot; or something similar, then hang on a blank screen. To check if your cd/dvd is actually okay or not, unplug the HD completely, in my case the cd/dvd booted fine after that. To &amp;quot;fix&amp;quot; this issue such that I could actually run restore, I booted fedora 9 from dvd, repartitioned the drive as unencrypted and vfat, after saving the new partition I was able to go back and boot the recovery cd/dvd. I'm not sure if you actually have to do exactly what I did to the drive or not but that's what I did and it worked so maybe some smaller subset would be sufficient.&lt;br /&gt;
&lt;br /&gt;
== Recovery from hard drive ==&lt;br /&gt;
&lt;br /&gt;
If you are able to load Rescue and Recovery either using F11, or the installed grub, or SGD (Super Grub Disk) (download at http://www.supergrubdisk.org/ and use the option Boot Window fron 2nd partition), you might restore the system to the factory preload.&lt;br /&gt;
&lt;br /&gt;
If you install GRUB in the MBR, the recover will start but it won't replace the MBR. In this case GRUB is started, but without other file it get stuck with error 22. To restore the MBR one could either try to use rnr31_rrd.exe (XP) or rnr40_rrd.ext (Vista) if you have a floppy disk. If you have only a cd on rapidshare there are iso image (google for instance using rnr31_rrd_fixed.iso). I tried but without success. Even if the machine does not boot, somehow the recovery takes place. Using SGD as boot loader the recovery can proceed, but so far I got an unstable machine. In particular the recovery cd cannot be produced anymore...&lt;br /&gt;
&lt;br /&gt;
==External links ==&lt;br /&gt;
* [http://www-307.ibm.com/pc/support/site.wss/document.do?lndocid=MIGR-4Q2QAK IBM ThinkVantage Rescue and Recovery].&lt;br /&gt;
* [ftp://ftp.software.ibm.com/pc/pccbbs/thinkvantage_en/tvtrnr3_1027en.txt Rescue and Recovery Readme]&lt;br /&gt;
* [http://www-307.ibm.com/pc/support/site.wss/document.do?sitestyle=lenovo&amp;amp;lndocid=MIGR-46088 Accessing the Recovery Partition if Linux has been installed and the F11 button no longer works]&lt;br /&gt;
* [http://www-307.ibm.com/pc/support/site.wss/document.do?lndocid=MIGR-54483 IBM Rescue and Recovery repair diskette]&lt;br /&gt;
* [http://www.bb242.de/2007/11/22/grub-bootable-auf-usb-stick/ How to reinstall grub from USB, if grub is corrupted after R&amp;amp;R update (German)]&lt;br /&gt;
&lt;br /&gt;
==Models featuring this technology==&lt;br /&gt;
* ThinkPad {{T23}}, {{T30}} (R&amp;amp;R 2.0)&lt;br /&gt;
* ThinkPad {{T42}}&lt;br /&gt;
* ThinkPad {{T43}}, {{T43p}}&lt;br /&gt;
* ThinkPad {{T60}}, {{T60p}}&lt;br /&gt;
* ThinkPad {{T61}}, {{T61p}}&lt;br /&gt;
* ThinkPad {{R52}}&lt;br /&gt;
* ThinkPad {{R61}} (R&amp;amp;R version 4)&lt;br /&gt;
* ThinkPad {{Z60m}}&lt;br /&gt;
* Thinkpad {{Z61m}}&lt;br /&gt;
* Thinkpad {{X61}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Glossary]]&lt;/div&gt;</summary>
		<author><name>Rdemaria</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Debian_Sid_(October_2008)_on_a_ThinkPad_X200&amp;diff=39460</id>
		<title>Installing Debian Sid (October 2008) on a ThinkPad X200</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Debian_Sid_(October_2008)_on_a_ThinkPad_X200&amp;diff=39460"/>
		<updated>2008-11-02T16:58:22Z</updated>

		<summary type="html">&lt;p&gt;Rdemaria: /* Skype */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
Amazing machine: light, quiet, large battery life, ideal for travels, great value for money compared to X200T and X300.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Creating installation device ==&lt;br /&gt;
&lt;br /&gt;
The X200 has no cd/dvd but can boot from USB. On the X200 BIOS settings, the USB disk boot option needed to be raised to be used first. Using F1 at boot gives access to the BIOS.&lt;br /&gt;
&lt;br /&gt;
I created an USB bootable iso from another linux installation.&lt;br /&gt;
I had an usb stick with a FAT32 partition on /dev/sdc1. I dowloaded the boot and iso file and installed the image&lt;br /&gt;
using:&lt;br /&gt;
&lt;br /&gt;
  wget http://people.debian.org/~joeyh/d-i/images/daily/hd-media/boot.img.gz&lt;br /&gt;
  wget http://cdimage.debian.org/cdimage/daily-builds/daily/arch-latest/i386/iso-cd/debian-testing-i386-netinst.iso&lt;br /&gt;
  zcat boot.img.gz &amp;gt;/dev/sdc1&lt;br /&gt;
  mkdir /mnt/sdc1&lt;br /&gt;
  mount /dev/sdc1 /mnt/sdc1&lt;br /&gt;
  cp debian-testing-i386-netinst.iso /mnt/sdc1&lt;br /&gt;
&lt;br /&gt;
The boot stick will use the network to install the package but a more complete ISO image can be dowloaded.&lt;br /&gt;
&lt;br /&gt;
The wifi will not work (see [[Installing_Debian_on_an_X200]]) but the Ethernet card will. In theory it should be possible build custom Debian Live USB stick, using the latest package and install from there, I didn't manage so far.&lt;br /&gt;
'''Bold text'''&lt;br /&gt;
&lt;br /&gt;
== Sid installation ==&lt;br /&gt;
&lt;br /&gt;
To install sid use the expert installation support and choose unstable for the repository.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Backup hard drive data ==&lt;br /&gt;
&lt;br /&gt;
In order to save the hard drive content, I created complete hard drive image on another hard disk. During the installation procedure I activated another shell with CTRL-ALT-F3, mounted an external HD (/dev/sdb1) and copied the image with:&lt;br /&gt;
&lt;br /&gt;
  mkdir /mnt/sdb1&lt;br /&gt;
  mount /dev/sdb1 /mnt/sdb1/&lt;br /&gt;
  dd if=/dev/sda of=/mnt/sdb1/sda-image&lt;br /&gt;
&lt;br /&gt;
In principle partimage is better option but the installation image does not have it. Also gzipping the partition on the fly would have bin better, but the gzip or bzip2 were not present. Using a custom Debian Live installation image would solve the problem.&lt;br /&gt;
&lt;br /&gt;
== Video ==&lt;br /&gt;
&lt;br /&gt;
Video driver 2:2.3.2-2+lenny5 is not stable enough. Video get garbled from time to time. Vesa driver is not that slow.&lt;br /&gt;
&lt;br /&gt;
This is a simple xorg.conf:&lt;br /&gt;
&lt;br /&gt;
  $ cat /etc/X11/xorg.conf &lt;br /&gt;
  Section &amp;quot;InputDevice&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;Generic Keyboard&amp;quot;&lt;br /&gt;
        Driver          &amp;quot;kbd&amp;quot;&lt;br /&gt;
        Option          &amp;quot;XkbRules&amp;quot;      &amp;quot;xorg&amp;quot;&lt;br /&gt;
        Option          &amp;quot;XkbModel&amp;quot;      &amp;quot;pc104&amp;quot;&lt;br /&gt;
        Option          &amp;quot;XkbLayout&amp;quot;     &amp;quot;us,us(intl)&amp;quot;&lt;br /&gt;
        Option          &amp;quot;XkbOptions&amp;quot;    &amp;quot;compose(lwin),compose(rwin),grp:shifts_toggle,grp_led:scroll&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
  Section &amp;quot;InputDevice&amp;quot;&lt;br /&gt;
        Identifier  &amp;quot;Configured Mouse&amp;quot;&lt;br /&gt;
        Driver      &amp;quot;mouse&amp;quot;&lt;br /&gt;
        Option      &amp;quot;CorePointer&amp;quot;&lt;br /&gt;
        Option      &amp;quot;Device&amp;quot; &amp;quot;/dev/input/mouse0&amp;quot;&lt;br /&gt;
        Option      &amp;quot;Protocol&amp;quot; &amp;quot;ImPS/2&amp;quot;&lt;br /&gt;
        Option      &amp;quot;EmulateWheel&amp;quot; &amp;quot;on&amp;quot;&lt;br /&gt;
        Option      &amp;quot;EmulateWheelButton&amp;quot; &amp;quot;2&amp;quot;&lt;br /&gt;
        Option      &amp;quot;EmulateWheelTimeout&amp;quot; &amp;quot;250&amp;quot;&lt;br /&gt;
        Option      &amp;quot;XAxisMapping&amp;quot; &amp;quot;6 7&amp;quot;&lt;br /&gt;
        Option      &amp;quot;YAxisMapping&amp;quot; &amp;quot;4 5&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
  Section &amp;quot;Screen&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;Default Screen&amp;quot;&lt;br /&gt;
        Monitor         &amp;quot;Configured Monitor&amp;quot;&lt;br /&gt;
        Defaultdepth    24&lt;br /&gt;
        SubSection &amp;quot;Display&amp;quot;&lt;br /&gt;
                Modes           &amp;quot;1280x800&amp;quot;&lt;br /&gt;
  #             Virtual    2048 864&lt;br /&gt;
        EndSubSection&lt;br /&gt;
  EndSection&lt;br /&gt;
  Section &amp;quot;Monitor&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;Configured Monitor&amp;quot;&lt;br /&gt;
        DisplaySize     231 233.5 #fake smaller dpi&lt;br /&gt;
  EndSection&lt;br /&gt;
  Section &amp;quot;Monitor&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;HDMI-1&amp;quot;&lt;br /&gt;
        Option          &amp;quot;Ignore&amp;quot; &amp;quot;True&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
  Section &amp;quot;Monitor&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;HDMI-2&amp;quot;&lt;br /&gt;
        Option          &amp;quot;Ignore&amp;quot; &amp;quot;True&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
  Section &amp;quot;Device&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;Configured Video Device&amp;quot;&lt;br /&gt;
  #        Driver          &amp;quot;intel&amp;quot;&lt;br /&gt;
        Driver          &amp;quot;vesa&amp;quot;&lt;br /&gt;
        Option          &amp;quot;monitor-HDMI-1&amp;quot; &amp;quot;HDMI-1&amp;quot;&lt;br /&gt;
        Option          &amp;quot;monitor-HDMI-2&amp;quot; &amp;quot;HDMI-2&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
&lt;br /&gt;
== Fonts ==&lt;br /&gt;
&lt;br /&gt;
Default fonts are a bit ugly. Things get better by creating some symbolic link:&lt;br /&gt;
&lt;br /&gt;
  cd /etc/fonts/conf.d&lt;br /&gt;
  ln -s ../conf.avail/10-autohint.conf&lt;br /&gt;
  ln -s ../conf.avail/10-sub-pixel-rgb.conf&lt;br /&gt;
  ln -s ../conf.avail/70-no-bitmaps.conf&lt;br /&gt;
&lt;br /&gt;
For GTK and Firefox&lt;br /&gt;
&lt;br /&gt;
Fonts size are too large. Solution:&lt;br /&gt;
  $cat ~/.gtkrc-2.0&lt;br /&gt;
  # -- THEME AUTO-WRITTEN DO NOT EDIT&lt;br /&gt;
  include &amp;quot;/usr/share/themes/Industrial/gtk-2.0/gtkrc&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  include &amp;quot;/home/rdemaria/.gtkrc-2.0.mine&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  # -- THEME AUTO-WRITTEN DO NOT EDIT&lt;br /&gt;
&lt;br /&gt;
  $cat ~/.gtkrc-2.0.mine&lt;br /&gt;
  gtk-font-name = &amp;quot;Sans 8&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Bold font are also ugly on xvrt (in xterm the bold font control seems always broken). See below for the solution.&lt;br /&gt;
&lt;br /&gt;
== Terminal ==&lt;br /&gt;
&lt;br /&gt;
I tried several terminals. But I found rxvt-unicode the easiest and fastest. This resources allow 4 terminals in one window. Bold font (unreadable to me) are disabled.&lt;br /&gt;
  $cat ~/.Xresources&lt;br /&gt;
  rxvt*cutchars: \$:[]&lt;br /&gt;
  rxvt*visualBell: true&lt;br /&gt;
  rxvt*foreground: white&lt;br /&gt;
  rxvt*background: black&lt;br /&gt;
  rxvt*geometry: 80x27&lt;br /&gt;
  rxvt*jumpScroll: true&lt;br /&gt;
  rxvt*skipScroll: true&lt;br /&gt;
  rxvt*scrollBar: false&lt;br /&gt;
  rxvt*boldFont:&lt;br /&gt;
  rxvt*boldItalicFont:&lt;br /&gt;
  rxvt*saveLines: 9096&lt;br /&gt;
  rxvt*mouseWheelScrollPage: false&lt;br /&gt;
&lt;br /&gt;
== Wifi ==&lt;br /&gt;
&lt;br /&gt;
Put in the /etc/apt/source.list&lt;br /&gt;
&lt;br /&gt;
  deb http://kernel-archive.buildserver.net/debian-kernel trunk main &lt;br /&gt;
&lt;br /&gt;
Installed linux-image-2.6.27-1 and firmware&lt;br /&gt;
&lt;br /&gt;
  wget http://intellinuxwireless.org/iwlwifi/downloads/iwlwifi-5000-ucode-5.4.A.11.tar.gz&lt;br /&gt;
  tar xvfz iwlwifi-5000-ucode-5.4.A.11.tar.gz&lt;br /&gt;
  cp  iwlwifi-5000-ucode-5.4.A.11/iwlwifi-5000-1.ucode /lib/firmware&lt;br /&gt;
  aptitude install linux-image-2.6.27-1-686 hal&lt;br /&gt;
&lt;br /&gt;
== Suspend ==&lt;br /&gt;
&lt;br /&gt;
Suspend to disk works using the button Fn+F12.&lt;br /&gt;
&lt;br /&gt;
Suspend to ram (Fn+F4) does not work with intel driver.&lt;br /&gt;
Using vesa driver, it seemed it worked, but now I have the lcd back light not switching on. &lt;br /&gt;
&lt;br /&gt;
I tried some of the remedies in [[Problem_with_display_remaining_black_after_resume]] but without success.&lt;br /&gt;
&lt;br /&gt;
The trackpoint occasionally stops working after a resume. Apparently it is enough to move it &lt;br /&gt;
a little bit during the resume.&lt;br /&gt;
&lt;br /&gt;
== Special keys ==&lt;br /&gt;
&lt;br /&gt;
Some keys are intercepted by X Windows. The keycodes are&lt;br /&gt;
&lt;br /&gt;
  227 Fn&lt;br /&gt;
  234 Tab left&lt;br /&gt;
  233 Tab right&lt;br /&gt;
  176 Volume up&lt;br /&gt;
  174 Volume dn&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Mute switch the hardware volume which is not controlled by ALSA.&lt;br /&gt;
&lt;br /&gt;
ACPI links suspend to ram and to disc to Fn+F4 and Fn+F12 respectively. Screen brightness, thinklight, bluetooth works as well.&lt;br /&gt;
&lt;br /&gt;
== Sound ==&lt;br /&gt;
&lt;br /&gt;
Everything works, but in a strange way. The hardware volume control is managed by acpi&lt;br /&gt;
&lt;br /&gt;
  $ cat /proc/acpi/ibm/volume&lt;br /&gt;
  level:          8&lt;br /&gt;
  mute:           off&lt;br /&gt;
  commands:       up, down, mute&lt;br /&gt;
  commands:       level &amp;lt;level&amp;gt; (&amp;lt;level&amp;gt; is 0-15)&lt;br /&gt;
&lt;br /&gt;
The mute button is linked to the mute command, but volume up and down are passed to X with keycode 176 174. I&lt;br /&gt;
thought that acpi was intercepting the key and send them to X using fakekey. I played in /etc/acpi/events but I didn't managed to change the behavior.&lt;br /&gt;
&lt;br /&gt;
== Skype ==&lt;br /&gt;
&lt;br /&gt;
Everything works downloading the skype version for Etch. After suspending and resuming the video does not work anymore.&lt;br /&gt;
The error message is:&lt;br /&gt;
&lt;br /&gt;
  Skype V4L2: Could not find a suitable capture format&lt;br /&gt;
&lt;br /&gt;
Several people propose to update the uvcvideo driver.&lt;br /&gt;
  svn checkout http://svn.berlios.de/svnroot/repos/linux-uvc/&lt;br /&gt;
  cd linux-uvc/linux-uvc/trunk/&lt;br /&gt;
  make&lt;br /&gt;
  make install&lt;br /&gt;
  modprobe uvcvideo&lt;br /&gt;
&lt;br /&gt;
But I didn't tried yet cause I'm still using the experimental kernel that does not come with packages for compiling modules.&lt;br /&gt;
&lt;br /&gt;
== GTK and Firefox ==&lt;br /&gt;
&lt;br /&gt;
Fonts size are too large. Solution:&lt;br /&gt;
  $cat /home/rdemaria/.gtkrc-2.0&lt;br /&gt;
  # -- THEME AUTO-WRITTEN DO NOT EDIT&lt;br /&gt;
  include &amp;quot;/usr/share/themes/Industrial/gtk-2.0/gtkrc&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  include &amp;quot;/home/rdemaria/.gtkrc-2.0.mine&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  # -- THEME AUTO-WRITTEN DO NOT EDIT&lt;br /&gt;
&lt;br /&gt;
  $cat /home/rdemaria/.gtkrc-2.0.mine&lt;br /&gt;
  gtk-font-name = &amp;quot;Sans 8&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== Printer and scanner ==&lt;br /&gt;
&lt;br /&gt;
Usb printer and scanner (HP Officejet J4580) works perfectly using cups, hpoj, xsane, hplib.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== TO BE CONTINUED ==&lt;/div&gt;</summary>
		<author><name>Rdemaria</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Debian_Sid_(October_2008)_on_a_ThinkPad_X200&amp;diff=39459</id>
		<title>Installing Debian Sid (October 2008) on a ThinkPad X200</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Debian_Sid_(October_2008)_on_a_ThinkPad_X200&amp;diff=39459"/>
		<updated>2008-11-02T16:50:15Z</updated>

		<summary type="html">&lt;p&gt;Rdemaria: /* TO BE CONTINUED */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
Amazing machine: light, quiet, large battery life, ideal for travels, great value for money compared to X200T and X300.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Creating installation device ==&lt;br /&gt;
&lt;br /&gt;
The X200 has no cd/dvd but can boot from USB. On the X200 BIOS settings, the USB disk boot option needed to be raised to be used first. Using F1 at boot gives access to the BIOS.&lt;br /&gt;
&lt;br /&gt;
I created an USB bootable iso from another linux installation.&lt;br /&gt;
I had an usb stick with a FAT32 partition on /dev/sdc1. I dowloaded the boot and iso file and installed the image&lt;br /&gt;
using:&lt;br /&gt;
&lt;br /&gt;
  wget http://people.debian.org/~joeyh/d-i/images/daily/hd-media/boot.img.gz&lt;br /&gt;
  wget http://cdimage.debian.org/cdimage/daily-builds/daily/arch-latest/i386/iso-cd/debian-testing-i386-netinst.iso&lt;br /&gt;
  zcat boot.img.gz &amp;gt;/dev/sdc1&lt;br /&gt;
  mkdir /mnt/sdc1&lt;br /&gt;
  mount /dev/sdc1 /mnt/sdc1&lt;br /&gt;
  cp debian-testing-i386-netinst.iso /mnt/sdc1&lt;br /&gt;
&lt;br /&gt;
The boot stick will use the network to install the package but a more complete ISO image can be dowloaded.&lt;br /&gt;
&lt;br /&gt;
The wifi will not work (see [[Installing_Debian_on_an_X200]]) but the Ethernet card will. In theory it should be possible build custom Debian Live USB stick, using the latest package and install from there, I didn't manage so far.&lt;br /&gt;
'''Bold text'''&lt;br /&gt;
&lt;br /&gt;
== Sid installation ==&lt;br /&gt;
&lt;br /&gt;
To install sid use the expert installation support and choose unstable for the repository.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Backup hard drive data ==&lt;br /&gt;
&lt;br /&gt;
In order to save the hard drive content, I created complete hard drive image on another hard disk. During the installation procedure I activated another shell with CTRL-ALT-F3, mounted an external HD (/dev/sdb1) and copied the image with:&lt;br /&gt;
&lt;br /&gt;
  mkdir /mnt/sdb1&lt;br /&gt;
  mount /dev/sdb1 /mnt/sdb1/&lt;br /&gt;
  dd if=/dev/sda of=/mnt/sdb1/sda-image&lt;br /&gt;
&lt;br /&gt;
In principle partimage is better option but the installation image does not have it. Also gzipping the partition on the fly would have bin better, but the gzip or bzip2 were not present. Using a custom Debian Live installation image would solve the problem.&lt;br /&gt;
&lt;br /&gt;
== Video ==&lt;br /&gt;
&lt;br /&gt;
Video driver 2:2.3.2-2+lenny5 is not stable enough. Video get garbled from time to time. Vesa driver is not that slow.&lt;br /&gt;
&lt;br /&gt;
This is a simple xorg.conf:&lt;br /&gt;
&lt;br /&gt;
  $ cat /etc/X11/xorg.conf &lt;br /&gt;
  Section &amp;quot;InputDevice&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;Generic Keyboard&amp;quot;&lt;br /&gt;
        Driver          &amp;quot;kbd&amp;quot;&lt;br /&gt;
        Option          &amp;quot;XkbRules&amp;quot;      &amp;quot;xorg&amp;quot;&lt;br /&gt;
        Option          &amp;quot;XkbModel&amp;quot;      &amp;quot;pc104&amp;quot;&lt;br /&gt;
        Option          &amp;quot;XkbLayout&amp;quot;     &amp;quot;us,us(intl)&amp;quot;&lt;br /&gt;
        Option          &amp;quot;XkbOptions&amp;quot;    &amp;quot;compose(lwin),compose(rwin),grp:shifts_toggle,grp_led:scroll&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
  Section &amp;quot;InputDevice&amp;quot;&lt;br /&gt;
        Identifier  &amp;quot;Configured Mouse&amp;quot;&lt;br /&gt;
        Driver      &amp;quot;mouse&amp;quot;&lt;br /&gt;
        Option      &amp;quot;CorePointer&amp;quot;&lt;br /&gt;
        Option      &amp;quot;Device&amp;quot; &amp;quot;/dev/input/mouse0&amp;quot;&lt;br /&gt;
        Option      &amp;quot;Protocol&amp;quot; &amp;quot;ImPS/2&amp;quot;&lt;br /&gt;
        Option      &amp;quot;EmulateWheel&amp;quot; &amp;quot;on&amp;quot;&lt;br /&gt;
        Option      &amp;quot;EmulateWheelButton&amp;quot; &amp;quot;2&amp;quot;&lt;br /&gt;
        Option      &amp;quot;EmulateWheelTimeout&amp;quot; &amp;quot;250&amp;quot;&lt;br /&gt;
        Option      &amp;quot;XAxisMapping&amp;quot; &amp;quot;6 7&amp;quot;&lt;br /&gt;
        Option      &amp;quot;YAxisMapping&amp;quot; &amp;quot;4 5&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
  Section &amp;quot;Screen&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;Default Screen&amp;quot;&lt;br /&gt;
        Monitor         &amp;quot;Configured Monitor&amp;quot;&lt;br /&gt;
        Defaultdepth    24&lt;br /&gt;
        SubSection &amp;quot;Display&amp;quot;&lt;br /&gt;
                Modes           &amp;quot;1280x800&amp;quot;&lt;br /&gt;
  #             Virtual    2048 864&lt;br /&gt;
        EndSubSection&lt;br /&gt;
  EndSection&lt;br /&gt;
  Section &amp;quot;Monitor&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;Configured Monitor&amp;quot;&lt;br /&gt;
        DisplaySize     231 233.5 #fake smaller dpi&lt;br /&gt;
  EndSection&lt;br /&gt;
  Section &amp;quot;Monitor&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;HDMI-1&amp;quot;&lt;br /&gt;
        Option          &amp;quot;Ignore&amp;quot; &amp;quot;True&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
  Section &amp;quot;Monitor&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;HDMI-2&amp;quot;&lt;br /&gt;
        Option          &amp;quot;Ignore&amp;quot; &amp;quot;True&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
  Section &amp;quot;Device&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;Configured Video Device&amp;quot;&lt;br /&gt;
  #        Driver          &amp;quot;intel&amp;quot;&lt;br /&gt;
        Driver          &amp;quot;vesa&amp;quot;&lt;br /&gt;
        Option          &amp;quot;monitor-HDMI-1&amp;quot; &amp;quot;HDMI-1&amp;quot;&lt;br /&gt;
        Option          &amp;quot;monitor-HDMI-2&amp;quot; &amp;quot;HDMI-2&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
&lt;br /&gt;
== Fonts ==&lt;br /&gt;
&lt;br /&gt;
Default fonts are a bit ugly. Things get better by creating some symbolic link:&lt;br /&gt;
&lt;br /&gt;
  cd /etc/fonts/conf.d&lt;br /&gt;
  ln -s ../conf.avail/10-autohint.conf&lt;br /&gt;
  ln -s ../conf.avail/10-sub-pixel-rgb.conf&lt;br /&gt;
  ln -s ../conf.avail/70-no-bitmaps.conf&lt;br /&gt;
&lt;br /&gt;
For GTK and Firefox&lt;br /&gt;
&lt;br /&gt;
Fonts size are too large. Solution:&lt;br /&gt;
  $cat ~/.gtkrc-2.0&lt;br /&gt;
  # -- THEME AUTO-WRITTEN DO NOT EDIT&lt;br /&gt;
  include &amp;quot;/usr/share/themes/Industrial/gtk-2.0/gtkrc&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  include &amp;quot;/home/rdemaria/.gtkrc-2.0.mine&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  # -- THEME AUTO-WRITTEN DO NOT EDIT&lt;br /&gt;
&lt;br /&gt;
  $cat ~/.gtkrc-2.0.mine&lt;br /&gt;
  gtk-font-name = &amp;quot;Sans 8&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Bold font are also ugly on xvrt (in xterm the bold font control seems always broken). See below for the solution.&lt;br /&gt;
&lt;br /&gt;
== Terminal ==&lt;br /&gt;
&lt;br /&gt;
I tried several terminals. But I found rxvt-unicode the easiest and fastest. This resources allow 4 terminals in one window. Bold font (unreadable to me) are disabled.&lt;br /&gt;
  $cat ~/.Xresources&lt;br /&gt;
  rxvt*cutchars: \$:[]&lt;br /&gt;
  rxvt*visualBell: true&lt;br /&gt;
  rxvt*foreground: white&lt;br /&gt;
  rxvt*background: black&lt;br /&gt;
  rxvt*geometry: 80x27&lt;br /&gt;
  rxvt*jumpScroll: true&lt;br /&gt;
  rxvt*skipScroll: true&lt;br /&gt;
  rxvt*scrollBar: false&lt;br /&gt;
  rxvt*boldFont:&lt;br /&gt;
  rxvt*boldItalicFont:&lt;br /&gt;
  rxvt*saveLines: 9096&lt;br /&gt;
  rxvt*mouseWheelScrollPage: false&lt;br /&gt;
&lt;br /&gt;
== Wifi ==&lt;br /&gt;
&lt;br /&gt;
Put in the /etc/apt/source.list&lt;br /&gt;
&lt;br /&gt;
  deb http://kernel-archive.buildserver.net/debian-kernel trunk main &lt;br /&gt;
&lt;br /&gt;
Installed linux-image-2.6.27-1 and firmware&lt;br /&gt;
&lt;br /&gt;
  wget http://intellinuxwireless.org/iwlwifi/downloads/iwlwifi-5000-ucode-5.4.A.11.tar.gz&lt;br /&gt;
  tar xvfz iwlwifi-5000-ucode-5.4.A.11.tar.gz&lt;br /&gt;
  cp  iwlwifi-5000-ucode-5.4.A.11/iwlwifi-5000-1.ucode /lib/firmware&lt;br /&gt;
  aptitude install linux-image-2.6.27-1-686 hal&lt;br /&gt;
&lt;br /&gt;
== Suspend ==&lt;br /&gt;
&lt;br /&gt;
Suspend to disk works using the button Fn+F12.&lt;br /&gt;
&lt;br /&gt;
Suspend to ram (Fn+F4) does not work with intel driver.&lt;br /&gt;
Using vesa driver, it seemed it worked, but now I have the lcd back light not switching on. &lt;br /&gt;
&lt;br /&gt;
I tried some of the remedies in [[Problem_with_display_remaining_black_after_resume]] but without success.&lt;br /&gt;
&lt;br /&gt;
The trackpoint occasionally stops working after a resume. Apparently it is enough to move it &lt;br /&gt;
a little bit during the resume.&lt;br /&gt;
&lt;br /&gt;
== Special keys ==&lt;br /&gt;
&lt;br /&gt;
Some keys are intercepted by X Windows. The keycodes are&lt;br /&gt;
&lt;br /&gt;
  227 Fn&lt;br /&gt;
  234 Tab left&lt;br /&gt;
  233 Tab right&lt;br /&gt;
  176 Volume up&lt;br /&gt;
  174 Volume dn&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Mute switch the hardware volume which is not controlled by ALSA.&lt;br /&gt;
&lt;br /&gt;
ACPI links suspend to ram and to disc to Fn+F4 and Fn+F12 respectively. Screen brightness, thinklight, bluetooth works as well.&lt;br /&gt;
&lt;br /&gt;
== Sound ==&lt;br /&gt;
&lt;br /&gt;
Everything works, but in a strange way. The hardware volume control is managed by acpi&lt;br /&gt;
&lt;br /&gt;
  $ cat /proc/acpi/ibm/volume&lt;br /&gt;
  level:          8&lt;br /&gt;
  mute:           off&lt;br /&gt;
  commands:       up, down, mute&lt;br /&gt;
  commands:       level &amp;lt;level&amp;gt; (&amp;lt;level&amp;gt; is 0-15)&lt;br /&gt;
&lt;br /&gt;
The mute button is linked to the mute command, but volume up and down are passed to X with keycode 176 174. I&lt;br /&gt;
thought that acpi was intercepting the key and send them to X using fakekey. I played in /etc/acpi/events but I didn't managed to change the behavior.&lt;br /&gt;
&lt;br /&gt;
== Skype ==&lt;br /&gt;
&lt;br /&gt;
Everything works downloading the skype version for Etch. After suspending and resuming the video does not work anymore.&lt;br /&gt;
The error message is:&lt;br /&gt;
&lt;br /&gt;
  Skype V4L2: Could not find a suitable capture format&lt;br /&gt;
&lt;br /&gt;
Severals people propose to update the uvcvideo driver.&lt;br /&gt;
  svn checkout http://svn.berlios.de/svnroot/repos/linux-uvc/&lt;br /&gt;
  cd linux-uvc/linux-uvc/trunk/&lt;br /&gt;
  make&lt;br /&gt;
  make install&lt;br /&gt;
  modprobe uvcvideo&lt;br /&gt;
&lt;br /&gt;
But I didn't tried yet.&lt;br /&gt;
&lt;br /&gt;
== GTK and Firefox ==&lt;br /&gt;
&lt;br /&gt;
Fonts size are too large. Solution:&lt;br /&gt;
  $cat /home/rdemaria/.gtkrc-2.0&lt;br /&gt;
  # -- THEME AUTO-WRITTEN DO NOT EDIT&lt;br /&gt;
  include &amp;quot;/usr/share/themes/Industrial/gtk-2.0/gtkrc&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  include &amp;quot;/home/rdemaria/.gtkrc-2.0.mine&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  # -- THEME AUTO-WRITTEN DO NOT EDIT&lt;br /&gt;
&lt;br /&gt;
  $cat /home/rdemaria/.gtkrc-2.0.mine&lt;br /&gt;
  gtk-font-name = &amp;quot;Sans 8&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== Printer and scanner ==&lt;br /&gt;
&lt;br /&gt;
Usb printer and scanner (HP Officejet J4580) works perfectly using cups, hpoj, xsane, hplib.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== TO BE CONTINUED ==&lt;/div&gt;</summary>
		<author><name>Rdemaria</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Debian_Sid_(October_2008)_on_a_ThinkPad_X200&amp;diff=39421</id>
		<title>Installing Debian Sid (October 2008) on a ThinkPad X200</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Debian_Sid_(October_2008)_on_a_ThinkPad_X200&amp;diff=39421"/>
		<updated>2008-10-31T14:23:08Z</updated>

		<summary type="html">&lt;p&gt;Rdemaria: /* Terminal */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
Amazing machine: light, quiet, large battery life, ideal for travels, great value for money compared to X200T and X300.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Creating installation device ==&lt;br /&gt;
&lt;br /&gt;
The X200 has no cd/dvd but can boot from USB. On the X200 BIOS settings, the USB disk boot option needed to be raised to be used first. Using F1 at boot gives access to the BIOS.&lt;br /&gt;
&lt;br /&gt;
I created an USB bootable iso from another linux installation.&lt;br /&gt;
I had an usb stick with a FAT32 partition on /dev/sdc1. I dowloaded the boot and iso file and installed the image&lt;br /&gt;
using:&lt;br /&gt;
&lt;br /&gt;
  wget http://people.debian.org/~joeyh/d-i/images/daily/hd-media/boot.img.gz&lt;br /&gt;
  wget http://cdimage.debian.org/cdimage/daily-builds/daily/arch-latest/i386/iso-cd/debian-testing-i386-netinst.iso&lt;br /&gt;
  zcat boot.img.gz &amp;gt;/dev/sdc1&lt;br /&gt;
  mkdir /mnt/sdc1&lt;br /&gt;
  mount /dev/sdc1 /mnt/sdc1&lt;br /&gt;
  cp debian-testing-i386-netinst.iso /mnt/sdc1&lt;br /&gt;
&lt;br /&gt;
The boot stick will use the network to install the package but a more complete ISO image can be dowloaded.&lt;br /&gt;
&lt;br /&gt;
The wifi will not work (see [[Installing_Debian_on_an_X200]]) but the Ethernet card will. In theory it should be possible build custom Debian Live USB stick, using the latest package and install from there, I didn't manage so far.&lt;br /&gt;
'''Bold text'''&lt;br /&gt;
&lt;br /&gt;
== Sid installation ==&lt;br /&gt;
&lt;br /&gt;
To install sid use the expert installation support and choose unstable for the repository.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Backup hard drive data ==&lt;br /&gt;
&lt;br /&gt;
In order to save the hard drive content, I created complete hard drive image on another hard disk. During the installation procedure I activated another shell with CTRL-ALT-F3, mounted an external HD (/dev/sdb1) and copied the image with:&lt;br /&gt;
&lt;br /&gt;
  mkdir /mnt/sdb1&lt;br /&gt;
  mount /dev/sdb1 /mnt/sdb1/&lt;br /&gt;
  dd if=/dev/sda of=/mnt/sdb1/sda-image&lt;br /&gt;
&lt;br /&gt;
In principle partimage is better option but the installation image does not have it. Also gzipping the partition on the fly would have bin better, but the gzip or bzip2 were not present. Using a custom Debian Live installation image would solve the problem.&lt;br /&gt;
&lt;br /&gt;
== Video ==&lt;br /&gt;
&lt;br /&gt;
Video driver 2:2.3.2-2+lenny5 is not stable enough. Video get garbled from time to time. Vesa driver is not that slow.&lt;br /&gt;
&lt;br /&gt;
This is a simple xorg.conf:&lt;br /&gt;
&lt;br /&gt;
  $ cat /etc/X11/xorg.conf &lt;br /&gt;
  Section &amp;quot;InputDevice&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;Generic Keyboard&amp;quot;&lt;br /&gt;
        Driver          &amp;quot;kbd&amp;quot;&lt;br /&gt;
        Option          &amp;quot;XkbRules&amp;quot;      &amp;quot;xorg&amp;quot;&lt;br /&gt;
        Option          &amp;quot;XkbModel&amp;quot;      &amp;quot;pc104&amp;quot;&lt;br /&gt;
        Option          &amp;quot;XkbLayout&amp;quot;     &amp;quot;us,us(intl)&amp;quot;&lt;br /&gt;
        Option          &amp;quot;XkbOptions&amp;quot;    &amp;quot;compose(lwin),compose(rwin),grp:shifts_toggle,grp_led:scroll&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
  Section &amp;quot;InputDevice&amp;quot;&lt;br /&gt;
        Identifier  &amp;quot;Configured Mouse&amp;quot;&lt;br /&gt;
        Driver      &amp;quot;mouse&amp;quot;&lt;br /&gt;
        Option      &amp;quot;CorePointer&amp;quot;&lt;br /&gt;
        Option      &amp;quot;Device&amp;quot; &amp;quot;/dev/input/mouse0&amp;quot;&lt;br /&gt;
        Option      &amp;quot;Protocol&amp;quot; &amp;quot;ImPS/2&amp;quot;&lt;br /&gt;
        Option      &amp;quot;EmulateWheel&amp;quot; &amp;quot;on&amp;quot;&lt;br /&gt;
        Option      &amp;quot;EmulateWheelButton&amp;quot; &amp;quot;2&amp;quot;&lt;br /&gt;
        Option      &amp;quot;EmulateWheelTimeout&amp;quot; &amp;quot;250&amp;quot;&lt;br /&gt;
        Option      &amp;quot;XAxisMapping&amp;quot; &amp;quot;6 7&amp;quot;&lt;br /&gt;
        Option      &amp;quot;YAxisMapping&amp;quot; &amp;quot;4 5&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
  Section &amp;quot;Screen&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;Default Screen&amp;quot;&lt;br /&gt;
        Monitor         &amp;quot;Configured Monitor&amp;quot;&lt;br /&gt;
        Defaultdepth    24&lt;br /&gt;
        SubSection &amp;quot;Display&amp;quot;&lt;br /&gt;
                Modes           &amp;quot;1280x800&amp;quot;&lt;br /&gt;
  #             Virtual    2048 864&lt;br /&gt;
        EndSubSection&lt;br /&gt;
  EndSection&lt;br /&gt;
  Section &amp;quot;Monitor&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;Configured Monitor&amp;quot;&lt;br /&gt;
        DisplaySize     231 233.5 #fake smaller dpi&lt;br /&gt;
  EndSection&lt;br /&gt;
  Section &amp;quot;Monitor&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;HDMI-1&amp;quot;&lt;br /&gt;
        Option          &amp;quot;Ignore&amp;quot; &amp;quot;True&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
  Section &amp;quot;Monitor&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;HDMI-2&amp;quot;&lt;br /&gt;
        Option          &amp;quot;Ignore&amp;quot; &amp;quot;True&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
  Section &amp;quot;Device&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;Configured Video Device&amp;quot;&lt;br /&gt;
  #        Driver          &amp;quot;intel&amp;quot;&lt;br /&gt;
        Driver          &amp;quot;vesa&amp;quot;&lt;br /&gt;
        Option          &amp;quot;monitor-HDMI-1&amp;quot; &amp;quot;HDMI-1&amp;quot;&lt;br /&gt;
        Option          &amp;quot;monitor-HDMI-2&amp;quot; &amp;quot;HDMI-2&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
&lt;br /&gt;
== Fonts ==&lt;br /&gt;
&lt;br /&gt;
Default fonts are a bit ugly. Things get better by creating some symbolic link:&lt;br /&gt;
&lt;br /&gt;
  cd /etc/fonts/conf.d&lt;br /&gt;
  ln -s ../conf.avail/10-autohint.conf&lt;br /&gt;
  ln -s ../conf.avail/10-sub-pixel-rgb.conf&lt;br /&gt;
  ln -s ../conf.avail/70-no-bitmaps.conf&lt;br /&gt;
&lt;br /&gt;
For GTK and Firefox&lt;br /&gt;
&lt;br /&gt;
Fonts size are too large. Solution:&lt;br /&gt;
  $cat ~/.gtkrc-2.0&lt;br /&gt;
  # -- THEME AUTO-WRITTEN DO NOT EDIT&lt;br /&gt;
  include &amp;quot;/usr/share/themes/Industrial/gtk-2.0/gtkrc&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  include &amp;quot;/home/rdemaria/.gtkrc-2.0.mine&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  # -- THEME AUTO-WRITTEN DO NOT EDIT&lt;br /&gt;
&lt;br /&gt;
  $cat ~/.gtkrc-2.0.mine&lt;br /&gt;
  gtk-font-name = &amp;quot;Sans 8&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Bold font are also ugly on xvrt (in xterm the bold font control seems always broken). See below for the solution.&lt;br /&gt;
&lt;br /&gt;
== Terminal ==&lt;br /&gt;
&lt;br /&gt;
I tried several terminals. But I found rxvt-unicode the easiest and fastest. This resources allow 4 terminals in one window. Bold font (unreadable to me) are disabled.&lt;br /&gt;
  $cat ~/.Xresources&lt;br /&gt;
  rxvt*cutchars: \$:[]&lt;br /&gt;
  rxvt*visualBell: true&lt;br /&gt;
  rxvt*foreground: white&lt;br /&gt;
  rxvt*background: black&lt;br /&gt;
  rxvt*geometry: 80x27&lt;br /&gt;
  rxvt*jumpScroll: true&lt;br /&gt;
  rxvt*skipScroll: true&lt;br /&gt;
  rxvt*scrollBar: false&lt;br /&gt;
  rxvt*boldFont:&lt;br /&gt;
  rxvt*boldItalicFont:&lt;br /&gt;
  rxvt*saveLines: 9096&lt;br /&gt;
  rxvt*mouseWheelScrollPage: false&lt;br /&gt;
&lt;br /&gt;
== Wifi ==&lt;br /&gt;
&lt;br /&gt;
Put in the /etc/apt/source.list&lt;br /&gt;
&lt;br /&gt;
  deb http://kernel-archive.buildserver.net/debian-kernel trunk main &lt;br /&gt;
&lt;br /&gt;
Installed linux-image-2.6.27-1 and firmware&lt;br /&gt;
&lt;br /&gt;
  wget http://intellinuxwireless.org/iwlwifi/downloads/iwlwifi-5000-ucode-5.4.A.11.tar.gz&lt;br /&gt;
  tar xvfz iwlwifi-5000-ucode-5.4.A.11.tar.gz&lt;br /&gt;
  cp  iwlwifi-5000-ucode-5.4.A.11/iwlwifi-5000-1.ucode /lib/firmware&lt;br /&gt;
  aptitude install linux-image-2.6.27-1-686 hal&lt;br /&gt;
&lt;br /&gt;
== Suspend ==&lt;br /&gt;
&lt;br /&gt;
Suspend to disk works using the button Fn+F12.&lt;br /&gt;
&lt;br /&gt;
Suspend to ram (Fn+F4) does not work with intel driver.&lt;br /&gt;
Using vesa driver, it seemed it worked, but now I have the lcd back light not switching on. &lt;br /&gt;
&lt;br /&gt;
I tried some of the remedies in [[Problem_with_display_remaining_black_after_resume]] but without success.&lt;br /&gt;
&lt;br /&gt;
The trackpoint occasionally stops working after a resume. Apparently it is enough to move it &lt;br /&gt;
a little bit during the resume.&lt;br /&gt;
&lt;br /&gt;
== Special keys ==&lt;br /&gt;
&lt;br /&gt;
Some keys are intercepted by X Windows. The keycodes are&lt;br /&gt;
&lt;br /&gt;
  227 Fn&lt;br /&gt;
  234 Tab left&lt;br /&gt;
  233 Tab right&lt;br /&gt;
  176 Volume up&lt;br /&gt;
  174 Volume dn&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Mute switch the hardware volume which is not controlled by ALSA.&lt;br /&gt;
&lt;br /&gt;
ACPI links suspend to ram and to disc to Fn+F4 and Fn+F12 respectively. Screen brightness, thinklight, bluetooth works as well.&lt;br /&gt;
&lt;br /&gt;
== Sound ==&lt;br /&gt;
&lt;br /&gt;
Everything works, but in a strange way. The hardware volume control is managed by acpi&lt;br /&gt;
&lt;br /&gt;
  $ cat /proc/acpi/ibm/volume&lt;br /&gt;
  level:          8&lt;br /&gt;
  mute:           off&lt;br /&gt;
  commands:       up, down, mute&lt;br /&gt;
  commands:       level &amp;lt;level&amp;gt; (&amp;lt;level&amp;gt; is 0-15)&lt;br /&gt;
&lt;br /&gt;
The mute button is linked to the mute command, but volume up and down are passed to X with keycode 176 174. I&lt;br /&gt;
thought that acpi was intercepting the key and send them to X using fakekey. I played in /etc/acpi/events but I didn't managed to change the behavior.&lt;br /&gt;
&lt;br /&gt;
== Skype ==&lt;br /&gt;
&lt;br /&gt;
Everything works downloading the skype version for Etch. After suspending and resuming the video does not work anymore.&lt;br /&gt;
The error message is:&lt;br /&gt;
&lt;br /&gt;
  Skype V4L2: Could not find a suitable capture format&lt;br /&gt;
&lt;br /&gt;
Severals people propose to update the uvcvideo driver.&lt;br /&gt;
  svn checkout http://svn.berlios.de/svnroot/repos/linux-uvc/&lt;br /&gt;
  cd linux-uvc/linux-uvc/trunk/&lt;br /&gt;
  make&lt;br /&gt;
  make install&lt;br /&gt;
  modprobe uvcvideo&lt;br /&gt;
&lt;br /&gt;
But I didn't tried yet.&lt;br /&gt;
&lt;br /&gt;
== GTK and Firefox ==&lt;br /&gt;
&lt;br /&gt;
Fonts size are too large. Solution:&lt;br /&gt;
  $cat /home/rdemaria/.gtkrc-2.0&lt;br /&gt;
  # -- THEME AUTO-WRITTEN DO NOT EDIT&lt;br /&gt;
  include &amp;quot;/usr/share/themes/Industrial/gtk-2.0/gtkrc&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  include &amp;quot;/home/rdemaria/.gtkrc-2.0.mine&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  # -- THEME AUTO-WRITTEN DO NOT EDIT&lt;br /&gt;
&lt;br /&gt;
  $cat /home/rdemaria/.gtkrc-2.0.mine&lt;br /&gt;
  gtk-font-name = &amp;quot;Sans 8&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== TO BE CONTINUED ==&lt;/div&gt;</summary>
		<author><name>Rdemaria</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Debian_Sid_(October_2008)_on_a_ThinkPad_X200&amp;diff=39420</id>
		<title>Installing Debian Sid (October 2008) on a ThinkPad X200</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Debian_Sid_(October_2008)_on_a_ThinkPad_X200&amp;diff=39420"/>
		<updated>2008-10-31T13:26:00Z</updated>

		<summary type="html">&lt;p&gt;Rdemaria: /* Fonts */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
Amazing machine: light, quiet, large battery life, ideal for travels, great value for money compared to X200T and X300.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Creating installation device ==&lt;br /&gt;
&lt;br /&gt;
The X200 has no cd/dvd but can boot from USB. On the X200 BIOS settings, the USB disk boot option needed to be raised to be used first. Using F1 at boot gives access to the BIOS.&lt;br /&gt;
&lt;br /&gt;
I created an USB bootable iso from another linux installation.&lt;br /&gt;
I had an usb stick with a FAT32 partition on /dev/sdc1. I dowloaded the boot and iso file and installed the image&lt;br /&gt;
using:&lt;br /&gt;
&lt;br /&gt;
  wget http://people.debian.org/~joeyh/d-i/images/daily/hd-media/boot.img.gz&lt;br /&gt;
  wget http://cdimage.debian.org/cdimage/daily-builds/daily/arch-latest/i386/iso-cd/debian-testing-i386-netinst.iso&lt;br /&gt;
  zcat boot.img.gz &amp;gt;/dev/sdc1&lt;br /&gt;
  mkdir /mnt/sdc1&lt;br /&gt;
  mount /dev/sdc1 /mnt/sdc1&lt;br /&gt;
  cp debian-testing-i386-netinst.iso /mnt/sdc1&lt;br /&gt;
&lt;br /&gt;
The boot stick will use the network to install the package but a more complete ISO image can be dowloaded.&lt;br /&gt;
&lt;br /&gt;
The wifi will not work (see [[Installing_Debian_on_an_X200]]) but the Ethernet card will. In theory it should be possible build custom Debian Live USB stick, using the latest package and install from there, I didn't manage so far.&lt;br /&gt;
'''Bold text'''&lt;br /&gt;
&lt;br /&gt;
== Sid installation ==&lt;br /&gt;
&lt;br /&gt;
To install sid use the expert installation support and choose unstable for the repository.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Backup hard drive data ==&lt;br /&gt;
&lt;br /&gt;
In order to save the hard drive content, I created complete hard drive image on another hard disk. During the installation procedure I activated another shell with CTRL-ALT-F3, mounted an external HD (/dev/sdb1) and copied the image with:&lt;br /&gt;
&lt;br /&gt;
  mkdir /mnt/sdb1&lt;br /&gt;
  mount /dev/sdb1 /mnt/sdb1/&lt;br /&gt;
  dd if=/dev/sda of=/mnt/sdb1/sda-image&lt;br /&gt;
&lt;br /&gt;
In principle partimage is better option but the installation image does not have it. Also gzipping the partition on the fly would have bin better, but the gzip or bzip2 were not present. Using a custom Debian Live installation image would solve the problem.&lt;br /&gt;
&lt;br /&gt;
== Video ==&lt;br /&gt;
&lt;br /&gt;
Video driver 2:2.3.2-2+lenny5 is not stable enough. Video get garbled from time to time. Vesa driver is not that slow.&lt;br /&gt;
&lt;br /&gt;
This is a simple xorg.conf:&lt;br /&gt;
&lt;br /&gt;
  $ cat /etc/X11/xorg.conf &lt;br /&gt;
  Section &amp;quot;InputDevice&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;Generic Keyboard&amp;quot;&lt;br /&gt;
        Driver          &amp;quot;kbd&amp;quot;&lt;br /&gt;
        Option          &amp;quot;XkbRules&amp;quot;      &amp;quot;xorg&amp;quot;&lt;br /&gt;
        Option          &amp;quot;XkbModel&amp;quot;      &amp;quot;pc104&amp;quot;&lt;br /&gt;
        Option          &amp;quot;XkbLayout&amp;quot;     &amp;quot;us,us(intl)&amp;quot;&lt;br /&gt;
        Option          &amp;quot;XkbOptions&amp;quot;    &amp;quot;compose(lwin),compose(rwin),grp:shifts_toggle,grp_led:scroll&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
  Section &amp;quot;InputDevice&amp;quot;&lt;br /&gt;
        Identifier  &amp;quot;Configured Mouse&amp;quot;&lt;br /&gt;
        Driver      &amp;quot;mouse&amp;quot;&lt;br /&gt;
        Option      &amp;quot;CorePointer&amp;quot;&lt;br /&gt;
        Option      &amp;quot;Device&amp;quot; &amp;quot;/dev/input/mouse0&amp;quot;&lt;br /&gt;
        Option      &amp;quot;Protocol&amp;quot; &amp;quot;ImPS/2&amp;quot;&lt;br /&gt;
        Option      &amp;quot;EmulateWheel&amp;quot; &amp;quot;on&amp;quot;&lt;br /&gt;
        Option      &amp;quot;EmulateWheelButton&amp;quot; &amp;quot;2&amp;quot;&lt;br /&gt;
        Option      &amp;quot;EmulateWheelTimeout&amp;quot; &amp;quot;250&amp;quot;&lt;br /&gt;
        Option      &amp;quot;XAxisMapping&amp;quot; &amp;quot;6 7&amp;quot;&lt;br /&gt;
        Option      &amp;quot;YAxisMapping&amp;quot; &amp;quot;4 5&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
  Section &amp;quot;Screen&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;Default Screen&amp;quot;&lt;br /&gt;
        Monitor         &amp;quot;Configured Monitor&amp;quot;&lt;br /&gt;
        Defaultdepth    24&lt;br /&gt;
        SubSection &amp;quot;Display&amp;quot;&lt;br /&gt;
                Modes           &amp;quot;1280x800&amp;quot;&lt;br /&gt;
  #             Virtual    2048 864&lt;br /&gt;
        EndSubSection&lt;br /&gt;
  EndSection&lt;br /&gt;
  Section &amp;quot;Monitor&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;Configured Monitor&amp;quot;&lt;br /&gt;
        DisplaySize     231 233.5 #fake smaller dpi&lt;br /&gt;
  EndSection&lt;br /&gt;
  Section &amp;quot;Monitor&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;HDMI-1&amp;quot;&lt;br /&gt;
        Option          &amp;quot;Ignore&amp;quot; &amp;quot;True&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
  Section &amp;quot;Monitor&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;HDMI-2&amp;quot;&lt;br /&gt;
        Option          &amp;quot;Ignore&amp;quot; &amp;quot;True&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
  Section &amp;quot;Device&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;Configured Video Device&amp;quot;&lt;br /&gt;
  #        Driver          &amp;quot;intel&amp;quot;&lt;br /&gt;
        Driver          &amp;quot;vesa&amp;quot;&lt;br /&gt;
        Option          &amp;quot;monitor-HDMI-1&amp;quot; &amp;quot;HDMI-1&amp;quot;&lt;br /&gt;
        Option          &amp;quot;monitor-HDMI-2&amp;quot; &amp;quot;HDMI-2&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
&lt;br /&gt;
== Fonts ==&lt;br /&gt;
&lt;br /&gt;
Default fonts are a bit ugly. Things get better by creating some symbolic link:&lt;br /&gt;
&lt;br /&gt;
  cd /etc/fonts/conf.d&lt;br /&gt;
  ln -s ../conf.avail/10-autohint.conf&lt;br /&gt;
  ln -s ../conf.avail/10-sub-pixel-rgb.conf&lt;br /&gt;
  ln -s ../conf.avail/70-no-bitmaps.conf&lt;br /&gt;
&lt;br /&gt;
For GTK and Firefox&lt;br /&gt;
&lt;br /&gt;
Fonts size are too large. Solution:&lt;br /&gt;
  $cat ~/.gtkrc-2.0&lt;br /&gt;
  # -- THEME AUTO-WRITTEN DO NOT EDIT&lt;br /&gt;
  include &amp;quot;/usr/share/themes/Industrial/gtk-2.0/gtkrc&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  include &amp;quot;/home/rdemaria/.gtkrc-2.0.mine&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  # -- THEME AUTO-WRITTEN DO NOT EDIT&lt;br /&gt;
&lt;br /&gt;
  $cat ~/.gtkrc-2.0.mine&lt;br /&gt;
  gtk-font-name = &amp;quot;Sans 8&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Bold font are also ugly on xvrt (in xterm the bold font control seems always broken). See below for the solution.&lt;br /&gt;
&lt;br /&gt;
== Terminal ==&lt;br /&gt;
&lt;br /&gt;
I tried several terminals. But I found rxvt the easiest and fastest. This resources allow 4 terminals in one window. Bold font (unreadable to me) are disabled.&lt;br /&gt;
&lt;br /&gt;
  $cat ~/.Xresources&lt;br /&gt;
  rxvt*cutchars: \$:[]&lt;br /&gt;
  rxvt*visualBell: true&lt;br /&gt;
  rxvt*foreground: white&lt;br /&gt;
  rxvt*background: black&lt;br /&gt;
  rxvt*geometry: 80x27&lt;br /&gt;
  rxvt*jumpScroll: true&lt;br /&gt;
  rxvt*skipScroll: true&lt;br /&gt;
  rxvt*scrollBar: false&lt;br /&gt;
  rxvt*boldFont:&lt;br /&gt;
  rxvt*boldItalicFont:&lt;br /&gt;
  rxvt*saveLines: 9096&lt;br /&gt;
  rxvt*mouseWheelScrollPage: false&lt;br /&gt;
&lt;br /&gt;
== Wifi ==&lt;br /&gt;
&lt;br /&gt;
Put in the /etc/apt/source.list&lt;br /&gt;
&lt;br /&gt;
  deb http://kernel-archive.buildserver.net/debian-kernel trunk main &lt;br /&gt;
&lt;br /&gt;
Installed linux-image-2.6.27-1 and firmware&lt;br /&gt;
&lt;br /&gt;
  wget http://intellinuxwireless.org/iwlwifi/downloads/iwlwifi-5000-ucode-5.4.A.11.tar.gz&lt;br /&gt;
  tar xvfz iwlwifi-5000-ucode-5.4.A.11.tar.gz&lt;br /&gt;
  cp  iwlwifi-5000-ucode-5.4.A.11/iwlwifi-5000-1.ucode /lib/firmware&lt;br /&gt;
  aptitude install linux-image-2.6.27-1-686 hal&lt;br /&gt;
&lt;br /&gt;
== Suspend ==&lt;br /&gt;
&lt;br /&gt;
Suspend to disk works using the button Fn+F12.&lt;br /&gt;
&lt;br /&gt;
Suspend to ram (Fn+F4) does not work with intel driver.&lt;br /&gt;
Using vesa driver, it seemed it worked, but now I have the lcd back light not switching on. &lt;br /&gt;
&lt;br /&gt;
I tried some of the remedies in [[Problem_with_display_remaining_black_after_resume]] but without success.&lt;br /&gt;
&lt;br /&gt;
The trackpoint occasionally stops working after a resume. Apparently it is enough to move it &lt;br /&gt;
a little bit during the resume.&lt;br /&gt;
&lt;br /&gt;
== Special keys ==&lt;br /&gt;
&lt;br /&gt;
Some keys are intercepted by X Windows. The keycodes are&lt;br /&gt;
&lt;br /&gt;
  227 Fn&lt;br /&gt;
  234 Tab left&lt;br /&gt;
  233 Tab right&lt;br /&gt;
  176 Volume up&lt;br /&gt;
  174 Volume dn&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Mute switch the hardware volume which is not controlled by ALSA.&lt;br /&gt;
&lt;br /&gt;
ACPI links suspend to ram and to disc to Fn+F4 and Fn+F12 respectively. Screen brightness, thinklight, bluetooth works as well.&lt;br /&gt;
&lt;br /&gt;
== Sound ==&lt;br /&gt;
&lt;br /&gt;
Everything works, but in a strange way. The hardware volume control is managed by acpi&lt;br /&gt;
&lt;br /&gt;
  $ cat /proc/acpi/ibm/volume&lt;br /&gt;
  level:          8&lt;br /&gt;
  mute:           off&lt;br /&gt;
  commands:       up, down, mute&lt;br /&gt;
  commands:       level &amp;lt;level&amp;gt; (&amp;lt;level&amp;gt; is 0-15)&lt;br /&gt;
&lt;br /&gt;
The mute button is linked to the mute command, but volume up and down are passed to X with keycode 176 174. I&lt;br /&gt;
thought that acpi was intercepting the key and send them to X using fakekey. I played in /etc/acpi/events but I didn't managed to change the behavior.&lt;br /&gt;
&lt;br /&gt;
== Skype ==&lt;br /&gt;
&lt;br /&gt;
Everything works downloading the skype version for Etch. After suspending and resuming the video does not work anymore.&lt;br /&gt;
The error message is:&lt;br /&gt;
&lt;br /&gt;
  Skype V4L2: Could not find a suitable capture format&lt;br /&gt;
&lt;br /&gt;
Severals people propose to update the uvcvideo driver.&lt;br /&gt;
  svn checkout http://svn.berlios.de/svnroot/repos/linux-uvc/&lt;br /&gt;
  cd linux-uvc/linux-uvc/trunk/&lt;br /&gt;
  make&lt;br /&gt;
  make install&lt;br /&gt;
  modprobe uvcvideo&lt;br /&gt;
&lt;br /&gt;
But I didn't tried yet.&lt;br /&gt;
&lt;br /&gt;
== GTK and Firefox ==&lt;br /&gt;
&lt;br /&gt;
Fonts size are too large. Solution:&lt;br /&gt;
  $cat /home/rdemaria/.gtkrc-2.0&lt;br /&gt;
  # -- THEME AUTO-WRITTEN DO NOT EDIT&lt;br /&gt;
  include &amp;quot;/usr/share/themes/Industrial/gtk-2.0/gtkrc&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  include &amp;quot;/home/rdemaria/.gtkrc-2.0.mine&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  # -- THEME AUTO-WRITTEN DO NOT EDIT&lt;br /&gt;
&lt;br /&gt;
  $cat /home/rdemaria/.gtkrc-2.0.mine&lt;br /&gt;
  gtk-font-name = &amp;quot;Sans 8&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== TO BE CONTINUED ==&lt;/div&gt;</summary>
		<author><name>Rdemaria</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Problem_with_display_remaining_black_after_resume&amp;diff=39396</id>
		<title>Problem with display remaining black after resume</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Problem_with_display_remaining_black_after_resume&amp;diff=39396"/>
		<updated>2008-10-30T16:44:19Z</updated>

		<summary type="html">&lt;p&gt;Rdemaria: /* Affected Models */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;There has been a problem encountered where the display stays black on resuming from suspend.&lt;br /&gt;
&lt;br /&gt;
The symptom might have you think first that your system hang up, but you will realize that your ThinkPad works and you can even reset it via {{key|Ctrl}}{{key|Alt}}{{key|Del}}.&lt;br /&gt;
&lt;br /&gt;
==Affected Models==&lt;br /&gt;
*ThinkPad {{T41p}}, {{T42}}, {{T42p}}, {{T43}}, {{T43p}}, {{T60}}, {{T60p}}&lt;br /&gt;
*Thinkpad {{T23}}&lt;br /&gt;
*ThinkPad {{X21}}, {{X30}}, {{X31}}, {{X40}}, {{X41}}&lt;br /&gt;
*ThinkPad {{R31}}, {{R50e}}{{footnote|1}}, {{R50p}}, {{R51}} (with BIOS 1.11), {{R52}}, {{R60}}, {{R61}}&lt;br /&gt;
*ThinkPad {{A30p}}&lt;br /&gt;
*ThinkPad {{390X}} (doesn't wake up; LCD backlight on, harddrive light remains on)&lt;br /&gt;
*ThinkPad {{Z60t}}, {{Z60m}}, {{Z61m}}, {{Z61e}}&lt;br /&gt;
*ThinkPad {{X60s}}, {{X60}}, {{X61}}, {{X61s}}, {{X200}}&lt;br /&gt;
&lt;br /&gt;
==Affected Operating Systems==&lt;br /&gt;
*Linux (it's a kernel issue)&lt;br /&gt;
*FreeBSD (6.x at least)&lt;br /&gt;
&lt;br /&gt;
==Solutions==&lt;br /&gt;
===Quick workaround for R61i, T23, maybe others===&lt;br /&gt;
Try pressing CTRL+ALT+F1 to switch to text console. The backlight should come on normally. Press CTRL+ALT+F7 to return to X.&lt;br /&gt;
&lt;br /&gt;
On a T23 using Ubuntu Feisty, pressing Fn+F7 (external/internal display change) once or twice brought the display back.  After upgrading to Ubuntu Gutsy it doesn't work anymore, but pressing Fn+F3 (blank screen) and Fn (restore display) works.&lt;br /&gt;
&lt;br /&gt;
===Quick Workaround for R61 (at least 8918-5QG) using NVidia===&lt;br /&gt;
&lt;br /&gt;
Use Vesa driver instead of the proprietary NVidia driver. &lt;br /&gt;
&lt;br /&gt;
=== Solution for ThinkPad Z60t ===&lt;br /&gt;
&lt;br /&gt;
* '''Display controller:''' Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller (rev 03)&lt;br /&gt;
* '''Distro:''' Fedora release 7 (Moonshine)&lt;br /&gt;
* '''Kernel:''' Linux 2.6.22.5-76.fc7&lt;br /&gt;
&lt;br /&gt;
The solution is straight forward - just to add configuration parameter for the default '''pm-utils''' package. Create file &amp;lt;code&amp;gt;/etc/pm/config.d/config&amp;lt;/code&amp;gt; and put there one line &amp;lt;code&amp;gt;DISPLAY_QUIRK_S3_BIOS=&amp;quot;true&amp;quot;&amp;lt;/code&amp;gt;, or execute following command:&lt;br /&gt;
&lt;br /&gt;
 echo DISPLAY_QUIRK_S3_BIOS=\&amp;quot;true\&amp;quot; &amp;gt;&amp;gt; /etc/pm/config.d/config&lt;br /&gt;
&lt;br /&gt;
===Semi-Solution for ThinkPad X60 with damaged system after s2ram usage===&lt;br /&gt;
It happend when restarting a s2ram-session.&lt;br /&gt;
&lt;br /&gt;
'''Symptom:''' Black screen with blinking &amp;quot;_&amp;quot; sign remaind. (without the &amp;quot;)&lt;br /&gt;
&lt;br /&gt;
'''System status:''' HDD idle, fan running, everything else looks to wait for something to happen.&lt;br /&gt;
&lt;br /&gt;
'''Semi-Solution:''' Booting with DVD-ROM and going through the installations menu,&lt;br /&gt;
where you choose &amp;quot;other&amp;quot; and &amp;quot;boot a installed system&amp;quot; (something like that). Gladly it works,&lt;br /&gt;
and OpenSuSE 10.1 comes up with 50% &amp;quot;failed&amp;quot; messages! I than shutdown properly, rebooted again&lt;br /&gt;
and had 100% &amp;quot;done&amp;quot; again, with no other things affected.&lt;br /&gt;
&lt;br /&gt;
'''Further:''' Repairing with the DVD-ROM crashed massivly(!), so I selected &amp;quot;boot a installed system&amp;quot; as final&lt;br /&gt;
solution and it worked!&lt;br /&gt;
&lt;br /&gt;
'''Unknown:''' Maybe the Solution for ThinkPads with 1400x1050 internal LCD and Intel 915GM will help,&lt;br /&gt;
because X60s and X60 are very familiar. (Not tested so far.)&lt;br /&gt;
&lt;br /&gt;
(If this Problem is not right here, please edit and move.)&lt;br /&gt;
&lt;br /&gt;
===Solution for ThinkPads with 1400x1050 internal LCD and Intel 915GM ===&lt;br /&gt;
see [[1400x1050 on Intel 915GM]].&lt;br /&gt;
===Solution for ThinkPads with ATI graphic chips and Intel 915/945GM ===&lt;br /&gt;
&lt;br /&gt;
Affected models include {{X60s}}, {{R60}} and {{T60}}.&lt;br /&gt;
&lt;br /&gt;
This soluton also applies to T42 with Intel 855 and ATI 9600 M10.&lt;br /&gt;
&lt;br /&gt;
One solution may be to provide the {{bootparm|acpi_sleep|s3_bios}} kernel parameter in your kernel parameter line.&lt;br /&gt;
&lt;br /&gt;
For grub this would look like this:&lt;br /&gt;
&lt;br /&gt;
 title           Linux, kernel 2.6.11-1-686&lt;br /&gt;
 root            (hd0,0)&lt;br /&gt;
 kernel          /boot/vmlinuz-2.6.11-1-686 root=/dev/hda1 ro acpi_sleep=s3_bios&lt;br /&gt;
 initrd          /boot/initrd.img-2.6.11-1-686&lt;br /&gt;
 savedefault&lt;br /&gt;
 boot&lt;br /&gt;
&lt;br /&gt;
For lilo it would look like this:&lt;br /&gt;
&lt;br /&gt;
 image=/boot/vmlinuz&lt;br /&gt;
     append=&amp;quot;acpi_sleep=s3_bios&amp;quot;&lt;br /&gt;
&lt;br /&gt;
The actual process of going to sleep is then managed through a sleep script; as a start, see the {{path|sleep.sh}} script in the Extreme Graphics 2 section below, but note the following comments:&lt;br /&gt;
&lt;br /&gt;
In [[:Category:OpenSUSE|OpenSUSE]] 10.1 (at least on a T43p), it's necessary to override the default options for s2ram if you're using the newer ATI driver.  This can be done putting {{bootparm|SUSPEND2RAM_FORCE|&amp;quot;yes&amp;quot;}} and {{bootparm|SUSPEND2RAM_ACPI_SLEEP|&amp;quot;3&amp;quot;}} in {{path|/etc/powersave/sleep}}.&lt;br /&gt;
&lt;br /&gt;
In {{Ubuntu}} or {{Kubuntu}}, it may be necessary to modify {{path|/etc/default/acpi-support}}.  In that file, make sure that {{path|ACPI_SLEEP}} is uncommented and set to true.  With ATI chips, also make sure that {{path|SAVE_VBE_STATE}} is uncommented and set to true; with Intel chips, on the other hand, ensure that nothing is done with respect to VBE--no reposts, no state saves. Also commenting POST_VIDEO may help. &lt;br /&gt;
&lt;br /&gt;
In {{Fedora}}, it may be necessary with the Intel chips to edit the {{path|resume_video()}} function in {{path|/etc/pm/functions-intel}} to comment out the VBE post and restore.  (As of FC6 these seem to be pre-commented out.)  Also, the laptop, after waking up, may go back to sleep immediately or whenever the AC adapter is disconnected.  When this happens, it's caused by a bug in the HAL daemon that incorrectly reports certain ACPI events.  This is a known problem and a simple workaround is described [http://live.gnome.org/GnomePowerManager/Faq#head-b8b1280115b0a51c2cc27b13a57121130ebf36cb here].&lt;br /&gt;
&lt;br /&gt;
{{NOTE|It is possible this method will not work if the laptop is docked.  It is also possible that the cited workaround for the HAL daemon bug will not work on some machines.  A kludgier workaround in this event is to kill the HAL daemon on suspend.  This necessitates the resuscitation of GPM upon resume.}}&lt;br /&gt;
&lt;br /&gt;
Another solution is to use vbetool. If you are using {{Debian}} with the hibernate package, uncomment &amp;quot;EnableVbetool yes&amp;quot; in {{path|/etc/hibernate/hibernate.conf}} (or {{path|/etc/hibernate/ram.conf}}).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
On '''T60 2007-CTO''' (Core2Duo 2Ghz, 2GB Ram, ATI X1400) the screen stayed blank after suspend-to-ram until I set '''vga=0''' in lilo.conf.&lt;br /&gt;
&lt;br /&gt;
Working config:&lt;br /&gt;
 Linux 2.6.21.5&lt;br /&gt;
 fglrx 8.37.6&lt;br /&gt;
 debian etch:&lt;br /&gt;
  powersaved 0.14.0-5:&lt;br /&gt;
   UNLOAD_MODULES_BEFORE_SUSPEND2DISK=&amp;quot;usb_storage ohci_hcd uhci_hcd ehci_hcd ipw3945 pcmcia yenta_socket rsrc_nonstatic pcmcia_core&amp;quot;&lt;br /&gt;
   UNLOAD_MODULES_BEFORE_SUSPEND2RAM=&amp;quot;usb_storage ohci_hcd uhci_hcd ehci_hcd ipw3945 pcmcia yenta_socket rsrc_nonstatic pcmcia_core&amp;quot;   &lt;br /&gt;
  hibernate:&lt;br /&gt;
   SwitchToTextMode yes&lt;br /&gt;
  lilo.conf:&lt;br /&gt;
   vga=0&lt;br /&gt;
&lt;br /&gt;
&amp;quot;EnableVbetool yes&amp;quot; and other suggestions didn't work for me.&lt;br /&gt;
&lt;br /&gt;
For suspend-to-disk, don't load fglrx in initrd.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
===Solution for ThinkPads with Intel Extreme Graphics 2===&lt;br /&gt;
{{NOTE|&lt;br /&gt;
On [[:Category:X40|X40]]s/[[:Category:X41|X41]]s - even with Intel Extreme Graphics - and for [[:Category:R52|R52]]s with Intel Graphics Media Accelerator 900 the [[Problem with display remaining black after resume#Solution for ThinkPads with ATI graphic chips|solution for ATI graphics chips]] above is reported to work. In this case, make sure no changes to VBE are made, especially no state saves and no reposts.}}&lt;br /&gt;
&lt;br /&gt;
The following solution should work on 865G, 865GV, 855GM, 855GME, 852GME chipsets.&lt;br /&gt;
*First of all, '''do not''' use the {{bootparm|acpi_sleep|s3_bios}} kernel parameter.&lt;br /&gt;
*Second, completely remove framebuffer support from your kernel. If it's built as modules, it is important that they do not get loaded at all.&lt;br /&gt;
*Before suspending, change to a console and safe the video state with {{cmdroot|cat /proc/bus/pci/00/02.0 &amp;gt; /tmp/video_state}}.&lt;br /&gt;
*On resume, restore the video state with {{cmdroot|cat /tmp/video_state &amp;gt; /proc/bus/pci/00/02.0}} and change back to X.&lt;br /&gt;
*For Debian Etch 4.0 on R50e just make following changes to /etc/default/acpi-support:&lt;br /&gt;
 #SAVE_VBE_STATE=true&lt;br /&gt;
 #VBESTATE=/var/lib/acpi-support/vbestate&lt;br /&gt;
 #POST_VIDEO=true&lt;br /&gt;
 SAVE_VIDEO_PCI_STATE=true&lt;br /&gt;
&lt;br /&gt;
*For a R50e the only thing needed to make suspend to ram work in Ubuntu 6.06 is adding&lt;br /&gt;
 Option  &amp;quot;VBERestore&amp;quot; &amp;quot;yes&amp;quot;&lt;br /&gt;
to the &amp;lt;tt&amp;gt;Device&amp;lt;/tt&amp;gt; section in your {{path|/etc/X11/xorg.conf}}, and the example script below.&lt;br /&gt;
&lt;br /&gt;
The following example {{path|/etc/acpi/actions/sleep.sh}} script shows how to integrate the according lines.&lt;br /&gt;
&lt;br /&gt;
 #!/bin/bash&lt;br /&gt;
 &lt;br /&gt;
 # change to console 1&lt;br /&gt;
 FGCONSOLE=`fgconsole`&lt;br /&gt;
 chvt 6&lt;br /&gt;
 &lt;br /&gt;
 # safe video state&lt;br /&gt;
 cat /proc/bus/pci/00/02.0 &amp;gt; /tmp/video_state&lt;br /&gt;
 &lt;br /&gt;
 # sync filesystem&lt;br /&gt;
 sync&lt;br /&gt;
 &lt;br /&gt;
 # sync hardware clock with system time&lt;br /&gt;
 hwclock --systohc&lt;br /&gt;
 &lt;br /&gt;
 # go to sleep&lt;br /&gt;
 echo -n 3 &amp;gt; /proc/acpi/sleep&lt;br /&gt;
 &lt;br /&gt;
 # waking up&lt;br /&gt;
 # restore system clock&lt;br /&gt;
 hwclock --hctosys&lt;br /&gt;
 &lt;br /&gt;
 # restore video state&lt;br /&gt;
 cat /tmp/video_state &amp;gt; /proc/bus/pci/00/02.0&lt;br /&gt;
 &lt;br /&gt;
 # change back to X&lt;br /&gt;
 chvt $FGCONSOLE&lt;br /&gt;
 &lt;br /&gt;
 # clean up behind us&lt;br /&gt;
 rm /tmp/video_state&lt;br /&gt;
&lt;br /&gt;
With Ubuntu 6.10 on a [[:Category:R51|R51 (2887-32G)]] I ''just'' (as none of the other tricks above) had to add {{bootparm|fb|false}} to the kernel line in {{path|/etc/grub/menu.lst}} and edit {{path|/etc/defaults/acpi-support}} this way:&lt;br /&gt;
&lt;br /&gt;
 SAVE_VBE_STATE=false&lt;br /&gt;
 POST_VIDEO=false&lt;br /&gt;
 SAVE_VIDEO_PCI_STATE=true&lt;br /&gt;
 USE_DPMS=false&lt;br /&gt;
 DOUBLE_CONSOLE_SWITCH=false&lt;br /&gt;
&lt;br /&gt;
===Solution for ThinkPads with Intel I830 Chipset===&lt;br /&gt;
The following solution worked for me on an X30 with I830M chipset with kernel &amp;gt;= 2.6.16.&lt;br /&gt;
*this works with vesafb and also with intelfb frambuffer support.&lt;br /&gt;
The following example {{path|/etc/acpi/actions/sleep.sh}} script shows how to integrate the according lines.&lt;br /&gt;
&lt;br /&gt;
 #!/bin/bash&lt;br /&gt;
 &lt;br /&gt;
 FGCONSOLE=`fgconsole`&lt;br /&gt;
 chvt 8&lt;br /&gt;
 sync&lt;br /&gt;
 hwclock --systohc&lt;br /&gt;
 &lt;br /&gt;
 echo -n &amp;quot;mem&amp;quot; &amp;gt; /sys/power/state&lt;br /&gt;
 &lt;br /&gt;
 hwclock --hctosys&lt;br /&gt;
 vbetool post&lt;br /&gt;
 &lt;br /&gt;
 if [ &amp;quot;$FGCONSOLE&amp;quot; -ge &amp;quot;7&amp;quot; ] ; then&lt;br /&gt;
   chvt $FGCONSOLE&lt;br /&gt;
 else&lt;br /&gt;
   chvt 7&lt;br /&gt;
   chvt $FGCONSOLE&lt;br /&gt;
 fi&lt;br /&gt;
===Solution for ThinkPads with ATI graphic (and possibly other) chips and FreeBSD===&lt;br /&gt;
&lt;br /&gt;
The FreeBSD acpi(4) manpage mentions a tunable parameter, &amp;quot;hw.acpi.reset_video&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
    hw.acpi.reset_video&lt;br /&gt;
             Reset the video adapter from real mode during the resume path.&lt;br /&gt;
             Some systems need this help, others have display problems if it&lt;br /&gt;
             is enabled.  Default is 0 (disabled).&lt;br /&gt;
&lt;br /&gt;
This tunable can be set by adding the following line to your FreeBSD machine's /boot/loader.conf file:&lt;br /&gt;
&lt;br /&gt;
    hw.acpi.reset_video=&amp;quot;1&amp;quot;&lt;br /&gt;
&lt;br /&gt;
And rebooting your machine.  Hopefully, the next time you resume from a suspend, you'll see your video again.  This solution doesn't appear to be specific to ATI hardware in any way, so I presume it would be helpful for video chipsets other than ATI, as well.&lt;br /&gt;
&lt;br /&gt;
If this entry doesn't help you, you might consider searching in the [http://lists.freebsd.org/pipermail/freebsd-mobile/ FreeBSD-Mobile email-list archive] for more insight.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{footnotes|&lt;br /&gt;
#If you have this problem with R50e and the above solution doesn't work, try switching to console first. An example sleep script can be found [[How to configure acpid|here]].&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
===Solution using s2ram for Intel 915/945GM===&lt;br /&gt;
&lt;br /&gt;
Just using the &amp;quot;s2ram -f -p&amp;quot; command from the uswsusp package will work from within X, at least on a {{Z61e}}. On {{X60s}} it is enough to issue the &amp;quot;s2ram&amp;quot; command and it works. On {{X61}} &amp;quot;s2ram -f -a 1&amp;quot; can work properly. Best idea seems to be to put this into the corresponding acpi script:&lt;br /&gt;
&lt;br /&gt;
 % cat /etc/acpi/sleep.sh &lt;br /&gt;
 #!/bin/sh&lt;br /&gt;
 test -f /usr/share/acpi-support/power-funcs || exit 0&lt;br /&gt;
 test -f /usr/sbin/s2ram || exit 0&lt;br /&gt;
 rmmod usb_storage&lt;br /&gt;
 rmmod uhci_hcd&lt;br /&gt;
 rmmod ehci_hcd&lt;br /&gt;
 /usr/sbin/s2ram -f -a 1 -m&lt;br /&gt;
 modprobe uhci_hcd&lt;br /&gt;
 modprobe ehci_hcd&lt;br /&gt;
 modprobe usb_storage&lt;br /&gt;
&lt;br /&gt;
Source: [http://d.hatena.ne.jp/conceal-rs/20080309/1205083315 http://d.hatena.ne.jp/conceal-rs/20080309/1205083315]&lt;br /&gt;
Works on my X61.&lt;br /&gt;
&lt;br /&gt;
===Solution using DOUBLE_CONSOLE_SWITCH===&lt;br /&gt;
&lt;br /&gt;
By setting the following in {{path|/etc/default/acpi-support}} the display comes back on {{X61s}} using Intel chipset:&lt;br /&gt;
&lt;br /&gt;
     DOUBLE_CONSOLE_SWITCH=true&lt;br /&gt;
&lt;br /&gt;
Fedora 8 doesn't have DOUBLE_CONSOLE_SWITCH, but it works when one does:  First, add option &amp;quot;VBERestore&amp;quot; &amp;quot;true&amp;quot; to /etc/X11/xorg.conf&lt;br /&gt;
&lt;br /&gt;
    Section &amp;quot;Device&amp;quot;&lt;br /&gt;
        Identifier  &amp;quot;Videocard0&amp;quot;&lt;br /&gt;
        Driver      &amp;quot;intel&amp;quot;&lt;br /&gt;
        Option      &amp;quot;VBERestore&amp;quot;  &amp;quot;true&amp;quot; &lt;br /&gt;
    EndSection&lt;br /&gt;
&lt;br /&gt;
Then suspends with&lt;br /&gt;
&lt;br /&gt;
    pm-suspend --quirk-vbemode-restore --quirk-s3-bios&lt;/div&gt;</summary>
		<author><name>Rdemaria</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Debian_Sid_(October_2008)_on_a_ThinkPad_X200&amp;diff=39395</id>
		<title>Installing Debian Sid (October 2008) on a ThinkPad X200</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Debian_Sid_(October_2008)_on_a_ThinkPad_X200&amp;diff=39395"/>
		<updated>2008-10-30T16:43:32Z</updated>

		<summary type="html">&lt;p&gt;Rdemaria: /* Suspend */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
Amazing machine: light, quiet, large battery life, ideal for travels, great value for money compared to X200T and X300.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Creating installation device ==&lt;br /&gt;
&lt;br /&gt;
The X200 has no cd/dvd but can boot from USB. On the X200 BIOS settings, the USB disk boot option needed to be raised to be used first. Using F1 at boot gives access to the BIOS.&lt;br /&gt;
&lt;br /&gt;
I created an USB bootable iso from another linux installation.&lt;br /&gt;
I had an usb stick with a FAT32 partition on /dev/sdc1. I dowloaded the boot and iso file and installed the image&lt;br /&gt;
using:&lt;br /&gt;
&lt;br /&gt;
  wget http://people.debian.org/~joeyh/d-i/images/daily/hd-media/boot.img.gz&lt;br /&gt;
  wget http://cdimage.debian.org/cdimage/daily-builds/daily/arch-latest/i386/iso-cd/debian-testing-i386-netinst.iso&lt;br /&gt;
  zcat boot.img.gz &amp;gt;/dev/sdc1&lt;br /&gt;
  mkdir /mnt/sdc1&lt;br /&gt;
  mount /dev/sdc1 /mnt/sdc1&lt;br /&gt;
  cp debian-testing-i386-netinst.iso /mnt/sdc1&lt;br /&gt;
&lt;br /&gt;
The boot stick will use the network to install the package but a more complete ISO image can be dowloaded.&lt;br /&gt;
&lt;br /&gt;
The wifi will not work (see [[Installing_Debian_on_an_X200]]) but the Ethernet card will. In theory it should be possible build custom Debian Live USB stick, using the latest package and install from there, I didn't manage so far.&lt;br /&gt;
'''Bold text'''&lt;br /&gt;
&lt;br /&gt;
== Sid installation ==&lt;br /&gt;
&lt;br /&gt;
To install sid use the expert installation support and choose unstable for the repository.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Backup hard drive data ==&lt;br /&gt;
&lt;br /&gt;
In order to save the hard drive content, I created complete hard drive image on another hard disk. During the installation procedure I activated another shell with CTRL-ALT-F3, mounted an external HD (/dev/sdb1) and copied the image with:&lt;br /&gt;
&lt;br /&gt;
  mkdir /mnt/sdb1&lt;br /&gt;
  mount /dev/sdb1 /mnt/sdb1/&lt;br /&gt;
  dd if=/dev/sda of=/mnt/sdb1/sda-image&lt;br /&gt;
&lt;br /&gt;
In principle partimage is better option but the installation image does not have it. Also gzipping the partition on the fly would have bin better, but the gzip or bzip2 were not present. Using a custom Debian Live installation image would solve the problem.&lt;br /&gt;
&lt;br /&gt;
== Video ==&lt;br /&gt;
&lt;br /&gt;
Video driver 2:2.3.2-2+lenny5 is not stable enough. Video get garbled from time to time. Vesa driver is not that slow.&lt;br /&gt;
&lt;br /&gt;
This is a simple xorg.conf:&lt;br /&gt;
&lt;br /&gt;
  $ cat /etc/X11/xorg.conf &lt;br /&gt;
  Section &amp;quot;InputDevice&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;Generic Keyboard&amp;quot;&lt;br /&gt;
        Driver          &amp;quot;kbd&amp;quot;&lt;br /&gt;
        Option          &amp;quot;XkbRules&amp;quot;      &amp;quot;xorg&amp;quot;&lt;br /&gt;
        Option          &amp;quot;XkbModel&amp;quot;      &amp;quot;pc104&amp;quot;&lt;br /&gt;
        Option          &amp;quot;XkbLayout&amp;quot;     &amp;quot;us,us(intl)&amp;quot;&lt;br /&gt;
        Option          &amp;quot;XkbOptions&amp;quot;    &amp;quot;compose(lwin),compose(rwin),grp:shifts_toggle,grp_led:scroll&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
  Section &amp;quot;InputDevice&amp;quot;&lt;br /&gt;
        Identifier  &amp;quot;Configured Mouse&amp;quot;&lt;br /&gt;
        Driver      &amp;quot;mouse&amp;quot;&lt;br /&gt;
        Option      &amp;quot;CorePointer&amp;quot;&lt;br /&gt;
        Option      &amp;quot;Device&amp;quot; &amp;quot;/dev/input/mouse0&amp;quot;&lt;br /&gt;
        Option      &amp;quot;Protocol&amp;quot; &amp;quot;ImPS/2&amp;quot;&lt;br /&gt;
        Option      &amp;quot;EmulateWheel&amp;quot; &amp;quot;on&amp;quot;&lt;br /&gt;
        Option      &amp;quot;EmulateWheelButton&amp;quot; &amp;quot;2&amp;quot;&lt;br /&gt;
        Option      &amp;quot;EmulateWheelTimeout&amp;quot; &amp;quot;250&amp;quot;&lt;br /&gt;
        Option      &amp;quot;XAxisMapping&amp;quot; &amp;quot;6 7&amp;quot;&lt;br /&gt;
        Option      &amp;quot;YAxisMapping&amp;quot; &amp;quot;4 5&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
  Section &amp;quot;Screen&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;Default Screen&amp;quot;&lt;br /&gt;
        Monitor         &amp;quot;Configured Monitor&amp;quot;&lt;br /&gt;
        Defaultdepth    24&lt;br /&gt;
        SubSection &amp;quot;Display&amp;quot;&lt;br /&gt;
                Modes           &amp;quot;1280x800&amp;quot;&lt;br /&gt;
  #             Virtual    2048 864&lt;br /&gt;
        EndSubSection&lt;br /&gt;
  EndSection&lt;br /&gt;
  Section &amp;quot;Monitor&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;Configured Monitor&amp;quot;&lt;br /&gt;
        DisplaySize     231 233.5 #fake smaller dpi&lt;br /&gt;
  EndSection&lt;br /&gt;
  Section &amp;quot;Monitor&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;HDMI-1&amp;quot;&lt;br /&gt;
        Option          &amp;quot;Ignore&amp;quot; &amp;quot;True&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
  Section &amp;quot;Monitor&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;HDMI-2&amp;quot;&lt;br /&gt;
        Option          &amp;quot;Ignore&amp;quot; &amp;quot;True&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
  Section &amp;quot;Device&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;Configured Video Device&amp;quot;&lt;br /&gt;
  #        Driver          &amp;quot;intel&amp;quot;&lt;br /&gt;
        Driver          &amp;quot;vesa&amp;quot;&lt;br /&gt;
        Option          &amp;quot;monitor-HDMI-1&amp;quot; &amp;quot;HDMI-1&amp;quot;&lt;br /&gt;
        Option          &amp;quot;monitor-HDMI-2&amp;quot; &amp;quot;HDMI-2&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
&lt;br /&gt;
== Fonts ==&lt;br /&gt;
&lt;br /&gt;
Default fonts are a bit ugly. Things get better by creating some symbolic link:&lt;br /&gt;
&lt;br /&gt;
  cd /etc/fonts/conf.d&lt;br /&gt;
  ln -s ../conf.avail/10-autohint.conf&lt;br /&gt;
  ln -s ../conf.avail/10-sub-pixel-rgb.conf&lt;br /&gt;
  ln -s ../conf.avail/70-no-bitmaps.conf&lt;br /&gt;
&lt;br /&gt;
For GTK and Firefox&lt;br /&gt;
&lt;br /&gt;
Fonts size are too large. Solution:&lt;br /&gt;
  $cat ~/.gtkrc-2.0&lt;br /&gt;
  # -- THEME AUTO-WRITTEN DO NOT EDIT&lt;br /&gt;
  include &amp;quot;/usr/share/themes/Industrial/gtk-2.0/gtkrc&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  include &amp;quot;/home/rdemaria/.gtkrc-2.0.mine&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  # -- THEME AUTO-WRITTEN DO NOT EDIT&lt;br /&gt;
&lt;br /&gt;
  $cat ~/.gtkrc-2.0.mine&lt;br /&gt;
  gtk-font-name = &amp;quot;Sans 8&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Bold font are also ugly on xvrt (in xterm the bold font control seems always broken). See below for the solution&lt;br /&gt;
&lt;br /&gt;
== Terminal ==&lt;br /&gt;
&lt;br /&gt;
I tried several terminals. But I found rxvt the easiest and fastest. This resources allow 4 terminals in one window. Bold font (unreadable to me) are disabled.&lt;br /&gt;
&lt;br /&gt;
  $cat ~/.Xresources&lt;br /&gt;
  rxvt*cutchars: \$:[]&lt;br /&gt;
  rxvt*visualBell: true&lt;br /&gt;
  rxvt*foreground: white&lt;br /&gt;
  rxvt*background: black&lt;br /&gt;
  rxvt*geometry: 80x27&lt;br /&gt;
  rxvt*jumpScroll: true&lt;br /&gt;
  rxvt*skipScroll: true&lt;br /&gt;
  rxvt*scrollBar: false&lt;br /&gt;
  rxvt*boldFont:&lt;br /&gt;
  rxvt*boldItalicFont:&lt;br /&gt;
  rxvt*saveLines: 9096&lt;br /&gt;
  rxvt*mouseWheelScrollPage: false&lt;br /&gt;
&lt;br /&gt;
== Wifi ==&lt;br /&gt;
&lt;br /&gt;
Put in the /etc/apt/source.list&lt;br /&gt;
&lt;br /&gt;
  deb http://kernel-archive.buildserver.net/debian-kernel trunk main &lt;br /&gt;
&lt;br /&gt;
Installed linux-image-2.6.27-1 and firmware&lt;br /&gt;
&lt;br /&gt;
  wget http://intellinuxwireless.org/iwlwifi/downloads/iwlwifi-5000-ucode-5.4.A.11.tar.gz&lt;br /&gt;
  tar xvfz iwlwifi-5000-ucode-5.4.A.11.tar.gz&lt;br /&gt;
  cp  iwlwifi-5000-ucode-5.4.A.11/iwlwifi-5000-1.ucode /lib/firmware&lt;br /&gt;
  aptitude install linux-image-2.6.27-1-686 hal&lt;br /&gt;
&lt;br /&gt;
== Suspend ==&lt;br /&gt;
&lt;br /&gt;
Suspend to disk works using the button Fn+F12.&lt;br /&gt;
&lt;br /&gt;
Suspend to ram (Fn+F4) does not work with intel driver.&lt;br /&gt;
Using vesa driver, it seemed it worked, but now I have the lcd back light not switching on. &lt;br /&gt;
&lt;br /&gt;
I tried some of the remedies in [[Problem_with_display_remaining_black_after_resume]] but without success.&lt;br /&gt;
&lt;br /&gt;
The trackpoint occasionally stops working after a resume. Apparently it is enough to move it &lt;br /&gt;
a little bit during the resume.&lt;br /&gt;
&lt;br /&gt;
== Special keys ==&lt;br /&gt;
&lt;br /&gt;
Some keys are intercepted by X Windows. The keycodes are&lt;br /&gt;
&lt;br /&gt;
  227 Fn&lt;br /&gt;
  234 Tab left&lt;br /&gt;
  233 Tab right&lt;br /&gt;
  176 Volume up&lt;br /&gt;
  174 Volume dn&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Mute switch the hardware volume which is not controlled by ALSA.&lt;br /&gt;
&lt;br /&gt;
ACPI links suspend to ram and to disc to Fn+F4 and Fn+F12 respectively. Screen brightness, thinklight, bluetooth works as well.&lt;br /&gt;
&lt;br /&gt;
== Sound ==&lt;br /&gt;
&lt;br /&gt;
Everything works, but in a strange way. The hardware volume control is managed by acpi&lt;br /&gt;
&lt;br /&gt;
  $ cat /proc/acpi/ibm/volume&lt;br /&gt;
  level:          8&lt;br /&gt;
  mute:           off&lt;br /&gt;
  commands:       up, down, mute&lt;br /&gt;
  commands:       level &amp;lt;level&amp;gt; (&amp;lt;level&amp;gt; is 0-15)&lt;br /&gt;
&lt;br /&gt;
The mute button is linked to the mute command, but volume up and down are passed to X with keycode 176 174. I&lt;br /&gt;
thought that acpi was intercepting the key and send them to X using fakekey. I played in /etc/acpi/events but I didn't managed to change the behavior.&lt;br /&gt;
&lt;br /&gt;
== Skype ==&lt;br /&gt;
&lt;br /&gt;
Everything works downloading the skype version for Etch. After suspending and resuming the video does not work anymore.&lt;br /&gt;
The error message is:&lt;br /&gt;
&lt;br /&gt;
  Skype V4L2: Could not find a suitable capture format&lt;br /&gt;
&lt;br /&gt;
Severals people propose to update the uvcvideo driver.&lt;br /&gt;
  svn checkout http://svn.berlios.de/svnroot/repos/linux-uvc/&lt;br /&gt;
  cd linux-uvc/linux-uvc/trunk/&lt;br /&gt;
  make&lt;br /&gt;
  make install&lt;br /&gt;
  modprobe uvcvideo&lt;br /&gt;
&lt;br /&gt;
But I didn't tried yet.&lt;br /&gt;
&lt;br /&gt;
== GTK and Firefox ==&lt;br /&gt;
&lt;br /&gt;
Fonts size are too large. Solution:&lt;br /&gt;
  $cat /home/rdemaria/.gtkrc-2.0&lt;br /&gt;
  # -- THEME AUTO-WRITTEN DO NOT EDIT&lt;br /&gt;
  include &amp;quot;/usr/share/themes/Industrial/gtk-2.0/gtkrc&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  include &amp;quot;/home/rdemaria/.gtkrc-2.0.mine&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  # -- THEME AUTO-WRITTEN DO NOT EDIT&lt;br /&gt;
&lt;br /&gt;
  $cat /home/rdemaria/.gtkrc-2.0.mine&lt;br /&gt;
  gtk-font-name = &amp;quot;Sans 8&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== TO BE CONTINUED ==&lt;/div&gt;</summary>
		<author><name>Rdemaria</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Debian_Sid_(October_2008)_on_a_ThinkPad_X200&amp;diff=39380</id>
		<title>Installing Debian Sid (October 2008) on a ThinkPad X200</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Debian_Sid_(October_2008)_on_a_ThinkPad_X200&amp;diff=39380"/>
		<updated>2008-10-29T18:12:22Z</updated>

		<summary type="html">&lt;p&gt;Rdemaria: /* Skype */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
Amazing machine: light, quiet, large battery life, ideal for travels, great value for money compared to X200T and X300.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Creating installation device ==&lt;br /&gt;
&lt;br /&gt;
The X200 has no cd/dvd but can boot from USB. On the X200 BIOS settings, the USB disk boot option needed to be raised to be used first. Using F1 at boot gives access to the BIOS.&lt;br /&gt;
&lt;br /&gt;
I created an USB bootable iso from another linux installation.&lt;br /&gt;
I had an usb stick with a FAT32 partition on /dev/sdc1. I dowloaded the boot and iso file and installed the image&lt;br /&gt;
using:&lt;br /&gt;
&lt;br /&gt;
  wget http://people.debian.org/~joeyh/d-i/images/daily/hd-media/boot.img.gz&lt;br /&gt;
  wget http://cdimage.debian.org/cdimage/daily-builds/daily/arch-latest/i386/iso-cd/debian-testing-i386-netinst.iso&lt;br /&gt;
  zcat boot.img.gz &amp;gt;/dev/sdc1&lt;br /&gt;
  mkdir /mnt/sdc1&lt;br /&gt;
  mount /dev/sdc1 /mnt/sdc1&lt;br /&gt;
  cp debian-testing-i386-netinst.iso /mnt/sdc1&lt;br /&gt;
&lt;br /&gt;
The boot stick will use the network to install the package but a more complete ISO image can be dowloaded.&lt;br /&gt;
&lt;br /&gt;
The wifi will not work (see [[Installing_Debian_on_an_X200]]) but the Ethernet card will. In theory it should be possible build custom Debian Live USB stick, using the latest package and install from there, I didn't manage so far.&lt;br /&gt;
'''Bold text'''&lt;br /&gt;
&lt;br /&gt;
== Sid installation ==&lt;br /&gt;
&lt;br /&gt;
To install sid use the expert installation support and choose unstable for the repository.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Backup hard drive data ==&lt;br /&gt;
&lt;br /&gt;
In order to save the hard drive content, I created complete hard drive image on another hard disk. During the installation procedure I activated another shell with CTRL-ALT-F3, mounted an external HD (/dev/sdb1) and copied the image with:&lt;br /&gt;
&lt;br /&gt;
  mkdir /mnt/sdb1&lt;br /&gt;
  mount /dev/sdb1 /mnt/sdb1/&lt;br /&gt;
  dd if=/dev/sda of=/mnt/sdb1/sda-image&lt;br /&gt;
&lt;br /&gt;
In principle partimage is better option but the installation image does not have it. Also gzipping the partition on the fly would have bin better, but the gzip or bzip2 were not present. Using a custom Debian Live installation image would solve the problem.&lt;br /&gt;
&lt;br /&gt;
== Video ==&lt;br /&gt;
&lt;br /&gt;
Video driver 2:2.3.2-2+lenny5 is not stable enough. Video get garbled from time to time. Vesa driver is not that slow.&lt;br /&gt;
&lt;br /&gt;
This is a simple xorg.conf:&lt;br /&gt;
&lt;br /&gt;
  $ cat /etc/X11/xorg.conf &lt;br /&gt;
  Section &amp;quot;InputDevice&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;Generic Keyboard&amp;quot;&lt;br /&gt;
        Driver          &amp;quot;kbd&amp;quot;&lt;br /&gt;
        Option          &amp;quot;XkbRules&amp;quot;      &amp;quot;xorg&amp;quot;&lt;br /&gt;
        Option          &amp;quot;XkbModel&amp;quot;      &amp;quot;pc104&amp;quot;&lt;br /&gt;
        Option          &amp;quot;XkbLayout&amp;quot;     &amp;quot;us,us(intl)&amp;quot;&lt;br /&gt;
        Option          &amp;quot;XkbOptions&amp;quot;    &amp;quot;compose(lwin),compose(rwin),grp:shifts_toggle,grp_led:scroll&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
  Section &amp;quot;InputDevice&amp;quot;&lt;br /&gt;
        Identifier  &amp;quot;Configured Mouse&amp;quot;&lt;br /&gt;
        Driver      &amp;quot;mouse&amp;quot;&lt;br /&gt;
        Option      &amp;quot;CorePointer&amp;quot;&lt;br /&gt;
        Option      &amp;quot;Device&amp;quot; &amp;quot;/dev/input/mouse0&amp;quot;&lt;br /&gt;
        Option      &amp;quot;Protocol&amp;quot; &amp;quot;ImPS/2&amp;quot;&lt;br /&gt;
        Option      &amp;quot;EmulateWheel&amp;quot; &amp;quot;on&amp;quot;&lt;br /&gt;
        Option      &amp;quot;EmulateWheelButton&amp;quot; &amp;quot;2&amp;quot;&lt;br /&gt;
        Option      &amp;quot;EmulateWheelTimeout&amp;quot; &amp;quot;250&amp;quot;&lt;br /&gt;
        Option      &amp;quot;XAxisMapping&amp;quot; &amp;quot;6 7&amp;quot;&lt;br /&gt;
        Option      &amp;quot;YAxisMapping&amp;quot; &amp;quot;4 5&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
  Section &amp;quot;Screen&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;Default Screen&amp;quot;&lt;br /&gt;
        Monitor         &amp;quot;Configured Monitor&amp;quot;&lt;br /&gt;
        Defaultdepth    24&lt;br /&gt;
        SubSection &amp;quot;Display&amp;quot;&lt;br /&gt;
                Modes           &amp;quot;1280x800&amp;quot;&lt;br /&gt;
  #             Virtual    2048 864&lt;br /&gt;
        EndSubSection&lt;br /&gt;
  EndSection&lt;br /&gt;
  Section &amp;quot;Monitor&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;Configured Monitor&amp;quot;&lt;br /&gt;
        DisplaySize     231 233.5 #fake smaller dpi&lt;br /&gt;
  EndSection&lt;br /&gt;
  Section &amp;quot;Monitor&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;HDMI-1&amp;quot;&lt;br /&gt;
        Option          &amp;quot;Ignore&amp;quot; &amp;quot;True&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
  Section &amp;quot;Monitor&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;HDMI-2&amp;quot;&lt;br /&gt;
        Option          &amp;quot;Ignore&amp;quot; &amp;quot;True&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
  Section &amp;quot;Device&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;Configured Video Device&amp;quot;&lt;br /&gt;
  #        Driver          &amp;quot;intel&amp;quot;&lt;br /&gt;
        Driver          &amp;quot;vesa&amp;quot;&lt;br /&gt;
        Option          &amp;quot;monitor-HDMI-1&amp;quot; &amp;quot;HDMI-1&amp;quot;&lt;br /&gt;
        Option          &amp;quot;monitor-HDMI-2&amp;quot; &amp;quot;HDMI-2&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
&lt;br /&gt;
== Fonts ==&lt;br /&gt;
&lt;br /&gt;
Default fonts are a bit ugly. Things get better by creating some symbolic link:&lt;br /&gt;
&lt;br /&gt;
  cd /etc/fonts/conf.d&lt;br /&gt;
  ln -s ../conf.avail/10-autohint.conf&lt;br /&gt;
  ln -s ../conf.avail/10-sub-pixel-rgb.conf&lt;br /&gt;
  ln -s ../conf.avail/70-no-bitmaps.conf&lt;br /&gt;
&lt;br /&gt;
For GTK and Firefox&lt;br /&gt;
&lt;br /&gt;
Fonts size are too large. Solution:&lt;br /&gt;
  $cat ~/.gtkrc-2.0&lt;br /&gt;
  # -- THEME AUTO-WRITTEN DO NOT EDIT&lt;br /&gt;
  include &amp;quot;/usr/share/themes/Industrial/gtk-2.0/gtkrc&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  include &amp;quot;/home/rdemaria/.gtkrc-2.0.mine&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  # -- THEME AUTO-WRITTEN DO NOT EDIT&lt;br /&gt;
&lt;br /&gt;
  $cat ~/.gtkrc-2.0.mine&lt;br /&gt;
  gtk-font-name = &amp;quot;Sans 8&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Bold font are also ugly on xvrt (in xterm the bold font control seems always broken). See below for the solution&lt;br /&gt;
&lt;br /&gt;
== Terminal ==&lt;br /&gt;
&lt;br /&gt;
I tried several terminals. But I found rxvt the easiest and fastest. This resources allow 4 terminals in one window. Bold font (unreadable to me) are disabled.&lt;br /&gt;
&lt;br /&gt;
  $cat ~/.Xresources&lt;br /&gt;
  rxvt*cutchars: \$:[]&lt;br /&gt;
  rxvt*visualBell: true&lt;br /&gt;
  rxvt*foreground: white&lt;br /&gt;
  rxvt*background: black&lt;br /&gt;
  rxvt*geometry: 80x27&lt;br /&gt;
  rxvt*jumpScroll: true&lt;br /&gt;
  rxvt*skipScroll: true&lt;br /&gt;
  rxvt*scrollBar: false&lt;br /&gt;
  rxvt*boldFont:&lt;br /&gt;
  rxvt*boldItalicFont:&lt;br /&gt;
  rxvt*saveLines: 9096&lt;br /&gt;
  rxvt*mouseWheelScrollPage: false&lt;br /&gt;
&lt;br /&gt;
== Wifi ==&lt;br /&gt;
&lt;br /&gt;
Put in the /etc/apt/source.list&lt;br /&gt;
&lt;br /&gt;
  deb http://kernel-archive.buildserver.net/debian-kernel trunk main &lt;br /&gt;
&lt;br /&gt;
Installed linux-image-2.6.27-1 and firmware&lt;br /&gt;
&lt;br /&gt;
  wget http://intellinuxwireless.org/iwlwifi/downloads/iwlwifi-5000-ucode-5.4.A.11.tar.gz&lt;br /&gt;
  tar xvfz iwlwifi-5000-ucode-5.4.A.11.tar.gz&lt;br /&gt;
  cp  iwlwifi-5000-ucode-5.4.A.11/iwlwifi-5000-1.ucode /lib/firmware&lt;br /&gt;
  aptitude install linux-image-2.6.27-1-686 hal&lt;br /&gt;
&lt;br /&gt;
== Suspend ==&lt;br /&gt;
&lt;br /&gt;
Suspend to disk works using the button Fn+F12.&lt;br /&gt;
&lt;br /&gt;
Suspend to ram (Fn+F4) does not work with intel driver. Using vesa driver suspend works.&lt;br /&gt;
&lt;br /&gt;
The trackpoint occasionally stops working after a resume. Apparently it is enough to move it &lt;br /&gt;
a little bit during the resuming process.&lt;br /&gt;
&lt;br /&gt;
== Special keys ==&lt;br /&gt;
&lt;br /&gt;
Some keys are intercepted by X Windows. The keycodes are&lt;br /&gt;
&lt;br /&gt;
  227 Fn&lt;br /&gt;
  234 Tab left&lt;br /&gt;
  233 Tab right&lt;br /&gt;
  176 Volume up&lt;br /&gt;
  174 Volume dn&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Mute switch the hardware volume which is not controlled by ALSA.&lt;br /&gt;
&lt;br /&gt;
ACPI links suspend to ram and to disc to Fn+F4 and Fn+F12 respectively. Screen brightness, thinklight, bluetooth works as well.&lt;br /&gt;
&lt;br /&gt;
== Sound ==&lt;br /&gt;
&lt;br /&gt;
Everything works, but in a strange way. The hardware volume control is managed by acpi&lt;br /&gt;
&lt;br /&gt;
  $ cat /proc/acpi/ibm/volume&lt;br /&gt;
  level:          8&lt;br /&gt;
  mute:           off&lt;br /&gt;
  commands:       up, down, mute&lt;br /&gt;
  commands:       level &amp;lt;level&amp;gt; (&amp;lt;level&amp;gt; is 0-15)&lt;br /&gt;
&lt;br /&gt;
The mute button is linked to the mute command, but volume up and down are passed to X with keycode 176 174. I&lt;br /&gt;
thought that acpi was intercepting the key and send them to X using fakekey. I played in /etc/acpi/events but I didn't managed to change the behavior.&lt;br /&gt;
&lt;br /&gt;
== Skype ==&lt;br /&gt;
&lt;br /&gt;
Everything works downloading the skype version for Etch. After suspending and resuming the video does not work anymore.&lt;br /&gt;
The error message is:&lt;br /&gt;
&lt;br /&gt;
  Skype V4L2: Could not find a suitable capture format&lt;br /&gt;
&lt;br /&gt;
Severals people propose to update the uvcvideo driver.&lt;br /&gt;
  svn checkout http://svn.berlios.de/svnroot/repos/linux-uvc/&lt;br /&gt;
  cd linux-uvc/linux-uvc/trunk/&lt;br /&gt;
  make&lt;br /&gt;
  make install&lt;br /&gt;
  modprobe uvcvideo&lt;br /&gt;
&lt;br /&gt;
But I didn't tried yet.&lt;br /&gt;
&lt;br /&gt;
== GTK and Firefox ==&lt;br /&gt;
&lt;br /&gt;
Fonts size are too large. Solution:&lt;br /&gt;
  $cat /home/rdemaria/.gtkrc-2.0&lt;br /&gt;
  # -- THEME AUTO-WRITTEN DO NOT EDIT&lt;br /&gt;
  include &amp;quot;/usr/share/themes/Industrial/gtk-2.0/gtkrc&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  include &amp;quot;/home/rdemaria/.gtkrc-2.0.mine&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  # -- THEME AUTO-WRITTEN DO NOT EDIT&lt;br /&gt;
&lt;br /&gt;
  $cat /home/rdemaria/.gtkrc-2.0.mine&lt;br /&gt;
  gtk-font-name = &amp;quot;Sans 8&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== TO BE CONTINUED ==&lt;/div&gt;</summary>
		<author><name>Rdemaria</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Debian_Sid_(October_2008)_on_a_ThinkPad_X200&amp;diff=39379</id>
		<title>Installing Debian Sid (October 2008) on a ThinkPad X200</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Debian_Sid_(October_2008)_on_a_ThinkPad_X200&amp;diff=39379"/>
		<updated>2008-10-29T17:58:10Z</updated>

		<summary type="html">&lt;p&gt;Rdemaria: /* Fonts */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
Amazing machine: light, quiet, large battery life, ideal for travels, great value for money compared to X200T and X300.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Creating installation device ==&lt;br /&gt;
&lt;br /&gt;
The X200 has no cd/dvd but can boot from USB. On the X200 BIOS settings, the USB disk boot option needed to be raised to be used first. Using F1 at boot gives access to the BIOS.&lt;br /&gt;
&lt;br /&gt;
I created an USB bootable iso from another linux installation.&lt;br /&gt;
I had an usb stick with a FAT32 partition on /dev/sdc1. I dowloaded the boot and iso file and installed the image&lt;br /&gt;
using:&lt;br /&gt;
&lt;br /&gt;
  wget http://people.debian.org/~joeyh/d-i/images/daily/hd-media/boot.img.gz&lt;br /&gt;
  wget http://cdimage.debian.org/cdimage/daily-builds/daily/arch-latest/i386/iso-cd/debian-testing-i386-netinst.iso&lt;br /&gt;
  zcat boot.img.gz &amp;gt;/dev/sdc1&lt;br /&gt;
  mkdir /mnt/sdc1&lt;br /&gt;
  mount /dev/sdc1 /mnt/sdc1&lt;br /&gt;
  cp debian-testing-i386-netinst.iso /mnt/sdc1&lt;br /&gt;
&lt;br /&gt;
The boot stick will use the network to install the package but a more complete ISO image can be dowloaded.&lt;br /&gt;
&lt;br /&gt;
The wifi will not work (see [[Installing_Debian_on_an_X200]]) but the Ethernet card will. In theory it should be possible build custom Debian Live USB stick, using the latest package and install from there, I didn't manage so far.&lt;br /&gt;
'''Bold text'''&lt;br /&gt;
&lt;br /&gt;
== Sid installation ==&lt;br /&gt;
&lt;br /&gt;
To install sid use the expert installation support and choose unstable for the repository.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Backup hard drive data ==&lt;br /&gt;
&lt;br /&gt;
In order to save the hard drive content, I created complete hard drive image on another hard disk. During the installation procedure I activated another shell with CTRL-ALT-F3, mounted an external HD (/dev/sdb1) and copied the image with:&lt;br /&gt;
&lt;br /&gt;
  mkdir /mnt/sdb1&lt;br /&gt;
  mount /dev/sdb1 /mnt/sdb1/&lt;br /&gt;
  dd if=/dev/sda of=/mnt/sdb1/sda-image&lt;br /&gt;
&lt;br /&gt;
In principle partimage is better option but the installation image does not have it. Also gzipping the partition on the fly would have bin better, but the gzip or bzip2 were not present. Using a custom Debian Live installation image would solve the problem.&lt;br /&gt;
&lt;br /&gt;
== Video ==&lt;br /&gt;
&lt;br /&gt;
Video driver 2:2.3.2-2+lenny5 is not stable enough. Video get garbled from time to time. Vesa driver is not that slow.&lt;br /&gt;
&lt;br /&gt;
This is a simple xorg.conf:&lt;br /&gt;
&lt;br /&gt;
  $ cat /etc/X11/xorg.conf &lt;br /&gt;
  Section &amp;quot;InputDevice&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;Generic Keyboard&amp;quot;&lt;br /&gt;
        Driver          &amp;quot;kbd&amp;quot;&lt;br /&gt;
        Option          &amp;quot;XkbRules&amp;quot;      &amp;quot;xorg&amp;quot;&lt;br /&gt;
        Option          &amp;quot;XkbModel&amp;quot;      &amp;quot;pc104&amp;quot;&lt;br /&gt;
        Option          &amp;quot;XkbLayout&amp;quot;     &amp;quot;us,us(intl)&amp;quot;&lt;br /&gt;
        Option          &amp;quot;XkbOptions&amp;quot;    &amp;quot;compose(lwin),compose(rwin),grp:shifts_toggle,grp_led:scroll&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
  Section &amp;quot;InputDevice&amp;quot;&lt;br /&gt;
        Identifier  &amp;quot;Configured Mouse&amp;quot;&lt;br /&gt;
        Driver      &amp;quot;mouse&amp;quot;&lt;br /&gt;
        Option      &amp;quot;CorePointer&amp;quot;&lt;br /&gt;
        Option      &amp;quot;Device&amp;quot; &amp;quot;/dev/input/mouse0&amp;quot;&lt;br /&gt;
        Option      &amp;quot;Protocol&amp;quot; &amp;quot;ImPS/2&amp;quot;&lt;br /&gt;
        Option      &amp;quot;EmulateWheel&amp;quot; &amp;quot;on&amp;quot;&lt;br /&gt;
        Option      &amp;quot;EmulateWheelButton&amp;quot; &amp;quot;2&amp;quot;&lt;br /&gt;
        Option      &amp;quot;EmulateWheelTimeout&amp;quot; &amp;quot;250&amp;quot;&lt;br /&gt;
        Option      &amp;quot;XAxisMapping&amp;quot; &amp;quot;6 7&amp;quot;&lt;br /&gt;
        Option      &amp;quot;YAxisMapping&amp;quot; &amp;quot;4 5&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
  Section &amp;quot;Screen&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;Default Screen&amp;quot;&lt;br /&gt;
        Monitor         &amp;quot;Configured Monitor&amp;quot;&lt;br /&gt;
        Defaultdepth    24&lt;br /&gt;
        SubSection &amp;quot;Display&amp;quot;&lt;br /&gt;
                Modes           &amp;quot;1280x800&amp;quot;&lt;br /&gt;
  #             Virtual    2048 864&lt;br /&gt;
        EndSubSection&lt;br /&gt;
  EndSection&lt;br /&gt;
  Section &amp;quot;Monitor&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;Configured Monitor&amp;quot;&lt;br /&gt;
        DisplaySize     231 233.5 #fake smaller dpi&lt;br /&gt;
  EndSection&lt;br /&gt;
  Section &amp;quot;Monitor&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;HDMI-1&amp;quot;&lt;br /&gt;
        Option          &amp;quot;Ignore&amp;quot; &amp;quot;True&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
  Section &amp;quot;Monitor&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;HDMI-2&amp;quot;&lt;br /&gt;
        Option          &amp;quot;Ignore&amp;quot; &amp;quot;True&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
  Section &amp;quot;Device&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;Configured Video Device&amp;quot;&lt;br /&gt;
  #        Driver          &amp;quot;intel&amp;quot;&lt;br /&gt;
        Driver          &amp;quot;vesa&amp;quot;&lt;br /&gt;
        Option          &amp;quot;monitor-HDMI-1&amp;quot; &amp;quot;HDMI-1&amp;quot;&lt;br /&gt;
        Option          &amp;quot;monitor-HDMI-2&amp;quot; &amp;quot;HDMI-2&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
&lt;br /&gt;
== Fonts ==&lt;br /&gt;
&lt;br /&gt;
Default fonts are a bit ugly. Things get better by creating some symbolic link:&lt;br /&gt;
&lt;br /&gt;
  cd /etc/fonts/conf.d&lt;br /&gt;
  ln -s ../conf.avail/10-autohint.conf&lt;br /&gt;
  ln -s ../conf.avail/10-sub-pixel-rgb.conf&lt;br /&gt;
  ln -s ../conf.avail/70-no-bitmaps.conf&lt;br /&gt;
&lt;br /&gt;
For GTK and Firefox&lt;br /&gt;
&lt;br /&gt;
Fonts size are too large. Solution:&lt;br /&gt;
  $cat ~/.gtkrc-2.0&lt;br /&gt;
  # -- THEME AUTO-WRITTEN DO NOT EDIT&lt;br /&gt;
  include &amp;quot;/usr/share/themes/Industrial/gtk-2.0/gtkrc&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  include &amp;quot;/home/rdemaria/.gtkrc-2.0.mine&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  # -- THEME AUTO-WRITTEN DO NOT EDIT&lt;br /&gt;
&lt;br /&gt;
  $cat ~/.gtkrc-2.0.mine&lt;br /&gt;
  gtk-font-name = &amp;quot;Sans 8&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Bold font are also ugly on xvrt (in xterm the bold font control seems always broken). See below for the solution&lt;br /&gt;
&lt;br /&gt;
== Terminal ==&lt;br /&gt;
&lt;br /&gt;
I tried several terminals. But I found rxvt the easiest and fastest. This resources allow 4 terminals in one window. Bold font (unreadable to me) are disabled.&lt;br /&gt;
&lt;br /&gt;
  $cat ~/.Xresources&lt;br /&gt;
  rxvt*cutchars: \$:[]&lt;br /&gt;
  rxvt*visualBell: true&lt;br /&gt;
  rxvt*foreground: white&lt;br /&gt;
  rxvt*background: black&lt;br /&gt;
  rxvt*geometry: 80x27&lt;br /&gt;
  rxvt*jumpScroll: true&lt;br /&gt;
  rxvt*skipScroll: true&lt;br /&gt;
  rxvt*scrollBar: false&lt;br /&gt;
  rxvt*boldFont:&lt;br /&gt;
  rxvt*boldItalicFont:&lt;br /&gt;
  rxvt*saveLines: 9096&lt;br /&gt;
  rxvt*mouseWheelScrollPage: false&lt;br /&gt;
&lt;br /&gt;
== Wifi ==&lt;br /&gt;
&lt;br /&gt;
Put in the /etc/apt/source.list&lt;br /&gt;
&lt;br /&gt;
  deb http://kernel-archive.buildserver.net/debian-kernel trunk main &lt;br /&gt;
&lt;br /&gt;
Installed linux-image-2.6.27-1 and firmware&lt;br /&gt;
&lt;br /&gt;
  wget http://intellinuxwireless.org/iwlwifi/downloads/iwlwifi-5000-ucode-5.4.A.11.tar.gz&lt;br /&gt;
  tar xvfz iwlwifi-5000-ucode-5.4.A.11.tar.gz&lt;br /&gt;
  cp  iwlwifi-5000-ucode-5.4.A.11/iwlwifi-5000-1.ucode /lib/firmware&lt;br /&gt;
  aptitude install linux-image-2.6.27-1-686 hal&lt;br /&gt;
&lt;br /&gt;
== Suspend ==&lt;br /&gt;
&lt;br /&gt;
Suspend to disk works using the button Fn+F12.&lt;br /&gt;
&lt;br /&gt;
Suspend to ram (Fn+F4) does not work with intel driver. Using vesa driver suspend works.&lt;br /&gt;
&lt;br /&gt;
The trackpoint occasionally stops working after a resume. Apparently it is enough to move it &lt;br /&gt;
a little bit during the resuming process.&lt;br /&gt;
&lt;br /&gt;
== Special keys ==&lt;br /&gt;
&lt;br /&gt;
Some keys are intercepted by X Windows. The keycodes are&lt;br /&gt;
&lt;br /&gt;
  227 Fn&lt;br /&gt;
  234 Tab left&lt;br /&gt;
  233 Tab right&lt;br /&gt;
  176 Volume up&lt;br /&gt;
  174 Volume dn&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Mute switch the hardware volume which is not controlled by ALSA.&lt;br /&gt;
&lt;br /&gt;
ACPI links suspend to ram and to disc to Fn+F4 and Fn+F12 respectively. Screen brightness, thinklight, bluetooth works as well.&lt;br /&gt;
&lt;br /&gt;
== Sound ==&lt;br /&gt;
&lt;br /&gt;
Everything works, but in a strange way. The hardware volume control is managed by acpi&lt;br /&gt;
&lt;br /&gt;
  $ cat /proc/acpi/ibm/volume&lt;br /&gt;
  level:          8&lt;br /&gt;
  mute:           off&lt;br /&gt;
  commands:       up, down, mute&lt;br /&gt;
  commands:       level &amp;lt;level&amp;gt; (&amp;lt;level&amp;gt; is 0-15)&lt;br /&gt;
&lt;br /&gt;
The mute button is linked to the mute command, but volume up and down are passed to X with keycode 176 174. I&lt;br /&gt;
thought that acpi was intercepting the key and send them to X using fakekey. I played in /etc/acpi/events but I didn't managed to change the behavior.&lt;br /&gt;
&lt;br /&gt;
== Skype ==&lt;br /&gt;
&lt;br /&gt;
Everything works downloading the version for Etch. After suspending to disk the video does not work anymore.&lt;br /&gt;
The error message is:&lt;br /&gt;
&lt;br /&gt;
  Skype V4L2: Could not find a suitable capture format&lt;br /&gt;
&lt;br /&gt;
Apparently using the vesa driver for xorg solve the problem...&lt;br /&gt;
&lt;br /&gt;
== GTK and Firefox ==&lt;br /&gt;
&lt;br /&gt;
Fonts size are too large. Solution:&lt;br /&gt;
  $cat /home/rdemaria/.gtkrc-2.0&lt;br /&gt;
  # -- THEME AUTO-WRITTEN DO NOT EDIT&lt;br /&gt;
  include &amp;quot;/usr/share/themes/Industrial/gtk-2.0/gtkrc&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  include &amp;quot;/home/rdemaria/.gtkrc-2.0.mine&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  # -- THEME AUTO-WRITTEN DO NOT EDIT&lt;br /&gt;
&lt;br /&gt;
  $cat /home/rdemaria/.gtkrc-2.0.mine&lt;br /&gt;
  gtk-font-name = &amp;quot;Sans 8&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== TO BE CONTINUED ==&lt;/div&gt;</summary>
		<author><name>Rdemaria</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Debian_Sid_(October_2008)_on_a_ThinkPad_X200&amp;diff=39378</id>
		<title>Installing Debian Sid (October 2008) on a ThinkPad X200</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Debian_Sid_(October_2008)_on_a_ThinkPad_X200&amp;diff=39378"/>
		<updated>2008-10-29T17:51:06Z</updated>

		<summary type="html">&lt;p&gt;Rdemaria: /* Firefox */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
Amazing machine: light, quiet, large battery life, ideal for travels, great value for money compared to X200T and X300.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Creating installation device ==&lt;br /&gt;
&lt;br /&gt;
The X200 has no cd/dvd but can boot from USB. On the X200 BIOS settings, the USB disk boot option needed to be raised to be used first. Using F1 at boot gives access to the BIOS.&lt;br /&gt;
&lt;br /&gt;
I created an USB bootable iso from another linux installation.&lt;br /&gt;
I had an usb stick with a FAT32 partition on /dev/sdc1. I dowloaded the boot and iso file and installed the image&lt;br /&gt;
using:&lt;br /&gt;
&lt;br /&gt;
  wget http://people.debian.org/~joeyh/d-i/images/daily/hd-media/boot.img.gz&lt;br /&gt;
  wget http://cdimage.debian.org/cdimage/daily-builds/daily/arch-latest/i386/iso-cd/debian-testing-i386-netinst.iso&lt;br /&gt;
  zcat boot.img.gz &amp;gt;/dev/sdc1&lt;br /&gt;
  mkdir /mnt/sdc1&lt;br /&gt;
  mount /dev/sdc1 /mnt/sdc1&lt;br /&gt;
  cp debian-testing-i386-netinst.iso /mnt/sdc1&lt;br /&gt;
&lt;br /&gt;
The boot stick will use the network to install the package but a more complete ISO image can be dowloaded.&lt;br /&gt;
&lt;br /&gt;
The wifi will not work (see [[Installing_Debian_on_an_X200]]) but the Ethernet card will. In theory it should be possible build custom Debian Live USB stick, using the latest package and install from there, I didn't manage so far.&lt;br /&gt;
'''Bold text'''&lt;br /&gt;
&lt;br /&gt;
== Sid installation ==&lt;br /&gt;
&lt;br /&gt;
To install sid use the expert installation support and choose unstable for the repository.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Backup hard drive data ==&lt;br /&gt;
&lt;br /&gt;
In order to save the hard drive content, I created complete hard drive image on another hard disk. During the installation procedure I activated another shell with CTRL-ALT-F3, mounted an external HD (/dev/sdb1) and copied the image with:&lt;br /&gt;
&lt;br /&gt;
  mkdir /mnt/sdb1&lt;br /&gt;
  mount /dev/sdb1 /mnt/sdb1/&lt;br /&gt;
  dd if=/dev/sda of=/mnt/sdb1/sda-image&lt;br /&gt;
&lt;br /&gt;
In principle partimage is better option but the installation image does not have it. Also gzipping the partition on the fly would have bin better, but the gzip or bzip2 were not present. Using a custom Debian Live installation image would solve the problem.&lt;br /&gt;
&lt;br /&gt;
== Video ==&lt;br /&gt;
&lt;br /&gt;
Video driver 2:2.3.2-2+lenny5 is not stable enough. Video get garbled from time to time. Vesa driver is not that slow.&lt;br /&gt;
&lt;br /&gt;
This is a simple xorg.conf:&lt;br /&gt;
&lt;br /&gt;
  $ cat /etc/X11/xorg.conf &lt;br /&gt;
  Section &amp;quot;InputDevice&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;Generic Keyboard&amp;quot;&lt;br /&gt;
        Driver          &amp;quot;kbd&amp;quot;&lt;br /&gt;
        Option          &amp;quot;XkbRules&amp;quot;      &amp;quot;xorg&amp;quot;&lt;br /&gt;
        Option          &amp;quot;XkbModel&amp;quot;      &amp;quot;pc104&amp;quot;&lt;br /&gt;
        Option          &amp;quot;XkbLayout&amp;quot;     &amp;quot;us,us(intl)&amp;quot;&lt;br /&gt;
        Option          &amp;quot;XkbOptions&amp;quot;    &amp;quot;compose(lwin),compose(rwin),grp:shifts_toggle,grp_led:scroll&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
  Section &amp;quot;InputDevice&amp;quot;&lt;br /&gt;
        Identifier  &amp;quot;Configured Mouse&amp;quot;&lt;br /&gt;
        Driver      &amp;quot;mouse&amp;quot;&lt;br /&gt;
        Option      &amp;quot;CorePointer&amp;quot;&lt;br /&gt;
        Option      &amp;quot;Device&amp;quot; &amp;quot;/dev/input/mouse0&amp;quot;&lt;br /&gt;
        Option      &amp;quot;Protocol&amp;quot; &amp;quot;ImPS/2&amp;quot;&lt;br /&gt;
        Option      &amp;quot;EmulateWheel&amp;quot; &amp;quot;on&amp;quot;&lt;br /&gt;
        Option      &amp;quot;EmulateWheelButton&amp;quot; &amp;quot;2&amp;quot;&lt;br /&gt;
        Option      &amp;quot;EmulateWheelTimeout&amp;quot; &amp;quot;250&amp;quot;&lt;br /&gt;
        Option      &amp;quot;XAxisMapping&amp;quot; &amp;quot;6 7&amp;quot;&lt;br /&gt;
        Option      &amp;quot;YAxisMapping&amp;quot; &amp;quot;4 5&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
  Section &amp;quot;Screen&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;Default Screen&amp;quot;&lt;br /&gt;
        Monitor         &amp;quot;Configured Monitor&amp;quot;&lt;br /&gt;
        Defaultdepth    24&lt;br /&gt;
        SubSection &amp;quot;Display&amp;quot;&lt;br /&gt;
                Modes           &amp;quot;1280x800&amp;quot;&lt;br /&gt;
  #             Virtual    2048 864&lt;br /&gt;
        EndSubSection&lt;br /&gt;
  EndSection&lt;br /&gt;
  Section &amp;quot;Monitor&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;Configured Monitor&amp;quot;&lt;br /&gt;
        DisplaySize     231 233.5 #fake smaller dpi&lt;br /&gt;
  EndSection&lt;br /&gt;
  Section &amp;quot;Monitor&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;HDMI-1&amp;quot;&lt;br /&gt;
        Option          &amp;quot;Ignore&amp;quot; &amp;quot;True&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
  Section &amp;quot;Monitor&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;HDMI-2&amp;quot;&lt;br /&gt;
        Option          &amp;quot;Ignore&amp;quot; &amp;quot;True&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
  Section &amp;quot;Device&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;Configured Video Device&amp;quot;&lt;br /&gt;
  #        Driver          &amp;quot;intel&amp;quot;&lt;br /&gt;
        Driver          &amp;quot;vesa&amp;quot;&lt;br /&gt;
        Option          &amp;quot;monitor-HDMI-1&amp;quot; &amp;quot;HDMI-1&amp;quot;&lt;br /&gt;
        Option          &amp;quot;monitor-HDMI-2&amp;quot; &amp;quot;HDMI-2&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
&lt;br /&gt;
== Fonts ==&lt;br /&gt;
&lt;br /&gt;
Default fonts are a bit ugly. Things get better by creating some symbolic link:&lt;br /&gt;
&lt;br /&gt;
  cd /etc/fonts/conf.d&lt;br /&gt;
  ln -s ../conf.avail/10-autohint.conf&lt;br /&gt;
  ln -s ../conf.avail/10-sub-pixel-rgb.conf&lt;br /&gt;
  ln -s ../conf.avail/70-no-bitmaps.conf&lt;br /&gt;
&lt;br /&gt;
== Wifi ==&lt;br /&gt;
&lt;br /&gt;
Put in the /etc/apt/source.list&lt;br /&gt;
&lt;br /&gt;
  deb http://kernel-archive.buildserver.net/debian-kernel trunk main &lt;br /&gt;
&lt;br /&gt;
Installed linux-image-2.6.27-1 and firmware&lt;br /&gt;
&lt;br /&gt;
  wget http://intellinuxwireless.org/iwlwifi/downloads/iwlwifi-5000-ucode-5.4.A.11.tar.gz&lt;br /&gt;
  tar xvfz iwlwifi-5000-ucode-5.4.A.11.tar.gz&lt;br /&gt;
  cp  iwlwifi-5000-ucode-5.4.A.11/iwlwifi-5000-1.ucode /lib/firmware&lt;br /&gt;
  aptitude install linux-image-2.6.27-1-686 hal&lt;br /&gt;
&lt;br /&gt;
== Suspend ==&lt;br /&gt;
&lt;br /&gt;
Suspend to disk works using the button Fn+F12.&lt;br /&gt;
&lt;br /&gt;
Suspend to ram (Fn+F4) does not work with intel driver. Using vesa driver suspend works.&lt;br /&gt;
&lt;br /&gt;
The trackpoint occasionally stops working after a resume. Apparently it is enough to move it &lt;br /&gt;
a little bit during the resuming process.&lt;br /&gt;
&lt;br /&gt;
== Special keys ==&lt;br /&gt;
&lt;br /&gt;
Some keys are intercepted by X Windows. The keycodes are&lt;br /&gt;
&lt;br /&gt;
  227 Fn&lt;br /&gt;
  234 Tab left&lt;br /&gt;
  233 Tab right&lt;br /&gt;
  176 Volume up&lt;br /&gt;
  174 Volume dn&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Mute switch the hardware volume which is not controlled by ALSA.&lt;br /&gt;
&lt;br /&gt;
ACPI links suspend to ram and to disc to Fn+F4 and Fn+F12 respectively. Screen brightness, thinklight, bluetooth works as well.&lt;br /&gt;
&lt;br /&gt;
== Sound ==&lt;br /&gt;
&lt;br /&gt;
Everything works, but in a strange way. The hardware volume control is managed by acpi&lt;br /&gt;
&lt;br /&gt;
  $ cat /proc/acpi/ibm/volume&lt;br /&gt;
  level:          8&lt;br /&gt;
  mute:           off&lt;br /&gt;
  commands:       up, down, mute&lt;br /&gt;
  commands:       level &amp;lt;level&amp;gt; (&amp;lt;level&amp;gt; is 0-15)&lt;br /&gt;
&lt;br /&gt;
The mute button is linked to the mute command, but volume up and down are passed to X with keycode 176 174. I&lt;br /&gt;
thought that acpi was intercepting the key and send them to X using fakekey. I played in /etc/acpi/events but I didn't managed to change the behavior.&lt;br /&gt;
&lt;br /&gt;
== Skype ==&lt;br /&gt;
&lt;br /&gt;
Everything works downloading the version for Etch. After suspending to disk the video does not work anymore.&lt;br /&gt;
The error message is:&lt;br /&gt;
&lt;br /&gt;
  Skype V4L2: Could not find a suitable capture format&lt;br /&gt;
&lt;br /&gt;
Apparently using the vesa driver for xorg solve the problem...&lt;br /&gt;
&lt;br /&gt;
== GTK and Firefox ==&lt;br /&gt;
&lt;br /&gt;
Fonts size are too large. Solution:&lt;br /&gt;
  $cat /home/rdemaria/.gtkrc-2.0&lt;br /&gt;
  # -- THEME AUTO-WRITTEN DO NOT EDIT&lt;br /&gt;
  include &amp;quot;/usr/share/themes/Industrial/gtk-2.0/gtkrc&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  include &amp;quot;/home/rdemaria/.gtkrc-2.0.mine&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  # -- THEME AUTO-WRITTEN DO NOT EDIT&lt;br /&gt;
&lt;br /&gt;
  $cat /home/rdemaria/.gtkrc-2.0.mine&lt;br /&gt;
  gtk-font-name = &amp;quot;Sans 8&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== TO BE CONTINUED ==&lt;/div&gt;</summary>
		<author><name>Rdemaria</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Debian_Sid_(October_2008)_on_a_ThinkPad_X200&amp;diff=39377</id>
		<title>Installing Debian Sid (October 2008) on a ThinkPad X200</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Debian_Sid_(October_2008)_on_a_ThinkPad_X200&amp;diff=39377"/>
		<updated>2008-10-29T17:38:27Z</updated>

		<summary type="html">&lt;p&gt;Rdemaria: /* Special keys */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
Amazing machine: light, quiet, large battery life, ideal for travels, great value for money compared to X200T and X300.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Creating installation device ==&lt;br /&gt;
&lt;br /&gt;
The X200 has no cd/dvd but can boot from USB. On the X200 BIOS settings, the USB disk boot option needed to be raised to be used first. Using F1 at boot gives access to the BIOS.&lt;br /&gt;
&lt;br /&gt;
I created an USB bootable iso from another linux installation.&lt;br /&gt;
I had an usb stick with a FAT32 partition on /dev/sdc1. I dowloaded the boot and iso file and installed the image&lt;br /&gt;
using:&lt;br /&gt;
&lt;br /&gt;
  wget http://people.debian.org/~joeyh/d-i/images/daily/hd-media/boot.img.gz&lt;br /&gt;
  wget http://cdimage.debian.org/cdimage/daily-builds/daily/arch-latest/i386/iso-cd/debian-testing-i386-netinst.iso&lt;br /&gt;
  zcat boot.img.gz &amp;gt;/dev/sdc1&lt;br /&gt;
  mkdir /mnt/sdc1&lt;br /&gt;
  mount /dev/sdc1 /mnt/sdc1&lt;br /&gt;
  cp debian-testing-i386-netinst.iso /mnt/sdc1&lt;br /&gt;
&lt;br /&gt;
The boot stick will use the network to install the package but a more complete ISO image can be dowloaded.&lt;br /&gt;
&lt;br /&gt;
The wifi will not work (see [[Installing_Debian_on_an_X200]]) but the Ethernet card will. In theory it should be possible build custom Debian Live USB stick, using the latest package and install from there, I didn't manage so far.&lt;br /&gt;
'''Bold text'''&lt;br /&gt;
&lt;br /&gt;
== Sid installation ==&lt;br /&gt;
&lt;br /&gt;
To install sid use the expert installation support and choose unstable for the repository.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Backup hard drive data ==&lt;br /&gt;
&lt;br /&gt;
In order to save the hard drive content, I created complete hard drive image on another hard disk. During the installation procedure I activated another shell with CTRL-ALT-F3, mounted an external HD (/dev/sdb1) and copied the image with:&lt;br /&gt;
&lt;br /&gt;
  mkdir /mnt/sdb1&lt;br /&gt;
  mount /dev/sdb1 /mnt/sdb1/&lt;br /&gt;
  dd if=/dev/sda of=/mnt/sdb1/sda-image&lt;br /&gt;
&lt;br /&gt;
In principle partimage is better option but the installation image does not have it. Also gzipping the partition on the fly would have bin better, but the gzip or bzip2 were not present. Using a custom Debian Live installation image would solve the problem.&lt;br /&gt;
&lt;br /&gt;
== Video ==&lt;br /&gt;
&lt;br /&gt;
Video driver 2:2.3.2-2+lenny5 is not stable enough. Video get garbled from time to time. Vesa driver is not that slow.&lt;br /&gt;
&lt;br /&gt;
This is a simple xorg.conf:&lt;br /&gt;
&lt;br /&gt;
  $ cat /etc/X11/xorg.conf &lt;br /&gt;
  Section &amp;quot;InputDevice&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;Generic Keyboard&amp;quot;&lt;br /&gt;
        Driver          &amp;quot;kbd&amp;quot;&lt;br /&gt;
        Option          &amp;quot;XkbRules&amp;quot;      &amp;quot;xorg&amp;quot;&lt;br /&gt;
        Option          &amp;quot;XkbModel&amp;quot;      &amp;quot;pc104&amp;quot;&lt;br /&gt;
        Option          &amp;quot;XkbLayout&amp;quot;     &amp;quot;us,us(intl)&amp;quot;&lt;br /&gt;
        Option          &amp;quot;XkbOptions&amp;quot;    &amp;quot;compose(lwin),compose(rwin),grp:shifts_toggle,grp_led:scroll&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
  Section &amp;quot;InputDevice&amp;quot;&lt;br /&gt;
        Identifier  &amp;quot;Configured Mouse&amp;quot;&lt;br /&gt;
        Driver      &amp;quot;mouse&amp;quot;&lt;br /&gt;
        Option      &amp;quot;CorePointer&amp;quot;&lt;br /&gt;
        Option      &amp;quot;Device&amp;quot; &amp;quot;/dev/input/mouse0&amp;quot;&lt;br /&gt;
        Option      &amp;quot;Protocol&amp;quot; &amp;quot;ImPS/2&amp;quot;&lt;br /&gt;
        Option      &amp;quot;EmulateWheel&amp;quot; &amp;quot;on&amp;quot;&lt;br /&gt;
        Option      &amp;quot;EmulateWheelButton&amp;quot; &amp;quot;2&amp;quot;&lt;br /&gt;
        Option      &amp;quot;EmulateWheelTimeout&amp;quot; &amp;quot;250&amp;quot;&lt;br /&gt;
        Option      &amp;quot;XAxisMapping&amp;quot; &amp;quot;6 7&amp;quot;&lt;br /&gt;
        Option      &amp;quot;YAxisMapping&amp;quot; &amp;quot;4 5&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
  Section &amp;quot;Screen&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;Default Screen&amp;quot;&lt;br /&gt;
        Monitor         &amp;quot;Configured Monitor&amp;quot;&lt;br /&gt;
        Defaultdepth    24&lt;br /&gt;
        SubSection &amp;quot;Display&amp;quot;&lt;br /&gt;
                Modes           &amp;quot;1280x800&amp;quot;&lt;br /&gt;
  #             Virtual    2048 864&lt;br /&gt;
        EndSubSection&lt;br /&gt;
  EndSection&lt;br /&gt;
  Section &amp;quot;Monitor&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;Configured Monitor&amp;quot;&lt;br /&gt;
        DisplaySize     231 233.5 #fake smaller dpi&lt;br /&gt;
  EndSection&lt;br /&gt;
  Section &amp;quot;Monitor&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;HDMI-1&amp;quot;&lt;br /&gt;
        Option          &amp;quot;Ignore&amp;quot; &amp;quot;True&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
  Section &amp;quot;Monitor&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;HDMI-2&amp;quot;&lt;br /&gt;
        Option          &amp;quot;Ignore&amp;quot; &amp;quot;True&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
  Section &amp;quot;Device&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;Configured Video Device&amp;quot;&lt;br /&gt;
  #        Driver          &amp;quot;intel&amp;quot;&lt;br /&gt;
        Driver          &amp;quot;vesa&amp;quot;&lt;br /&gt;
        Option          &amp;quot;monitor-HDMI-1&amp;quot; &amp;quot;HDMI-1&amp;quot;&lt;br /&gt;
        Option          &amp;quot;monitor-HDMI-2&amp;quot; &amp;quot;HDMI-2&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
&lt;br /&gt;
== Fonts ==&lt;br /&gt;
&lt;br /&gt;
Default fonts are a bit ugly. Things get better by creating some symbolic link:&lt;br /&gt;
&lt;br /&gt;
  cd /etc/fonts/conf.d&lt;br /&gt;
  ln -s ../conf.avail/10-autohint.conf&lt;br /&gt;
  ln -s ../conf.avail/10-sub-pixel-rgb.conf&lt;br /&gt;
  ln -s ../conf.avail/70-no-bitmaps.conf&lt;br /&gt;
&lt;br /&gt;
== Wifi ==&lt;br /&gt;
&lt;br /&gt;
Put in the /etc/apt/source.list&lt;br /&gt;
&lt;br /&gt;
  deb http://kernel-archive.buildserver.net/debian-kernel trunk main &lt;br /&gt;
&lt;br /&gt;
Installed linux-image-2.6.27-1 and firmware&lt;br /&gt;
&lt;br /&gt;
  wget http://intellinuxwireless.org/iwlwifi/downloads/iwlwifi-5000-ucode-5.4.A.11.tar.gz&lt;br /&gt;
  tar xvfz iwlwifi-5000-ucode-5.4.A.11.tar.gz&lt;br /&gt;
  cp  iwlwifi-5000-ucode-5.4.A.11/iwlwifi-5000-1.ucode /lib/firmware&lt;br /&gt;
  aptitude install linux-image-2.6.27-1-686 hal&lt;br /&gt;
&lt;br /&gt;
== Suspend ==&lt;br /&gt;
&lt;br /&gt;
Suspend to disk works using the button Fn+F12.&lt;br /&gt;
&lt;br /&gt;
Suspend to ram (Fn+F4) does not work with intel driver. Using vesa driver suspend works.&lt;br /&gt;
&lt;br /&gt;
The trackpoint occasionally stops working after a resume. Apparently it is enough to move it &lt;br /&gt;
a little bit during the resuming process.&lt;br /&gt;
&lt;br /&gt;
== Special keys ==&lt;br /&gt;
&lt;br /&gt;
Some keys are intercepted by X Windows. The keycodes are&lt;br /&gt;
&lt;br /&gt;
  227 Fn&lt;br /&gt;
  234 Tab left&lt;br /&gt;
  233 Tab right&lt;br /&gt;
  176 Volume up&lt;br /&gt;
  174 Volume dn&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Mute switch the hardware volume which is not controlled by ALSA.&lt;br /&gt;
&lt;br /&gt;
ACPI links suspend to ram and to disc to Fn+F4 and Fn+F12 respectively. Screen brightness, thinklight, bluetooth works as well.&lt;br /&gt;
&lt;br /&gt;
== Sound ==&lt;br /&gt;
&lt;br /&gt;
Everything works, but in a strange way. The hardware volume control is managed by acpi&lt;br /&gt;
&lt;br /&gt;
  $ cat /proc/acpi/ibm/volume&lt;br /&gt;
  level:          8&lt;br /&gt;
  mute:           off&lt;br /&gt;
  commands:       up, down, mute&lt;br /&gt;
  commands:       level &amp;lt;level&amp;gt; (&amp;lt;level&amp;gt; is 0-15)&lt;br /&gt;
&lt;br /&gt;
The mute button is linked to the mute command, but volume up and down are passed to X with keycode 176 174. I&lt;br /&gt;
thought that acpi was intercepting the key and send them to X using fakekey. I played in /etc/acpi/events but I didn't managed to change the behavior.&lt;br /&gt;
&lt;br /&gt;
== Skype ==&lt;br /&gt;
&lt;br /&gt;
Everything works downloading the version for Etch. After suspending to disk the video does not work anymore.&lt;br /&gt;
The error message is:&lt;br /&gt;
&lt;br /&gt;
  Skype V4L2: Could not find a suitable capture format&lt;br /&gt;
&lt;br /&gt;
Apparently using the vesa driver for xorg solve the problem...&lt;br /&gt;
&lt;br /&gt;
== Firefox ==&lt;br /&gt;
&lt;br /&gt;
The menu fonts were way too large. I created a file in .mozilla/firefox/&amp;lt;random&amp;gt;.default/chrome/userChrome.css&lt;br /&gt;
something like:&lt;br /&gt;
&lt;br /&gt;
  * {&lt;br /&gt;
   font-size: 8pt !important&lt;br /&gt;
  }&lt;br /&gt;
&lt;br /&gt;
== TO BE CONTINUED ==&lt;/div&gt;</summary>
		<author><name>Rdemaria</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Debian_Sid_(October_2008)_on_a_ThinkPad_X200&amp;diff=39376</id>
		<title>Installing Debian Sid (October 2008) on a ThinkPad X200</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Debian_Sid_(October_2008)_on_a_ThinkPad_X200&amp;diff=39376"/>
		<updated>2008-10-29T17:37:28Z</updated>

		<summary type="html">&lt;p&gt;Rdemaria: /* Video */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
Amazing machine: light, quiet, large battery life, ideal for travels, great value for money compared to X200T and X300.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Creating installation device ==&lt;br /&gt;
&lt;br /&gt;
The X200 has no cd/dvd but can boot from USB. On the X200 BIOS settings, the USB disk boot option needed to be raised to be used first. Using F1 at boot gives access to the BIOS.&lt;br /&gt;
&lt;br /&gt;
I created an USB bootable iso from another linux installation.&lt;br /&gt;
I had an usb stick with a FAT32 partition on /dev/sdc1. I dowloaded the boot and iso file and installed the image&lt;br /&gt;
using:&lt;br /&gt;
&lt;br /&gt;
  wget http://people.debian.org/~joeyh/d-i/images/daily/hd-media/boot.img.gz&lt;br /&gt;
  wget http://cdimage.debian.org/cdimage/daily-builds/daily/arch-latest/i386/iso-cd/debian-testing-i386-netinst.iso&lt;br /&gt;
  zcat boot.img.gz &amp;gt;/dev/sdc1&lt;br /&gt;
  mkdir /mnt/sdc1&lt;br /&gt;
  mount /dev/sdc1 /mnt/sdc1&lt;br /&gt;
  cp debian-testing-i386-netinst.iso /mnt/sdc1&lt;br /&gt;
&lt;br /&gt;
The boot stick will use the network to install the package but a more complete ISO image can be dowloaded.&lt;br /&gt;
&lt;br /&gt;
The wifi will not work (see [[Installing_Debian_on_an_X200]]) but the Ethernet card will. In theory it should be possible build custom Debian Live USB stick, using the latest package and install from there, I didn't manage so far.&lt;br /&gt;
'''Bold text'''&lt;br /&gt;
&lt;br /&gt;
== Sid installation ==&lt;br /&gt;
&lt;br /&gt;
To install sid use the expert installation support and choose unstable for the repository.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Backup hard drive data ==&lt;br /&gt;
&lt;br /&gt;
In order to save the hard drive content, I created complete hard drive image on another hard disk. During the installation procedure I activated another shell with CTRL-ALT-F3, mounted an external HD (/dev/sdb1) and copied the image with:&lt;br /&gt;
&lt;br /&gt;
  mkdir /mnt/sdb1&lt;br /&gt;
  mount /dev/sdb1 /mnt/sdb1/&lt;br /&gt;
  dd if=/dev/sda of=/mnt/sdb1/sda-image&lt;br /&gt;
&lt;br /&gt;
In principle partimage is better option but the installation image does not have it. Also gzipping the partition on the fly would have bin better, but the gzip or bzip2 were not present. Using a custom Debian Live installation image would solve the problem.&lt;br /&gt;
&lt;br /&gt;
== Video ==&lt;br /&gt;
&lt;br /&gt;
Video driver 2:2.3.2-2+lenny5 is not stable enough. Video get garbled from time to time. Vesa driver is not that slow.&lt;br /&gt;
&lt;br /&gt;
This is a simple xorg.conf:&lt;br /&gt;
&lt;br /&gt;
  $ cat /etc/X11/xorg.conf &lt;br /&gt;
  Section &amp;quot;InputDevice&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;Generic Keyboard&amp;quot;&lt;br /&gt;
        Driver          &amp;quot;kbd&amp;quot;&lt;br /&gt;
        Option          &amp;quot;XkbRules&amp;quot;      &amp;quot;xorg&amp;quot;&lt;br /&gt;
        Option          &amp;quot;XkbModel&amp;quot;      &amp;quot;pc104&amp;quot;&lt;br /&gt;
        Option          &amp;quot;XkbLayout&amp;quot;     &amp;quot;us,us(intl)&amp;quot;&lt;br /&gt;
        Option          &amp;quot;XkbOptions&amp;quot;    &amp;quot;compose(lwin),compose(rwin),grp:shifts_toggle,grp_led:scroll&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
  Section &amp;quot;InputDevice&amp;quot;&lt;br /&gt;
        Identifier  &amp;quot;Configured Mouse&amp;quot;&lt;br /&gt;
        Driver      &amp;quot;mouse&amp;quot;&lt;br /&gt;
        Option      &amp;quot;CorePointer&amp;quot;&lt;br /&gt;
        Option      &amp;quot;Device&amp;quot; &amp;quot;/dev/input/mouse0&amp;quot;&lt;br /&gt;
        Option      &amp;quot;Protocol&amp;quot; &amp;quot;ImPS/2&amp;quot;&lt;br /&gt;
        Option      &amp;quot;EmulateWheel&amp;quot; &amp;quot;on&amp;quot;&lt;br /&gt;
        Option      &amp;quot;EmulateWheelButton&amp;quot; &amp;quot;2&amp;quot;&lt;br /&gt;
        Option      &amp;quot;EmulateWheelTimeout&amp;quot; &amp;quot;250&amp;quot;&lt;br /&gt;
        Option      &amp;quot;XAxisMapping&amp;quot; &amp;quot;6 7&amp;quot;&lt;br /&gt;
        Option      &amp;quot;YAxisMapping&amp;quot; &amp;quot;4 5&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
  Section &amp;quot;Screen&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;Default Screen&amp;quot;&lt;br /&gt;
        Monitor         &amp;quot;Configured Monitor&amp;quot;&lt;br /&gt;
        Defaultdepth    24&lt;br /&gt;
        SubSection &amp;quot;Display&amp;quot;&lt;br /&gt;
                Modes           &amp;quot;1280x800&amp;quot;&lt;br /&gt;
  #             Virtual    2048 864&lt;br /&gt;
        EndSubSection&lt;br /&gt;
  EndSection&lt;br /&gt;
  Section &amp;quot;Monitor&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;Configured Monitor&amp;quot;&lt;br /&gt;
        DisplaySize     231 233.5 #fake smaller dpi&lt;br /&gt;
  EndSection&lt;br /&gt;
  Section &amp;quot;Monitor&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;HDMI-1&amp;quot;&lt;br /&gt;
        Option          &amp;quot;Ignore&amp;quot; &amp;quot;True&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
  Section &amp;quot;Monitor&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;HDMI-2&amp;quot;&lt;br /&gt;
        Option          &amp;quot;Ignore&amp;quot; &amp;quot;True&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
  Section &amp;quot;Device&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;Configured Video Device&amp;quot;&lt;br /&gt;
  #        Driver          &amp;quot;intel&amp;quot;&lt;br /&gt;
        Driver          &amp;quot;vesa&amp;quot;&lt;br /&gt;
        Option          &amp;quot;monitor-HDMI-1&amp;quot; &amp;quot;HDMI-1&amp;quot;&lt;br /&gt;
        Option          &amp;quot;monitor-HDMI-2&amp;quot; &amp;quot;HDMI-2&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
&lt;br /&gt;
== Fonts ==&lt;br /&gt;
&lt;br /&gt;
Default fonts are a bit ugly. Things get better by creating some symbolic link:&lt;br /&gt;
&lt;br /&gt;
  cd /etc/fonts/conf.d&lt;br /&gt;
  ln -s ../conf.avail/10-autohint.conf&lt;br /&gt;
  ln -s ../conf.avail/10-sub-pixel-rgb.conf&lt;br /&gt;
  ln -s ../conf.avail/70-no-bitmaps.conf&lt;br /&gt;
&lt;br /&gt;
== Wifi ==&lt;br /&gt;
&lt;br /&gt;
Put in the /etc/apt/source.list&lt;br /&gt;
&lt;br /&gt;
  deb http://kernel-archive.buildserver.net/debian-kernel trunk main &lt;br /&gt;
&lt;br /&gt;
Installed linux-image-2.6.27-1 and firmware&lt;br /&gt;
&lt;br /&gt;
  wget http://intellinuxwireless.org/iwlwifi/downloads/iwlwifi-5000-ucode-5.4.A.11.tar.gz&lt;br /&gt;
  tar xvfz iwlwifi-5000-ucode-5.4.A.11.tar.gz&lt;br /&gt;
  cp  iwlwifi-5000-ucode-5.4.A.11/iwlwifi-5000-1.ucode /lib/firmware&lt;br /&gt;
  aptitude install linux-image-2.6.27-1-686 hal&lt;br /&gt;
&lt;br /&gt;
== Suspend ==&lt;br /&gt;
&lt;br /&gt;
Suspend to disk works using the button Fn+F12.&lt;br /&gt;
&lt;br /&gt;
Suspend to ram (Fn+F4) does not work with intel driver. Using vesa driver suspend works.&lt;br /&gt;
&lt;br /&gt;
The trackpoint occasionally stops working after a resume. Apparently it is enough to move it &lt;br /&gt;
a little bit during the resuming process.&lt;br /&gt;
&lt;br /&gt;
== Special keys ==&lt;br /&gt;
&lt;br /&gt;
Some keys are intercepted by X Windows. The keycodes are&lt;br /&gt;
&lt;br /&gt;
  227 Fn&lt;br /&gt;
  234 Tab left&lt;br /&gt;
  233 Tab right&lt;br /&gt;
  176 Volume up&lt;br /&gt;
  174 Volume dn&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Mute switch the hardware volume which is not controlled by ALSA.&lt;br /&gt;
&lt;br /&gt;
ACPI links suspend to ram and to disc to Fn+F4 and Fn+F12 respectively. Screen brightness and thinklight works as well.&lt;br /&gt;
&lt;br /&gt;
== Sound ==&lt;br /&gt;
&lt;br /&gt;
Everything works, but in a strange way. The hardware volume control is managed by acpi&lt;br /&gt;
&lt;br /&gt;
  $ cat /proc/acpi/ibm/volume&lt;br /&gt;
  level:          8&lt;br /&gt;
  mute:           off&lt;br /&gt;
  commands:       up, down, mute&lt;br /&gt;
  commands:       level &amp;lt;level&amp;gt; (&amp;lt;level&amp;gt; is 0-15)&lt;br /&gt;
&lt;br /&gt;
The mute button is linked to the mute command, but volume up and down are passed to X with keycode 176 174. I&lt;br /&gt;
thought that acpi was intercepting the key and send them to X using fakekey. I played in /etc/acpi/events but I didn't managed to change the behavior.&lt;br /&gt;
&lt;br /&gt;
== Skype ==&lt;br /&gt;
&lt;br /&gt;
Everything works downloading the version for Etch. After suspending to disk the video does not work anymore.&lt;br /&gt;
The error message is:&lt;br /&gt;
&lt;br /&gt;
  Skype V4L2: Could not find a suitable capture format&lt;br /&gt;
&lt;br /&gt;
Apparently using the vesa driver for xorg solve the problem...&lt;br /&gt;
&lt;br /&gt;
== Firefox ==&lt;br /&gt;
&lt;br /&gt;
The menu fonts were way too large. I created a file in .mozilla/firefox/&amp;lt;random&amp;gt;.default/chrome/userChrome.css&lt;br /&gt;
something like:&lt;br /&gt;
&lt;br /&gt;
  * {&lt;br /&gt;
   font-size: 8pt !important&lt;br /&gt;
  }&lt;br /&gt;
&lt;br /&gt;
== TO BE CONTINUED ==&lt;/div&gt;</summary>
		<author><name>Rdemaria</name></author>
		
	</entry>
</feed>