Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- GRUB_CMDLINE_LINUX="acpi_osi=Linux"
- GRUB_CMDLINE_LINUX="acpi_backlight=vendor"
- GRUB_CMDLINE_LINUX="acpi_osi=linux acpi_backlight=vendor"
- GRUB_CMDLINE_LINUX="acpi_osi_Linux"
- $ sudo lshw -C display
- *-display UNCLAIMED
- description: 3D controller
- product: GK107M [GeForce GT 750M]
- vendor: NVIDIA Corporation
- physical id: 0
- bus info: pci@0000:01:00.0
- version: a1
- width: 64 bits
- clock: 33MHz
- capabilities: pm msi pciexpress bus_master cap_list
- configuration: latency=0
- resources: memory:f6000000-f6ffffff memory:e0000000-efffffff memory:f0000000-f1ffffff ioport:e000(size=128) memory:f7000000-f707ffff
- *-display
- description: VGA compatible controller
- product: 4th Gen Core Processor Integrated Graphics Controller
- vendor: Intel Corporation
- physical id: 2
- bus info: pci@0000:00:02.0
- version: 06
- width: 64 bits
- clock: 33MHz
- capabilities: msi pm vga_controller bus_master cap_list rom
- configuration: driver=i915 latency=0
- resources: irq:50 memory:f7400000-f77fffff memory:d0000000-dfffffff ioport:f000(size=64)
- GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
- GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi_osi="
- sudo emacs /etc/default/grub
- sudo update-grub
- acpi_listen.
- video/brightnessdown BRTDN 00000087 00000000 K
- video/brightnessup BRTUP 00000086 00000000 K
- sudo emacs /etc/acpi/events/asus-keyboard-backlight-down
- sudo emacs /etc/acpi/events/asus-keyboard-backlight-up
- echo xx | sudo tee /sys/class/backlight/intel_backlight/brightness
- sudo emacs /etc/acpi/asus-keyboard-backlight.sh
- if [ "$1" = down ]; then
- VAL=$((VAL-10))
- else
- VAL=$((VAL+10))
- fi
- sudo service acpid restart
- sudo touch /usr/share/X11/xorg.conf.d/20-intel.conf
- sudo nano /usr/share/X11/xorg.conf.d/20-intel.conf
- Section "Device"
- Identifier "card0"
- Driver "intel"
- Option "Backlight" "intel_backlight"
- BusID "PCI:0:2:0"
- EndSection
- sudo nano /etc/default/grub
- GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
- GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi_osi= acpi_backlight=intel"
- sudo update-grub
- sudo nano /etc/acpi/asus-keyboard-backlight.sh
- MIN=200
- MAX=$(cat $KEYS_DIR/max_brightness)
- VAL=$(cat $KEYS_DIR/brightness)
- if [ "$1" = down ]; then
- VAL=$((VAL-800))
- else
- VAL=$((VAL+800))
- fi
- sudo evemu-record /dev/input/event3
- Section "Device"
- Identifier "card0"
- Driver "intel"
- Option "Backlight" "intel_backlight"
- BusID "PCI:0:2:0"
- EndSection
- linux-headers-4.9.0-997_4.9.0-997.201611212212_all.deb
- linux-headers-4.9.0-997-generic_4.9.0-997.201611212212_amd64.deb
- linux-image-4.9.0-997-generic_4.9.0-997.201611212212_amd64.deb
- dpkg -i linux*.deb
- setkeycodes e012 224
- setkeycodes e017 225
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement