Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

linux_samus_4_11: init at 4.11.1 #26038

Closed
wants to merge 1 commit into from
Closed

linux_samus_4_11: init at 4.11.1 #26038

wants to merge 1 commit into from

Conversation

zohl
Copy link
Contributor

@zohl zohl commented May 23, 2017

This patch contains an expression for linux-samus kernel [1].

I've been using it for a few days and had no major problems so far.
Specific lines in configuration.nix the one might want to add are the following:

services.xserver.wacom.enable = true;
services.xserver.synaptics.enable = true;

boot.initrd.kernelModules = [ "i915" ];

boot.extraModprobeConfig = ''
  options snd_soc_sst_bdw_rt5677_mach index=0
  options snd-hda-intel index=1
'';

The sound can be controlled by the following instructions (without -D pulse as in original instruction):

amixer -q sset Master toggle
amixer -q sset Master 5%-
amixer -q sset Master 5%+

I have a problem with suspension: the led doesn't change it's colors and the touchscreen stops working after wake-up.
mxt-app doesn't seem to help here, so I turned it off:

services.logind.extraConfig = ''
  HandleLidSwitch = ignore
''

PS. I don't think we should build it in hydra, since there is not so many users and the build process takes about one hour on this laptop.
PPS. And again, many thanks to @abbradar for assistance in this pr!

[1] https://github.com/raphael/linux-samus

Co-authored-by: Nikolay Amiantov <ab@fmap.me>
@makefu
Copy link
Contributor

makefu commented Jul 18, 2017

Any reason not to include this pr? I think it would be nice to have some how-to on how to actually install NixOS with the kernel on the Pixel

@Mic92 Mic92 closed this in 0b3d29d Jul 18, 2017
@Mic92
Copy link
Member

Mic92 commented Jul 18, 2017

I upgraded the kernel to 4.12. I only could tested it in a vm due lack of the original hardware.

@Mic92
Copy link
Member

Mic92 commented Jul 18, 2017

You might want to add your nixos snippets to https://github.com/NixOS/nixos-hardware/
to help other users (including setting the special kernel).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants