Lenovo ThinkPad Edge E545

From Random Projects
Jump to: navigation, search

This page describes the Lenovo ThinkPad Edge E545 laptop (product number TODO) and how to use it with Debian GNU/Linux.

I bought this one from notebooksbilliger.de for €539.

Hardware

See the official Lenovo ThinkPad Edge E545 page for a detailed specification.

Here's a short overview:

  • TODO

HOWTO

CPU

Works fine, see /proc/cpuinfo for details. CPU frequency scaling using cpufrequtils works fine too, see cpufreqinfo for details.

Graphics

Audio

Works fine using the snd-hda-intel kernel module. I had to change the default card though, so that alsamixer etc. work out of the box:

$ cat /etc/asound.conf
pcm.!default {
        type hw
        card 1
}
ctl.!default {
        type hw
        card 1
}

$ cat /proc/asound/cards
0 [HDMI           ]: HDA-Intel - HDA ATI HDMI
                     HDA ATI HDMI at 0xf0344000 irq 54
1 [Generic        ]: HDA-Intel - HD-Audio Generic
                     HD-Audio Generic at 0xf0340000 irq 16
4 [ThinkPadEC     ]: ThinkPad EC - ThinkPad Console Audio Control
                     ThinkPad Console Audio Control at EC reg 0x30, fw unknown

Hard drive

Works fine, of course. It's a WDC WD10JPVX-08JC3T2 1TB SATA 2.5" drive.

$ hdparm -i /dev/sda
/dev/sda:
Model=WDC WD10JPVX-08JC3T2, FwRev=03.01A03, SerialNo=xxxxxxxxxxxxxxx
Config={ HardSect NotMFM HdSw>15uSec SpinMotCtl Fixed DTR>5Mbs FmtGapReq }
RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=0
BuffType=unknown, BuffSize=8192kB, MaxMultSect=16, MultSect=off
CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=1953525168
IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}
PIO modes:  pio0 pio3 pio4 
DMA modes:  mdma0 mdma1 mdma2 
UDMA modes: udma0 udma1 udma2 udma3 udma4 udma5 *udma6 
AdvancedPM=yes: unknown setting WriteCache=enabled
Drive conforms to: Unspecified:  ATA/ATAPI-1,2,3,4,5,6,7
* signifies the current active mode

$ hdparm -I /dev/sda
/dev/sda:
ATA device, with non-removable media
       Model Number:       WDC WD10JPVX-08JC3T2                    
       Serial Number:      xxxxxxxxxxxxxxx
       Firmware Revision:  03.01A03
       Transport:          Serial, SATA 1.0a, SATA II Extensions, SATA Rev 2.5, SATA Rev 2.6, SATA Rev 3.0
Standards:
       Supported: 9 8 7 6 5 
       Likely used: 9
Configuration:
       Logical         max     current
       cylinders       16383   16383
       heads           16      16
       sectors/track   63      63
       --
       CHS current addressable sectors:   16514064
       LBA    user addressable sectors:  268435455
       LBA48  user addressable sectors: 1953525168
       Logical  Sector size:                   512 bytes
       Physical Sector size:                  4096 bytes
       Logical Sector-0 offset:                  0 bytes
       device size with M = 1024*1024:      953869 MBytes
       device size with M = 1000*1000:     1000204 MBytes (1000 GB)
       cache/buffer size  = 8192 KBytes
       Nominal Media Rotation Rate: 5400
Capabilities:
       LBA, IORDY(can be disabled)
       Queue depth: 32
       Standby timer values: spec'd by Standard, no device specific minimum
       R/W multiple sector transfer: Max = 16  Current = 0
       Advanced power management level: 96
       DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 udma5 *udma6 
            Cycle time: min=120ns recommended=120ns
       PIO: pio0 pio1 pio2 pio3 pio4 
            Cycle time: no flow control=120ns  IORDY flow control=120ns
Commands/features:
       Enabled Supported:
          *    SMART feature set
               Security Mode feature set
          *    Power Management feature set
          *    Write cache
          *    Look-ahead
          *    Host Protected Area feature set
          *    WRITE_BUFFER command
          *    READ_BUFFER command
          *    DOWNLOAD_MICROCODE
          *    Advanced Power Management feature set
               Power-Up In Standby feature set
          *    SET_FEATURES required to spinup after power up
               SET_MAX security extension
          *    48-bit Address feature set
          *    Device Configuration Overlay feature set
          *    Mandatory FLUSH_CACHE
          *    FLUSH_CACHE_EXT
          *    SMART error logging
          *    SMART self-test
          *    General Purpose Logging feature set
          *    64-bit World wide name
          *    IDLE_IMMEDIATE with UNLOAD
          *    WRITE_UNCORRECTABLE_EXT command
          *    {READ,WRITE}_DMA_EXT_GPL commands
          *    Segmented DOWNLOAD_MICROCODE
          *    Gen1 signaling speed (1.5Gb/s)
          *    Gen2 signaling speed (3.0Gb/s)
          *    Gen3 signaling speed (6.0Gb/s)
          *    Native Command Queueing (NCQ)
          *    Host-initiated interface power management
          *    Phy event counters
          *    Idle-Unload when NCQ is active
          *    NCQ priority information
          *    unknown 76[13]
          *    unknown 76[14]
          *    unknown 76[15]
          *    DMA Setup Auto-Activate optimization
               Device-initiated interface power management
          *    Software settings preservation
          *    SMART Command Transport (SCT) feature set
          *    SCT Write Same (AC2)
          *    SCT Features Control (AC4)
          *    SCT Data Tables (AC5)
               unknown 206[12] (vendor specific)
               unknown 206[13] (vendor specific)
               unknown 206[14] (vendor specific)
Security: 
       Master password revision code = 65534
               supported
       not     enabled
       not     locked
       not     frozen
       not     expired: security count
               supported: enhanced erase
       186min for SECURITY ERASE UNIT. 186min for ENHANCED SECURITY ERASE UNIT. 
Logical Unit WWN Device Identifier: yyyyyyyyyyyyyyyy
       NAA             : 5
       IEEE OUI        : 0014ee
       Unique ID       : zzzzzzzzz
Checksum: correct

Touchpad

Works out of the box, both in X11 and via gpm in the console.

$ dmesg | grep -i synaptics
psmouse serio1: synaptics: Touchpad model: 1, fw: 8.1, id: 0x1e2b1, caps: 0xd002a3/0x940300/0x126c00, board id: 2274, fw id: 1214803
psmouse serio1: synaptics: serio: Synaptics pass-through port at isa0060/serio1/input0
input: SynPS/2 Synaptics TouchPad as /devices/platform/i8042/serio1/input/input9

Some "scrolling when dragging with two fingers" and similar stuff seems to work fine. You can configure various other touchpad settings using gpointing-device-settings. However, the tapping feature doesn't seem to work for me, not sure why. You can manually fix this by running synclient TapButton1=1.

The red IBM/Lenovo TrackPoint works out of the box too, both in X11 and in the console via gpm.

Keyboard

Works fine. I prefer to set/uncomment the KEYBOARD_RATE/KEYBOARD_DELAY settings in /etc/kbd/config (do /etc/init.d/kbd restart afterwards):

KEYBOARD_RATE="30"
KEYBOARD_DELAY="250"

Some special keys such as Fn+F7/F8 for adjusting brightness work fine, haven't tested all of them yet, though.

Ethernet

Works out of the box using the r8169 driver, but you should install the firmware-realtek package so that the kernel finds rtl8168e-3.fw.

$ dmesg
r8169 Gigabit Ethernet driver 2.3LK-NAPI loaded
r8169 0000:02:00.0: can't disable ASPM; OS doesn't have ASPM control
r8169 0000:02:00.0: irq 40 for MSI/MSI-X
r8169 0000:02:00.0 eth0: RTL8168evl/8111evl at 0xffffc90000c1a000, 20:1a:06:5f:c0:07, XID 0c900800 IRQ 40
r8169 0000:02:00.0 eth0: jumbo features [frames: 9200 bytes, tx checksumming: ko]
r8169 0000:02:00.0: firmware: direct-loading firmware rtl_nic/rtl8168e-3.fw

Wifi / Bluetooth

TODO.

Webcam

Works out of the box using the uvcvideo driver and a viewer such as mplayer tv:// or luvcview or cheese.

$ lsusb | grep 04f2
Bus 002 Device 003: ID 04f2:b44d Chicony Electronics Co., Ltd
$ dmesg | grep -i uvc
uvcvideo: Found UVC 1.00 device Integrated Camera (04f2:b44d)
usbcore: registered new interface driver uvcvideo

HDMI

Untested.

CD/DVD drive

Reading CDs/DVDs works out of the box. Writing CDs/DVDs is untested so far.

