Brightnessadjustment on Samsung X120

Discussions about Linux installation and configuration on Samsung laptops
Dudeness
Newbie
Newbie
Posts: 3
Joined: 13/06/2010, 11:45

Brightnessadjustment on Samsung X120

Postby Dudeness » 13/06/2010, 11:55

Hello there,

just registrated with my first question here.

Short facts:

Samsung X120
Distro:2.6.33-ARCH

I installed samsung tools. Now i can switch on/off Backlight, Bluetooth, Fan Adjustment works, Webcam can be switched on/off and the Wireless Card switcher works - but not Using the FN-Key! The FN Key dont seems to work :(

What suggestions do you have to mute or adjust the loudness?
And how will i be able to control the brightness manually?

Maybe someone had the same issues?

Regards!

User avatar
voRia
Administrator
Administrator
Posts: 1378
Joined: 12/02/2009, 18:08
Location: Italy
Contact:

Re: Brightnessadjustment on Samsung X120

Postby voRia » 17/06/2010, 14:51

Hi,
please use the 'xev' command line utility to check if your FN keys are correctly recognized.
If they are not, add your model to the array of samsung models in '/lib/udev/rules.d/95-keymap.rules' and '/lib/udev/rules.d/95-keyboard-force-release.rules', then reboot and recheck.

If keys are recognized by 'xev', then probably you have some dependencies missing for samsung-tools... how did you install it on your arch box?

There is now a PKGBUILD on AUR, try using it. ;)
Image
Please consider a little donation to keep the 'Linux On My Samsung' project up and running. Thank you!

Dudeness
Newbie
Newbie
Posts: 3
Joined: 13/06/2010, 11:45

Re: Brightnessadjustment on Samsung X120

Postby Dudeness » 19/06/2010, 10:22

Hey there,

there is no xev event recognized when pushing fn+brighness up n down.

Code: Select all

xev | grep -A2 --line-buffered '^KeyRelease' | sed -n '/keycode /s/^.*keycode \([0-9]*\).* (.*, \(.*\)).*$/\1 \2/p'


Due to the fact that samsung tools only work without pushing fn.

Then i tried:

Code: Select all

[steffen@x120 ~]$ dmesg|tail -5
atkbd.c: Use 'setkeycodes e009 <keycode>' to make it known.
atkbd.c: Unknown key pressed (translated set 2, code 0x88 on isa0060/serio0).
atkbd.c: Use 'setkeycodes e008 <keycode>' to make it known.
atkbd.c: Unknown key pressed (translated set 2, code 0x89 on isa0060/serio0).
atkbd.c: Use 'setkeycodes e009 <keycode>' to make it known.



but now i dont know how to go on.

how do i find out the value to add my model to the udev rules?

Sorry i m not very linuxish :(

I installed samsung-tools from aur.

Regards

User avatar
voRia
Administrator
Administrator
Posts: 1378
Joined: 12/02/2009, 18:08
Location: Italy
Contact:

Re: Brightnessadjustment on Samsung X120

Postby voRia » 30/06/2010, 14:44

Use this command to get the exact name of your model:

Code: Select all

dmidecode -s system-product-name
Then add it to the Samsung models' array in the udev files '/lib/udev/rules.d/95-keymap.rules' and '/lib/udev/rules.d/95-keyboard-force-release.rules'.
Image
Please consider a little donation to keep the 'Linux On My Samsung' project up and running. Thank you!

Dudeness
Newbie
Newbie
Posts: 3
Joined: 13/06/2010, 11:45

Re: Brightnessadjustment on Samsung X120

Postby Dudeness » 01/10/2010, 16:47

Hey,

have done everything u said but nothing changed.

But i get some graphical output (see attachment) when i push brrightness fn keys but no keycode is recognized.

By pushing fn keys for volume i get keycodes but nothing happens

123 XF86AudioRaiseVolume
122 XF86AudioLowerVolume

Any idea how to go on?

Greetz

Edit:

added

kernel /vmlinuz26 root=/dev/disk/by-uuid/5ce5cb6f-c094-4c82-b768-5f30abd4c656 rw vga=773 acpi_backlight=vendor

to grub. Reboot -> the attached gui disappeared. :/


Return to “Linux On My Samsung”

Who is online

Users browsing this forum: Yahoo [Bot] and 3 guests