Last visit was: It is currently 31/10/2014, 7:57


All times are UTC [ DST ]




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: 900X3E Fn keys
PostPosted: 11/10/2013, 20:27 
Newbie
Newbie

Joined: 11/10/2013, 19:16
Posts: 2
I can't get the Fn keys for brightness & keyboard backlight working. Tested on both Debian Wheezy / Jessie and both kernel 3.10 / 3.11 with samsung_laptop loaded.

Fn keys for touchpad, mute, volume +/- work out of the box, also samsung-tools works just fine. samsung_backlight also loads - what is this good for btw?
I can adjust brightness by echoing /sys/class/backlight/acpi_video0/brightness or change the keyboard backlight by echoing /sys/devices/platform/samsung/leds/samsung\:\:kbd_backlight/brightness however not by Fn keys.


The keys themselves seem to be mapped correct, see the Fn+F10 (keyboard backlight +) output for example:
Code:
penguin@debian:/# /lib/udev/keymap -i input/event3
scan code: 0x96   key code: kbdillumup

Code:
penguin@debian:/# xev
KeyPress event, serial 40, synthetic NO, window 0x1200001,
    root 0xaa, subw 0x1200002, time 5809003, (54,41), root:(1000,64),
    state 0x0, keycode 238 (keysym 0x1008ff05, XF86KbdBrightnessUp), same_screen YES,
    XLookupString gives 0 bytes:
    XmbLookupString gives 0 bytes:
    XFilterEvent returns: False

KeyRelease event, serial 40, synthetic NO, window 0x1200001,
    root 0xaa, subw 0x1200002, time 5809003, (54,41), root:(1000,64),
    state 0x0, keycode 238 (keysym 0x1008ff05, XF86KbdBrightnessUp), same_screen YES,
    XLookupString gives 0 bytes:
    XFilterEvent returns: False


I have absolutely no idea where I should look next. Any help appreciated.


Top
 Profile  
 
 Post subject: Re: 900X3E Fn keys
PostPosted: 11/10/2013, 20:50 
Newbie
Newbie

Joined: 27/08/2013, 10:51
Posts: 6
Most important: INSTALL IN CMOS only via BIOS!!!!

if you fail to do this samsung-tools and platform are not loaded by the kernel.

My steps to make it work:

The ********* are for my reference. Don't copy paste them

Code:
sudo nano /lib/udev/keymaps/samsung-900x3e
****************************************************
0xCE prog1              # FN+F1 System Settings
0x89 brightnessdown     # FN+F2 Brightness down
0x88 brightnessup       # FN+F3 Brightness up
0x82 switchvideomode    # FN+F4 Switch video mode
0xF9 f23                # FN+F5 Turn touchpad off
0xA0 mute               # FN+F6 Mute
0xAE volumedown         # FN+F7 Volume down
0xB0 volumeup           # FN+F8 Volume up
0x97 kbdillumdown       # FN+F9 Keyboard backlight down
0x96 kbdillumup         # FN+F10 Keyboard backlight up
0xB3 silentmode         # FN+F11 Silentmode
0xD5 wlan               # FN+F12 WiFi
******************************************************

sudo nano /lib/udev/keymaps/force-release/samsung-900x3e
******************************************************
0xCE # FN+F1 System Settings
0x89 # FN+F2 Brightness down
0x88 # FN+F3 Brightness up
0x82 # FN+F4 Switch video mode
0xF9 # FN+F5 Turn touchpad off
0xA0 # FN+F6 Mute
0xAE # FN+F7 Volume down
0xB0 # FN+F8 Volume up
0x97 # FN+F9 Keyboard backlight down
0x96 # FN+F10 Keyboard backlight up
0xB3 # FN+F11 Silentmode
0xD5 # FN+F12 WiFi
*******************************************************

sudo nano /lib/udev/rules.d/95-keymap.rules
#add
*******************************************************
ENV{DMI_VENDOR}=="[sS][aA][mM][sS][uU][nN][gG]*", ATTR{[dmi/id]product_name}=="*900X3E*", RUN+="keymap $name samsung-900x3e"
*******************************************************

sudo nano /lib/udev/rules.d/95-keyboard-force-release.rules

#add
*******************************************************
ENV{DMI_VENDOR}=="[sS][aA][mM][sS][uU][nN][gG]*", ATTR{[dmi/id]product_name}=="*900X3E*", RUN+="keyboard-force-release.sh $devpath samsung-900x3e"
*******************************************************

sudo reboot

sudo add-apt-repository ppa:voria/ppa
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install samsung-tools


Top
 Profile  
 
 Post subject: Re: 900X3E Fn keys
PostPosted: 11/10/2013, 21:44 
Newbie
Newbie

Joined: 11/10/2013, 19:16
Posts: 2
Thanks, I did all this already though.

seabird wrote:
Most important: INSTALL IN CMOS only via BIOS!!!!
if you fail to do this samsung-tools and platform are not loaded by the kernel.
It is a standard BIOS installation. As mentioned above samsung_laptop, samsung_backlight is loaded and samsung-tools works just fine.


I'm using the same udev mapping as you posted. Here you can verify the keymap is indeed loaded:
Code:
penguin@debian:/# /lib/udev/keymap -i input/event3
Press ESC to finish, or Control-C if this device is not your primary keyboard
scan code: 0xCE   key code: prog1
scan code: 0x89   key code: brightnessdown
scan code: 0x88   key code: brightnessup
scan code: 0x82   key code: switchvideomode
scan code: 0xF7   key code: f22
scan code: 0xA0   key code: mute
scan code: 0xAE   key code: volumedown
scan code: 0xB0   key code: volumeup
scan code: 0x97   key code: kbdillumdown
scan code: 0x96   key code: kbdillumup
scan code: 0xB3   key code: prog3
scan code: 0xD5   key code: wlan
This is taken directly from the console.


If running from xterm I witness some weird autoscrolling behavior as if some "ghost" keys a pressed automatically:
Code:
penguin@debian:/# /lib/udev/keymap -i input/event3
Press ESC to finish, or Control-C if this device is not your primary keyboard




scan code: 0xCE   key code: prog1



scan code: 0x89   key code: brightnessdown



scan code: 0x88   key code: brightnessup



scan code: 0x82   key code: switchvideomode



scan code: 0xF7   key code: f22



scan code: 0xA0   key code: mute



scan code: 0xAE   key code: volumedown



scan code: 0xB0   key code: volumeup



scan code: 0x97   key code: kbdillumdown



scan code: 0x96   key code: kbdillumup



scan code: 0xB3   key code: prog3



scan code: 0xD5   key code: wlan



scan code: 0x01   key code: esc



penguin@debian:/#
penguin@debian:/#
penguin@debian:/#
penguin@debian:/#
penguin@debian:/#
penguin@debian:/#
penguin@debian:/#
penguin@debian:/#
penguin@debian:/#
penguin@debian:/#
penguin@debian:/#
penguin@debian:/#



Do you get the same behavior on your box? Are your Fn keys working on the console (Ctrl+Alt+F1) too?


Top
 Profile  
 
 Post subject: Re: 900X3E Fn keys
PostPosted: 29/01/2014, 13:56 
Newbie
Newbie

Joined: 29/01/2014, 13:52
Posts: 1
Hi,

I have the ativ book 9 lite (NP905S3G) with ubuntu 12.04 LTS (64-bit) installed.

All the fn keys work except the screen brightness F2 and F3 buttons.

Any help would be appreciated!


Top
 Profile  
 
 Post subject: Re: 900X3E Fn keys
PostPosted: 07/06/2014, 3:17 
Newbie
Newbie

Joined: 07/06/2014, 2:44
Posts: 4
I just found this. With proper adjustments to your respective cases, it might work:
http://forums.linuxmint.com/viewtopic.php?f=49&t=155225.
Does this solve the issue?

I'm highly tempted of buying a Samtung Ativ 8 (870Z5G) and this is one of the few issues keeping me finally doing it.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Theme created StylerBB.net & kodeki