mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2025-11-05 01:37:24 +08:00
treewide: modules -> profiles, separate dirs, list in README (#29)
Enforce proper naming: all paths are lowercase and hyphen-separated, if there's a line of models (aspire, macbook-pro, thinkpad) it becomes a subdirectory. Documentation for profiles is moved to README files in respective directories. Add an Org mode table that lists all available profiles and their paths. Instead of fetching repo locally, use a Nix channel. Making hardware profiles read-only should improve quality and amount of participation long-term.
This commit is contained in:
committed by
zimbatm
parent
3f2fbacb21
commit
3c9f432a71
94
samsung/np900x3c/README.wiki
Normal file
94
samsung/np900x3c/README.wiki
Normal file
@@ -0,0 +1,94 @@
|
||||
= Overview =
|
||||
|
||||
Most of the features seem to be working with Linux >= 3.9
|
||||
|
||||
== Hardware ==
|
||||
|
||||
* CPU Intel(R) Core(TM) i5-3317U CPU @ 1.70GHz
|
||||
* RAM 4 GB
|
||||
* HDD 128GB SSD
|
||||
* Screen 13.3-Inch Screen
|
||||
* Graphics Intel HD Graphics 4000, Ivy bridge
|
||||
|
||||
= Configuration =
|
||||
|
||||
Full configurations is in my
|
||||
[https://raw.github.com/grwlf/nixpkgs/local/machines/samsung-np900x3c-v2.nix nixpkgs branch]. Note, it requires several local packages.
|
||||
|
||||
=== Touchpad ===
|
||||
|
||||
Touchpad is detected as 'ETPS/2 Elantech Touchpad'. xf86-input-synaptics handles
|
||||
it well. Corresponding config lines:
|
||||
|
||||
<pre>
|
||||
services.xserver = {
|
||||
synaptics = {
|
||||
enable = true;
|
||||
accelFactor = "0.05";
|
||||
maxSpeed = "10";
|
||||
twoFingerScroll = true;
|
||||
additionalOptions =
|
||||
''
|
||||
MatchProduct "ETPS"
|
||||
Option "FingerLow" "3"
|
||||
Option "FingerHigh" "5"
|
||||
Option "FingerPress" "30"
|
||||
Option "MaxTapTime" "100"
|
||||
Option "MaxDoubleTapTime" "150"
|
||||
Option "FastTaps" "1"
|
||||
Option "VertTwoFingerScroll" "1"
|
||||
Option "HorizTwoFingerScroll" "1"
|
||||
Option "TrackstickSpeed" "0"
|
||||
Option "LTCornerButton" "3"
|
||||
Option "LBCornerButton" "2"
|
||||
Option "CoastingFriction" "20"
|
||||
'';
|
||||
};
|
||||
};
|
||||
</pre>
|
||||
|
||||
=== Wireless ===
|
||||
|
||||
System requires iwlwifi-6000g2b-6.ucode in order to work. I've extracted the
|
||||
file from some debian package and placed it into /root/firmware. Corresponding
|
||||
config settings:
|
||||
|
||||
<pre>
|
||||
hardware.firmware = [ "/root/firmware" ];
|
||||
</pre>
|
||||
|
||||
= Problems =
|
||||
There are some. See
|
||||
|
||||
* [http://ubuntuforums.org/showthread.php?t=1737086 Ubuntu thread]
|
||||
* [http://bugzilla.kernel.org/show_bug.cgi?id=44161 Kernel.org bug]
|
||||
* [http://jablonskis.org/2012/linux-and-samsung-series-laptop-9-fn-keys/ jablonskis.org]
|
||||
|
||||
=== BIOS problems ===
|
||||
I had to disable SSD boot completely in order to boot from USB. Just changing boot priority didn't help.
|
||||
|
||||
Fix: Update BIOS up to recent version
|
||||
|
||||
=== Battery ===
|
||||
Battery charging/discharging indicator doesn't work good.
|
||||
|
||||
Fix: Update BIOS up to recent version
|
||||
|
||||
=== Lid ===
|
||||
Acpi thinks lid is always open
|
||||
<pre>
|
||||
[ierton@greyblade:~]$ cat /proc/acpi/button/lid/LID0/state
|
||||
state: open
|
||||
</pre>
|
||||
|
||||
Related [https://bugzilla.kernel.org/show_bug.cgi?id=44161 Kernel bug #44161]
|
||||
|
||||
=== Multimedia keys ===
|
||||
* rfkill/fanless don't work
|
||||
* volume up/down don't work
|
||||
* brightness up/down work, but release is broken
|
||||
* touchpad disable works
|
||||
|
||||
Related discussion on
|
||||
[http://jablonskis.org/2012/linux-and-samsung-series-laptop-9-fn-keys/ jablonskis.org]
|
||||
|
||||
13
samsung/np900x3c/default.nix
Normal file
13
samsung/np900x3c/default.nix
Normal file
@@ -0,0 +1,13 @@
|
||||
{ lib, ... }:
|
||||
with lib;
|
||||
{
|
||||
imports = [ ../lib/kernel-version.nix ];
|
||||
|
||||
services.xserver.synaptics.enable = true;
|
||||
|
||||
kernelAtleast = singleton
|
||||
{ version = "3.9";
|
||||
msg = "Runtime system freezes can be expected on Linux kernels prior to 3.9, probably because of bugs in intel video drivers.";
|
||||
};
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user