X220 Install & Configuration

Bonjour à tous,

Voici quelques conseils pour l’installation de debian pour un portable lenovo X220. Comme je n’ai pas trouvé beaucoup d’informations sur internet, la suite sera en anglais.

I begin to install my X220 with the stable net-installer for amd64 (64 bit version).

As wireless connexion was not working (due to an “old” kernel version), I upgraded my debian to the unstable version in order to get the latest kernel (i.e. 3.0.0-2-amd64).


To install the wireless, you have to edit your source.list to let apt access the non-free repository and then :

# apt-get install firmware-iwlwifi wireless-tools
# modprobe -r iwlagn
# modprobe iwlagn
# iwconfig 

It should work but if not, just check “dmesg”.


To install the fingerprint:

# apt-get install libpam-fprint libfprint0 fprint-demo

fprint-demo will let you set your own fingerprint to authentificate on your system. I encountered some issues (error -22) with pam_fprint_enroll to set my fingerprint where fprint-demo works just well.

In order to authentificate with fingerprints just edit /etc/pam.d/common-auth. This file should contains:

auth    sufficient                      pam_fprint.so
auth    [success=1 default=ignore]      pam_unix.so nullok_secure
auth    requisite                       pam_deny.so
auth    required                        pam_permit.so

If you use xscreensaver, edit /etc/pam.d/xscreensaver. This file should contains:

@include common-auth
@include common-account

auth    sufficient      pam_fprint.so
auth    required        pam_unix.so nullok_secure

And in order to make it work properly you must let the fingerprint reader be accessible from non root user. You can do it this way:

# usermod -a -G plugdev $USER
# chgrp -R plugdev /dev/bus/usb/

In order to make the special key works with an OSD, I wrote some scripts that are inspired from this website.

It is basically the configuration and use of xbindkeys.

Here is my ~/.xbindkeysrc:

#brightness up
"brightness.sh"
    m:0x0 + c:233
    XF86MonBrightnessUp 

#brightness down
"brightness.sh"
    m:0x0 + c:232
    XF86MonBrightnessDown 

#toggle touchpad
"toggletouchpad.sh"
    m:0x0 + c:199
    NoSymbol 

#Volume Up
"volume.sh +"
    m:0x0 + c:123
    XF86AudioRaiseVolume 

#Volume Down
"volume.sh -"
    m:0x0 + c:122
    XF86AudioLowerVolume 

#Volume (Un)Mute
"volume.sh m"
    m:0x0 + c:121
    XF86AudioMute

#Lock Screen
"xscreensaver-command -lock"
    m:0x0 + c:160
    XF86ScreenSaver 

#Battery Status
"batteryinfo.sh"
    m:0x0 + c:244
    XF86Battery 

The associated scripts must be placed in /usr/local/bin.

/usr/local/bin/batteryinfo.sh:

#!/bin/bash
# path to your battery. make sure it's correct
BAT_PATH="/sys/class/power_supply/BAT0"

if [ -n "$XAUTHORITY" ]; then
        # kill other osd_cat processes to prevent overlapping
        if [ $(ps -A | grep osd_cat | wc -l) -gt 0 ]; then
                killall osd_cat
        fi
        BAT_FULL=$(cat $BAT_PATH/charge_full)
        BAT_NOW=$(cat $BAT_PATH/charge_now)
        STATUS=$(cat $BAT_PATH/status)
        let perc=(100*$BAT_NOW)/$BAT_FULL

        osd_cat -d 2 -A center -p bottom -o 50 -c yellow -s 1 \
         -f -adobe-courier-bold-r-normal--*-240-*-*-m-*-iso8859-1 \
         -b percentage -P $perc -T "Battery $perc % loaded, $STATUS"
fi

/usr/local/bin/brightness.sh:

[code]#!/bin/bash

if [ -n “$XAUTHORITY” ]; then
# kill other osd_cat processes to prevent overlapping
if [ $(ps -A | grep osd_cat | wc -l) -gt 0 ]; then
killall osd_cat
fi
i=$(cat /sys/class/backlight/acpi_video0/brightness)
let i_perc=(100*$i)/15
osd_cat -d 1 -A center -p bottom -o 50 -c yellow -s 1
-f -adobe-courier-bold-r-normal–-240---m--iso8859-1
-b percentage -P $i_perc -T "Brightness: $i / 15"
fi
[/code]

/usr/local/bin/toogletouchpad.sh:

[code]#!/bin/bash

adapted from http://forums.gentoo.org/viewtopic-p-6241953.html?sid=815e3e5f2bb9ccfbef0c8ff6cb37914b#6241953

if synclient -l | grep -q TouchpadOff[^[:alnum:]]*0 ; then
synclient TouchpadOff=1
status="TouchPad OFF"
else
synclient TouchpadOff=0
status="TouchPad ON"
fi

kill other osd_cat processes to prevent overlapping

if [ $(ps -A | grep osd_cat | wc -l) -gt 0 ]; then
killall osd_cat
fi
if [ -n “$XAUTHORITY” ]; then
echo $status | osd_cat -d 3 -p bottom -A center -o -50 -s 1 -c green
-f -adobe-courier-bold-r-normal–-240---m--iso8859-1
fi
[/code]

/usr/local/bin/volume.sh:

[code]#!/usr/bin/env bash

adapted from http://ztatlock.blogspot.com/2009/01/volume-control-with-amixer-and-osdcat.html

CHANNEL=Master

if [ “$1” = “-h” ] || [ “$1” = “–help” ] ; then
p=$(basename $0)
cat <<HERE

Usage: $p
where option is in {+, -, m, u} or is a percent
e.g. $p 50 # sets $CHANNEL to 50%
$p Front m # toggles the mute of the channel Front

HERE
exit 0
fi

