Difference between revisions of "Hardware: HP EliteBook Revolve 810 G1 with Ubuntu Linux"
Lukas Dzunko (talk | contribs) (→Linux Configuration) |
Lukas Dzunko (talk | contribs) (→Problem with network) |
||
Line 4: | Line 4: | ||
== Linux Configuration == | == Linux Configuration == | ||
=== Problem with network === | === 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: | ||
+ | <pre> | ||
+ | root@lukas:~# lspci | grep Ethernet | ||
+ | 00:19.0 Ethernet controller: Intel Corporation 82579LM Gigabit Network Connection (rev 04) | ||
+ | root@lukas:~# | ||
+ | </pre> | ||
+ | In my case address of network card is "00:19.0". Power control device is located on /sys filesystem under <code>/sys/devices/pciXXXX:XX/XXXX:XX:XX.X/power/control</code> 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 <code>find | grep</code> combination it is easy to find correct "file": | ||
+ | <pre> | ||
+ | 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:~# | ||
+ | </pre> | ||
+ | |||
+ | File <code> /sys/devices/pci0000:00/0000:00:19.0/power/control </code> 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 <code>power/control</code> show "auto" then resolution of problem with network is simple: | ||
+ | <pre> | ||
+ | root@lukas:~# echo on > /sys/devices/pci0000:00/0000:00:19.0/power/control | ||
+ | root@lukas:~# | ||
+ | </pre> | ||
+ | |||
+ | If cable was already plugged while you issue "echo on >" command then re-plug cable to trigger cable detection (nw manager, dhcp, etc.). | ||
+ | |||
=== Brightens control === | === Brightens control === | ||
=== SSD configuration (enable use of TRIM functionality) === | === SSD configuration (enable use of TRIM functionality) === |
Revision as of 19:58, 15 August 2013
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.).
Brightens control
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/