Let's add support to other Samsung netbooks

Discussions about Linux installation and configuration on Samsung laptops
User avatar
voria
Administrator
Administrator
Posts: 1383
Joined: 12 Feb 2009, 18:08
Location: Italy
Contact:

Re: Let's add support to other Samsung netbooks

Post by voria »

The new packages are building right now. They will be available in a few hours.
Changelogs:

Code: Select all

linux (2.6.31-19.57~ppa2~loms~karmic) karmic; urgency=low
  ...
  * Fix FN keys release on Samsung N120, N130, N140, N310, N510, X120.
  * Apply 'libata-ata_piix-clear-spurious-IRQ.patch' to fix the
    SATA freezing problem on Samsung N130/N140.

Code: Select all

udev (147~-6.2~ppa8~loms~karmic) karmic; urgency=low

  * Add Samsung N510 support to '95-keymap.rules'.
Image
Please consider a little donation to keep the 'Linux On My Samsung' project up and running. Thank you!
Julian2010
Supporter
Supporter
Posts: 50
Joined: 01 Feb 2010, 22:08

Re: Let's add support to other Samsung netbooks

Post by Julian2010 »

Thanks a lot.
I edited the file you mentioned and rebooted.
I tried the Fn/F2 combination (battery level): the icon appeared on the screen, and a window I was unable to close (self-repeating).
I tried the Fn/Brightness up, the icon appeared on the screen for some time (nothing changed for brightness itself, of course)
Moreover, the whole keyboard became unresponsive,I could not even close the terminal where xev was opened and I was even unable to answer your message and no way to stop the netbook when clicking on the stop button in the menu .
I had to stop through the on/off button (not good at all for the HDD...).
This message come from my desktop machine..
So I guess N510 has the same Fn_key_release problem.
I hope I am able to restart my netbook and undo the editing...
User avatar
voria
Administrator
Administrator
Posts: 1383
Joined: 12 Feb 2009, 18:08
Location: Italy
Contact:

Re: Let's add support to other Samsung netbooks

Post by voria »

Just suspend (Fn-Esc) then resume the machine to unlock the stuck keys (well, this works on other models).
You can easily undo the changes, just don't use any Fn key in the meanwhile.

Please test the new kernel as soon as it's available, and let me know if the keys start to work correctly.
Image
Please consider a little donation to keep the 'Linux On My Samsung' project up and running. Thank you!
Julian2010
Supporter
Supporter
Posts: 50
Joined: 01 Feb 2010, 22:08

Re: Let's add support to other Samsung netbooks

Post by Julian2010 »

I had first to remove N510 from the /lib/udev/rules.d/95-keymap.rules.
That's what I did, checking no | or * was missing, closing the file with modification, restarting the machine, logging..
I checked that the non-working Fn keys where again non-working: OK
I checked that the working Fn keys still worked:OK again.
Then comes the nightmare : the keyboard assignation has been completely modified, although I do not even know how this could be ever done!
My keyboard is (well, was..) a french keyboard.
Instead of azertyuiop
it reads azerty456*
Instead of qsdfghjklmù
it reads qsdfgh123-"blank"
So, some 6 letters are gone and replaced by figures that remain available in the upper row of the keyboard.
I am then unable to enter any password in gaphical mode, an a sudo apt-get becomes s4d6 a*t-get.
Of course, same happens if I type anything in OpenOffice...
Checking directly with the file navigator in the 95-keymap.rules shows that N510 is no more in the SAMSUNG vendor list, which is correct.
I wuold like first to get my keyboard work as it used to.
Any idea of what happened, and how to go back to the ab-origine situation?Thanks.
User avatar
voria
Administrator
Administrator
Posts: 1383
Joined: 12 Feb 2009, 18:08
Location: Italy
Contact:

Re: Let's add support to other Samsung netbooks

Post by voria »

You have the NumLock enabled.
Press Fn-F11 to disable it.
Image
Please consider a little donation to keep the 'Linux On My Samsung' project up and running. Thank you!
Julian2010
Supporter
Supporter
Posts: 50
Joined: 01 Feb 2010, 22:08

Re: Let's add support to other Samsung netbooks

Post by Julian2010 »

You perfectly understood I was quite stupid at times...
Well the N510 is missing a LED telling NumLock is ON, as there is one for the CapsLock!
I installed 2.6.31-19.57 as requested.
I did not understand how and where to find the new udev you mentioned.Omitted then that step.
Failure to find the NVIDIA pilot during the process of building.
GRUB correct (on top now is 2.6.31-19 [generic]
Booting on 2.6.31-19: starts in low graphic mode (as expected following the abovementioned failure).
Installing again the nvidia GRAPHICS: no f&ailrue during install.
Editing the 95-keymap.rules file to include N510 in the SAMSUNG line (assuming this was the only modification you made for the "new" udev), t henclosing and booting again on 2.6.31.19.
Xserver is happy, back to the 1368 *768 screen.
What I had time to test only:
FN/F2: works in my opinion, the battery info. icon appears on the screen for approx. 5 seconds and then disappears.
If maintaining Fn down I type (exemple) 4 times on F2 , the battery icon will appear 4 times for 5 seconds each.The information displayed in this icon matches the one displayed when pointing the battery symbol in the menu.
Fn / Brightness up and down : displays the correct icon,From 0 to the maximum (those included) 7 brightness levels are available.
As you mentioned earlier, this makes no change to the real screen brightness.
Fn/F4 and Fn/F5: nothing happens
What else do you want me to test?
Thanks a lot for what you are doing.
User avatar
voria
Administrator
Administrator
Posts: 1383
Joined: 12 Feb 2009, 18:08
Location: Italy
Contact:

Re: Let's add support to other Samsung netbooks

Post by voria »

Julian2010 wrote:You perfectly understood I was quite stupid at times...
Hehe, it happens to everybody from time to time ;)
Julian2010 wrote: I did not understand how and where to find the new udev you mentioned.Omitted then that step.
Just perform a system update after the repository addition, and 'udev' will be automatically updated to the latest version.
Julian2010 wrote: What else do you want me to test?
Please test all the FN keys (by the way, are you using my scripts?). Also, please check with 'xev' command line utility if the non-working FN keys are actually recognized.
Image
Please consider a little donation to keep the 'Linux On My Samsung' project up and running. Thank you!
Julian2010
Supporter
Supporter
Posts: 50
Joined: 01 Feb 2010, 22:08

Re: Let's add support to other Samsung netbooks

Post by Julian2010 »

Hello,
I installed the samsung-scripts on my N510 but did not yet tested them not knowing if anything special for the N510 had to be done before.Please let me know if needed.
I only checked via Compiz/Commands that 6 command lines had been created.
FN/Fx tests:
Fn/F2: battery status display: OK.Not a toggle action.Displays battery status for 5 seconds.
Fn/F3: no action in OpenOfficeWriter (should type the Euro symbol)
Fn/F4: no action, but I did not connect a VGA display, so test status is in fact "not tested".Can be done later on if this can help other users.
Fn/F5: Sceen ON/OF (or backlight if prefered): no action
Fn/F6: Sound ON/OFF: OK, as before
Fn/F7: Bluetooth ON/OFF: OK.Toggle action.The displayed status matches the one appearing in the menu bar (which is highlighted when ON and shaded when OFF).I never linked however any bluetooth device with my N510..The blue symbol on the F7 key is a Red Cross bag.
Fn/F8: processor speed ("runner"): no action.I control this through the ad-hoc applet in the menu.
Fn/F9: no action (should be WIFI ON/OFF).
Fn/F10: touchpad ON/OFF : OK as before
Fn/F11: NumLock ON/OFF: OK as before
Fn/F12: I do not know what this should do (I mean when and where..)
Fn/Sound UP and DOWN: OK as before
Fn/Brightness UP and down: displays brightness symbol and level, which can be modified Up or Down in the displayed icon, but no change for the real screen brightness itself.
Fn/End ("Fin" on my french keyboard): Don't know what this should do ( I mean where and when ,as for Fn/F12).
That's all for now.
I will have a look and try xev (never used before) later on.
Thank you again.
Julian2010
Supporter
Supporter
Posts: 50
Joined: 01 Feb 2010, 22:08

Re: Let's add support to other Samsung netbooks

Post by Julian2010 »

Fn/F4:
KeyPress event, serial 36, synthetic NO, window 0x4200001
root 0x13f, subw 0x4200002, time 8044886, (41,49), root:(712,99),
state 0x0, keycode 211 (keysym 0x1008ff44, XF86Launch4), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False

KeyRelease event, serial 36, synthetic NO, window 0x4200001
root 0x13f, subw 0x4200002, time 8044886, (41,49), root:(712,99),
state 0x0, keycode 211 (keysym 0x1008ff44, XF86Launch4), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False

Fn/F5:
KeyPress event, serial 36, synthetic NO, window 0x4200001
root 0x13f, subw 0x4200002, time 8243271, (41,49), root:(712,99),
state 0x0, keycode 156 (keysym 0x1008ff41, XF86Launch1), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False

KeyRelease event, serial 36, synthetic NO, window 0x4200001
root 0x13f, subw 0x4200002, time 8243271, (41,49), root:(712,99),
state 0x0, keycode 156 (keysym 0x1008ff41, XF86Launch1), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False

Fn/F8
KeyPress event, serial 36, synthetic NO, window 0x4200001
root 0x13f, subw 0x4200002, time 8399972, (41,49), root:(712,99),
state 0x0, keycode 210 (keysym 0x1008ff43, XF86Launch3), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False

KeyRelease event, serial 36, synthetic NO, window 0x4200001
root 0x13f, subw 0x4200002, time 8399972, (41,49), root:(712,99),
state 0x0, keycode 210 (keysym 0x1008ff43, XF86Launch3), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False

