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

asus-z00t: Make wi-fi work with wcnss-wlan #126

Merged
merged 8 commits into from Apr 13, 2020

Conversation

samueldr
Copy link
Member

@samueldr samueldr commented Apr 10, 2020

The meat of this PR is the wcnss-wlan Mobile NixOS module.

The firmware for asus-z00t has been extracted by myself, from a running system. Some of the firmware bits are in the oem partition on the device, but I'm unable to mount it from the Mobile NixOS system...

Anyway, with this I have the wi-fi network working on boot.


Buried in there, there is the change to boot.initrd.enable = false;, which fixes a couple annoying quirks that came from (ab)using isContainer.


With this PR, comes two patch sets for asus-z00t.

The first simply removes an annoyingly infuriating behaviour of that kernel, where it would forcibly set the firmware load path!!!

The second removes a ton of useless kernel log vomit.

That new option allows us to remove the crutch of pretending to be a
container.

Pretending to be a container had a couple drawbacks, they are now
irrelevant.

The dummy outputs could be re-worked to instead use out own stage-1
infra, but I prefer using dummies for now, for better insulation.
This quirk assumes the firmware has been set appropriately in the NixOS
configuration, using something akin to:

```
  hardware.firmware = [
    pkgs.my-device-firmware
  ];
```
@samueldr samueldr force-pushed the feature/asus-z00t-polishing branch from 942f9cd to be396f4 Compare April 10, 2020 04:24
@samueldr samueldr force-pushed the feature/asus-z00t-polishing branch from d19a0a8 to 640f2d4 Compare April 13, 2020 20:36
@samueldr samueldr changed the title Make wi-fi work with wcnss-wlan asus-z00t: Make wi-fi work with wcnss-wlan Apr 13, 2020
@samueldr samueldr added the 4. type: enhancement New feature or request label Apr 13, 2020
@samueldr samueldr mentioned this pull request Apr 13, 2020
1 task
@samueldr samueldr merged commit d76992c into NixOS:master Apr 13, 2020
@samueldr samueldr deleted the feature/asus-z00t-polishing branch April 13, 2020 21:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4. type: enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant