HOWTO: NC10 scripts

Discussions about Linux installation and configuration on Samsung laptops
shaunmenzies
Newbie
Newbie
Posts: 3
Joined: 04/11/2009, 15:14

Re: HOWTO: NC10 scripts

Postby shaunmenzies » 10/11/2009, 15:33

Update:

Managed to get all the function keys working on the n310 by

1) Install 2.6.32 kernal then add the following line to /etc/rc.local
echo 130,131,132,134,136,137,177,179,247,249 > /sys/devices/platform/i8042/serio0/force_release

This forces the missing Fn key to produce key_release events. (I believe the 11 bios fixes this for NC10 but the same bios is not available for N310)

2) Then I edited /lib/udev/rules.d/95-keymap.rules and after the 'LABEL="keyboard_vendorcheck"' section I added |*N310*| to the Samsung vendor line that already contained |*NC10*| and |*NC20*|

3) Installed the NC-10 scripts detailed in this topic.

4) Installed CompizConfig and enabled the commands applet

5) Configured Fn+key keybindings to the NC-10 script commands

Now ALL MY FN BUTTONS WORK!!!!!

Thanks, Shaun.

ALL MY FUNCTION KEYS ARE NOW WORKING!!!!

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

Re: HOWTO: NC10 scripts

Postby voRia » 11/11/2009, 20:49

New 'nc10-scripts' on repository. :)

There are interesting additions this time: now all the customizable options have been moved in '/etc/default/nc10-scripts', so there is no need to manually edit the scripts anymore. For instance, if your wireless card uses a different kernel module, just set it in the configuration file.
Also, there is a new option now, LAST_STATUS_RESTORE which, if enabled, it restores the current status for all devices after a system suspend/hibernate/reboot cycle. This means that if you disable the bluetooth and then shutdown the pc, the bluetooth will be already off at the next boot.
Image
Please consider a little donation to keep the 'Linux On My Samsung' project up and running. Thank you!

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

Re: HOWTO: NC10 scripts

Postby voRia » 17/11/2009, 12:59

New version on repository. Changelog:

Code: Select all

nc10-scripts (4.0~ppa3~nc10~karmic) karmic; urgency=low

  * Keep devices status between package updates.
  * Add a new command, 'nc10 status', to show all devices status.
Image
Please consider a little donation to keep the 'Linux On My Samsung' project up and running. Thank you!

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

Re: HOWTO: NC10 scripts

Postby voRia » 23/11/2009, 11:17

New version on repository. Changelog:

Code: Select all

nc10-scripts (4.0~ppa4~nc10~karmic) karmic; urgency=low

  * Make the scripts work in gdm login window too.
  * Add new options in /etc/default/nc10-scripts to control devices
    autosuspend.
  * Set webcam and bluetooth autosuspend to auto when enabling them.
  * Set default values for all options in /usr/lib/nc10 if configuration
    file cannot be found.
Image
Please consider a little donation to keep the 'Linux On My Samsung' project up and running. Thank you!

miplou
Newbie
Newbie
Posts: 15
Joined: 05/05/2009, 23:41

Re: HOWTO: NC10 scripts

Postby miplou » 23/11/2009, 20:37

Fn + up/down and scrolling area on touchpad don't work since today's updates (nc10-scripts, xorg-driver-synaptic and kernel)...

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

Re: HOWTO: NC10 scripts

Postby voRia » 23/11/2009, 22:07

I've just uploaded the 'nc10-backlight' for the new kernel on the repo, it will be available in a few hours.

Concerning the touchpad, go on 'System'->'Preferences'->'Mouse' and enable scrolling (it's not enabled anymore by default).
Image
Please consider a little donation to keep the 'Linux On My Samsung' project up and running. Thank you!

miplou
Newbie
Newbie
Posts: 15
Joined: 05/05/2009, 23:41

Re: HOWTO: NC10 scripts

Postby miplou » 24/11/2009, 0:29

Many thanks !!! ;)

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

Re: HOWTO: NC10 scripts

Postby voRia » 25/11/2009, 15:56

New version on repository. Changelog:

Code: Select all

nc10-scripts (4.0~ppa5~nc10~karmic) karmic; urgency=low

  * Use iwconfig commands to toggle wireless rfkill, instead
    of module removal.
  * Webcam and bluetooth kernel modules are always the same,
    so there is no need for options in /etc/default/nc10-scripts.
  * Add bash-completion support for all the scripts.