Fn/F9:
KeyPress event, serial 36, synthetic NO, window 0x4200001
root 0x13f, subw 0x4200002, time 8580186, (41,49), root:(712,99),
state 0x0, keycode 246 (keysym 0x1008ff95, XF86WLAN), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False

KeyRelease event, serial 36, synthetic NO, window 0x4200001
root 0x13f, subw 0x4200002, time 8580186, (41,49), root:(712,99),
state 0x0, keycode 246 (keysym 0x1008ff95, XF86WLAN), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False

Fn/F12:
KeyPress event, serial 36, synthetic NO, window 0x4200001
root 0x13f, subw 0x4200002, time 8727606, (41,49), root:(712,99),
state 0x0, keycode 78 (keysym 0xff14, Scroll_Lock), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False

KeyRelease event, serial 36, synthetic NO, window 0x4200001
root 0x13f, subw 0x4200002, time 8727831, (41,49), root:(712,99),
state 0x0, keycode 78 (keysym 0xff14, Scroll_Lock), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False

Fn/End ("Fin")
KeyPress event, serial 36, synthetic NO, window 0x4200001
root 0x13f, subw 0x4200002, time 9068274, (179,8), root:(850,58),
state 0x0, keycode 115 (keysym 0xff57, End), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False

KeyRelease event, serial 36, synthetic NO, window 0x4200001
root 0x13f, subw 0x4200002, time 9068530, (179,8), root:(850,58),
state 0x0, keycode 115 (keysym 0xff57, End), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False


Fn/F3 gives such a lot of data with different keycodes and symbols, I have not been able yet to catch them..

Please tell me if something is still missing.
Julian2010
Supporter
Supporter
Posts: 50
Joined: 01 Feb 2010, 22:08

Re: Let's add support to other Samsung netbooks

Post by Julian2010 »

Fn/F3 (Euro symbol)
I do not copy everything, it's far too long and seems chaotic!
I repeated twice the procedure with an "a" press before and another "a" after the Fn/F3 itself to see exactly the beginning and the end of it...
So this is what happens when typing once Fn/F3:

a Keypress event serial 36 with state 0x0, keycode 64 & keysym 0xffe9, Alt_L
a keypress event serial 36 with state 0x8, keycode 90 & keysym 0xff9e, KP_Insert
a KeyRelease event with state 0x8 ,keycode 90 & keysym 0xff9e, KP_Insert
a KeyPress event with state 0x8, keycode 87 &keysym 0xff9c, KP_End
a KeyRelease event with state 0x8, keycode 87 &keysym 0xff9c, KP_End
a KeyPress event with state 0x8, keycode 88 &keysym 0xff99, KP_Down
a KeyRelease event with state 0x8, keycode 88&keysym 0xff99, KP_Down
a KeyPressEvent with state 0x8, keycode 80 &keysym 0xff97, KP_Up
a KeyreleaseEvent with state 0x8, keycode 80&keysym0xff97,KP_Up
a KeyReleaseEvent with state 0x8, keycode 64 &keysym 0xffe9, Alt_L

For each event:once
XLookupString gives 0 bytes
XmbLookupString gives 0 bytes (for the KeyPress events only)
XFilterEvent returns: False.

Who says the Euro is a simple matter?

Hope you can do something with that...
Julian2010
Supporter
Supporter
Posts: 50
Joined: 01 Feb 2010, 22:08

Re: Let's add support to other Samsung netbooks

Post by Julian2010 »

It could be done in the opposite way to try and find the unassigned keycodes for the N510.
Here is the result of the xmodemap -kpe command ,I do not know if it is of some help.
Anyway I highlighted the unassigned keycodes matching the "unresponsive"Fn/Fx/
keycode 8 =
keycode 9 = Escape NoSymbol Escape NoSymbol Escape
keycode 10 = ampersand 1 ampersand 1 dead_caron dead_ogonek dead_caron dead_ogonek ampersand 1
keycode 11 = eacute 2 eacute 2 asciitilde Eacute asciitilde Eacute eacute 2
keycode 12 = quotedbl 3 quotedbl 3 numbersign dead_breve numbersign dead_breve quotedbl 3
keycode 13 = apostrophe 4 apostrophe 4 braceleft U2014 braceleft U2014 apostrophe 4
keycode 14 = parenleft 5 parenleft 5 bracketleft U2013 bracketleft U2013 parenleft 5
keycode 15 = minus 6 minus 6 bar U2011 bar U2011 minus 6
keycode 16 = egrave 7 egrave 7 grave Egrave grave Egrave egrave 7
keycode 17 = underscore 8 underscore 8 backslash trademark backslash trademark underscore 8
keycode 18 = ccedilla 9 ccedilla 9 asciicircum Ccedilla asciicircum Ccedilla ccedilla 9
keycode 19 = agrave 0 agrave 0 at Agrave at Agrave agrave 0
keycode 20 = parenright degree parenright degree bracketright notequal bracketright notequal parenright degree
keycode 21 = equal plus equal plus braceright plusminus braceright plusminus equal plus
keycode 22 = BackSpace NoSymbol BackSpace NoSymbol BackSpace
keycode 23 = Tab ISO_Left_Tab Tab ISO_Left_Tab Tab ISO_Left_Tab
keycode 24 = a A a A ae AE ae AE a A
keycode 25 = z Z z Z acircumflex Acircumflex acircumflex Acircumflex z Z
keycode 26 = e E e E EuroSign cent EuroSign cent e E
keycode 27 = r R r R ecircumflex Ecircumflex ecircumflex Ecircumflex r R
keycode 28 = t T t T thorn THORN thorn THORN t T
keycode 29 = y Y y Y ydiaeresis Ydiaeresis ydiaeresis Ydiaeresis y Y
keycode 30 = u U u U ucircumflex Ucircumflex ucircumflex Ucircumflex u U
keycode 31 = i I i I icircumflex Icircumflex icircumflex Icircumflex i I
keycode 32 = o O o O oe OE oe OE o O
keycode 33 = p P p P ocircumflex Ocircumflex ocircumflex Ocircumflex p P
keycode 34 = dead_circumflex dead_diaeresis dead_circumflex dead_diaeresis dead_tilde dead_abovering dead_tilde dead_abovering dead_circumflex dead_diaeresis
keycode 35 = dollar sterling dollar sterling oslash Oslash oslash Oslash dollar sterling
keycode 36 = Return NoSymbol Return NoSymbol Return
keycode 37 = Control_L NoSymbol Control_L NoSymbol Control_L
keycode 38 = q Q q Q adiaeresis Adiaeresis adiaeresis Adiaeresis q Q
keycode 39 = s S s S ssharp doublelowquotemark ssharp doublelowquotemark s S
keycode 40 = d D d D ediaeresis Ediaeresis ediaeresis Ediaeresis d D
keycode 41 = f F f F leftsinglequotemark singlelowquotemark leftsinglequotemark singlelowquotemark f F
keycode 42 = g G g G rightsinglequotemark yen rightsinglequotemark yen g G
keycode 43 = h H h H eth ETH eth ETH h H
keycode 44 = j J j J udiaeresis Udiaeresis udiaeresis Udiaeresis j J
keycode 45 = k K k K idiaeresis Idiaeresis idiaeresis Idiaeresis k K
keycode 46 = l L l L U0140 U013F U0140 U013F l L
keycode 47 = m M m M odiaeresis Odiaeresis odiaeresis Odiaeresis m M
keycode 48 = ugrave percent ugrave percent dead_acute Ugrave dead_acute Ugrave ugrave percent
keycode 49 = twosuperior threesuperior twosuperior threesuperior onesuperior dead_cedilla onesuperior dead_cedilla twosuperior threesuperior
keycode 50 = Shift_L NoSymbol Shift_L NoSymbol Shift_L
keycode 51 = asterisk mu asterisk mu dead_grave dead_macron dead_grave dead_macron asterisk mu
keycode 52 = w W w W guillemotleft leftdoublequotemark guillemotleft leftdoublequotemark w W
keycode 53 = x X x X guillemotright rightdoublequotemark guillemotright rightdoublequotemark x X
keycode 54 = c C c C copyright registered copyright registered c C
keycode 55 = v V v V U202F leftarrow U202F leftarrow v V
keycode 56 = b B b B downarrow uparrow downarrow uparrow b B
keycode 57 = n N n N notsign rightarrow notsign rightarrow n N
keycode 58 = comma question comma question questiondown U2026 questiondown U2026 comma question
keycode 59 = semicolon period semicolon period multiply U22C5 multiply U22C5 semicolon period
keycode 60 = colon slash colon slash division U2215 division U2215 colon slash
keycode 61 = exclam section exclam section exclamdown U2212 exclamdown U2212 exclam section
keycode 62 = Shift_R NoSymbol Shift_R NoSymbol Shift_R
keycode 63 = KP_Multiply U22C5 KP_Multiply U22C5 0x10000d7 XF86_ClearGrab 0x10000d7 XF86_ClearGrab KP_Multiply U22C5
keycode 64 = Alt_L Meta_L Alt_L Meta_L Alt_L Meta_L
keycode 65 = space space space space space nobreakspace space U202F
keycode 66 = Caps_Lock NoSymbol Caps_Lock NoSymbol Caps_Lock
keycode 67 = F1 XF86_Switch_VT_1 F1 XF86_Switch_VT_1 F1 XF86_Switch_VT_1
keycode 68 = F2 XF86_Switch_VT_2 F2 XF86_Switch_VT_2 F2 XF86_Switch_VT_2
keycode 69 = F3 XF86_Switch_VT_3 F3 XF86_Switch_VT_3 F3 XF86_Switch_VT_3
keycode 70 = F4 XF86_Switch_VT_4 F4 XF86_Switch_VT_4 F4 XF86_Switch_VT_4
keycode 71 = F5 XF86_Switch_VT_5 F5 XF86_Switch_VT_5 F5 XF86_Switch_VT_5
keycode 72 = F6 XF86_Switch_VT_6 F6 XF86_Switch_VT_6 F6 XF86_Switch_VT_6
keycode 73 = F7 XF86_Switch_VT_7 F7 XF86_Switch_VT_7 F7 XF86_Switch_VT_7
keycode 74 = F8 XF86_Switch_VT_8 F8 XF86_Switch_VT_8 F8 XF86_Switch_VT_8
keycode 75 = F9 XF86_Switch_VT_9 F9 XF86_Switch_VT_9 F9 XF86_Switch_VT_9
keycode 76 = F10 XF86_Switch_VT_10 F10 XF86_Switch_VT_10 F10 XF86_Switch_VT_10
keycode 77 = Num_Lock Pointer_EnableKeys Num_Lock Pointer_EnableKeys Num_Lock Pointer_EnableKeys
keycode 78 = Scroll_Lock NoSymbol Scroll_Lock NoSymbol Scroll_Lock Fn/F12
keycode 79 = KP_Home KP_7 KP_Home KP_7 U2196 U21D6 U2196 U21D6 KP_Home KP_7
keycode 80 = KP_Up KP_8 KP_Up KP_8 U2191 U21D1 U2191 U21D1 KP_Up KP_8
keycode 81 = KP_Prior KP_9 KP_Prior KP_9 U2197 U21D7 U2197 U21D7 KP_Prior KP_9
keycode 82 = KP_Subtract U2212 KP_Subtract U2212 U2212 XF86_Prev_VMode U2212 XF86_Prev_VMode KP_Subtract U2212
keycode 83 = KP_Left KP_4 KP_Left KP_4 U2190 U21D0 U2190 U21D0 KP_Left KP_4
keycode 84 = KP_Begin KP_5 KP_Begin KP_5 U2194 U21D4 U2194 U21D4 KP_Begin KP_5
keycode 85 = KP_Right KP_6 KP_Right KP_6 U2192 U21D2 U2192 U21D2 KP_Right KP_6
keycode 86 = KP_Add 0x100002b KP_Add 0x100002b 0x100002b XF86_Next_VMode 0x100002b XF86_Next_VMode KP_Add 0x100002b
keycode 87 = KP_End KP_1 KP_End KP_1 U2199 U21D9 U2199 U21D9 KP_End KP_1
keycode 88 = KP_Down KP_2 KP_Down KP_2 U2193 U21D3 U2193 U21D3 KP_Down KP_2
keycode 89 = KP_Next KP_3 KP_Next KP_3 U2198 U21D8 U2198 U21D8 KP_Next KP_3
keycode 90 = KP_Insert KP_0 KP_Insert KP_0 U2195 U21D5 U2195 U21D5 KP_Insert KP_0
keycode 91 = KP_Delete period KP_Delete period comma U202F comma U202F KP_Delete period
keycode 92 = ISO_Level3_Shift NoSymbol ISO_Level3_Shift NoSymbol ISO_Level3_Shift
keycode 93 =
keycode 94 = less greater less greater lessthanequal greaterthanequal lessthanequal greaterthanequal less greater
keycode 95 = F11 XF86_Switch_VT_11 F11 XF86_Switch_VT_11 F11 XF86_Switch_VT_11
keycode 96 = F12 XF86_Switch_VT_12 F12 XF86_Switch_VT_12 F12 XF86_Switch_VT_12
keycode 97 =
keycode 98 = Katakana NoSymbol Katakana NoSymbol Katakana
keycode 99 = Hiragana NoSymbol Hiragana NoSymbol Hiragana
keycode 100 = Henkan_Mode NoSymbol Henkan_Mode NoSymbol Henkan_Mode
keycode 101 = Hiragana_Katakana NoSymbol Hiragana_Katakana NoSymbol Hiragana_Katakana
keycode 102 = Muhenkan NoSymbol Muhenkan NoSymbol Muhenkan
keycode 103 =
keycode 104 = KP_Enter NoSymbol KP_Enter NoSymbol KP_Enter
keycode 105 = Control_R NoSymbol Control_R NoSymbol Control_R
keycode 106 = KP_Divide U2215 KP_Divide U2215 0x10000f7 XF86_Ungrab 0x10000f7 XF86_Ungrab KP_Divide U2215
keycode 107 = Print Sys_Req Print Sys_Req Print Sys_Req
keycode 108 = ISO_Level3_Shift NoSymbol ISO_Level3_Shift NoSymbol ISO_Level3_Shift
keycode 109 = Linefeed NoSymbol Linefeed NoSymbol Linefeed
keycode 110 = Home NoSymbol Home NoSymbol Home
keycode 111 = Up NoSymbol Up NoSymbol Up
keycode 112 = Prior NoSymbol Prior NoSymbol Prior
keycode 113 = Left NoSymbol Left NoSymbol Left
keycode 114 = Right NoSymbol Right NoSymbol Right
keycode 115 = End NoSymbol End NoSymbol EndFn/End("Fin")
keycode 116 = Down NoSymbol Down NoSymbol Down
keycode 117 = Next NoSymbol Next NoSymbol Next
keycode 118 = Insert NoSymbol Insert NoSymbol Insert
keycode 119 = Delete NoSymbol Delete NoSymbol Delete
keycode 120 =
keycode 121 = XF86AudioMute NoSymbol XF86AudioMute NoSymbol XF86AudioMute
keycode 122 = XF86AudioLowerVolume NoSymbol XF86AudioLowerVolume NoSymbol XF86AudioLowerVolume
keycode 123 = XF86AudioRaiseVolume NoSymbol XF86AudioRaiseVolume NoSymbol XF86AudioRaiseVolume
keycode 124 = XF86PowerOff NoSymbol XF86PowerOff NoSymbol XF86PowerOff
keycode 125 = KP_Equal NoSymbol KP_Equal NoSymbol KP_Equal
keycode 126 = plusminus NoSymbol plusminus NoSymbol plusminus
keycode 127 = Pause Break Pause Break Pause Break
keycode 128 =
keycode 129 = KP_Decimal NoSymbol KP_Decimal NoSymbol KP_Decimal
keycode 130 = Hangul NoSymbol Hangul NoSymbol Hangul
keycode 131 = Hangul_Hanja NoSymbol Hangul_Hanja NoSymbol Hangul_Hanja
keycode 132 =
keycode 133 = Super_L NoSymbol Super_L NoSymbol Super_L
keycode 134 = Super_R NoSymbol Super_R NoSymbol Super_R
keycode 135 = Menu NoSymbol Menu NoSymbol Menu
keycode 136 = Cancel NoSymbol Cancel NoSymbol Cancel
keycode 137 = Redo NoSymbol Redo NoSymbol Redo
keycode 138 = SunProps NoSymbol SunProps NoSymbol SunProps
keycode 139 = Undo NoSymbol Undo NoSymbol Undo
keycode 140 = SunFront NoSymbol SunFront NoSymbol SunFront
keycode 141 = XF86Copy NoSymbol XF86Copy NoSymbol XF86Copy
keycode 142 = SunOpen NoSymbol SunOpen NoSymbol SunOpen
keycode 143 = XF86Paste NoSymbol XF86Paste NoSymbol XF86Paste
keycode 144 = Find NoSymbol Find NoSymbol Find
keycode 145 = XF86Cut NoSymbol XF86Cut NoSymbol XF86Cut
keycode 146 = Help NoSymbol Help NoSymbol Help
keycode 147 = XF86MenuKB NoSymbol XF86MenuKB NoSymbol XF86MenuKB
keycode 148 = XF86Calculator NoSymbol XF86Calculator NoSymbol XF86Calculator
keycode 149 =
keycode 150 = XF86Sleep NoSymbol XF86Sleep NoSymbol XF86Sleep
keycode 151 = XF86WakeUp NoSymbol XF86WakeUp NoSymbol XF86WakeUp
keycode 152 = XF86Explorer NoSymbol XF86Explorer NoSymbol XF86Explorer
keycode 153 = XF86Send NoSymbol XF86Send NoSymbol XF86Send
keycode 154 =
keycode 155 = XF86Xfer NoSymbol XF86Xfer NoSymbol XF86Xfer
keycode 156 = XF86Launch1 NoSymbol XF86Launch1 NoSymbol XF86Launch1Fn/F5
keycode 157 = XF86Launch2 NoSymbol XF86Launch2 NoSymbol XF86Launch2
keycode 158 = XF86WWW NoSymbol XF86WWW NoSymbol XF86WWW
keycode 159 = XF86DOS NoSymbol XF86DOS NoSymbol XF86DOS
keycode 160 = XF86ScreenSaver NoSymbol XF86ScreenSaver NoSymbol XF86ScreenSaver
keycode 161 =
keycode 162 = XF86RotateWindows NoSymbol XF86RotateWindows NoSymbol XF86RotateWindows
keycode 163 = XF86Mail NoSymbol XF86Mail NoSymbol XF86Mail
keycode 164 = XF86Favorites NoSymbol XF86Favorites NoSymbol XF86Favorites
keycode 165 = XF86MyComputer NoSymbol XF86MyComputer NoSymbol XF86MyComputer
keycode 166 = XF86Back NoSymbol XF86Back NoSymbol XF86Back
keycode 167 = XF86Forward NoSymbol XF86Forward NoSymbol XF86Forward
keycode 168 =
keycode 169 = XF86Eject NoSymbol XF86Eject NoSymbol XF86Eject
keycode 170 = XF86Eject XF86Eject XF86Eject XF86Eject XF86Eject XF86Eject
keycode 171 = XF86AudioNext NoSymbol XF86AudioNext NoSymbol XF86AudioNext
keycode 172 = XF86AudioPlay XF86AudioPause XF86AudioPlay XF86AudioPause XF86AudioPlay XF86AudioPause
keycode 173 = XF86AudioPrev NoSymbol XF86AudioPrev NoSymbol XF86AudioPrev
keycode 174 = XF86AudioStop XF86Eject XF86AudioStop XF86Eject XF86AudioStop XF86Eject
keycode 175 = XF86AudioRecord NoSymbol XF86AudioRecord NoSymbol XF86AudioRecord
keycode 176 = XF86AudioRewind NoSymbol XF86AudioRewind NoSymbol XF86AudioRewind
keycode 177 = XF86Phone NoSymbol XF86Phone NoSymbol XF86Phone
keycode 178 =
keycode 179 = XF86Tools NoSymbol XF86Tools NoSymbol XF86Tools
keycode 180 = XF86HomePage NoSymbol XF86HomePage NoSymbol XF86HomePage
keycode 181 = XF86Reload NoSymbol XF86Reload NoSymbol XF86Reload
keycode 182 = XF86Close NoSymbol XF86Close NoSymbol XF86Close
keycode 183 =
keycode 184 =
keycode 185 = XF86ScrollUp NoSymbol XF86ScrollUp NoSymbol XF86ScrollUp
keycode 186 = XF86ScrollDown NoSymbol XF86ScrollDown NoSymbol XF86ScrollDown
keycode 187 = parenleft NoSymbol parenleft NoSymbol parenleft
keycode 188 = parenright NoSymbol parenright NoSymbol parenright
keycode 189 = XF86New NoSymbol XF86New NoSymbol XF86New
keycode 190 = Redo NoSymbol Redo NoSymbol Redo
keycode 191 =
keycode 192 =
keycode 193 =
keycode 194 =
keycode 195 =
keycode 196 =
keycode 197 =
keycode 198 =
keycode 199 =
keycode 200 =
keycode 201 =
keycode 202 =
keycode 203 = Mode_switch NoSymbol Mode_switch NoSymbol Mode_switch
keycode 204 = NoSymbol Alt_L NoSymbol Alt_L NoSymbol Alt_L
keycode 205 = NoSymbol Meta_L NoSymbol Meta_L NoSymbol Meta_L
keycode 206 = NoSymbol Super_L NoSymbol Super_L NoSymbol Super_L
keycode 207 = NoSymbol Hyper_L NoSymbol Hyper_L NoSymbol Hyper_L
keycode 208 = XF86AudioPlay NoSymbol XF86AudioPlay NoSymbol XF86AudioPlay
keycode 209 = XF86AudioPause NoSymbol XF86AudioPause NoSymbol XF86AudioPause
keycode 210 = XF86Launch3 NoSymbol XF86Launch3 NoSymbol XF86Launch3 Fn/F8
keycode 211 = XF86Launch4 NoSymbol XF86Launch4 NoSymbol XF86Launch4 Fn/F4
keycode 212 =
keycode 213 = XF86Suspend NoSymbol XF86Suspend NoSymbol XF86Suspend
keycode 214 = XF86Close NoSymbol XF86Close NoSymbol XF86Close
keycode 215 = XF86AudioPlay NoSymbol XF86AudioPlay NoSymbol XF86AudioPlay
keycode 216 = XF86Forward NoSymbol XF86Forward NoSymbol XF86Forward
keycode 217 =
keycode 218 = Print NoSymbol Print NoSymbol Print
keycode 219 =
keycode 220 = XF86WebCam NoSymbol XF86WebCam NoSymbol XF86WebCam
keycode 221 =
keycode 222 =
keycode 223 = XF86Mail NoSymbol XF86Mail NoSymbol XF86Mail
keycode 224 =
keycode 225 = XF86Search NoSymbol XF86Search NoSymbol XF86Search
keycode 226 =
keycode 227 = XF86Finance NoSymbol XF86Finance NoSymbol XF86Finance
keycode 228 =
keycode 229 = XF86Shop NoSymbol XF86Shop NoSymbol XF86Shop
keycode 230 =
keycode 231 = Cancel NoSymbol Cancel NoSymbol Cancel
keycode 232 = XF86MonBrightnessDown NoSymbol XF86MonBrightnessDown NoSymbol XF86MonBrightnessDown
keycode 233 = XF86MonBrightnessUp NoSymbol XF86MonBrightnessUp NoSymbol XF86MonBrightnessUp
keycode 234 = XF86AudioMedia NoSymbol XF86AudioMedia NoSymbol XF86AudioMedia
keycode 235 = XF86Display NoSymbol XF86Display NoSymbol XF86Display
keycode 236 = XF86KbdLightOnOff NoSymbol XF86KbdLightOnOff NoSymbol XF86KbdLightOnOff
keycode 237 = XF86KbdBrightnessDown NoSymbol XF86KbdBrightnessDown NoSymbol XF86KbdBrightnessDown
keycode 238 = XF86KbdBrightnessUp NoSymbol XF86KbdBrightnessUp NoSymbol XF86KbdBrightnessUp
keycode 239 = XF86Send NoSymbol XF86Send NoSymbol XF86Send
keycode 240 = XF86Reply NoSymbol XF86Reply NoSymbol XF86Reply
keycode 241 = XF86MailForward NoSymbol XF86MailForward NoSymbol XF86MailForward
keycode 242 = XF86Save NoSymbol XF86Save NoSymbol XF86Save
keycode 243 = XF86Documents NoSymbol XF86Documents NoSymbol XF86Documents
keycode 244 = XF86Battery NoSymbol XF86Battery NoSymbol XF86Battery
keycode 245 = XF86Bluetooth NoSymbol XF86Bluetooth NoSymbol XF86Bluetooth
keycode 246 = XF86WLAN NoSymbol XF86WLAN NoSymbol XF86WLAN Fn/F9
keycode 247 =
keycode 248 =
keycode 249 =
keycode 250 =
keycode 251 =
keycode 252 =
keycode 253 =
keycode 254 =
keycode 255 =
User avatar
voria
Administrator
Administrator
Posts: 1383
Joined: 12 Feb 2009, 18:08
Location: Italy
Contact:

Re: Let's add support to other Samsung netbooks

Post by voria »

So, all the Fn keys are correctly mapped now.
The Fn-F3 behavior is also correct.

Now customize the samsung-scripts options as you need in '/etc/default/samsung-scripts' (just follow the instructions inside it), make sure the compiz 'commands' plugin is enabled, then restart your desktop session, and the scripts should then work.
For more info about the scripts and how they work, reference to this thread.
Image
Please consider a little donation to keep the 'Linux On My Samsung' project up and running. Thank you!
Julian2010
Supporter
Supporter
Posts: 50
Joined: 01 Feb 2010, 22:08

Re: Let's add support to other Samsung netbooks

Post by Julian2010 »

I used the samsung-scripts on the N510.
Results are:
-for the webcam: I installed XawTV to get at least an application using the webcam (never used before!)
The shortcut works as expected: the bubble telling the state of the webcam appears, and is toggled with the shortcut.
Once the webcam has been stopped with the shortcut, XawTV cannot be launched anymore.
When the webcam has been activated with the shortcut and XawTV then launched, the webcam shorcut has no more action to stop the webcam.
All this sounds quite logical.
By the way, in my opinion, the webcam on N510 gives a low quality display.
-for the wireless: as already said, , Fn/F9 has no action.
In the samsung-scripts WIRELESS_MODULE="ath5k", while in my N510 it is not an Atheros WIFI module.So I did not even tried setting WIRELESS_TOGGLE_METHOD to 1.
Please remember I had the 8192 WIFI module set to work through ndiswrapper (I was not aware of your site at that time.....), so NOT with your wireless package.
So would the Fn/F9 work if the 8192 WIFI had been set to work through your wireless package?
Anyway I guess that the WIRELESS_MODULE value should then be altered in the samsung-scripts to match the real WIFI hardware of the machine.
I am not "running after" Fn/F9 working, it's just for my undersatnding of how things work (and do not as well).
-for the LAST-STATUS-RESTORE: left to 1.
I tried different combinations ON/OFF for the different devices.On rebooting the last set configuration was correct against the one set before halting the machine.
So, nice job you did there.

My regret is that nothing can be done for brightness and backlight real settings on the N510, even with the correct keymapping and key release management you implemented nicely, as these two things are the real ones I miss on my machine.
User avatar
voria
Administrator
Administrator
Posts: 1383
Joined: 12 Feb 2009, 18:08
Location: Italy
Contact:

Re: Let's add support to other Samsung netbooks

Post by voria »

Julian2010 wrote: -for the wireless: as already said, , Fn/F9 has no action.
In the samsung-scripts WIRELESS_MODULE="ath5k", while in my N510 it is not an Atheros WIFI module.So I did not even tried setting WIRELESS_TOGGLE_METHOD to 1.
Please remember I had the 8192 WIFI module set to work through ndiswrapper (I was not aware of your site at that time.....), so NOT with your wireless package.
So would the Fn/F9 work if the 8192 WIFI had been set to work through your wireless package?
Anyway I guess that the WIRELESS_MODULE value should then be altered in the samsung-scripts to match the real WIFI hardware of the machine.
Exactly. Set WIRELESS_TOGGLE_METHOD=1 and WIRELESS_MODULES="ndiswrapper", and everything should work well.
Julian2010 wrote: My regret is that nothing can be done for brightness and backlight real settings on the N510, even with the correct keymapping and key release management you implemented nicely, as these two things are the real ones I miss on my machine.
As far as I know, the problem can be fixed somehow. I will investigate it.
Image
Please consider a little donation to keep the 'Linux On My Samsung' project up and running. Thank you!
Julian2010
Supporter
Supporter
Posts: 50
Joined: 01 Feb 2010, 22:08

Re: Let's add support to other Samsung netbooks

Post by Julian2010 »

Sorry, it does not work.By the way, I used the graphical equivalent of ndiswrapper to set the 8192 module, but this should not change anything, as it uses ndiswrapper to do it...
Post Reply