precise-hpenvy1095la

Hewlett Packard - HP ENVY 14 Notebook PC - 1095la


(i) Many fixes are now part of the Lenvyx Project, check it out


Video

Annoyances

  • Both cards always power-on (but Intel defaults as active)
  • Black screen (zero brightness, no backlight) on start
  • Brightness indicator uneven

Fixes

Zero Brightness - Dedicated always power on

  • sudo gedit /etc/init/switchable-graphics.conf
  • Add

# Comment header
description "Switch to low power graphics"

start on (started lightdm)

script
    # Turn ON the unused card to ensure we can switch to the intgrated graphics
    echo ON > /sys/kernel/debug/vgaswitcheroo/switch

    # Switch to the integrated graphics (low power) by default
    echo DIGD > /sys/kernel/debug/vgaswitcheroo/switch

    # you can switch to the Discrete Graphics (high power) using this instead
    #echo DDIS > /sys/kernel/debug/vgaswitcheroo/switch

    # Turn OFF the unused card to save power
    echo OFF > /sys/kernel/debug/vgaswitcheroo/switch

    # LCD bringhtness set to 490, so the screen is not blank at startup.
    echo 490 > /sys/class/backlight/intel_backlight/brightness

    exit 0
end script

VGA_SWITCHEROO script to power off and switch cards

Based on script by Roberto Martinez (thanks!) - http://asusm51ta-with-linux.blogspot.com.ar

Force one card on bootup

Not sure if this work, but can be useful: https://help.ubuntu.com/community/HybridGraphics#Script_for_use_during_bootup

Fix brightness control

  • gedit /etc/default/grub
  • Add "acpi_backlight=vendor" boot parameters to GRUB_CMDLINE_LINUX_DEFAULT
  • Run update-grub2 to update the GRUB bootloader.

Audio

Annoyances

  • Too much of a jump from min volume to volume off
  • Headphones hissing?

  • No DLNA support out-of-the-box

Fixes

For DLNA

Synaptics Clickpad

Annoyances

  • No buttons response
  • No edgemotion (actually works, but veeeery slow)
  • Bad tapping experience (missed taps)
  • Some oversensitivity pushing the buttons
  • Uneven vertical/horizontal resolution

Fixes

Source: http://manpages.ubuntu.com/manpages/karmic/man4/synaptics.4.html

  • sudo gedit /usr/share/X11/xorg.conf.d/50-synaptics.conf
  • Add (or replace if needed)

# This option enables the bottom right corner to be a right button on
# non-synaptics clickpads.
# This option is only interpreted by clickpads.
Section "InputClass"
        Identifier "Default clickpad buttons"
        MatchDriver "synaptics"
        Option "SoftButtonAreas" "50% 0 82% 0 0 0 0 0"
        Option "VertHysteresis" "45"
        Option "HorizResolution" "75"
        Option "VertResolution" "75"
        Option "HorizHysteresis" "55"
        Option "EmulateTwoFingerMinZ" "100"
        Option "EmulateTwoFingerMinW" "7"
        Option "PalmDetect" "1"
        Option "PalmMinWidth" "7"
        Option "EdgeMotionMinSpeed" "1200"
        Option "EdgeMotionMaxSpeed" "1900"
        Option "EdgeMotionMinZ" "30"
        Option "EdgeMotionMaxZ" "100"
        Option "FingerPress" "95"
EndSection

If you want to test or tweak values, use this script

# Fix over-sensible touch
synclient VertHysteresis=45
synclient HorizHysteresis=55

# Twofingers close detection
synclient EmulateTwoFingerMinZ=100
synclient EmulateTwoFingerMinW=7

# Palm Detect
synclient PalmDetect=1
synclient PalmMinWidth=7

# Edgemotion (when dragging) 
synclient EdgeMotionMinSpeed=1000
synclient EdgeMotionMaxSpeed=1900

# Test: tap sensitivity
synclient FingerLow=20 #25
synclient FingerHigh=35 #30
synclient FingerPress=170 #256

Powermanager

As on https://wiki.ubuntu.com/Kernel/PowerManagement/PowerSavingTweaks

  • Enable Aggressive Link Power Management: echo SATA_ALPM_ENABLE=true | sudo tee /etc/pm/config.d/sata_alpm
  • Enable i915 Framebuffer Compression: GRUB_CMDLINE_LINUX_DEFAULT add i915.i915_enable_fbc=1
  • Enable i915 LVDS Downclocking: GRUB_CMDLINE_LINUX_DEFAULT add i915.lvds_downclock=1
  • DRM vblank off delay: GRUB_CMDLINE_LINUX_DEFAULT add drm.vblankoffdelay=1

Useful Apps and Tools

druellan/precise-hpenvy1095la (last edited 2013-07-13 22:27:25 by druellan)