Brightnessadjustment on Samsung X120

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

Brightnessadjustment on Samsung X120

Post by Dudeness »

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: 1383
Joined: 12 Feb 2009, 18:08
Location: Italy
Contact:

Re: Brightnessadjustment on Samsung X120

Post by voria »

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 Jun 2010, 11:45

Re: Brightnessadjustment on Samsung X120

Post by Dudeness »

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: 1383
Joined: 12 Feb 2009, 18:08
Location: Italy
Contact:

Re: Brightnessadjustment on Samsung X120

Post by voria »

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 Jun 2010, 11:45

Re: Brightnessadjustment on Samsung X120

Post by Dudeness »

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. :/
Post Reply