if [ $# -eq 2 ] ; then
CHANNEL=$1
shift
fi

function vol_level {
amixer get $CHANNEL |
grep ‘Front Left:’ |
cut -d " " -f 7 |
sed ‘s/[^0-9]//g’
}

function osd {
killall osd_cat &> /dev/null
echo $* |
osd_cat -d 2 -l 1 -p bottom -c green -s 1 -A center -o 50
-f ‘-adobe-courier-bold-r-normal–-240---m--iso8859-1’ &
}

function mute_osd {
if [ $(amixer get $CHANNEL | grep Playback | grep “[on]” | wc -l) -gt 0 ]
then
osd $CHANNEL Unmuted
else
osd $CHANNEL Muted
fi
}

function vol_osd {
killall osd_cat &> /dev/null
osd_cat -d 2 -l 2 -p bottom -c green -s 1 -A center -o 50
-f ‘-adobe-courier-bold-r-normal–-240---m--iso8859-1’
-T “Volume ($CHANNEL) : $(vol_level) %” -b percentage -P $(vol_level) &
}

case “$1” in
"+")
amixer -q set $CHANNEL 5%+
vol_osd
;;
"-")
amixer -q set $CHANNEL 5%-
vol_osd
;;
“m”)
amixer -q set $CHANNEL toggle
mute_osd
;;
*)
amixer -q set $CHANNEL $1%
;;
esac
[/code]

All those scripts must be executable, i.e. you have to chmod 755 those files.

You have to launch xbindkeys every time you start a session. I suggest you put a command like “xbindkeys&” in your xinitrc file. If you are running xfce4, this file can be find there: ~/.config/xfce4/xinitrc.


If you don’t want to use gnome-power-manager or other equivalent softwares, just install laptop-mode-tools, pm-utils and the acpi packages.

pm is a the tool that will handle suspend (pm-suspend), hibernate (pm-hibernate) and so on in replacement of the “old” acpi package. acpi is just used to read information and is no longer used for power management.

If you want to suspend your computer when you close the lid, just modify the /etc/acpi/actions/lm_lid.sh and replace it with the following lines of code:

#! /bin/sh
/usr/sbin/pm-suspend

/etc/acpi/actions/lm_battery.sh is the script that will execute when the battery is at a critical level. You could replace this file with:

#! /bin/sh
/usr/sbin/pm-hibernate

Everything else (webcams, mics, sound card, …) worked out of the box so I don’t think it’s useful to give more details on these topics.

Just a quick remark: if you want to shut down bluetooth on the X220, just execute the following command: echo 0 > /sys/devices/platform/thinkpad_acpi/bluetooth_enable

As I don’t use bluetooth, I desactivate bluetooth, WAN, … on the BIOS in order to save power. I think it’s a good trick to reduce your electrical consumption.



If you want to add something, do not hesistate to send a message and I will be more than please to enhance this post.

If you have a question, just ask but don’t ask silly questions (i.e. questions that can be solved by googling a question).

See ya !
Louis.

Salut,

merci pour ce tuto sur le X220, c’est l’ordi que j’utilise aussi avec une Debian Sid

[ je traduis en français ]
Je ne comprend pas pourquoi je n’arrive pas à faire fonctionner la connexion par reconnaissance d’empreintes…

pourtant je crois que j’ai tout bien fait:

root@makayapad:/home/# aptitude search fprint i fprint-demo - simple GTK+ testing libfprint's func p fprint-demo:i386 - simple GTK+ testing libfprint's func i fprintd - D-Bus daemon for fingerprint reader p fprintd:i386 - D-Bus daemon for fingerprint reader p fprintd-doc - development documentation for fprint pi libfprint-dev - async fingerprint library of fprint p libfprint-dev:i386 - async fingerprint library of fprint i libfprint0 - async fingerprint library of fprint p libfprint0:i386 - async fingerprint library of fprint i libpam-fprintd - PAM module for fingerprint authentic p libpam-fprintd:i386 - PAM module for fingerprint authentic p xfprint4 - Interface utilisateur graphique pour p xfprint4:i386 - Interface utilisateur graphique pour

root@makayapad:# more /etc/pam.d/common-auth
auth    sufficient                      pam_fprint.so
auth    [success=1 default=ignore]      pam_unix.so nullok_secure
auth    requisite                       pam_deny.so
auth    required                        pam_permit.so[/code]

