HOWTO: NC10 scripts

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: [NC10] New scripts, updated scripts and a general summary

Post by voria »

Thank you, I've updated the 'nc10-scripts' package on the repository. :)

About the locales, I have modified all the scripts to just check "fr" instead of "fr_FR", and I did it for all the other locales.
Image
Please consider a little donation to keep the 'Linux On My Samsung' project up and running. Thank you!
mbt28
Newbie
Newbie
Posts: 31
Joined: 23 Apr 2009, 11:18

RE: [NC10] New scripts, updated scripts and a general summary

Post by mbt28 »

Turkish translation of cpumanager_helper.py . If the governer modes can translatable, it would be more understandable. Thanks for the development.

Code: Select all

elif language == "tr":
    popup_title = "İşlemci"
    cpu_temp = "Sıcaklık: "
    cpu_freq = "Hız: "
    cpu_governor = "Yönetim: "
Last edited by mbt28 on 11 May 2009, 23:07, edited 1 time in total.
User avatar
voria
Administrator
Administrator
Posts: 1383
Joined: 12 Feb 2009, 18:08
Location: Italy
Contact:

RE: [NC10] New scripts, updated scripts and a general summary

Post by voria »

New 'nc10-scripts' on repository, changelog:

Code: Select all

nc10-scripts (0.4~ppa5~nc10~jaunty) jaunty; urgency=low

  * 'cpumanager.sh':
    - Added the 'IGNORE_GOVERNORS' variable. It's a list of governors
      we don't want to use.
    - Added 'conservative' to IGNORE_GOVERNORS.
  * 'cpumanager_helper.py':
    - Added Turkish translation. (thanks to mbt28)
    - Updated French translation.
    - Added new translatable strings:
        governor_powersave
        governor_ondemand
        governor_conservative
        governor_performance
      They default to 'None' (the original name of the governor is used).
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: 1383
Joined: 12 Feb 2009, 18:08
Location: Italy
Contact:

RE: [NC10] New scripts, updated scripts and a general summary

Post by voria »

Yet another update:

Code: Select all

nc10-scripts (0.4~ppa6~nc10~jaunty) jaunty; urgency=low

  * Added support to all the governors to 'cpumanager*' scripts.
These are all the translatable strings for all the governors in 'cpumanager_helper.py':
governor_powersave
governor_ondemand
governor_conservative
governor_performance
governor_userspace
Image
Please consider a little donation to keep the 'Linux On My Samsung' project up and running. Thank you!
mbt28
Newbie
Newbie
Posts: 31
Joined: 23 Apr 2009, 11:18

RE: [NC10] New scripts, updated scripts and a general summary

Post by mbt28 »

Added govermod translations to TR.

Code: Select all

elif language == "tr":
    popup_title = "İşlemci"
    cpu_temp = "Sıcaklık: "
    cpu_freq = "Hız: "
    cpu_governor = "Yönetim: "
    governor_powersave = "güç tasarrufu"
    governor_ondemand = "talep üzerine"
    governor_conservative = "tutumlu"
    governor_performance = "tam güç"
    governor_userspace = "kullanıcı tanımlı"
Cezary
Newbie
Newbie
Posts: 12
Joined: 13 Mar 2009, 17:01
Contact:

RE: [NC10] New scripts, updated scripts and a general summar

Post by Cezary »

voRia wrote: Thanks, Cezary. :)

I've added the cpu frequency too.

Is "Częstotliwość:" a good polish translation for "Frequency:"? I asked google and it says so :P
yes, exactly.
marks
Newbie
Newbie
Posts: 8
Joined: 13 Jun 2009, 15:40

RE: [NC10] New scripts, updated scripts and a general summary

Post by marks »

Thanks for all the work on the scripts, really rounds out the experience of using the UNR on the N110.

I have one little suggestion. Powertop shows the bluetooth module as still active after disabling the bluetooth with '/etc/init.d/bluetooth stop', adding an additional 'rmmod btusb' and a corresponding 'modprobe btusb' before start in the /usr/bin/btonoff.sh script seems to complete the disabling.

Mark.
Last edited by marks on 13 Jun 2009, 15:59, edited 1 time in total.
User avatar
voria
Administrator
Administrator
Posts: 1383
Joined: 12 Feb 2009, 18:08
Location: Italy
Contact:

RE: [NC10] New scripts, updated scripts and a general summar

Post by voria »

marks wrote: I have one little suggestion. Powertop shows the bluetooth module as still active after disabling the bluetooth with '/etc/init.d/bluetooth stop', adding an additional 'rmmod btusb' and a corresponding 'modprobe btusb' before start in the /usr/bin/btonoff.sh script seems to complete the disabling.
I'm not sure that removing 'btusb' module is really needed in order to completely disable bluetooth. Just stopping the bluetooth service seems to kill the bluetooth radio too.
Anyway, I don't see any problem in removing the module too, so I have modified the script as you suggested. :)
Image
Please consider a little donation to keep the 'Linux On My Samsung' project up and running. Thank you!
marks
Newbie
Newbie
Posts: 8
Joined: 13 Jun 2009, 15:40

RE: [NC10] New scripts, updated scripts and a general summary

Post by marks »

I suspect that you're correct and the bluetooth radio is turned off, however leaving the kernel module in seems to cause the module to keep waking the CPU up from sleep states, which is what PowerTop is picking up.

As you say, removing the module isn't going to hurt.
User avatar
voria
Administrator
Administrator
Posts: 1383
Joined: 12 Feb 2009, 18:08
Location: Italy
Contact:

RE: [NC10] New scripts, updated scripts and a general summary

Post by voria »

Scripts have been completely rearranged and reorganized.
I've updated the main post with informations on how they work now.
Image
Please consider a little donation to keep the 'Linux On My Samsung' project up and running. Thank you!
jarnos
Newbie
Newbie
Posts: 5
Joined: 05 Oct 2009, 15:26

Re: [NC10] New scripts, updated scripts and a general summary

Post by jarnos »

I installed the nc10-scripts package in Xubuntu 9.10 (karmic) and it took me a while to note that nc10 is the command to use as there was no hint in the package description. I use neither compiz nor metacity, but I can enable the keybindings manually in Keyboard settings of Xfce desktop environment.

I can't enable bluetooth: the command gives "Can't init device hci0: Unknown error 132 (132)". I have used blueman-applet (that displays status in its tray icon) but even that can not turn bluetooth on now. Strange, it used to work before. Maybe updates broke my bluetooth :(

By the way, I would be interested in some applet that would display status of webcam in panel.

As for the main post, in my experience "nc10 lcd" needs sudo, but "nc10 cpuperf auto" does not.
jarnos
Newbie
Newbie
Posts: 5
Joined: 05 Oct 2009, 15:26

Re: [NC10] New scripts, updated scripts and a general summary

Post by jarnos »

As for the bluetooth toggle, it works after suspend to RAM & resume.
shaunmenzies
Newbie
Newbie
Posts: 3
Joined: 04 Nov 2009, 15:14

Re: HOWTO: NC10 scripts

Post by shaunmenzies »

I have just done a complete fresh install of Ubuntu 9.10 Netbook Remix on a Samsung n310. Everything is working well except the function keys. I then installed NC-10 Script and Backlight packages as per instructions on this website. Everything works well on the command line in a terminal BUT not via the Fn keys.

What should I do next to bind the Fn key combos to the commands ?

Many thanks in advance of any help,

Cheers, Shaun.
jarnos
Newbie
Newbie
Posts: 5
Joined: 05 Oct 2009, 15:26

Re: HOWTO: NC10 scripts

Post by jarnos »

It depends what desktop environment you are using. In Xfce you can do it easily in keyboard settings.
User avatar
voria
Administrator
Administrator
Posts: 1383
Joined: 12 Feb 2009, 18:08
Location: Italy
Contact:

Re: HOWTO: NC10 scripts

Post by voria »

On ubuntu karmic normal version, the 'Commands' compiz plugin needed to use hotkeys is enabled by default. I don't know if it's the same for the netbook remix.
Just check it: install the 'compizconfig-settings-manager' package, start it and make sure the 'Commands' plugin is enabled.
Image
Please consider a little donation to keep the 'Linux On My Samsung' project up and running. Thank you!
Post Reply