Differences between revisions 137 and 138
Revision 137 as of 2013-04-01 18:00:13
Size: 24252
Editor: StefanNagy
Comment: Deleted suggestion to install a more recent kernel from Debian Experimental (keep it simple for less experienced users)
Revision 138 as of 2013-04-01 18:03:33
Size: 24252
Editor: StefanNagy
Comment:
Deletions are marked like this. Additions are marked like this.
Line 53: Line 53:
If you have Windows 7 installed please update BIOS as described in the [[#Useful Links|official user guide]]. This !HowTo can only be helpful to users who decided to get rid of the preinstalled OS. If you have Windows 7 installed please update BIOS as described in the [[#Useful Links|official User Guide]]. This !HowTo can only be helpful to users who decided to get rid of the preinstalled OS.

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 owners 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.

If you need help to get Debian running on your hardware, please have a look at our user support channels where you may find specific channels (mailing list, IRC channel) dedicated to certain types of hardware.

Models covered
HP Folio¹³ - 2000

Overall Status

If you are willing to install non-free firmware the overall status of Debian Wheezy on this notebook is good – except for a power management issue, which prevents the operating system from sending your notebook into hibernation when battery status is critical. Apart from that three media keys and the on/off-button for the touchpad aren't working yet. But overall performance is just great.

Core Components

debian-on-folio13.png

Boot Standard Kernel

{OK}

LAN adapter

{OK} / X-(

Detect hard drive

{OK}

Extra Features

CPU Frequency Scaling

{OK}

Hibernation

{OK} / /!\

Sleep mode

{OK}

Xorg

{OK}

· OpenGL

{OK}

· Resize-and-Rotate(randr)

{OK}

Switch to External Screen

{OK}

Touchpad

{OK} / /!\

Keyboard's Hotkeys

{OK} / /!\

Wi-Fi & Bluetooth adapter

X-(

Webcam

{OK}

Card reader

{OK}

Legend :
{OK} = OK; {i} = Configuration required; /!\ = Error (couldn't get it working);
X-( = Only works with a non-free driver and/or firmware; {X} = Unsupported (no driver)

Important Note

Make sure your BIOS is up to date!

The current (2013-04-01) BIOS version is F.19. To check the installed version power on your notebook and immediately hit F1. Updates for this notebook are published at the HP Bussiness Support Center.1

How to update BIOS

If you have Windows 7 installed please update BIOS as described in the official User Guide. This HowTo can only be helpful to users who decided to get rid of the preinstalled OS.

Be very careful when you flash your computer's firmware and don't blame me if something goes wrong – I don't take any responsibility. If you know an easier and/or better way to update BIOS on this notebook without the preinstalled OS please don't hesitate to edit this page.

  1. Download the BIOS update for the HP Folio 13-2000 at the HP Business Support Center2. After extracting the downloaded archive (it's a self-extracting archive – therefore the filename extension is .exe) amongst other things you'll find a file called 01899.fd – this is the firmware file. Keep it and delete the rest.

  2. For the next two steps you'll need access to a PC with Microsoft Windows 2000/XP/Vista/7. Download the HP Unified Extensible Firmware Interface (UEFI) Support Environment at the HP Business Support Center3. Format a USB flash drive with the FAT32 file system and plug it in. Execute the downloaded file to extract the archive and start the HP UEFI Support Environment Setup Wizard. When prompted to select the location you'd like to use, choose USB Flash Drive. The installer will rename the partition on you flash drive to HP_TOOLS and copy some files there.

  3. Download PhoenixTool4 (a freeware program posted by user andyp in the my digital life forum). Extract the downloaded archive and run PhoenixTool.exe, then just load your firmware file 01899.fd as Original BIOS. Now look into the directory where you put your firmware file – amongst a lot of other files you'll see these two: RSA.SIG and 01899.fd.DEC.

  4. Copy these files into the directory /Hewlett-Packard/BIOS/New of your USB flash drive and rename 01899.fd.DEC to 01899.BIN and RSA.SIG to 01899.SIG.

  5. Plug in the USB flash drive, power on your HP Folio 13-2000 and immediately press F2 to enter HP Advanced System Diagnostics. Choose BIOS Management, BIOS Update and follow the instructions.

Mind the 'Action Keys Mode'-setting in BIOS!

The default setting is <Enabled> which means that your function keys are inverted – to actually activate F1 for example you'd have to press Fn+F1, action keys (like volume up/down, brightness up/down etc.) are set to default. This behavior corresponds to the imprint on those keys. However, if you want to change this setting, hit F10 at startup to enter the BIOS Setup Utility and then navigate to System Configuration.

Configuration

Installation

Get your preferred 64-bit PC ("amd64") installation image and follow the official Installation Howto (or the much more extensive Installation Guide). Unfortunately, two devices call for proprietary firmware: If you don't want to install any non-free software, be aware that the wireless adapter won't work; the LAN adapter seems to work well without non-free firmware (even if the installer asks for it). If you want your hardware to work as expected and accept to install proprietary firmware you'll have to provide the two non-free packages firmware-realtek and firmware-iwlwifi as described in chapter Loading Missing Firmware of the Installation Guide. Apart from that you shouldn't run into any hardware-related trouble.

After installation

Touchpad settings

Click your username in the top-right corner of the GNOME desktop to open the menu, choose System Settings. In the system settings window choose Mouse and Touchpad and then navigate to the Touchpad-tab. Here you can easily Enable mouse clicks with touchpad, activate Two-finger scrolling and Enable horizontal scrolling.

Detailed status report

Graphics Controller

Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller [8086:0116] (rev 09)
{OK} Supported by module intel. Works out of the box.
/!\ The display's backlight brightness settings get lost when you shutdown or restart your notebook. Backlight brightness will be reset to 100% at each boot-up.5

Audio Controller

Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller [8086:1c20] (rev 04)
{OK} Supported by module snd_hda_intel. Works out of the box.

Pointing device

SynPS/2 Synaptics TouchPad (id: 0x1e2b1)
{OK} Gestures support, two-way scroll and two pick buttons work out of the box.
/!\ The hot erea to enable/disable the TouchPad (in the upper left corner of the TouchPad) doesn't work, neither does its LED indicator.6

Keyboard: Action keys

{OK} Action keys that work out of the box: keyboard backlight on/off (fn+F5), previous track (fn+F6), play/pause (fn+F7), next track (fn+F8), volume down (fn+F9), volume up (fn+F10), mute (fn+F11).
/!\ Action keys that don't work for now: brightness down (fn+F2), brightness up (fn+F3), wireless on/off (fn+F12).7
/!\ Action keys that don't work as expected: help (fn+F1);8 switch to external monitor/projector (fn+F4).9

Power Management

{OK} Hibernation and sleep mode work out of the box.
/!\ The notebook doesn't go into hibernation mode when battery status is critical (even if gnome power settings say so), so the battery drains, the notebook suddenly shuts down and you lose all your unsaved work.10, 11, 12

LAN adapter

Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller [10ec:8168] (rev 06)
{OK} / X-( Supported by module r8169. The driver (and therefore debian installer) calls for the non-free firmware file rtl_nic/rtl8168e-3.fw which is part of firmware-realtek. However, for me the adapter works perfectly out of the box without this proprietary software.13

Wi-Fi & Bluetooth adapter

Intel Corporation Centrino Wireless-N 1030 [8086:008b] (rev 34)
X-( Supported by module iwlwifi. The adapter won't work at all unless you provide non-free firmware files (iwlwifi-6000g2b-6.ucode and iwlwifi-6000g2b-5.ucode) by installing the firmware-iwlwifi package.

Webcam

HP TrueVision HD Webcam (1.3 MP)
{OK} Works out of the box (even the LED indicator).

Card reader

Realtek Semiconductor Co., Ltd. RTS5209 PCI Express Card Reader [10ec:5209] (rev 01)
{OK} Supported by module rts_pstor. Works out of the box (only tested with an SD Card so far).


System Summary

Specifications (sub-model B0N00AA#ABD)

lspci

00:00.0 Host bridge [0600]: Intel Corporation 2nd Generation Core Processor Family DRAM Controller [8086:0104] (rev 09)
00:02.0 VGA compatible controller [0300]: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller [8086:0116] (rev 09)
00:16.0 Communication controller [0780]: Intel Corporation 6 Series/C200 Series Chipset Family MEI Controller #1 [8086:1c3a] (rev 04)
00:1a.0 USB controller [0c03]: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2 [8086:1c2d] (rev 04)
00:1b.0 Audio device [0403]: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller [8086:1c20] (rev 04)
00:1c.0 PCI bridge [0604]: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 1 [8086:1c10] (rev b4)
00:1c.2 PCI bridge [0604]: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 3 [8086:1c14] (rev b4)
00:1c.3 PCI bridge [0604]: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 4 [8086:1c16] (rev b4)
00:1c.4 PCI bridge [0604]: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 5 [8086:1c18] (rev b4)
00:1d.0 USB controller [0c03]: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1 [8086:1c26] (rev 04)
00:1f.0 ISA bridge [0601]: Intel Corporation HM65 Express Chipset Family LPC Controller [8086:1c49] (rev 04)
00:1f.2 SATA controller [0106]: Intel Corporation 6 Series/C200 Series Chipset Family 6 port SATA AHCI Controller [8086:1c03] (rev 04)
00:1f.3 SMBus [0c05]: Intel Corporation 6 Series/C200 Series Chipset Family SMBus Controller [8086:1c22] (rev 04)
01:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller [10ec:8168] (rev 06)
02:00.0 Network controller [0280]: Intel Corporation Centrino Wireless-N 1030 [8086:008b] (rev 34)
03:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5209 PCI Express Card Reader [10ec:5209] (rev 01)
03:00.1 SD Host controller [0805]: Realtek Semiconductor Co., Ltd. RTS5209 PCI Express Card Reader [10ec:5209] (rev 01)
09:00.0 USB controller [0c03]: Fresco Logic Device [1b73:1009] (rev 02)

lsusb

lsusb -v | grep -E '\<(Bus|iProduct|bDeviceClass|bDeviceProtocol)' 2>/dev/null

Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  bDeviceClass            9 Hub
  bDeviceProtocol         1 Single TT
  iProduct                2 xHCI Host Controller
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
  bDeviceClass            9 Hub
  bDeviceProtocol         3 
  iProduct                2 xHCI Host Controller
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  bDeviceClass            9 Hub
  bDeviceProtocol         0 Full speed (or root) hub
  iProduct                2 EHCI Host Controller
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  bDeviceClass            9 Hub
  bDeviceProtocol         0 Full speed (or root) hub
  iProduct                2 EHCI Host Controller
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
  bDeviceClass            9 Hub
  bDeviceProtocol         1 Single TT
  iProduct                0 
  bDeviceClass            9 Hub
  bDeviceProtocol         0 Full speed (or root) hub
Bus 004 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
  bDeviceClass            9 Hub
  bDeviceProtocol         1 Single TT
  iProduct                0 
  bDeviceClass            9 Hub
  bDeviceProtocol         0 Full speed (or root) hub
Bus 001 Device 003: ID 1bcf:2c07 Sunplus Innovation Technology Inc. 
  bDeviceClass          239 Miscellaneous Device
  bDeviceProtocol         1 Interface Association
  iProduct                2 HP TrueVision HD
      (Bus Powered)
  bDeviceClass          239 Miscellaneous Device
  bDeviceProtocol         1 Interface Association
  (Bus Powered)
Bus 001 Device 004: ID 8086:0189 Intel Corp. 
  bDeviceClass          224 Wireless
  bDeviceProtocol         1 Bluetooth
  iProduct                0 

USB Host controllers entries (without OHCI, UHCI, EHCI) are removed too.

Resources

Attachments

Some configuration files and sample outputs.

  • [get | view] (2012-08-15 11:13:45, 34.9 KB) [[attachment:debian-on-folio13.png]]
 All files | Selected Files: delete move to page copy to page

Bug Cemetery

  • Debian Kernel Bug 665493: Kernel fails to boot completely (timeout on modprobe -b pci:xxxx). Fixed in linux-image-3.2.0-4-amd64 (3.2.32-1).

  • Upstream Kernel Bug 46481: Kernel fails to boot with build-in ACPI PCI Hotplug driver on HP Folio 13-2000. Fixed upstream and included in kernel v3.6.

  • Debian Kernel Bug 692361: ACPI display backlight brightness is set to zero at every boot-up (HP Folio 13-2000). Fixed in linux-image-3.2.0-4-amd (3.2.35-1).

  • Upstream Kernel Bug 51141: ACPI display backlight brightness is set to zero at every boot-up - HP Folio 13-2000. Fixed upstream and included in kernel v3.8.

  • Debian Kernel Bug 695634: linux-image-3.6-trunk-amd64 fails to execute action (hibernate) on critical battery condition - HP Folio 13-2000. Invalid: This is not a kernel bug but a BIOS bug. If you set critical battery level to 2 percent in Microsoft Windows 7 (default is 5 percent) you'll have the same problem. The vendor refuses to fix this bug and told me my notebook 'works as designed', so there's no hope that this bug will be fixed.

  • Upstream Kernel Bug 52111: Incorrect battery levels on HP Folio 13-2000. Invalid: This is not a kernel bug but a BIOS bug. See above.

  • Debian Kernel Bug 701050: Wrong battery capacity values on HP Folio 13-2000. Invalid: This is also a BIOS bug (or another symptom of the same BIOS bug). When you check the battery information in Windows with 'powercfg -energy' you'll get the same values as reported by the kernel (ENERGY_FULL_DESIGN is always the same as ENERGY_FULL).

  • Upstream Kernel Bug 54241: Wrong battery capacity values on HP Folio 13-2000. Invalid: Not a kernel bug but a BIOS bug. See above.

Footnotes

  1. Hewlett-Packard's Business Support Center (1)

  2. Find and download BIOS updates for the HP Folio 13-2000 (2)

  3. Find and download the HP Unified Extensible Firmware Interface (UEFI) Support Environment for the HP Folio 13-2000 (3)

  4. Find and download the freeware program PhoenixTool (4)

  5. In general, the display backlight is initialized by BIOS, which should cache the brightness value at shutdown and restore it at next boot. For this notebook either BIOS failes to initialize the display backlight or the kernel fails to grab the cached values; however, the backlight brightness was set to zero at every boot. For now, a quirk for this notebook (sub)model was added to the kernel to ignore the broken initialized backlight (see Kernel Bug 51141) and that's why the display brightness is set to 100% at each boot now. For testing purposes (if you want to help fixing the broken initialized BIOS) you'd have to revert the patch provided in comment #16 of the mentioned bug report. (5)

  6. Debian Xorg Bug 609903: Enable LEDDoubleTap feature; Upstream Xorg Bug 39055: Can't disable touchpad (6)

  7. Debian Kernel Bug 683777: Some multimedia/action keys don't work; Upstream Kernel Bug 43097: Screen brightness and other Fn keys do not work on HP Folio 13 (7)

  8. I can't define this key as shotcut for certain actions in the gnome keybinding properties. I guess this bug is related to GNOME Bug 687068: 'fn+F1' is probably a shortcut for 'Win+F1' and GNOME Shell eats the 'Win'-part of the shortcut because that's what it uses to show the overview. (8)

  9. Debian GNOME Bug 684331: Video out media-key doesn't work as expected; Upstream GNOME Bug 687068: Video out media-key doesn't work as expected (9)

  10. Debian Kernel Bug 684186: Kernel doesn't produce any power related uevents on HP Folio 13-2000; Upstream Kernel Bug 54621: Kernel doesn't produce any power related uevents on HP Folio 13-2000 (10)

  11. BIOS Bug: When the battery is discharging and reaches a low charging level the reported values (percentage, time remaining) jump up and down until the battery drains. Since I was able to reproduce this bug in Windows 7 by changing the 'critical battery level' value to 2 percent this seems to be a firmware bug. HP support told me that I simply shouldn't manipulate the Windows default settings and that the notebook 'works as designed' – so there's no hope that the vendor will fix this issue. (11)

  12. BIOS Bug: The BIOS will always report the same values for ENERGY_FULL_DESIGN and ENERGY_FULL, thus the reported battery capacity will always be 100%. (12)

  13. Debian Installer Bug 684968: debian-installer requests non-free firmware for a device that works just als well without it (13)

Credits

Stefan Nagy


CategoryLaptopComputer CategoryDebianOn