$ wodim -scanbus dev=/dev/sr0
scsibus1:
       1,0,0   100) 'MATSHITA' 'DVD-RAM UJ8E1   ' '8.00' Removable CD-ROM
       1,1,0   101) *
       1,2,0   102) *
       1,3,0   103) *
       1,4,0   104) *
       1,5,0   105) *
       1,6,0   106) *
       1,7,0   107) *
$ wodim -checkdrive dev=/dev/sr0
Device type    : Removable CD-ROM
Version        : 5
Response Format: 2
Capabilities   : 
Vendor_info    : 'MATSHITA'
Identification : 'DVD-RAM UJ8E1   '
Revision       : '8.00'
Device seems to be: Generic mmc2 DVD-R/DVD-RW.
wodim: Cannot load media with this drive!
wodim: Try to load media by hand.
Using generic SCSI-3/mmc   CD-R/CD-RW driver (mmc_cdr).
Driver flags   : MMC-3 SWABAUDIO BURNFREE
Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P RAW/R96R

USB

Works out of the box.

SD / MemoryStick Pro / MMC / xD card reader

Seems to work fine, mounting and reading an SD card worked fine.

$ dmesg
mmc0: new high speed SD card at address 79ee
mmcblk0: mmc0:79ee SD02G 1.87 GiB
mmcblk0: p1

VGA out

Untested.

Suspend

I tested suspend-to-disk and suspend-to-RAM via hibernate-disk / hibernate-ram, both seems to work fine.

Details

/proc/cpuinfo

$ cat /proc/cpuinfo
processor	: 0
vendor_id	: AuthenticAMD
cpu family	: 21
model		: 19
model name	: AMD A10-5750M APU with Radeon(tm) HD Graphics
stepping	: 1
microcode	: 0x6001119
cpu MHz		: 1800.000
cache size	: 2048 KB
physical id	: 0
siblings	: 4
core id		: 0
cpu cores	: 2
apicid		: 16
initial apicid	: 0
fpu		: yes
fpu_exception	: yes
cpuid level	: 13
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc extd_apicid aperfmperf pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 popcnt aes xsave avx f16c lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs xop skinit wdt lwp fma4 tce nodeid_msr tbm topoext perfctr_core perfctr_nb arat cpb hw_pstate npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold bmi1
bogomips	: 4990.46
TLB size	: 1536 4K pages
clflush size	: 64
cache_alignment	: 64
address sizes	: 48 bits physical, 48 bits virtual
power management: ts ttp tm 100mhzsteps hwpstate cpb eff_freq_ro

processor	: 1
vendor_id	: AuthenticAMD
cpu family	: 21
model		: 19
model name	: AMD A10-5750M APU with Radeon(tm) HD Graphics  
stepping	: 1
microcode	: 0x6001119
cpu MHz		: 1800.000
cache size	: 2048 KB
physical id	: 0
siblings	: 4
core id		: 1
cpu cores	: 2
apicid		: 17
initial apicid	: 1
fpu		: yes
fpu_exception	: yes
cpuid level	: 13
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc extd_apicid aperfmperf pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 popcnt aes xsave avx f16c lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs xop skinit wdt lwp fma4 tce nodeid_msr tbm topoext perfctr_core perfctr_nb arat cpb hw_pstate npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold bmi1
bogomips	: 4990.46
TLB size	: 1536 4K pages
clflush size	: 64
cache_alignment	: 64
address sizes	: 48 bits physical, 48 bits virtual
power management: ts ttp tm 100mhzsteps hwpstate cpb eff_freq_ro

processor	: 2
vendor_id	: AuthenticAMD
cpu family	: 21
model		: 19
model name	: AMD A10-5750M APU with Radeon(tm) HD Graphics  
stepping	: 1
microcode	: 0x6001119
cpu MHz		: 1800.000
cache size	: 2048 KB
physical id	: 0
siblings	: 4
core id		: 2
cpu cores	: 2
apicid		: 18
initial apicid	: 2
fpu		: yes
fpu_exception	: yes
cpuid level	: 13
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc extd_apicid aperfmperf pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 popcnt aes xsave avx f16c lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs xop skinit wdt lwp fma4 tce nodeid_msr tbm topoext perfctr_core perfctr_nb arat cpb hw_pstate npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold bmi1
bogomips	: 4990.46
TLB size	: 1536 4K pages
clflush size	: 64
cache_alignment	: 64
address sizes	: 48 bits physical, 48 bits virtual
power management: ts ttp tm 100mhzsteps hwpstate cpb eff_freq_ro

processor	: 3
vendor_id	: AuthenticAMD
cpu family	: 21
model		: 19
model name	: AMD A10-5750M APU with Radeon(tm) HD Graphics  
stepping	: 1
microcode	: 0x6001119
cpu MHz		: 2500.000
cache size	: 2048 KB
physical id	: 0
siblings	: 4
core id		: 3
cpu cores	: 2
apicid		: 19
initial apicid	: 3
fpu		: yes
fpu_exception	: yes
cpuid level	: 13
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc extd_apicid aperfmperf pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 popcnt aes xsave avx f16c lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs xop skinit wdt lwp fma4 tce nodeid_msr tbm topoext perfctr_core perfctr_nb arat cpb hw_pstate npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold bmi1
bogomips	: 4990.46
TLB size	: 1536 4K pages
clflush size	: 64
cache_alignment	: 64
address sizes	: 48 bits physical, 48 bits virtual
power management: ts ttp tm 100mhzsteps hwpstate cpb eff_freq_ro

lspci

$ lspci -tvnn
-[0000:00]-+-00.0  Advanced Micro Devices, Inc. [AMD] Family 15h (Models 10h-1fh) Processor Root Complex [1022:1410]
           +-01.0  Advanced Micro Devices, Inc. [AMD/ATI] Richland [Radeon HD 8650G] [1002:990b]
           +-01.1  Advanced Micro Devices, Inc. [AMD/ATI] Trinity HDMI Audio Controller [1002:9902]
           +-02.0-[01]----00.0  Advanced Micro Devices, Inc. [AMD/ATI] Sun PRO [Radeon HD 8570A/8570M] [1002:6663]
           +-04.0-[02]----00.0  Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168]
           +-05.0-[03]----00.0  Broadcom Corporation BCM43142 802.11b/g/n [14e4:4365]
           +-07.0-[04]----00.0  Realtek Semiconductor Co., Ltd. RTS5229 PCI Express Card Reader [10ec:5229]
           +-10.0  Advanced Micro Devices, Inc. [AMD] FCH USB XHCI Controller [1022:7814]
           +-10.1  Advanced Micro Devices, Inc. [AMD] FCH USB XHCI Controller [1022:7814]
           +-11.0  Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] [1022:7804]
           +-12.0  Advanced Micro Devices, Inc. [AMD] FCH USB OHCI Controller [1022:7807]
           +-12.2  Advanced Micro Devices, Inc. [AMD] FCH USB EHCI Controller [1022:7808]
           +-13.0  Advanced Micro Devices, Inc. [AMD] FCH USB OHCI Controller [1022:7807]
           +-13.2  Advanced Micro Devices, Inc. [AMD] FCH USB EHCI Controller [1022:7808]
           +-14.0  Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller [1022:780b]
           +-14.2  Advanced Micro Devices, Inc. [AMD] FCH Azalia Controller [1022:780d]
           +-14.3  Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge [1022:780e]
           +-14.4-[05]--
           +-18.0  Advanced Micro Devices, Inc. [AMD] Family 15h (Models 10h-1fh) Processor Function 0 [1022:1400]
           +-18.1  Advanced Micro Devices, Inc. [AMD] Family 15h (Models 10h-1fh) Processor Function 1 [1022:1401]
           +-18.2  Advanced Micro Devices, Inc. [AMD] Family 15h (Models 10h-1fh) Processor Function 2 [1022:1402]
           +-18.3  Advanced Micro Devices, Inc. [AMD] Family 15h (Models 10h-1fh) Processor Function 3 [1022:1403]
           +-18.4  Advanced Micro Devices, Inc. [AMD] Family 15h (Models 10h-1fh) Processor Function 4 [1022:1404]
           \-18.5  Advanced Micro Devices, Inc. [AMD] Family 15h (Models 10h-1fh) Processor Function 5 [1022:1405]

See Lenovo ThinkPad Edge E545/lspci for a full verbose lspci.

lsusb

$ lsusb
Bus 002 Device 003: ID 04f2:b44d Chicony Electronics Co., Ltd 
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 002: ID 04ca:2007 Lite-On Technology Corp. 
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 008 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 007 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

See Lenovo ThinkPad Edge E545/lsusb for a full verbose lsusb.

cpufreqinfo

TODO.

dmesg

See Lenovo ThinkPad Edge E545/dmesg.

Resources