-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
a3u: more reliable brightness control pwm
- Loading branch information
1 parent
531301a
commit 32bd33e
Showing
2 changed files
with
22 additions
and
1 deletion.
There are no files selected for viewing
21 changes: 21 additions & 0 deletions
21
systems/atom_x86_with_32bit_uefi/extra-files/etc/initramfs-tools/modules
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# List of modules that you want to include in your initramfs. | ||
# They will be loaded at boot time in the order below. | ||
# | ||
# Syntax: module_name [args ...] | ||
# | ||
# You must run update-initramfs(8) to effect this change. | ||
# | ||
# Examples: | ||
# | ||
# raid1 | ||
# sd_mod | ||
|
||
# those lines together with the grub kernel cmdline options: | ||
# rd.driver.blacklist=i915 rd.driver.blacklist=drm rd.driver.blacklist=drm_kms_helper | ||
# make sure that the backlight pwmgets loaded before the drm | ||
# stuff - this should avoid errors like: | ||
# [drm] *ERROR* Failed to get the SoC PWM chip | ||
# resulting in the backlight brightness not being controllable | ||
i2c-designware-pci | ||
pwm_lpss | ||
pwm_lpss_platform |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#!/bin/bash | ||
|
||
# add some extra options to the kernel cmdline | ||
sed -i 's,GRUB_CMDLINE_LINUX="",GRUB_CMDLINE_LINUX="rootwait fsck.repair=yes net.ifnames=0 ipv6.disable=1 systemd.gpt_auto=0 i915.enable_rc6=1 i915.enable_fbc=1 fbcon=rotate:1 intel_idle.max_cstate=2",g' /etc/default/grub | ||
sed -i 's,GRUB_CMDLINE_LINUX="",GRUB_CMDLINE_LINUX="rootwait fsck.repair=yes net.ifnames=0 ipv6.disable=1 systemd.gpt_auto=0 i915.enable_rc6=1 i915.enable_fbc=1 fbcon=rotate:1 intel_idle.max_cstate=2 rd.driver.blacklist=i915 rd.driver.blacklist=drm rd.driver.blacklist=drm_kms_helper",g' /etc/default/grub |