Skip to content

Commit

Permalink
a3u: more reliable brightness control pwm
Browse files Browse the repository at this point in the history
  • Loading branch information
hexdump0815 committed Aug 11, 2021
1 parent 531301a commit 32bd33e
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
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
2 changes: 1 addition & 1 deletion systems/atom_x86_with_32bit_uefi/grubconfig.sh
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

0 comments on commit 32bd33e

Please sign in to comment.