diff options
author | Alyssa Ross <hi@alyssa.is> | 2019-01-07 16:23:40 +0000 |
---|---|---|
committer | Alyssa Ross <hi@alyssa.is> | 2019-01-07 16:24:02 +0000 |
commit | 8c0790eb6095ef59a9623596f5794d250b95c699 (patch) | |
tree | 4801e46054b433e786e15d030b6cab991d8a6724 /modules/nixos-hardware/samsung/np900x3c | |
parent | 36f56d99fa0a0765c9f1de4a5f17a9b05830c3f2 (diff) | |
parent | 99cdc883064ac5a1b9e189d3500a809616e79765 (diff) | |
download | nixlib-8c0790eb6095ef59a9623596f5794d250b95c699.tar nixlib-8c0790eb6095ef59a9623596f5794d250b95c699.tar.gz nixlib-8c0790eb6095ef59a9623596f5794d250b95c699.tar.bz2 nixlib-8c0790eb6095ef59a9623596f5794d250b95c699.tar.lz nixlib-8c0790eb6095ef59a9623596f5794d250b95c699.tar.xz nixlib-8c0790eb6095ef59a9623596f5794d250b95c699.tar.zst nixlib-8c0790eb6095ef59a9623596f5794d250b95c699.zip |
Add 'modules/nixos-hardware/' from commit '99cdc883064ac5a1b9e189d3500a809616e79765'
git-subtree-dir: modules/nixos-hardware git-subtree-mainline: 36f56d99fa0a0765c9f1de4a5f17a9b05830c3f2 git-subtree-split: 99cdc883064ac5a1b9e189d3500a809616e79765
Diffstat (limited to 'modules/nixos-hardware/samsung/np900x3c')
-rw-r--r-- | modules/nixos-hardware/samsung/np900x3c/README.wiki | 94 | ||||
-rw-r--r-- | modules/nixos-hardware/samsung/np900x3c/default.nix | 7 |
2 files changed, 101 insertions, 0 deletions
diff --git a/modules/nixos-hardware/samsung/np900x3c/README.wiki b/modules/nixos-hardware/samsung/np900x3c/README.wiki new file mode 100644 index 000000000000..e9fc58b8613b --- /dev/null +++ b/modules/nixos-hardware/samsung/np900x3c/README.wiki @@ -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] + diff --git a/modules/nixos-hardware/samsung/np900x3c/default.nix b/modules/nixos-hardware/samsung/np900x3c/default.nix new file mode 100644 index 000000000000..ced3d7013dd8 --- /dev/null +++ b/modules/nixos-hardware/samsung/np900x3c/default.nix @@ -0,0 +1,7 @@ +# TODO: use ../../common/pc/laptop + +{ lib, ... }: + +{ + services.xserver.synaptics.enable = lib.mkDefault true; +} |