Tiny Core Linux
Tiny Core Extensions => TCE Bugs => Topic started by: vivi-d on June 12, 2017, 07:17:45 PM
-
Hello, I really love tinycore. It's has everything I need except for one small thing... I can't increase the brightness of my LCD screen. My laptop is an HP 8460p with an intel video card.
I've loaded the app laptop-mode-tools. However, when I try to run it, I get this error:
Unhandled kernel version: 3.0 ('uname -r' = '3.0.21-tinycore')
Is there some workaround I could use? Anything would help. Thanks!
-
Hi vivi-d
Which version of Tinycore are you running? 3.0.21 is from TC4.
-
Hi, actually I believe it's CorePlus. The md5sum of the iso is bc3680d7d5efa23886205129740001a2
-
I guess you need to modify /usr/local/sbin/laptop_mode to read something like this:
case "$KLEVEL" in
"2.4" ) ;;
"2.6" ) ;;
"3.0" ) ;;
"3.8" ) ;;
"3.16" ) ;;
"4.2" ) ;;
"4.8" ) ;;
*)
-
Hi vivi-d
Hi, actually I believe it's CorePlus. The md5sum of the iso is bc3680d7d5efa23886205129740001a2
That's version 4.7.7. I'm surprised that bug was not noticed until now.
-
laptop-mode-tools adjusted and reposted in tc-4.x x86 repo
-
Thanks for fixing that. I can install laptop-mode-tools now (after installing udev-lib). I still can't change the brightness of my screen. When I look at dmesg I see 'Unknown key pressed e017'. How do I translate these function keys to the commands to brighten the display? :o
-
Is there a kernel module for this for you machine?
What does this give: $ ls /sys/class/backlight
You might need something analagous to this: $ cat /usr/local/share/X11/xorg.conf.d/20-intel.conf
Section "Device"
Identifier "card0"
Driver "intel"
Option "Backlight" "intel_backlight"
BusID "PCI:0:2:0"
EndSection
-
I played around a little with this without laptop-mode-tools in tc-8.x
With my dell e7240, the keyboard button for the keyboard backlight works, but the keyboard button for the screen backlight does not.
Using the Xorg vesa driver:
$ lsmod
Module Size Used by Not tainted
...
video 28672 0
backlight 12288 1 video
...
dell_rbtn 12288 0
...
ac 12288 0
battery 16384 0
$ ls /sys/class/backlight
[nothing]
Using the Xorg modesetting driver: $ tce-load -i graphics-KERNEL
$ lsmod
Module Size Used by Not tainted
..
video 28672 1 i915
backlight 12288 2 i915,video
...
dell_rbtn 12288 0
...
ac 12288 0
battery 16384 0
$ ls /sys/class/backlight
intel_backlight
$ ls /sys/class/backlight/intel_backlight
actual_brightness brightness max_brightness subsystem uevent
bl_power device power/ type
Using the Xorg intel driver: $ tce-load -i xf86-video-intel
$ cat /usr/local/share/X11/xorg.conf.d/20-intel.conf
Section "Device"
Identifier "card0"
Driver "intel"
Option "backlight" "intel_backlight"
BusID "PCI:0:2:0"
EndSection
$ grep back /var/log/Xorg.0.log
[ 3862.009] (**) intel(0): Option "Backlight" "intel_backlight"
[ 3862.009] (**) intel(0): Found backlight control interface intel_backlight (type 'raw') for output eDP1
# echo 500 > /sys/class/backlight/intel_backlight/brightness
[works]
[keyboard buttons for screen backlight do not work]
-
I installed the xf86-video-intel package, but then my screen became all garbled. I think I may need to update my BIOS. It's using a much older version than what is available on HP's site. Unfortunately, I will need to get a hard drive first and install some kind of windows on it. It may take a week or more before I can experiment further... but I really do appreciate your help :)