Skip to content

Instantly share code, notes, and snippets.

@hernad
Last active December 18, 2015 18:39
Show Gist options
  • Save hernad/5827143 to your computer and use it in GitHub Desktop.
Save hernad/5827143 to your computer and use it in GitHub Desktop.
inspiron 5521r
# Fan control
hernad@hernad-Inspiron-5521:~$ cat /etc/i8kmon.conf
# Run as daemon, override with --daemon option
set config(daemon) 1
# Automatic fan control, override with --auto option
set config(auto) 1
# Report status on stdout, override with --verbose option
set config(verbose) 1
# Status check timeout (seconds), override with --timeout option
set config(timeout) 30
# Temperature threshold at which the temperature is displayed in red
set config(t_high) 75
# Temperature thresholds: {fan_speeds low_ac high_ac low_batt high_batt}
#set config(0) {{0 0} -1 60 -1 55}
#set config(1) {{0 1} 50 70 50 60}
#set config(2) {{0 2} 60 80 55 125}
#set config(3) {{0 2} 70 128 10 128}
set config(0) {{- 0} -1 60 -1 55}
set config(1) {{- 1} 50 70 55 70}
set config(3) {{- 2} 70 128 70 128}
------------
hernad@hernad-Inspiron-5521:~$ cat /etc/default/i8kmon
# /etc/default/i8kmon
# Change to one to enable i8kmon
ENABLED=0
---------------
root@hernad-Inspiron-5521:~# cat /etc/modprobe.d/i8k.conf
options i8k force=1
hernad@hernad-Inspiron-5521:~$ cat /etc/modules
loop
lp
rtc
--------------------
hernad@hernad-Inspiron-5521:~$ cat /etc/rc.local
#!/bin/sh -e
#
# rc.local
#
# rc.local se na kraju pokazao najsigurniji
/sbin/modprobe i8k
/usr/bin/i8kmon -d&
exit 0
# Brightness control
Na 12.10 (kernel 3.5) radi bez problema, radi i na centos 6.4 (2.6.x), na 13.04, F19 ne radi (očigledno do kernela 3.8.x , 3.9.x
ovo je glavni bug vezan za ovo:
https://bugs.launchpad.net/dell-sputnik/+bug/1169376
ranije zabilješke:
http://askubuntu.com/questions/289171/brightness-controls-not-working-on-a-dell-inspiron-n4010-laptop
http://askubuntu.com/questions/15169/dell-inspiron-n5010-brightness-issue
http://askubuntu.com/questions/9047/cant-adjust-brightness-on-my-laptop
root@hernad-Inspiron-5521:~# ls /sys/class/backlight/acpi_video0/power/runtime_enabled
/sys/class/backlight/acpi_video0/power/runtime_enabled
root@hernad-Inspiron-5521:~# cat /sys/class/backlight/acpi_video0/power/runtime_enabled
disabled
root@hernad-Inspiron-5521:~# cat /sys/class/backlight/intel_backlight/power/runtime_enabled
disabled
root@hernad-Inspiron-5521:~# cat /sys/class/backlight/acpi_video0/power/
async runtime_active_kids runtime_status
autosuspend_delay_ms runtime_active_time runtime_suspended_time
control runtime_enabled runtime_usage
root@hernad-Inspiron-5521:~# cat /sys/class/backlight/acpi_video0/power/runtime_usage
0
root@hernad-Inspiron-5521:~# cat /sys/class/backlight/intel_backlight/power/runtime_usage
0
gksu gedit /etc/default/grub
----------------------------
> acpi_backlight=vendor
# ovo sa grub ne radi (probao na mint 15 - ne boota se sistem upošte)
sudo update-grub
kernel 3.8.x bug
#posvijetli sa konzole:
sudo bash -c "echo 3500 > /sys/class/backlight/intel_backlight/brightness"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment