Last visit was: It is currently 21/08/2014, 3:23


All times are UTC [ DST ]




Post new topic Reply to topic  [ 10 posts ] 
Author Message
 Post subject: [NC10] How to fix the problem with FN keys
PostPosted: 14/02/2009, 19:56 
Administrator
Administrator
User avatar

Joined: 12/02/2009, 18:08
Posts: 1377
Location: Italy
The non-working FN keys is perhaps the most annoying problem that we encounter right after a new Linux installation on our favorite netbook. If you try to change the screen brightness the keyboard does not work anymore. This is not that kind of problem you can simply ignore... it has to be quickly fixed and fortunately a solution is already available! :)

A patch has been released which fixes the problem, and it has been already applied to main development trunks of official kernels. Almost all the main distro have merged it on their own kernels (Ubuntu has merged it just yesterday, so the problem will be officially fixed when the next kernel will be released). :)

In the meanwhile, we have to manually patch and recompile the kernel.
For more informations about the issue and for patch download, take a look here:

http://bugzilla.kernel.org/show_bug.cgi?id=12021

I built a fixed .deb package for my ubuntu installation, so if you are an ubuntu user you are lucky :P
All you have to do is to install this .deb file, no compilation or other stuff is needed :)

Here it is: linux-image-2.6.27-11-generic_2.6.27-11.28~fnfix_i386.deb

If you have any problem or question, just post here!

Have fun with Linux on your NC10! ;)

_________________
Please consider a little donation to keep the 'Linux On My Samsung' project up and running. Thank you!


Last edited by voRia on 05/03/2009, 16:29, edited 1 time in total.

Top
 Profile  
 
 Post subject: RE: [NC10] How to fix the problem with FN keys
PostPosted: 16/02/2009, 23:03 
Administrator
Administrator
User avatar

Joined: 12/02/2009, 18:08
Posts: 1377
Location: Italy
A new kernel is available on ubuntu repositories, version 2.6.27-12.28.
I've just rebuilt a fixed package for our NC10s, look at the main post for the new link. :D

_________________
Please consider a little donation to keep the 'Linux On My Samsung' project up and running. Thank you!


Top
 Profile  
 
 Post subject: RE: [NC10] How to fix the problem with FN keys
PostPosted: 17/02/2009, 10:18 
Newbie
Newbie

Joined: 17/02/2009, 10:11
Posts: 29
voRia wrote:

The non-working FN keys is perhaps the most annoying problem that we encounter right after a new Linux installation on our favorite netbook. If you try to change the screen brightness the keyboard does not work anymore. This is not that kind of problem you can simply ignore... it has to be quickly fixed and fortunately a solution is already available! :)

A patch has been released which fixes the problem, and it has been already applied to main development trunks of official kernels. Almost all the main distro have merged it on their own kernels (Ubuntu has merged it just yesterday, so the problem will be officially fixed when the next kernel will be released). :)

In the meanwhile, we have to manually patch and recompile the kernel.
For more informations about the issue and for patch download, take a look here:

http://bugzilla.kernel.org/show_bug.cgi?id=12021

I built a fixed .deb package for my ubuntu installation, so if you are an ubuntu user you are lucky :P
All you have to do is to install this .deb file, no compilation or other stuff is needed :)

Here it is: linux-image-2.6.27-12-generic_2.6.27-12.29~nc10_i386.deb

If you have any problem or question, just post here!

Have fun with Linux on your NC10! ;)


Hi VoRia,
tried the former .deb of yours (2.6.27.11), but the Fn keys still do not work? In my repository, there is no kernel-image version of 2.6.27.12? Betas not activated!

redu


Top
 Profile  
 
 Post subject: RE: [NC10] How to fix the problem with FN keys
PostPosted: 17/02/2009, 11:36 
Administrator
Administrator
User avatar

