Hardware: HP EliteBook Revolve 810 G1 with Ubuntu Linux
Attention: this page is work in progress.
Contents
Hardware
Linux Compatibility
Linux Configuration
Problem with network
If you experiment with pre-installed Windows 8 and put system to sleep or plug cable later while notebook is running you may notice following problem. Linux detect network card properly. "Lights" on connector are shining but network is not working. Mostly likely Ubuntu report disconnected cable and in console you may see "NO-CARRIER".
While I was searching what is wrong with my new notebook and network card i found following problem. Once system is put into sleep and there is no need to have network card enabled then it is put to so called "deep sleep" mode. Unfortunately it is not woken up by driver properly in default configuration (according to bug report it should be fixed in future or it is already fixed). Workaround for this problem is really simple.
First of all you need to know device address of Ethernet controller:
root@lukas:~# lspci | grep Ethernet 00:19.0 Ethernet controller: Intel Corporation 82579LM Gigabit Network Connection (rev 04) root@lukas:~#
In my case address of network card is "00:19.0". Power control device is located on /sys filesystem under /sys/devices/pciXXXX:XX/XXXX:XX:XX.X/power/control
where X mean variable location depending on installation itself. Technically it should be same for all revolve notebooks but I'll put here complete information how to find it. Just in case someone face same problem also on different platform.
With find | grep
combination it is easy to find correct "file":
root@lukas:~# find /sys | grep '00:19.0.*power/control' /sys/devices/pci0000:00/0000:00:19.0/net/eth0/power/control /sys/devices/pci0000:00/0000:00:19.0/power/control root@lukas:~#
File /sys/devices/pci0000:00/0000:00:19.0/power/control
can contain following:
- off - device is disabled
- auto - device should work in automatic mode (this one is problematic)
- on - device is fully enabled (e.g. it is not in sleep state even with no network cable)
If reading of power/control
show "auto" then resolution of problem with network is simple:
root@lukas:~# echo on > /sys/devices/pci0000:00/0000:00:19.0/power/control root@lukas:~#
If cable was already plugged while you issue "echo on >" command then re-plug cable to trigger cable detection (nw manager, dhcp, etc.).
Brightness control
Brightness or backlight of integrated monitor can be modified in two ways. Via ACPI interface or via platform specific driver. Even there is way how this should work there is no standard defined and notebooks can differ. Revolve 810 notebook present to system both ways but the ACPI method is not working well. Actually changing "brightness" level via ACPI will put display to it's maximum. To fix this problem I switched my notebook to "platform" configuration which is working well.
First of all i checked if there is another method to change backlight level:
root@lukas:~# ls -1 /sys/class/backlight/ acpi_video0 intel_backlight root@lukas:~#
As expected it is :) So now notify kernel which one is correct. Kernel command line is configured in /etc/default/grub
and i changed original:
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
to
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi_backlight=vendor"
It is neccesary to issue update-grub
to propagate changes:
root@lukas:~# update-grub Generating grub.cfg ... Found linux image: /boot/vmlinuz-3.8.0-27-generic Found initrd image: /boot/initrd.img-3.8.0-27-generic Found linux image: /boot/vmlinuz-3.8.0-19-generic Found initrd image: /boot/initrd.img-3.8.0-19-generic Found memtest86+ image: /memtest86+.bin done root@lukas:~#
After next reboot brightness control should work well.
Add Brightness Control to Ubuntu Desktop
While working with this notebook in tablet configuration it is handy to have brightness control as applet near to clock, network, sound, etc. There is allready such a applet and details are here
Installation of it is simple:
add-apt-repository ppa:indicator-brightness/ppa apt-get update && sudo apt-get install indicator-brightness
Note: Level 0 mean really zero light on Revolve notebooks. Please be aware that selecting Level 0 will disable backlight of display (can be used to temporary disable internal monitor and save power)
SSD configuration (enable use of TRIM functionality)
work area
hardware
Name HP EliteBook Revolve 810 Tablet Processor Intel Core i7-3687U with Intel HD Graphics 4000 (2.1 GHz, 4 MB cache, 2 cores) Intel Core i5-3437U with Intel HD Graphics 4000 (1.9 GHz, 3 MB cache, 2 cores)
Screen 11.6” 1366×768 Widescreen RAM Up to 12GB HDD Up to 128GB Optical Drive None Graphics Intel HD Graphics 4000 Network 10/100/1000 Ethernet Intel 802.11a/b/g/n with WiDi 2×2
Linux Compatibility
Device Compatibility Comments Processor Not Tested Screen Not Tested Touch Screen Not Tested HDD Not Tested Graphics Chip Not Tested DisplayPort Not Tested Sound Not Tested Bulti-in Microphone Not Tested Headphone Jack Not Tested Microphone Jack Not Tested Ethernet Not Tested Wireless Not Tested Bluetooth Not Tested WWAN Not Tested USB Not Tested Card Reader Not Tested Webcam Not Tested GPS Not Tested Docking Station Not Tested Touch Pad Not Tested Suspend/Resume Not Tested
ssd
sumary
Links
http://www.webupd8.org/2013/01/enable-trim-on-ssd-solid-state-drives.html
https://wiki.ubuntu.com/MagicFab/SSDchecklist
http://askubuntu.com/questions/282831/what-is-recommended-as-optimal-ssdhdd-setup-for-ubuntu
https://wiki.archlinux.org/index.php/SSD_Memory_Cell_Clearing
http://worldsmostsecret.blogspot.sk/2012/04/how-to-activate-trim-on-luks-encrypted.html?m=1
http://www.howtogeek.com/62761/how-to-tweak-your-ssd-in-ubuntu-for-better-performance/
http://www.makeuseof.com/answers/how-to-best-set-up-ubuntu-12-10-on-my-laptops-ssd/
http://blog.christophersmart.com/2013/06/05/trim-on-lvm-on-luks-on-ssd/
https://wiki.archlinux.org/index.php/Dm-crypt_with_LUKS
https://bbs.archlinux.org/viewtopic.php?id=144084
http://tombuntu.com/index.php/2012/04/26/setting-up-ubuntu-on-an-ssd/