← Back to team overview

asus-ul30 team mailing list archive

Re: Asus UL30A - Ubuntu 10.04 - Function Keys

 

Same here on my UL30Vt. I reverted to my previous hack. It's kind of
choppy, but at least it works:

---
# in /etc/asus_brn_down.sh
brightness=$((0x`setpci -s 00:02.0 F4.B`-16));
if [ $brightness -lt 0 ] ; then
       brightness=1;
fi
setpci -s 00:02.0 F4.B=`printf '%x' $brightness`;
---

---
# 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`;
---

Regards,
-C

On Sat, May 1, 2010 at 1:27 PM, Brian Neltner <neltnerb@xxxxxxx> wrote:
> I am not certain what this is supposed to do. It definitely modified the
> behavior, but now the hotkeys simply don't work at all for brightness.
>
> On Sat, 2010-05-01 at 21:15 +0100, Albert Vilella wrote:
>> thanks! ccing to the list.
>>
>> On Sat, May 1, 2010 at 9:10 PM, Paul <weiserp@xxxxxxxxxxx> wrote:
>> > For those of you who are experiencing issues in Ubuntu 10.04 with the
>> > function keys supposed to control screen brightness, there's a solution
>> > to this problem:
>> >
>> > http://ubuntuforums.org/showthread.php?t=1466758
>> >
>> > Just wanted to let you know... Have a good one!
>> >
>> > Paul
>> > --
>> > This message was sent from Launchpad by the user
>> > Paul (https://launchpad.net/~weiserp)
>> > using the "Contact this team" link on the ASUS U/UL Series laptop
>> > team page to each member directly.
>> > For more information see
>> > https://help.launchpad.net/YourAccount/ContactingPeople
>> >
>>
>> _______________________________________________
>> Mailing list: https://launchpad.net/~asus-ul30
>> Post to     : asus-ul30@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~asus-ul30
>> More help   : https://help.launchpad.net/ListHelp
>
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~asus-ul30
> Post to     : asus-ul30@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~asus-ul30
> More help   : https://help.launchpad.net/ListHelp
>



References