Joined: 12/02/2009, 18:08
Posts: 1377
Location: Italy
Hi!
To get the 2.6.27-12 kernel you have to enable the -proposed repositories. The official ones have the 2.6.27-11 yet.
Anyway, for completeness of the howto I'm going to put back a link to the fixed 2.6.27-11 kernel, for users that prefer to stick with standard repositories only. Check the main post for the link ;)

Once you have a fixed kernel installed, you need to map the FN keys to their respective functions. This is a job done by HAL daemon.

All you have to do is to open (with admin rights) the file /usr/share/hal/fdi/information/10freedesktop/30-keymap-misc.fdi

Code:
sudo gedit /usr/share/hal/fdi/information/10freedesktop/30-keymap-misc.fdi


search for the section
Code:
<match key="/org/freedesktop/Hal/devices/computer:system.hardware.vendor" prefix_ncase="samsung">
<match key="/org/freedesktop/Hal/devices/computer:system.hardware.product" contains_outof="SP55S;SQ45S70S;SX60P;R59P/R60P/R61P;Q310;X05">


and change it to
Code:
<match key="/org/freedesktop/Hal/devices/computer:system.hardware.vendor" prefix_ncase="samsung">
<match key="/org/freedesktop/Hal/devices/computer:system.hardware.product" contains_outof="SP55S;SQ45S70S;SX60P;R59P/R60P/R61P;Q310;X05;NC10">


In other words, you have to add "NC10" to the list of all supported devices from Samsung. :)

When done, restart the system to have all the FN keys correctly mapped.

The FN-F9 key is related to wireless, so I'll add instructions for it in the wireless thread. :)

_________________
Please consider a little donation to keep the 'Linux On My Samsung' project up and running. Thank you!


Last edited by voRia on 17/02/2009, 14:33, edited 1 time in total.

Top
 Profile  
 
 Post subject: RE: [NC10] How to fix the problem with FN keys
PostPosted: 17/02/2009, 13:55 
Newbie
Newbie

Joined: 17/02/2009, 10:11
Posts: 29
'voRia' pid='33' dateline='1234867000' wrote:
Hi!
To get the 2.6.27-12 kernel you have to enable the -proposed repositories. The official ones have the 2.6.27-11 yet.
Anyway, for completeness of the howto I'm going to put back a link to the fixed 2.6.27-11 kernel, for users that prefer to stick with standard repositories only. Check the main post for the link ;)

Once you have a fixed kernel installed, you need to map the FN keys to their respective functions. This is a job done by HAL daemon.

All you have to do is to open and edit (with admin rights) the file /usr/share/hal/fdi/information/10freedesktop/30-keymap-misc.fdi

Code:
sudo gedit /usr/share/hal/fdi/information/10freedesktop/30-keymap-misc.fdi


search for the section
Code:
<match key="/org/freedesktop/Hal/devices/computer:system.hardware.vendor" prefix_ncase="samsung">
<match key="/org/freedesktop/Hal/devices/computer:system.hardware.product" contains_outof="SP55S;SQ45S70S;SX60P;R59P/R60P/R61P;Q310;X05">


and change it to
Code:
<match key="/org/freedesktop/Hal/devices/computer:system.hardware.vendor" prefix_ncase="samsung">
<match key="/org/freedesktop/Hal/devices/computer:system.hardware.product" contains_outof="SP55S;SQ45S70S;SX60P;R59P/R60P/R61P;Q310;X05;NC10">


In other words, you have to add "NC10" to the list of all supported devices from Samsung. :)

When done, restart the system to have all the FN keys correctly mapped.

The FN-F9 key is related to wireless, so I'll add instructions for it in the wireless thread. :)


Thanks voRia,
seems to work now!
redu


Top
 Profile  
 
 Post subject: RE: [NC10] How to fix the problem with FN keys
PostPosted: 19/02/2009, 20:58 
Newbie
Newbie

Joined: 16/02/2009, 22:34
Posts: 14
Thanks for the post and the additional explanations.
I have done all the steps described above and finally my screen brightness keys work. Thank you very much for that.
Other than that, it does not seem that any other Fn keys have been enabled.
My F4 & F5 are still dead. Is there an additional key mapping that needs to be done?