Image
Please consider a little donation to keep the 'Linux On My Samsung' project up and running. Thank you!

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

Re: HOWTO: NC10 scripts

Postby voRia » 29/11/2009, 15:38

New version on repository. Changelog:

Code: Select all

nc10-scripts (4.0~ppa6~nc10~karmic) karmic; urgency=low

  * Add back the module removal method for toggling wireless,
    along with the new iwconfig method.
  * Add a new option in '/etc/default/nc10-scripts' to select
    which method to use.
Image
Please consider a little donation to keep the 'Linux On My Samsung' project up and running. Thank you!

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

Re: HOWTO: NC10 scripts

Postby voRia » 30/11/2009, 14:32

New version. Changelog:

Code: Select all

nc10-scripts (5.0~ppa1~nc10~karmic) karmic; urgency=low

  * Migrate to debhelper build system.
Using debhelper for package building, any change done by the user in the configuration file (/etc/default/nc10-scripts) is preserved between package updates.
Image
Please consider a little donation to keep the 'Linux On My Samsung' project up and running. Thank you!

marshmn
Newbie
Newbie
Posts: 29
Joined: 29/11/2009, 14:10

Re: HOWTO: NC10 scripts

Postby marshmn » 30/11/2009, 14:41

voRia wrote:New version. Changelog:
Using debhelper for package building, any change done by the user in the configuration file (/etc/default/nc10-scripts) is preserved between package updates.


Ah, that's cool, I had been thinking of asking you about that :)

Matt

Python
Newbie
Newbie
Posts: 1
Joined: 12/12/2009, 18:37

Re: HOWTO: NC10 scripts

Postby Python » 12/12/2009, 18:39

german translation cpuperf.sh:

Code: Select all

   de*)
      popup_title="Prozessor"
      cpu_temp="Temperatur:"
      cpu_freq="Frequenz:"
      cpu_governor="Modus:"
      governor_powersave="Energie sparen"
      governor_ondemand="Auf Abruf"
      governor_conservative="Zurückhaltend"
      governor_performance="Leistung"
      governor_userspace="Benutzerdefiniert"
                ;;

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

Re: HOWTO: NC10 scripts

Postby voRia » 12/12/2009, 20:19

Added. Thank you for the translation. :)
Image
Please consider a little donation to keep the 'Linux On My Samsung' project up and running. Thank you!

jmg74fr
Supporter
Supporter
Posts: 9
Joined: 03/01/2010, 10:47

Re: HOWTO: NC10 scripts

Postby jmg74fr » 03/01/2010, 11:10

Hi,
And first many thanks to you Voria ;) ! (I've done a little donation to proove I do appreciate your great work...)

I've activated your repository (for Karmic, since I use Ubuntu 9.10). nc10scripts work fine :-)

But you talk about "wmswitcher" and "hal-info" for example in other treads of this forum. I don't find them (I just see debhelper, nc10-backlight*, nc10-scripts, voria-ppa-keyring & xserver-xorg-input-synaptics ; only these last 3 are installed) in the repository list (menu System / Admin / Synaptic).

They seem to be available only in Jaunty version : on https://launchpad.net/~voria/+archive/ppa/+packages I see more packages for Jaunty than for Karmic, and I don't know how to get them.

Thank you !

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

Re: HOWTO: NC10 scripts

Postby voRia » 03/01/2010, 15:24

Welcome to the forum and thank you very much for the donation, it's really appreciated! :)

With Jaunty there were a lot of fixes needed to have everything working properly; fortunately most of them have been fixed by default with Karmic. This is the reason why on the repository there are a few packages for Karmic, compared to the number of packages for Jaunty.

jmg74fr wrote:But you talk about "wmswitcher" and "hal-info" for example in other treads of this forum.

"hal-info" is not needed anymore, because the HAL subsystem is going to disappear in the future Ubuntu versions, and the process is already started with Karmic.
Concerning the "wmswitcher" script, I'm considering to re-add it to the 'nc10-scripts' package. After all, it's a script that can be useful from time to time.
Image
Please consider a little donation to keep the 'Linux On My Samsung' project up and running. Thank you!


Return to “Linux On My Samsung”

Who is online

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