J'ai aussi utilisé fprintd , qui n'avait visiblement (frintd-list) pas retenu les empreintes scannées avec fprint-demo (en tant qu'utilisateur).
fprintd-enroll a bien fonctionné (lancé en tant qu'utilisateur)
et: [code]USER@makayapad:~$ fprintd-list USER
found 1 devices
Device at /net/reactivated/Fprint/Device/0
Using device /net/reactivated/Fprint/Device/0
Fingerprints for user USER on UPEK Eikon 2 (swipe):
 - #0: right-index-finger[/code]

et puis enfin, j'appartiens bien au groupe plugdev, mais quand je veux faire [code]chgrp -R plugdev /dev/bus/usb[/code], les propriétés reviennent toujours à root:root au redémarrage:

[code]USER@makayapad:~$ groups
user cdrom floppy audio dip video plugdev scanner bluetooth netdev
user@makayapad:~$ ls -Alh /dev/bus
total 0
drwxr-xr-x 4 root root 80 nov.   5  2012 usb

Normallement quand je redémarre, il devrait y avoir une boîte de dialogue, la petite lumière verte ou quoi que ce soit qui m’invite à scanner mon empreinte non? et bien je n’ai rien…

mon dmesg au redémarrage:

[ 0.617974] pnp 00:01: [mem 0x000e0000-0x000e3fff window] [ 0.617975] pnp 00:01: [mem 0x000e4000-0x000e7fff window] [ 0.617977] pnp 00:01: [mem 0x000e8000-0x000ebfff window] [ 0.617979] pnp 00:01: [mem 0x000ec000-0x000effff window] [ 0.617980] pnp 00:01: [mem 0xdfa00000-0xfebfffff window] [ 0.617982] pnp 00:01: [mem 0xfed40000-0xfed4bfff window] [ 0.618022] pnp 00:01: Plug and Play ACPI device, IDs PNP0a08 PNP0a03 (active) [ 0.618078] pnp 00:02: [io 0x0010-0x001f] [ 0.618080] pnp 00:02: [io 0x0090-0x009f] [ 0.618081] pnp 00:02: [io 0x0024-0x0025] [ 0.618083] pnp 00:02: [io 0x0028-0x0029] [ 0.618084] pnp 00:02: [io 0x002c-0x002d] [ 0.618086] pnp 00:02: [io 0x0030-0x0031] [ 0.618087] pnp 00:02: [io 0x0034-0x0035] [ 0.618088] pnp 00:02: [io 0x0038-0x0039] [ 0.618090] pnp 00:02: [io 0x003c-0x003d] [ 0.618091] pnp 00:02: [io 0x00a4-0x00a5] [ 0.618093] pnp 00:02: [io 0x00a8-0x00a9] [ 0.618094] pnp 00:02: [io 0x00ac-0x00ad] [ 0.618095] pnp 00:02: [io 0x00b0-0x00b5] [ 0.618097] pnp 00:02: [io 0x00b8-0x00b9] [ 0.618098] pnp 00:02: [io 0x00bc-0x00bd] [ 0.618100] pnp 00:02: [io 0x0050-0x0053] [ 0.618101] pnp 00:02: [io 0x0072-0x0077] [ 0.618102] pnp 00:02: [io 0x0400-0x047f] [ 0.618104] pnp 00:02: [io 0x0500-0x057f] [ 0.618105] pnp 00:02: [io 0x0800-0x080f] [ 0.618107] pnp 00:02: [io 0x15e0-0x15ef] [ 0.618108] pnp 00:02: [io 0x1600-0x167f] [ 0.618110] pnp 00:02: [mem 0xf8000000-0xfbffffff] [ 0.618111] pnp 00:02: [mem 0x00000000-0x00000fff] [ 0.618114] pnp 00:02: [mem 0xfed1c000-0xfed1ffff] [ 0.618115] pnp 00:02: [mem 0xfed10000-0xfed13fff] [ 0.618117] pnp 00:02: [mem 0xfed18000-0xfed18fff] [ 0.618118] pnp 00:02: [mem 0xfed19000-0xfed19fff] [ 0.618120] pnp 00:02: [mem 0xfed45000-0xfed4bfff] [ 0.618172] system 00:02: [io 0x0400-0x047f] has been reserved [ 0.618174] system 00:02: [io 0x0500-0x057f] has been reserved [ 0.618176] system 00:02: [io 0x0800-0x080f] has been reserved [ 0.618179] system 00:02: [io 0x15e0-0x15ef] has been reserved [ 0.618181] system 00:02: [io 0x1600-0x167f] has been reserved [ 0.618183] system 00:02: [mem 0xf8000000-0xfbffffff] has been reserved [ 0.618185] system 00:02: [mem 0x00000000-0x00000fff] could not be reserved [ 0.618188] system 00:02: [mem 0xfed1c000-0xfed1ffff] has been reserved [ 0.618190] system 00:02: [mem 0xfed10000-0xfed13fff] has been reserved [ 0.618192] system 00:02: [mem 0xfed18000-0xfed18fff] has been reserved [ 0.618194] system 00:02: [mem 0xfed19000-0xfed19fff] has been reserved [ 0.618196] system 00:02: [mem 0xfed45000-0xfed4bfff] has been reserved [ 0.618198] system 00:02: Plug and Play ACPI device, IDs PNP0c02 (active) [ 0.618238] pnp 00:03: [mem 0xfed00000-0xfed003ff] [ 0.618264] pnp 00:03: Plug and Play ACPI device, IDs PNP0103 (active) [ 0.618272] pnp 00:04: [io 0x0000-0x000f] [ 0.618274] pnp 00:04: [io 0x0080-0x008f] [ 0.618275] pnp 00:04: [io 0x00c0-0x00df] [ 0.618277] pnp 00:04: [dma 4] [ 0.618301] pnp 00:04: Plug and Play ACPI device, IDs PNP0200 (active) [ 0.618308] pnp 00:05: [io 0x0061] [ 0.618332] pnp 00:05: Plug and Play ACPI device, IDs PNP0800 (active) [ 0.618340] pnp 00:06: [io 0x00f0] [ 0.618348] pnp 00:06: [irq 13] [ 0.618372] pnp 00:06: Plug and Play ACPI device, IDs PNP0c04 (active) [ 0.618379] pnp 00:07: [io 0x0070-0x0071] [ 0.618384] pnp 00:07: [irq 8] [ 0.618409] pnp 00:07: Plug and Play ACPI device, IDs PNP0b00 (active) [ 0.618417] pnp 00:08: [io 0x0060] [ 0.618418] pnp 00:08: [io 0x0064] [ 0.618422] pnp 00:08: [irq 1] [ 0.618447] pnp 00:08: Plug and Play ACPI device, IDs PNP0303 (active) [ 0.618457] pnp 00:09: [irq 12] [ 0.618483] pnp 00:09: Plug and Play ACPI device, IDs LEN0020 PNP0f13 (active) [ 0.618514] pnp 00:0a: [mem 0xfed40000-0xfed44fff] [ 0.618542] pnp 00:0a: Plug and Play ACPI device, IDs SMO1200 PNP0c31 (active) [ 0.619037] pnp: PnP ACPI: found 11 devices [ 0.619039] ACPI: ACPI bus type pnp unregistered [ 0.625798] PCI: max bus depth: 1 pci_try_num: 2 [ 0.625847] pci 0000:00:1c.0: PCI bridge to [bus 02-02] [ 0.625865] pci 0000:00:1c.1: PCI bridge to [bus 03-03] [ 0.625871] pci 0000:00:1c.1: bridge window [mem 0xf2400000-0xf24fffff] [ 0.625883] pci 0000:00:1c.3: PCI bridge to [bus 05-0c] [ 0.625888] pci 0000:00:1c.3: bridge window [io 0x4000-0x4fff] [ 0.625894] pci 0000:00:1c.3: bridge window [mem 0xf1c00000-0xf23fffff] [ 0.625900] pci 0000:00:1c.3: bridge window [mem 0xf0400000-0xf0bfffff 64bit pref] [ 0.625909] pci 0000:00:1c.4: PCI bridge to [bus 0d-0d] [ 0.625912] pci 0000:00:1c.4: bridge window [io 0x3000-0x3fff] [ 0.625919] pci 0000:00:1c.4: bridge window [mem 0xf1400000-0xf1bfffff] [ 0.625924] pci 0000:00:1c.4: bridge window [mem 0xf0c00000-0xf13fffff 64bit pref] [ 0.625951] pci 0000:00:1c.0: setting latency timer to 64 [ 0.625964] pci 0000:00:1c.1: setting latency timer to 64 [ 0.625977] pci 0000:00:1c.3: setting latency timer to 64 [ 0.625987] pci 0000:00:1c.4: setting latency timer to 64 [ 0.625991] pci_bus 0000:00: resource 4 [io 0x0000-0x0cf7] [ 0.625992] pci_bus 0000:00: resource 5 [io 0x0d00-0xffff] [ 0.625994] pci_bus 0000:00: resource 6 [mem 0x000a0000-0x000bffff] [ 0.625996] pci_bus 0000:00: resource 7 [mem 0xdfa00000-0xfebfffff] [ 0.625997] pci_bus 0000:00: resource 8 [mem 0xfed40000-0xfed4bfff] [ 0.625999] pci_bus 0000:03: resource 1 [mem 0xf2400000-0xf24fffff] [ 0.626001] pci_bus 0000:05: resource 0 [io 0x4000-0x4fff] [ 0.626002] pci_bus 0000:05: resource 1 [mem 0xf1c00000-0xf23fffff] [ 0.626004] pci_bus 0000:05: resource 2 [mem 0xf0400000-0xf0bfffff 64bit pref] [ 0.626006] pci_bus 0000:0d: resource 0 [io 0x3000-0x3fff] [ 0.626007] pci_bus 0000:0d: resource 1 [mem 0xf1400000-0xf1bfffff] [ 0.626009] pci_bus 0000:0d: resource 2 [mem 0xf0c00000-0xf13fffff 64bit pref] [ 0.626072] NET: Registered protocol family 2 [ 0.626250] IP route cache hash table entries: 262144 (order: 9, 2097152 bytes) [ 0.627794] TCP established hash table entries: 524288 (order: 11, 8388608 bytes) [ 0.628951] TCP bind hash table entries: 65536 (order: 8, 1048576 bytes) [ 0.629078] TCP: Hash tables configured (established 524288 bind 65536) [ 0.629080] TCP reno registered [ 0.629091] UDP hash table entries: 4096 (order: 5, 131072 bytes) [ 0.629121] UDP-Lite hash table entries: 4096 (order: 5, 131072 bytes) [ 0.629253] NET: Registered protocol family 1 [ 0.629265] pci 0000:00:02.0: Boot video device [ 0.629281] pci 0000:00:1a.0: power state changed by ACPI to D0 [ 0.629285] pci 0000:00:1a.0: power state changed by ACPI to D0 [ 0.629337] pci 0000:00:1d.0: power state changed by ACPI to D0 [ 0.629341] pci 0000:00:1d.0: power state changed by ACPI to D0 [ 0.629460] PCI: CLS 64 bytes, default 64 [ 0.629499] Unpacking initramfs... [ 0.829753] Freeing initrd memory: 10140k freed [ 0.831342] PCI-DMA: Using software bounce buffering for IO (SWIOTLB) [ 0.831346] Placing 64MB software IO TLB between ffff8800d6997000 - ffff8800da997000 [ 0.831348] software IO TLB at phys 0xd6997000 - 0xda997000 [ 0.831849] audit: initializing netlink socket (disabled) [ 0.831861] type=2000 audit(1352084801.672:1): initialized [ 0.844175] HugeTLB registered 2 MB page size, pre-allocated 0 pages [ 0.844764] VFS: Disk quotas dquot_6.5.2 [ 0.844789] Dquot-cache hash table entries: 512 (order 0, 4096 bytes) [ 0.844851] msgmni has been set to 11734 [ 0.844988] alg: No test for stdrng (krng) [ 0.845015] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253) [ 0.845018] io scheduler noop registered [ 0.845019] io scheduler deadline registered [ 0.845038] io scheduler cfq registered (default) [ 0.845397] pci_hotplug: PCI Hot Plug PCI Core version: 0.5 [ 0.845424] pciehp: PCI Express Hot Plug Controller Driver version: 0.4 [ 0.845425] acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5 [ 0.845594] acpiphp: Slot [1] registered [ 0.845691] intel_idle: MWAIT substates: 0x21120 [ 0.845693] intel_idle: v0.4 model 0x2A [ 0.845694] intel_idle: lapic_timer_reliable_states 0xffffffff [ 0.845723] ERST: Table is not found! [ 0.845724] GHES: HEST is not enabled! [ 0.845769] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled [ 1.068368] 0000:00:16.3: ttyS0 at I/O 0x50b0 (irq = 19) is a 16550A [ 1.088126] Linux agpgart interface v0.103 [ 1.088191] agpgart-intel 0000:00:00.0: Intel Sandybridge Chipset [ 1.088262] agpgart-intel 0000:00:00.0: detected gtt size: 2097152K total, 262144K mappable [ 1.089117] agpgart-intel 0000:00:00.0: detected 65536K stolen memory [ 1.089227] agpgart-intel 0000:00:00.0: AGP aperture is 256M @ 0xe0000000 [ 1.089336] i8042: PNP: PS/2 Controller [PNP0303:KBD,PNP0f13:MOU] at 0x60,0x64 irq 1,12 [ 1.093225] serio: i8042 KBD port at 0x60,0x64 irq 1 [ 1.093230] serio: i8042 AUX port at 0x60,0x64 irq 12 [ 1.093341] mousedev: PS/2 mouse device common for all mice [ 1.093378] rtc_cmos 00:07: RTC can wake from S4 [ 1.093498] rtc_cmos 00:07: rtc core: registered rtc_cmos as rtc0 [ 1.093525] rtc0: alarms up to one month, y3k, 114 bytes nvram, hpet irqs [ 1.093609] cpuidle: using governor ladder [ 1.093707] cpuidle: using governor menu [ 1.093863] TCP cubic registered [ 1.093953] NET: Registered protocol family 10 [ 1.094403] Mobile IPv6 [ 1.094405] NET: Registered protocol family 17 [ 1.094408] Registering the dns_resolver key type [ 1.094613] PM: Hibernation image not present or could not be loaded. [ 1.094622] registered taskstats version 1 [ 1.095290] rtc_cmos 00:07: setting system clock to 2012-11-05 03:06:42 UTC (1352084802) [ 1.095350] Initializing network drop monitor service [ 1.096223] Freeing unused kernel memory: 576k freed [ 1.096308] Write protecting the kernel read-only data: 6144k [ 1.098214] Freeing unused kernel memory: 664k freed [ 1.100223] Freeing unused kernel memory: 680k freed [ 1.100685] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input0 [ 1.109794] udevd[58]: starting version 175 [ 1.123413] usbcore: registered new interface driver usbfs [ 1.123442] usbcore: registered new interface driver hub [ 1.125977] sdhci: Secure Digital Host Controller Interface driver [ 1.125980] sdhci: Copyright(c) Pierre Ossman [ 1.126294] sdhci-pci 0000:0d:00.0: SDHCI controller found [1180:e822] (rev 7) [ 1.126723] sdhci-pci 0000:0d:00.0: setting latency timer to 64 [ 1.126751] mmc0: no vmmc regulator found [ 1.126844] Registered led device: mmc0:: [ 1.133503] e1000e: Intel(R) PRO/1000 Network Driver - 1.5.1-k [ 1.133507] e1000e: Copyright(c) 1999 - 2011 Intel Corporation. [ 1.133561] e1000e 0000:00:19.0: setting latency timer to 64 [ 1.133677] e1000e 0000:00:19.0: irq 40 for MSI/MSI-X [ 1.137069] usbcore: registered new device driver usb [ 1.137538] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 1.141133] SCSI subsystem initialized [ 1.151639] mmc0: SDHCI controller on PCI [0000:0d:00.0] using DMA [ 1.152120] libata version 3.00 loaded. [ 1.156679] thermal LNXTHERM:00: registered as thermal_zone0 [ 1.156683] ACPI: Thermal Zone [THM0] (63 C) [ 1.324460] e1000e 0000:00:19.0: eth0: (PCI Express:2.5GT/s:Width x1) f0:de:f1:ec:55:2c [ 1.324464] e1000e 0000:00:19.0: eth0: Intel(R) PRO/1000 Network Connection [ 1.324515] e1000e 0000:00:19.0: eth0: MAC: 10, PHY: 11, PBA No: 1000FF-0FF [ 1.324549] ehci_hcd 0000:00:1a.0: power state changed by ACPI to D0 [ 1.324554] ehci_hcd 0000:00:1a.0: power state changed by ACPI to D0 [ 1.324591] ehci_hcd 0000:00:1a.0: setting latency timer to 64 [ 1.324594] ehci_hcd 0000:00:1a.0: EHCI Host Controller [ 1.324621] ehci_hcd 0000:00:1a.0: new USB bus registered, assigned bus number 1 [ 1.324659] ehci_hcd 0000:00:1a.0: debug port 2 [ 1.328556] ehci_hcd 0000:00:1a.0: cache line size of 64 is not supported [ 1.328563] ehci_hcd 0000:00:1a.0: irq 16, io mem 0xf252a000 [ 1.343917] ehci_hcd 0000:00:1a.0: USB 2.0 started, EHCI 1.00 [ 1.343976] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002 [ 1.343978] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 1.343980] usb usb1: Product: EHCI Host Controller [ 1.343982] usb usb1: Manufacturer: Linux 3.2.0-4-amd64 ehci_hcd [ 1.343983] usb usb1: SerialNumber: 0000:00:1a.0 [ 1.344178] hub 1-0:1.0: USB hub found [ 1.344183] hub 1-0:1.0: 3 ports detected [ 1.344253] ehci_hcd 0000:00:1d.0: power state changed by ACPI to D0 [ 1.344257] ehci_hcd 0000:00:1d.0: power state changed by ACPI to D0 [ 1.344327] ehci_hcd 0000:00:1d.0: setting latency timer to 64 [ 1.344330] ehci_hcd 0000:00:1d.0: EHCI Host Controller [ 1.344337] ehci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 2 [ 1.344365] ehci_hcd 0000:00:1d.0: debug port 2 [ 1.348262] ehci_hcd 0000:00:1d.0: cache line size of 64 is not supported [ 1.348280] ehci_hcd 0000:00:1d.0: irq 23, io mem 0xf2529000 [ 1.363897] ehci_hcd 0000:00:1d.0: USB 2.0 started, EHCI 1.00 [ 1.363963] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002 [ 1.363965] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 1.363967] usb usb2: Product: EHCI Host Controller [ 1.363968] usb usb2: Manufacturer: Linux 3.2.0-4-amd64 ehci_hcd [ 1.363970] usb usb2: SerialNumber: 0000:00:1d.0 [ 1.364166] hub 2-0:1.0: USB hub found [ 1.364170] hub 2-0:1.0: 3 ports detected [ 1.364252] ahci 0000:00:1f.2: version 3.0 [ 1.364330] ahci 0000:00:1f.2: irq 41 for MSI/MSI-X [ 1.364423] ahci: SSS flag set, parallel bus scan disabled [ 1.379942] ahci 0000:00:1f.2: AHCI 0001.0300 32 slots 6 ports 6 Gbps 0x13 impl SATA mode [ 1.379946] ahci 0000:00:1f.2: flags: 64bit ncq sntf ilck stag pm led clo pio slum part ems sxs apst [ 1.379952] ahci 0000:00:1f.2: setting latency timer to 64 [ 1.396511] scsi0 : ahci [ 1.396647] scsi1 : ahci [ 1.396725] scsi2 : ahci [ 1.396807] scsi3 : ahci [ 1.396878] scsi4 : ahci [ 1.396953] scsi5 : ahci [ 1.397574] ata1: SATA max UDMA/133 abar m2048@0xf2528000 port 0xf2528100 irq 41 [ 1.397577] ata2: SATA max UDMA/133 abar m2048@0xf2528000 port 0xf2528180 irq 41 [ 1.397579] ata3: DUMMY [ 1.397580] ata4: DUMMY [ 1.397583] ata5: SATA max UDMA/133 abar m2048@0xf2528000 port 0xf2528300 irq 41 [ 1.397584] ata6: DUMMY [ 1.655831] usb 1-1: new high-speed USB device number 2 using ehci_hcd [ 1.715806] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300) [ 1.716981] ata1.00: ACPI cmd ef/02:00:00:00:00:a0 (SET FEATURES) succeeded [ 1.716993] ata1.00: ACPI cmd f5/00:00:00:00:00:a0 (SECURITY FREEZE LOCK) filtered out [ 1.717002] ata1.00: ACPI cmd ef/10:03:00:00:00:a0 (SET FEATURES) filtered out [ 1.718006] ata1.00: ATA-8: HITACHI HTS543232A7A384, ES2ZB70T, max UDMA/100 [ 1.718016] ata1.00: 625142448 sectors, multi 16: LBA48 NCQ (depth 31/32), AA [ 1.719217] ata1.00: ACPI cmd ef/02:00:00:00:00:a0 (SET FEATURES) succeeded [ 1.719229] ata1.00: ACPI cmd f5/00:00:00:00:00:a0 (SECURITY FREEZE LOCK) filtered out [ 1.719238] ata1.00: ACPI cmd ef/10:03:00:00:00:a0 (SET FEATURES) filtered out [ 1.720215] ata1.00: configured for UDMA/100 [ 1.720490] scsi 0:0:0:0: Direct-Access ATA HITACHI HTS54323 ES2Z PQ: 0 ANSI: 5 [ 1.788498] usb 1-1: New USB device found, idVendor=8087, idProduct=0024 [ 1.788501] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 [ 1.788987] hub 1-1:1.0: USB hub found [ 1.789210] hub 1-1:1.0: 6 ports detected [ 1.827760] Refined TSC clocksource calibration: 2591.582 MHz. [ 1.827773] Switching to clocksource tsc [ 1.899755] usb 2-1: new high-speed USB device number 2 using ehci_hcd [ 2.032189] usb 2-1: New USB device found, idVendor=8087, idProduct=0024 [ 2.032200] usb 2-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 [ 2.032586] hub 2-1:1.0: USB hub found [ 2.032670] hub 2-1:1.0: 8 ports detected [ 2.039654] ata2: SATA link down (SStatus 0 SControl 300) [ 2.103956] usb 1-1.3: new full-speed USB device number 3 using ehci_hcd [ 2.197995] usb 1-1.3: New USB device found, idVendor=147e, idProduct=2016 [ 2.197998] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [ 2.198001] usb 1-1.3: Product: Biometric Coprocessor [ 2.198002] usb 1-1.3: Manufacturer: UPEK [ 2.267850] usb 1-1.6: new high-speed USB device number 4 using ehci_hcd [ 2.359599] ata5: SATA link down (SStatus 0 SControl 300) [ 2.363347] sd 0:0:0:0: [sda] 625142448 512-byte logical blocks: (320 GB/298 GiB) [ 2.363421] sd 0:0:0:0: [sda] Write Protect is off [ 2.363424] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00 [ 2.363445] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA [ 2.366896] usb 1-1.6: New USB device found, idVendor=04f2, idProduct=b217 [ 2.366899] usb 1-1.6: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [ 2.366901] usb 1-1.6: Product: Integrated Camera [ 2.366903] usb 1-1.6: Manufacturer: Chicony Electronics Co., Ltd. [ 2.439711] usb 2-1.4: new high-speed USB device number 3 using ehci_hcd [ 2.455792] sda: sda1 sda2 sda3 sda4 < sda5 sda6 sda7 sda8 > [ 2.456784] sd 0:0:0:0: [sda] Attached SCSI disk [ 2.458163] sd 0:0:0:0: Attached scsi generic sg0 type 0 [ 2.541241] usb 2-1.4: New USB device found, idVendor=0bdb, idProduct=1911 [ 2.541251] usb 2-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 2.541257] usb 2-1.4: Product: F5521gw [ 2.541262] usb 2-1.4: Manufacturer: Lenovo [ 2.541266] usb 2-1.4: SerialNumber: C8EB0ED1B41E6360 [ 4.037878] PM: Starting manual resume from disk [ 4.037881] PM: Hibernation image partition 8:6 present [ 4.037882] PM: Looking for hibernation image. [ 4.064787] PM: Image not found (code -22) [ 4.064789] PM: Hibernation image not present or could not be loaded. [ 4.110582] EXT4-fs (sda8): mounted filesystem with ordered data mode. Opts: (null) [ 6.233364] udevd[371]: starting version 175 [ 6.954235] ACPI: Requesting acpi_cpufreq [ 6.954258] input: Lid Switch as /devices/LNXSYSTM:00/device:00/PNP0C0D:00/input/input1 [ 6.955087] ACPI: Lid Switch [LID] [ 6.955150] input: Sleep Button as /devices/LNXSYSTM:00/device:00/PNP0C0E:00/input/input2 [ 6.955156] ACPI: Sleep Button [SLPB] [ 6.955250] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input3 [ 6.955255] ACPI: Power Button [PWRF] [ 7.112029] input: PC Speaker as /devices/platform/pcspkr/input/input4 [ 7.182514] wmi: Mapper loaded [ 7.312787] ACPI: Battery Slot [BAT0] (battery present) [ 7.313051] ACPI: AC Adapter [AC] (on-line) [ 7.520003] Non-volatile memory driver v1.3 [ 7.532919] tpm_tis 00:0a: 1.2 TPM (device-id 0x0, rev-id 78) [ 7.534250] thinkpad_acpi: ThinkPad ACPI Extras v0.24 [ 7.534255] thinkpad_acpi: http://ibm-acpi.sf.net/ [ 7.534259] thinkpad_acpi: ThinkPad BIOS 8DET58WW (1.28 ), EC unknown [ 7.534263] thinkpad_acpi: Lenovo ThinkPad X220, model 4287CTO [ 7.535288] thinkpad_acpi: detected a 8-level brightness capable ThinkPad [ 7.535483] thinkpad_acpi: radio switch found; radios are disabled [ 7.535682] thinkpad_acpi: possible tablet mode switch found; ThinkPad in laptop mode [ 7.539204] thinkpad_acpi: rfkill switch tpacpi_bluetooth_sw: radio is blocked [ 7.540087] thinkpad_acpi: rfkill switch tpacpi_wwan_sw: radio is blocked [ 7.540308] Registered led device: tpacpi::thinklight [ 7.540340] Registered led device: tpacpi::power [ 7.540363] Registered led device: tpacpi::standby [ 7.540390] Registered led device: tpacpi::thinkvantage [ 7.540471] thinkpad_acpi: Standard ACPI backlight interface available, not loading native one [ 7.540554] thinkpad_acpi: Console audio control enabled, mode: monitor (read only) [ 7.541535] input: ThinkPad Extra Buttons as /devices/platform/thinkpad_acpi/input/input5 [ 7.659703] iTCO_vendor_support: vendor-support=0 [ 7.668813] iTCO_wdt: Intel TCO WatchDog Timer Driver v1.07 [ 7.668955] iTCO_wdt: Found a Cougar Point TCO device (Version=2, TCOBASE=0x0460) [ 7.669055] iTCO_wdt: initialized. heartbeat=30 sec (nowayout=0) [ 7.686231] cfg80211: Calling CRDA to update world regulatory domain [ 7.729029] Intel(R) Wireless WiFi Link AGN driver for Linux, in-tree: [ 7.729033] Copyright(c) 2003-2011 Intel Corporation [ 7.729184] iwlwifi 0000:03:00.0: setting latency timer to 64 [ 7.729243] iwlwifi 0000:03:00.0: pci_resource_len = 0x00002000 [ 7.729249] iwlwifi 0000:03:00.0: pci_resource_base = ffffc900057b8000 [ 7.729253] iwlwifi 0000:03:00.0: HW Revision ID = 0x34 [ 7.729898] iwlwifi 0000:03:00.0: irq 42 for MSI/MSI-X [ 7.730127] iwlwifi 0000:03:00.0: Detected Intel(R) Centrino(R) Advanced-N 6205 AGN, REV=0xB0 [ 7.730376] iwlwifi 0000:03:00.0: L1 Enabled; Disabling L0S [ 7.741062] iwlwifi 0000:03:00.0: device EEPROM VER=0x715, CALIB=0x6 [ 7.741065] iwlwifi 0000:03:00.0: Device SKU: 0X1f0 [ 7.741068] iwlwifi 0000:03:00.0: Valid Tx ant: 0X3, Valid Rx ant: 0X3 [ 7.741173] iwlwifi 0000:03:00.0: Tunable channels: 13 802.11bg, 24 802.11a channels [ 7.741421] iwlwifi 0000:03:00.0: RF_KILL bit toggled to disable radio. [ 7.972730] [drm] Initialized drm 1.1.0 20060810 [ 8.011847] psmouse serio1: synaptics: Touchpad model: 1, fw: 8.0, id: 0x1e2b1, caps: 0xd001a3/0x940300/0x120c00 [ 8.011871] psmouse serio1: synaptics: serio: Synaptics pass-through port at isa0060/serio1/input0 [ 8.036918] i915 0000:00:02.0: power state changed by ACPI to D0 [ 8.036924] i915 0000:00:02.0: power state changed by ACPI to D0 [ 8.036932] i915 0000:00:02.0: setting latency timer to 64 [ 8.062737] mtrr: no more MTRRs available [ 8.062740] [drm] MTRR allocation failed. Graphics performance may suffer. [ 8.063048] i915 0000:00:02.0: irq 43 for MSI/MSI-X [ 8.063052] [drm] Supports vblank timestamp caching Rev 1 (10.10.2010). [ 8.063053] [drm] Driver supports precise vblank timestamp query. [ 8.063079] vgaarb: device changed decodes: PCI:0000:00:02.0,olddecodes=io+mem,decodes=io+mem:owns=io+mem [ 8.065628] input: SynPS/2 Synaptics TouchPad as /devices/platform/i8042/serio1/input/input6 [ 8.191738] iwlwifi 0000:03:00.0: loaded firmware version 17.168.5.3 build 42301 [ 8.192093] Registered led device: phy0-led [ 8.241019] alg: No test for __gcm-aes-aesni (__driver-gcm-aes-aesni) [ 8.316157] ieee80211 phy0: Selected rate control algorithm 'iwl-agn-rs' [ 8.702246] cdc_wdm 2-1.4:1.5: cdc-wdm-176: USB WDM device [ 8.702309] cdc_wdm 2-1.4:1.8: cdc-wdm-175: USB WDM device [ 8.702329] usbcore: registered new interface driver cdc_wdm [ 8.703112] cdc_acm 2-1.4:1.1: ttyACM0: USB ACM device [ 8.703814] cdc_acm 2-1.4:1.3: ttyACM1: USB ACM device [ 8.710452] cdc_acm 2-1.4:1.9: ttyACM2: USB ACM device [ 8.718395] usbcore: registered new interface driver cdc_acm [ 8.718397] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters [ 8.750842] Linux media interface: v0.10 [ 8.773893] Linux video capture interface: v2.00 [ 8.859099] uvcvideo: Found UVC 1.00 device Integrated Camera (04f2:b217) [ 8.861180] input: Integrated Camera as /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.6/1-1.6:1.0/input/input7 [ 8.861249] usbcore: registered new interface driver uvcvideo [ 8.861251] USB Video Class driver (1.1.1) [ 9.060397] fbcon: inteldrmfb (fb0) is primary device [ 9.131449] cfg80211: World regulatory domain updated: [ 9.131453] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp) [ 9.131457] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) [ 9.131460] cfg80211: (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm) [ 9.131463] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm) [ 9.131466] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) [ 9.131469] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) [ 9.170798] cdc_ncm: 04-Aug-2011 [ 9.186972] usb 2-1.4: MAC-Address: 0x02:0x80:0x37:0xec:0x02:0x00 [ 9.187531] cdc_ncm 2-1.4:1.6: usb0: register 'cdc_ncm' at usb-0000:00:1d.0-1.4, CDC NCM, 02:80:37:ec:02:00 [ 9.187559] usbcore: registered new interface driver cdc_ncm [ 9.245835] Console: switching to colour frame buffer device 170x48 [ 9.248354] fb0: inteldrmfb frame buffer device [ 9.248355] drm: registered panic notifier [ 9.300406] acpi device:01: registered as cooling_device4 [ 9.300651] input: Video Bus as /devices/LNXSYSTM:00/device:00/PNP0A08:00/LNXVIDEO:00/input/input8 [ 9.300739] ACPI: Video Device [VID] (multi-head: yes rom: no post: no) [ 9.300833] [drm] Initialized i915 1.6.0 20080730 for 0000:00:02.0 on minor 0 [ 9.300930] snd_hda_intel 0000:00:1b.0: irq 44 for MSI/MSI-X [ 9.300961] snd_hda_intel 0000:00:1b.0: setting latency timer to 64 [ 9.983620] input: HDA Digital PCBeep as /devices/pci0000:00/0000:00:1b.0/input/input9 [ 10.052350] HDMI status: Codec=3 Pin=5 Presence_Detect=0 ELD_Valid=0 [ 10.052581] HDMI status: Codec=3 Pin=6 Presence_Detect=0 ELD_Valid=0 [ 10.052805] HDMI status: Codec=3 Pin=7 Presence_Detect=0 ELD_Valid=0 [ 10.053133] input: HDA Intel PCH HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:1b.0/sound/card0/input10 [ 10.053377] input: HDA Intel PCH HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:1b.0/sound/card0/input11 [ 10.053583] input: HDA Intel PCH HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:1b.0/sound/card0/input12 [ 11.279648] Adding 4882428k swap on /dev/sda6. Priority:-1 extents:1 across:4882428k [ 11.311041] EXT4-fs (sda8): re-mounted. Opts: (null) [ 11.592669] EXT4-fs (sda8): re-mounted. Opts: errors=remount-ro [ 11.842060] fuse init (API version 7.17) [ 11.871061] loop: module loaded [ 13.457104] RPC: Registered named UNIX socket transport module. [ 13.457112] RPC: Registered udp transport module. [ 13.457117] RPC: Registered tcp transport module. [ 13.457121] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 13.495319] FS-Cache: Loaded [ 13.552646] FS-Cache: Netfs 'nfs' registered for caching [ 13.588833] Installing knfsd (copyright (C) 1996 okir@monad.swb.de). [ 14.669870] IBM TrackPoint firmware: 0x0e, buttons: 3/3 [ 14.933944] input: TPPS/2 IBM TrackPoint as /devices/platform/i8042/serio1/serio2/input/input13 [ 16.708125] input: ACPI Virtual Keyboard Device as /devices/virtual/input/input14 [ 18.205369] Bluetooth: Core ver 2.16 [ 18.205383] NET: Registered protocol family 31 [ 18.205385] Bluetooth: HCI device and connection manager initialized [ 18.205386] Bluetooth: HCI socket layer initialized [ 18.205388] Bluetooth: L2CAP socket layer initialized [ 18.205391] Bluetooth: SCO socket layer initialized [ 18.227700] Bluetooth: RFCOMM TTY layer initialized [ 18.227730] Bluetooth: RFCOMM socket layer initialized [ 18.227733] Bluetooth: RFCOMM ver 1.11 [ 18.346089] Bluetooth: BNEP (Ethernet Emulation) ver 1.3 [ 18.346093] Bluetooth: BNEP filters: protocol multicast [ 18.731142] lp: driver loaded but no devices found [ 18.998879] ppdev: user-space parallel port driver [ 21.643949] e1000e 0000:00:19.0: irq 40 for MSI/MSI-X [ 21.697501] e1000e 0000:00:19.0: irq 40 for MSI/MSI-X [ 21.698802] ADDRCONF(NETDEV_UP): eth0: link is not ready [ 21.707881] cdc_ncm: usb0: network connection: disconnected [ 21.708028] ADDRCONF(NETDEV_UP): usb0: link is not ready [ 28.199236] ADDRCONF(NETDEV_UP): usb0: link is not ready

merci pour votre aide !!

debian-fr.org

Tout le monde ici ne comprend pas l’anglais comme vous, ce serait sympa de traduire vos messages en français.

Merci ! :023

j’ai traduit mon poste en français,

et j’ai résolu mon problème:

dans /etc/pam.d/common-auth il faut faire référence à pam_fprintd.so et non pam_fprint.so . Le paquet fprint a été déprécié et remplacé par fprintd (http://www.thinkwiki.org/wiki/How_to_enable_integrated_fingerprint_reader_with_fprint)

Voila voila