Thanks once again for the grate work that you have done to put together this much needed website.


Top
 Profile  
 
 Post subject: RE: [NC10] How to fix the problem with FN keys
PostPosted: 19/02/2009, 23:18 
Administrator
Administrator
User avatar

Joined: 12/02/2009, 18:08
Posts: 1377
Location: Italy
Hi!
It's strange that no other FN keys work.
When you add "NC10" to the list of supported devices from hal, almost all of the FN keys should be automatically enabled.

To be more precise, these are the keys which should work with no additional work:
FN-ESC, FN-F2, FN-F6, FN-F10, FN-F11, FN-F12, FN-LEFT, FN-RIGHT, FN-UP, FN-DOWN.

The FN-F3, FN-F5, FN-F7, FN-F8, FN-F9 keys should be enabled too, but not mapped to anything. You can map them manually to launch a program or a script. You can find an example of how to do this in my "how to enable wireless" thread, where you can find instructions to map the FN-F9 key to a script that toggle wireless on/off.

For replicating the same functionalities given by FN-F5 and FN-F8 with Windows, I'll write an howto as soon as possible. :)

The FN-F4 key is the only one I have not tested. After a little edit of the usual hal file, it makes the screen "flicker" when pressed but I can't say it's really working.

_________________
Please consider a little donation to keep the 'Linux On My Samsung' project up and running. Thank you!


Last edited by voRia on 19/02/2009, 23:27, edited 1 time in total.

Top
 Profile  
 
 Post subject: RE: [NC10] How to fix the problem with FN keys
PostPosted: 21/02/2009, 19:22 
Newbie
Newbie

Joined: 16/02/2009, 22:34
Posts: 14
thanks mate, I suppose I was not quite clear when saying no other keys work. all those that work out of the box continue to be operational.
Right now I have the ESC, F2, F10, F11, F12, Home, End, VolumeUpDown, BrightnessUpDown.

The F6 - mute - it has visual effect, i.e. it changes the volume icon in the sys bar to muted, however the sound goes on. The only way to effectively mute is to turn it down with the Fn+left/right keys.

I was hoping that with your fix F4 (external screen) and F5 (dim the screen) will also work. Form your post above is looks like you are working on the F4.
Looking forward to more developments. I will try to look around and see if these info on how to map the other keys. will post back if i find something.
great work voRia


Top
 Profile  
 
 Post subject: RE: [NC10] How to fix the problem with FN keys
PostPosted: 21/02/2009, 21:44 
Administrator
Administrator
User avatar

Joined: 12/02/2009, 18:08
Posts: 1377
Location: Italy
The FN-F6 problem is because of a bug in the alsa driver of the latest ubuntu kernels. It's a minor glitch, not too much annoying in my opinion, so I didn't care about it.
Anyway it can be easily fixed by installing a newer alsa driver taken directly from jaunty.
Maybe I should start a new thread about it. :)

As I said, the F5 is easily fixed too, with a script that toggles the brightness (using xbacklight utility) when launched.
Another thread that I will start. :P

Instead, the F4 key does not work, and I really don't know what to do to fix it... I'll continue to investigate the problem.

I'm sorry for being slow to add contents here, these days I have not so much freetime.
However, I do promise to write something new soon :)

_________________
Please consider a little donation to keep the 'Linux On My Samsung' project up and running. Thank you!


Last edited by voRia on 21/02/2009, 21:44, edited 1 time in total.

Top
 Profile  
 
 Post subject: RE: [NC10] How to fix the problem with FN keys
PostPosted: 05/03/2009, 16:30 
Administrator
Administrator
User avatar

Joined: 12/02/2009, 18:08
Posts: 1377
Location: Italy
Removed 2.6.27-12 kernel, because it has been superseeded by the new version (2.6.27-13) that fixes officially the FN keys repeat issue on Ubuntu 8.10. :)

_________________
Please consider a little donation to keep the 'Linux On My Samsung' project up and running. Thank you!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 10 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