Differences between revisions 2 and 3
Revision 2 as of 2017-04-05 18:55:26
Size: 10196
Editor: ?ShawnSörbom
Comment:
Revision 3 as of 2017-04-06 00:58:12
Size: 10196
Editor: PaulWise
Comment: non-free WiFi firmware required
Deletions are marked like this. Additions are marked like this.
Line 53: Line 53:
|| Wireless/Wifi || {i} || || Wireless/Wifi || X-( ||

Translation(s): none

DebianOn is an effort to document how to install, configure and use Debian on some specific hardware. Therefore potential buyers would know if that hardware is supported and owner would know how get the best out of that hardware.

The purpose is not to duplicate the Debian Official Documentation, but to document how to install Debian on some specific hardware.

Models covered
HP EliteBook 820 G1

Sub-model (TBD) options:

  • Processor: Intel Core i5-4200U
  • Video card: Intel HD 4400
  • Screen size: 12" - no-glare 1366x768
  • VGA + DisplayPort

  • Wireless card: ?
  • Disk: 500 GB HDD
  • RAM: 4GB
  • Fingerprint Reader
  • SDCard Reader
  • SmartCard Reader

  • Docking Station Adapter
  • Battery Slice

Overall Status

Core Components

[ATTACH]

Boot Standard Kernel:

{OK}

LAN network card:

{OK}

Detect CD/DVD:

[-]

Detect hard drives:

{OK}

Extra Features

CPU Frequency Scaling

{OK}

Hibernation

[?]

Sleep / Suspend

{OK}

Xorg

{OK}

- OpenGL

[?]

- Resize-and-Rotate(randr)

{OK}

Switch to External Screen

{OK}

Mouse

- Built-in (Trackpoint)

{OK}

- Built-in (Touchpad)

{OK}

Modem

[-]

Wireless/Wifi

X-(

Keyboard's Hotkeys

{i}

SD Card Reader

[?]

SmartCard Reader

[?]

Fingerprint Reader

[?]

Webcam

{OK}

Dock

{OK}

Legend :
{OK} = OK ; {X} Unsupported(No Driver) ; /!\ = Error (Couldn't get it working); [?] Unknown, Not Test ; [-] Not-applicable
{i} = Configuration Required; X-( = Only works with a non-free driver and or firmware

Important Note

Configuration

Storage

Audio

  • ordering of the recognized cards was reversed
  • options for modprobe had to be prepared

/etc/modules.d/snd-hda-intel.conf

options snd-hda-intel id=PCH index=0
options snd-hda-intel id=HDMI index=1 

Touchpad

  • with synclient the emulation of simple tap and 3rd button was enabled

synclient TapButton1=1
synclient TapButton3=2
  • double tapping on the LED to (un)lock the touchpad is apparently only possible by patching the kernel 1, 2, 3

Power Management

  • installed TLP from sid repositories
  • acpitool (and entities in /sys) functioning ok
  • collection of battery stats was done following 720338

WiFi

  • wireless button should work with hp_wireless module loaded, LED seems not to show real status
  • firmware-iwlwifi was installed

Bluetooth

dmesg | grep -i blue

Bluetooth: Core ver 2.19
Bluetooth: HCI device and connection manager initialized
Bluetooth: HCI socket layer initialized
Bluetooth: L2CAP socket layer initialized
Bluetooth: SCO socket layer initialized
bluetooth hci0: firmware: failed to load brcm/BCM20702A0-0a5c-21f1.hcd (-2)
bluetooth hci0: Direct firmware load failed with error -2
bluetooth hci0: Falling back to user helper
Bluetooth: hci0: BCM: patch brcm/BCM20702A0-0a5c-21f1.hcd not found
Bluetooth: BNEP (Ethernet Emulation) ver 1.3
Bluetooth: BNEP filters: protocol multicast
Bluetooth: BNEP socket layer initialized

Keyboard's Hotkeys

Brightness

/etc/acpi/actions/hp_brightness.sh

bri=$(cat /sys/class/backlight/intel_backlight/brightness)

case $1 in
    up)
      bri=`expr $bri + 50`  ;;
    down)
      bri=`expr $bri - 50` ;;
esac

echo $bri > /sys/class/backlight/intel_backlight/brightness

/etc/acpi/events/hp_brightness_up

event=video/brightnessup.*
action=/etc/acpi/actions/hp_brightness.sh up

/etc/acpi/events/hp_brightness_down

event=video/brightnessdown.*
action=/etc/acpi/actions/hp_brightness.sh down

Volume

  • the fn+f8 (microphone mute) does not generate any ACPI or keyboard event, LED is always on
  • volume and mute generate ACPI events

/etc/acpi/actions/hp_volume.sh

case $1 in
    up)
        amixer set Master 5+
        ;;
    down)
        amixer set Master 5-
        ;;
    mute)
        amixer set Master toggle
        ;;
esac

/etc/acpi/events/hp_volume_mute

event=button/mute.*
action=/etc/acpi/actions/hp_volume.sh mute

/etc/acpi/events/hp_volume_up

event=button/volumeup.*
action=/etc/acpi/actions/hp_volume.sh up

/etc/acpi/events/hp_volume_down

event=button/volumedown.*
action=/etc/acpi/actions/hp_volume.sh down

Screen mode

* using netcat-openbsd a shell trigger in the user X session was implemented

~/bin/watcher_acpi.sh

socket=/var/run/acpid.socket

nc -U "${socket}" | while read event
do
    case "${event}" in
        video/switchmode*)
            ~/bin/monitor_switch.sh
            ;;
    esac
done

Sleep button

  • returns

button/sleep SBTN 00000080 00000000 K


System Summary

lspci

00:00.0 Host bridge [0600]: Intel Corporation Haswell-ULT DRAM Controller [8086:0a04] (rev 09)
00:02.0 VGA compatible controller [0300]: Intel Corporation Haswell-ULT Integrated Graphics Controller [8086:0a16] (rev 09)
00:03.0 Audio device [0403]: Intel Corporation Haswell-ULT HD Audio Controller [8086:0a0c] (rev 09)
00:14.0 USB controller [0c03]: Intel Corporation 8 Series USB xHCI HC [8086:9c31] (rev 04)
00:16.0 Communication controller [0780]: Intel Corporation 8 Series HECI #0 [8086:9c3a] (rev 04)
00:19.0 Ethernet controller [0200]: Intel Corporation Ethernet Connection I218-LM [8086:155a] (rev 04)
00:1b.0 Audio device [0403]: Intel Corporation 8 Series HD Audio Controller [8086:9c20] (rev 04)
00:1c.0 PCI bridge [0604]: Intel Corporation 8 Series PCI Express Root Port 1 [8086:9c10] (rev e4)
00:1c.3 PCI bridge [0604]: Intel Corporation 8 Series PCI Express Root Port 4 [8086:9c16] (rev e4)
00:1c.5 PCI bridge [0604]: Intel Corporation 8 Series PCI Express Root Port 6 [8086:9c1a] (rev e4)
00:1d.0 USB controller [0c03]: Intel Corporation 8 Series USB EHCI #1 [8086:9c26] (rev 04)
00:1f.0 ISA bridge [0601]: Intel Corporation 8 Series LPC Controller [8086:9c43] (rev 04)
00:1f.2 SATA controller [0106]: Intel Corporation 8 Series SATA Controller 1 [AHCI mode] [8086:9c03] (rev 04)
00:1f.3 SMBus [0c05]: Intel Corporation 8 Series SMBus Controller [8086:9c22] (rev 04)
02:00.0 Network controller [0280]: Broadcom Corporation BCM43228 802.11a/b/g/n [14e4:4359]
03:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5227 PCI Express Card Reader [10ec:5227] (rev 01)

Resources

Attachments

Some configuration files and sample outputs.

Credits


CategoryLaptopComputer