ii just installed lmde updated everything and installed eeepc-acpi-tools and edited the scripts in there like i used to do in ubuntu however as it seems these scripts don't work in lmde somehow. as i ran a search through the forum i already found people who solved this problem. so i would really appreciate your help and especially i would prefer to stay on mint and dont swap back to ubuntu as i find the layout much more convenient here.
the scripts in /etc/acpi which i changed if they are needed.
asus-brn-down.sh
#!/bin/sh
test -f /usr/share/acpi-support/key-constants || exit 0
. /usr/share/acpi-support/key-constants
# DeviceConfig
if [ "$model" != "701" ] ; then
# On an Eee PC (ASUSTeK model 701) the keys in the range handled by this
# script have entirely different meanings. They are handled in separate
# scripts.
acpi_fakekey $KEY_BRIGHTNESSUP
fi
# added per http://forum.notebookreview.com/showpost.php?p=5665108&postcount=1235
#brightness=`echo $3 | sed 's/0000001//'`
#setpci -s 00:02.0 F4.B=${brightness}f
# added per mailing list post
# in /etc/asus_brn_up.sh
brightness=$((0x`setpci -s 00:02.0 F4.B`+16));
if [ $brightness -gt $((0xff)) ] ; then
brightness=$((0xff));
fi
setpci -s 00:02.0 F4.B=`printf '%x' $brightness`;
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason:Topic automatically closed 6 months after creation. New replies are no longer allowed.
i have ul50vt and the only way to do this was to go into the bios and set the ide to compatibility (i know it sounds crazy) and install the nvidia propriety drivers not the open source driver as its poor.
i tried it once in mint 9 and it worked but the laptop some how felt sluggish.
ibm450@lm10gnome ~ $ inxi -G
Graphics: Card-1 Intel Mobile 4 Series Chipset Integrated Graphics Controller Card-2 nVidia GT218 [GeForce G210M] X.Org 1.9.0 Res: 1366x768@60.0hz
LX Renderer Mesa DRI Mobile Intel® GM45 Express Chipset GEM 20100330 DEVELOPMENT GLX Version 2.1 Mesa 7.9-devel
to be honest, i only stick to the intel gpu as its far more reliable and laptop runs cooler and compiz is so much smoother then the nvidia
HP EILITE FOLIO 9470M i7-3667u x 4 GitHub: tolgaerok
thanks for the reply but i would rather prefer to use the intel graphics as it uses less energy and i have the nvidia anyways disabled. hope there is a way to use the function keys with the intel graphics. but i am wondering why it works in ubuntu and not in mint or rather debian, i thought they are rather similar and also the standard scripts in ubuntus /etc/acpi are the same as in mint debian after installing eeepc-acpi-tools so i thought the patches should work but don't work partially. well anyway do those keys work somehow in "normal" mint, so i could at least try applying them?
EDIT:
so how are you changing the brightness of your laptop's screen then?
krushaaa wrote:thanks for the reply but i would rather prefer to use the intel graphics as it uses less energy and i have the nvidia anyways disabled. hope there is a way to use the function keys with the intel graphics. but i am wondering why it works in ubuntu and not in mint or rather debian, i thought they are rather similar and also the standard scripts in ubuntus /etc/acpi are the same as in mint debian after installing eeepc-acpi-tools so i thought the patches should work but don't work partially. well anyway do those keys work somehow in "normal" mint, so i could at least try applying them?
EDIT:
so how are you changing the brightness of your laptop's screen then?
i adjust the brightness at the Grub menu, meaning that before i enter into the distro of choice, i use the FN+ brightness - i think thats when the system is displaying in VGA mode - or adjust the brightness slider in the power management to your choice and allow the laptop to sleep and when laptop wakes up from sleep the brightness is then adjusted to the setting -- bloody stupid and crazy i know
the brightness FN keys NEVER worked for me while in Intel mode on ANY Ubuntu based distros, including all flavors of mint to date
HP EILITE FOLIO 9470M i7-3667u x 4 GitHub: tolgaerok
i adjust the brightness at the Grub menu, meaning that before i enter into the distro of choice, i use the FN+ brightness - i think thats when the system is displaying in VGA mode - or adjust the brightness slider in the power management to your choice and allow the laptop to sleep and when laptop wakes up from sleep the brightness is then adjusted to the setting -- bloody stupid and crazy i know
its a bloody difficult method, the one i use currently is way easier
hey a little update i rewrote those 2 scripts, so i can use them from terminal. now I/U/WE need to add them to the Fn+F6/F7 keys.
should work with intel graphics
ok found a way to make Krushaaascripts to work with my FN keys (ASUS UL50VT - intel gpu (Natty 11.04 this should also work in mint 11 as mint 11 is based on 11.04) although theres no need for the echo of the brightness values in the method-
my FN keys are:
FN+F5 = brightness down
FN+F6 = brightness up
simply copy & past the scripts at the end of the following asus-brn-up and asus-brn-down files as root admin located in
#!/bin/sh
test -f /usr/share/acpi-support/key-constants || exit 0
. /usr/share/acpi-support/key-constants
DeviceConfig
if [ "$model" != "701" ] ; then
# On an Eee PC (ASUSTeK model 701) the keys in the range handled by this
# script have entirely different meanings. They are handled in separate
# scripts.
acpi_fakekey $KEY_BRIGHTNESSUP
fi
#!/bin/bash
#echo Scrn bright: 0x`sudo setpci -s 00:02.0 F4.B`
bright=$((0x`sudo setpci -s 00:02.0 F4.B`));
#echo bright: $bright
#echo bright: 0x`printf "%X" $bright`
if [ $bright -lt 239 ]
then
#increase brightness
bright=$((0x`sudo setpci -s 00:02.0 F4.B`+16));
#sh brn.sh `printf "%X" $bright`
fi
echo brightness: 0x`printf "%X" $bright`
#new brgihtness will be set
sudo setpci -s 00:02.0 F4.B=`printf "%X" $bright`
HP EILITE FOLIO 9470M i7-3667u x 4 GitHub: tolgaerok
glad it works for you and you can even use the Fn keys, but for me as i use LMDE and not mint 11, adding the scripts unfortunately does not change anything. as the F5=brightness down and F6=brightness up are recognised by acpi and the screen splash changes but unfortunately the brightness does not and also it changes by 2 increments/decrements rather than just one. i just need a way to get those keys connected to my scripts. OR i will install ubuntu 11.04 again, as i don't like the way you need to upgrade "normal" mint.
that is certainly true however the debian edition of mint somewhat does not connect the action of the scripts could you possibly paste your complete scripts for brn-up/down and also would it be possible to get a complete list of all in mint 10 installed programs somewhere?