daily pastebin goal
25%
SHARE
TWEET

Untitled

a guest Jul 17th, 2017 43 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. GRUB_CMDLINE_LINUX="acpi_osi=Linux"
  2. GRUB_CMDLINE_LINUX="acpi_backlight=vendor"
  3. GRUB_CMDLINE_LINUX="acpi_osi=linux acpi_backlight=vendor"
  4. GRUB_CMDLINE_LINUX="acpi_osi_Linux"
  5.    
  6. $ sudo lshw -C display
  7.   *-display UNCLAIMED    
  8.        description: 3D controller
  9.        product: GK107M [GeForce GT 750M]
  10.        vendor: NVIDIA Corporation
  11.        physical id: 0
  12.        bus info: pci@0000:01:00.0
  13.        version: a1
  14.        width: 64 bits
  15.        clock: 33MHz
  16.        capabilities: pm msi pciexpress bus_master cap_list
  17.        configuration: latency=0
  18.        resources: memory:f6000000-f6ffffff memory:e0000000-efffffff memory:f0000000-f1ffffff ioport:e000(size=128) memory:f7000000-f707ffff
  19.   *-display
  20.        description: VGA compatible controller
  21.        product: 4th Gen Core Processor Integrated Graphics Controller
  22.        vendor: Intel Corporation
  23.        physical id: 2
  24.        bus info: pci@0000:00:02.0
  25.        version: 06
  26.        width: 64 bits
  27.        clock: 33MHz
  28.        capabilities: msi pm vga_controller bus_master cap_list rom
  29.        configuration: driver=i915 latency=0
  30.        resources: irq:50 memory:f7400000-f77fffff memory:d0000000-dfffffff ioport:f000(size=64)
  31.    
  32. GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
  33.    
  34. GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi_osi="
  35.    
  36. sudo emacs /etc/default/grub
  37.    
  38. sudo update-grub
  39.    
  40. acpi_listen.
  41.    
  42. video/brightnessdown BRTDN 00000087 00000000 K
  43. video/brightnessup BRTUP 00000086 00000000 K
  44.    
  45. sudo emacs /etc/acpi/events/asus-keyboard-backlight-down
  46.    
  47. sudo emacs /etc/acpi/events/asus-keyboard-backlight-up
  48.    
  49. echo xx | sudo tee /sys/class/backlight/intel_backlight/brightness
  50.    
  51. sudo emacs /etc/acpi/asus-keyboard-backlight.sh
  52.    
  53. if [ "$1" = down ]; then
  54.     VAL=$((VAL-10))
  55. else
  56.     VAL=$((VAL+10))
  57. fi
  58.    
  59. sudo service acpid restart
  60.    
  61. sudo touch /usr/share/X11/xorg.conf.d/20-intel.conf
  62.  
  63. sudo nano /usr/share/X11/xorg.conf.d/20-intel.conf
  64.    
  65. Section "Device"
  66.         Identifier  "card0"
  67.         Driver      "intel"
  68.         Option      "Backlight"  "intel_backlight"
  69.         BusID       "PCI:0:2:0"
  70. EndSection
  71.    
  72. sudo nano /etc/default/grub
  73.    
  74. GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
  75.    
  76. GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi_osi= acpi_backlight=intel"
  77.    
  78. sudo update-grub
  79.    
  80. sudo nano /etc/acpi/asus-keyboard-backlight.sh
  81.    
  82. MIN=200
  83. MAX=$(cat $KEYS_DIR/max_brightness)
  84. VAL=$(cat $KEYS_DIR/brightness)
  85.  
  86. if [ "$1" = down ]; then
  87.     VAL=$((VAL-800))
  88. else
  89.     VAL=$((VAL+800))
  90. fi
  91.    
  92. sudo evemu-record /dev/input/event3
  93.    
  94. Section "Device"
  95.         Identifier  "card0"
  96.         Driver      "intel"
  97.         Option      "Backlight"  "intel_backlight"
  98.         BusID       "PCI:0:2:0"
  99. EndSection
  100.    
  101. linux-headers-4.9.0-997_4.9.0-997.201611212212_all.deb
  102.   linux-headers-4.9.0-997-generic_4.9.0-997.201611212212_amd64.deb
  103.   linux-image-4.9.0-997-generic_4.9.0-997.201611212212_amd64.deb
  104.    
  105. dpkg -i linux*.deb
  106.    
  107. setkeycodes e012 224
  108.  
  109. setkeycodes e017 225
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top