Linux on a HP Elitebook 820

by Martin Monperrus
I run GNU/Linux on my HP Elitebook 820.

Hardware name: Hewlett-Packard HP EliteBook 820 G1/1991, BIOS L71 Ver. 01.20 07/28/2014 (from dmidecode)

Graphics

Graphics works with the "intel" driver of xorg and the "i915" kernel module.

Default resolution is 1366x768, in Randr/Xrandr the laptop screen is eDP1.

The laptop display port is DP1, it works with xrandr.

Video projector: works with integrated VGA port, called "DP2" (and not VGA1)

Docking station works well.

$ lspci | grep Graph
00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 0b)

$ grep -i chipset /var/log/Xorg.0.log
[     6.352] (II) intel: Driver for Intel(R) Integrated Graphics Chipsets:
[     6.354] (--) intel(0): Integrated Graphics Chipset: Intel(R) HD Graphics 4400

Touchpad

The touchpad is "SynPS/2 Synaptics TouchPad". It works with the synaptics driver (/usr/lib/xorg/modules/input/synaptics_drv.so). It supports two-fingers scrolling.

Main configuration in /etc/X11/xorg.conf:

Section "InputClass"
     Identifier "touchpad catchall"
     Driver "synaptics"
     MatchIsTouchpad "on"
     MatchDevicePath "/dev/input/event*"
 
     # required for running "synclient -m 300"
     Option "SHMConfig"  "on"

     Option "TapButton1" "1"
     # disabling spurious right click emulation when scrolling with two fingers.
     Option "TapButton2" "0"
     Option "TapButton3" "0"

     # enabling scrolling with two fingers à la Mac
     Option "VertTwoFingerScroll" "on"
     Option "HorizTwoFingerScroll" "on"
     
     # as shown by "synclient -m 300", z>80 when two fingers are used
     Option "EmulateTwoFingerMinZ" "80"
     # as shown by "synclient -m 300", w is not used on this touchpad
     Option "EmulateTwoFingerMinW" "0"
EndSection

Wireless

Wireless works with kernel module "iwlwifi" and firmware "firmware-iwlwifi".

Virtualization

The processor provides hardware support for virtualization. It is disabled by default in the BIOS.

To enable it:
* press F12 at startup, choose Bios setup
* in the BIOS, select Virtualization Support >> Virtualization >> Enable Intel Virtualization Technology
* in the BIOS, select Virtualization Support >> Virtualization >> Enable VT for Direct I/O

Audio/Webcam

Sound works with the module snd-hda-intel ($ modprobe snd-hda-intel).

$ lspci | grep Audio   
00:03.0 Audio device: Intel Corporation Haswell-ULT HD Audio Controller (rev 0b)
00:1b.0 Audio device: Intel Corporation 8 Series HD Audio Controller (rev 04)

$ head -n 1 /proc/asound/card0/codec*
Codec: Intel Haswell HDMI
Webcam works out-of-the-box.

Usage


Suspend (lid open/lid closed), hibernate works.

Hard drive (SSD)


$ hdparm -i /dev/sda
/dev/sda:

 Model=MTFDDAK256MAY-1AH12ABHA, FwRev=M5T4, SerialNo=14320CFEF121
 Config={ Fixed DTR>10Mbs }
 RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=0
 BuffType=unknown, BuffSize=unknown, MaxMultSect=16, MultSect=off
 CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=500118192
 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: unknown:  ATA/ATAPI-3,4,5,6,7
$ hdparm -tT /dev/sda
/dev/sda:
 Timing cached reads:   19946 MB in  2.00 seconds = 9981.01 MB/sec
 Timing buffered disk reads: 1526 MB in  3.00 seconds = 508.14 MB/sec

Errors

There is an error with ACPI and i915 that appears in dmesg:
acpi PNP0501:00: Still not present
i915 0000:00:02.0: BAR 6: [??? 0x00000000 flags 0x2] has bogus alignment
Those errors appear every second or so. They are related to PCI scanning, they can be triggered by:
echo 1 > /sys/bus/pci/rescan

The i915 error can be removed by adding "pci=noacpi" to the kernel command line (it disables PCI scanning)

See bug report https://bugzilla.redhat.com/show_bug.cgi?id=1165178, https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1401518, https://bugs.freedesktop.org/show_bug.cgi?id=87423, http://www.spinics.net/lists/intel-gfx/msg56705.html

Troubleshooting

$  uname -a
Linux beethoven 3.16-2-amd64 #1 SMP Debian 3.16.3-2 (2014-09-20) x86_64 GNU/Linux
[     7.585] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/event14)
[     7.585] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "evdev touchpad catchall"
[     7.585] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "touchpad catchall"
[     7.585] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "Default clickpad buttons"
[     7.585] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "touchpad catchall"
[     7.585] (II) LoadModule: "synaptics"
[     7.585] (II) Loading /usr/lib/xorg/modules/input/synaptics_drv.so
[     7.585] (II) Module synaptics: vendor="X.Org Foundation"
[     7.585]    compiled for 1.16.0.901, module version = 1.8.99
[     7.585]    Module class: X.Org XInput Driver
[     7.585]    ABI class: X.Org XInput driver, version 21.0
[     7.585] (II) Using input driver 'synaptics' for 'SynPS/2 Synaptics TouchPad'
[     7.585] (**) SynPS/2 Synaptics TouchPad: always reports core events
[     7.585] (**) Option "Device" "/dev/input/event14"
[     7.632] (--) synaptics: SynPS/2 Synaptics TouchPad: x-axis range 1472 - 5708 (res 52)
[     7.632] (--) synaptics: SynPS/2 Synaptics TouchPad: y-axis range 1408 - 4660 (res 85)
[     7.632] (--) synaptics: SynPS/2 Synaptics TouchPad: pressure range 0 - 255
[     7.632] (--) synaptics: SynPS/2 Synaptics TouchPad: finger width range 0 - 15
[     7.632] (--) synaptics: SynPS/2 Synaptics TouchPad: buttons: left right double triple
[     7.632] (--) synaptics: SynPS/2 Synaptics TouchPad: Vendor 0x2 Product 0x7

$ cat /proc/cpuinfo
processor	: 0
vendor_id	: GenuineIntel
cpu family	: 6
model		: 69
model name	: Intel(R) Core(TM) i7-4600U CPU @ 2.10GHz
stepping	: 1
microcode	: 0x1c
cpu MHz		: 1094.132
cache size	: 4096 KB
physical id	: 0
siblings	: 4
core id		: 0
cpu cores	: 2
apicid		: 0
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 dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm ida arat epb xsaveopt pln pts dtherm tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid
bogomips	: 5387.50
clflush size	: 64
cache_alignment	: 64
address sizes	: 39 bits physical, 48 bits virtual
power management:

(4 times)

$  lspci  -tv
-[0000:00]-+-00.0  Intel Corporation Haswell-ULT DRAM Controller
           +-02.0  Intel Corporation Haswell-ULT Integrated Graphics Controller
           +-03.0  Intel Corporation Haswell-ULT HD Audio Controller
           +-14.0  Intel Corporation 8 Series USB xHCI HC
           +-16.0  Intel Corporation 8 Series HECI #0
           +-16.3  Intel Corporation 8 Series HECI KT
           +-19.0  Intel Corporation Ethernet Connection I218-LM
           +-1b.0  Intel Corporation 8 Series HD Audio Controller
           +-1c.0-[01]--
           +-1c.3-[02]----00.0  Intel Corporation Wireless 7260
           +-1c.5-[03]----00.0  Realtek Semiconductor Co., Ltd. RTS5227 PCI Express Card Reader
           +-1d.0  Intel Corporation 8 Series USB EHCI #1
           +-1f.0  Intel Corporation 8 Series LPC Controller
           +-1f.2  Intel Corporation 8 Series SATA Controller 1 [AHCI mode]
           \-1f.3  Intel Corporation 8 Series SMBus Controller

$ dmidecode
SMBIOS 2.7 present.
33 structures occupying 1662 bytes.
Table at 0xBBE3F000.

Handle 0x000D, DMI type 0, 24 bytes
BIOS Information
	Vendor: Hewlett-Packard
	Version: L71 Ver. 01.30
	Release Date: 12/09/2014
	Address: 0xF0000
	Runtime Size: 64 kB
	ROM Size: 8192 kB
	Characteristics:
		PCI is supported
		PC Card (PCMCIA) is supported
		BIOS is upgradeable
		BIOS shadowing is allowed
		Boot from CD is supported
		Selectable boot is supported
		EDD is supported
		Print screen service is supported (int 5h)
		8042 keyboard services are supported (int 9h)
		Serial services are supported (int 14h)
		Printer services are supported (int 17h)
		ACPI is supported
		USB legacy is supported
		Smart battery is supported
		BIOS boot specification is supported
		Function key-initiated network boot is supported
		Targeted content distribution is supported
		UEFI is supported
	BIOS Revision: 1.30
	Firmware Revision: 21.85


Tagged as: