Backlightcontrol on Samsung N210/N220 Archlinux dont work

Discussions about Linux installation and configuration on Samsung laptops
greeny
Newbie
Newbie
Posts: 2
Joined: 25/11/2010, 13:04

Backlightcontrol on Samsung N210/N220 Archlinux dont work

Postby greeny » 25/11/2010, 13:24

Hi,

My brightnesscontrolkeys dont work with samsung-tools other hotkeys works fine for me..

acpi is installed...
i can change the brightness with : setpci -s 00:02.0 f4.b=ff
but the hotkeys will not work ....

Also Samsung-backlight is supportet
# dmesg | grep Samsung
Samsung-backlight: checking for SABI support.
Samsung-backlight: SABI is supported (f51fb)

xev has this output if i press fn+up/down:

KeyRelease event, serial 39, synthetic NO, window 0x1000001,
root 0xaa, subw 0x0, time 8861190, (169,-8), root:(315,13),
state 0x0, keycode 233 (keysym 0x1008ff02, XF86MonBrightnessUp), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False

KeyPress event, serial 39, synthetic NO, window 0x1000001,
root 0xaa, subw 0x0, time 8861797, (169,-8), root:(315,13),
state 0x0, keycode 232 (keysym 0x1008ff03, XF86MonBrightnessDown), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False



I think its a problem of xbindkeys but i have no idea....
can anyone help me? if the hotkeys for brightness will work i could finally use archlinux

Regards,

greeny

greeny
Newbie
Newbie
Posts: 2
Joined: 25/11/2010, 13:04

Re: Backlightcontrol on Samsung N210/N220 Archlinux dont wo

Postby greeny » 25/11/2010, 16:39

Hey, i have done it with:

Code: Select all

"amixer sset Master 2+ &"
    m:0x0 + c:176
"amixer sset Master 2- &"
    m:0x0 + c:174
#"amixer sset Master 0 &"
"amixer sset Master toggle &"
    m:0x0 + c:160
#"sudo pm-suspend"
#    m:0x0 + c:223
"xbacklight +20"
    m:0x0 + c:233
"xbacklight -10"
    m:0x0 + c:232

in .xbindkeysrc

then run:
xbindkeys

and have fun^^


Return to “Linux On My Samsung”

Who is online

Users browsing this forum: Baidu [Spider], Google Adsense [Bot] and 1 guest