HOWTO: Use the repository on *buntu 12.04 LTS and above

Discussions about Linux installation and configuration on Samsung laptops
yngvewb
Newbie
Newbie
Posts: 2
Joined: 18 May 2013, 17:23

Re: HOWTO: Use the repository on *buntu 12.04 LTS

Post by yngvewb »

"If you really need them, you can manually download them from the repository"

I need the backlight module. Could you please explain of to download them from the 12.10 repository?
User avatar
voria
Administrator
Administrator
Posts: 1383
Joined: 12 Feb 2009, 18:08
Location: Italy
Contact:

Re: HOWTO: Use the repository on *buntu 12.04 LTS

Post by voria »

Go to the repository page (link is above, in the header of this forum), click on "view package details", download the .deb file you need and install it on your system with a double click on it.
Image
Please consider a little donation to keep the 'Linux On My Samsung' project up and running. Thank you!
yngvewb
Newbie
Newbie
Posts: 2
Joined: 18 May 2013, 17:23

Re: HOWTO: Use the repository on *buntu 12.04 LTS

Post by yngvewb »

Could you please indicate where I can download samsung-backlight? I do not know where to download from the 12.04 repository.
smmithjjohn
Newbie
Newbie
Posts: 1
Joined: 23 May 2013, 12:06

Re: HOWTO: Use the repository on *buntu 12.04 LTS

Post by smmithjjohn »

I'm a user of exactly the same configuration you have and I can assure you it works .
User avatar
Woulouf
Supporter
Supporter
Posts: 52
Joined: 05 Mar 2011, 12:32
Location: France

Re: HOWTO: Use the repository on *buntu 12.04 LTS

Post by Woulouf »

yngvewb wrote:Could you please indicate where I can download samsung-backlight? I do not know where to download from the 12.04 repository.
Open a terminal and type :

Code: Select all

sudo apt-get install samsung-backlight
Samsung N150 powered by Voyager 12.04 (Xubuntu)
Brightness control issue with 12.04 LTS : look at this topic http://www.voria.org/forum/viewtopic.php?p=5753#p5753
potomac
Newbie
Newbie
Posts: 1
Joined: 04 Jun 2013, 08:56

Re: HOWTO: Use the repository on *buntu 12.04 LTS

Post by potomac »

Hi all,

I just discovered samsung-tools, so I decided to install them on my Kubuntu 12.04, Samsung RC530. I followed the instructions, and I get no errors in the kernel log:

Code: Select all

laptop:~$ grep samsung /var/log/kern.log
Jun  4 08:40:33 laptop kernel: [   12.599491] samsung_laptop: detected SABI interface: SwSmi@
Jun  4 08:40:33 laptop kernel: [   12.599493] samsung_laptop: Backlight controlled by ACPI video driver
but the Fn shortcuts appear not to be working. If I type:

Code: Select all

samsung-tools -i
I get:

Code: Select all

  File "/usr/bin/samsung-tools", line 40
    class Backlight():
                    ^
SyntaxError: invalid syntax
EDIT: If I use a different version of python, I get:

Code: Select all

laptop:~$ python2.7 /usr/bin/samsung-tools -i
Backlight control: unable to connect to session service!
Same goes for any samsung-tools command.

Any advice on how to solve this would be very appreciated!

Claudio
martini
Newbie
Newbie
Posts: 4
Joined: 10 Oct 2012, 09:01

Samsung-backlight won't work anymore with 3.5.0-32 kernel

Post by martini »

Samsung-backlight won't work anymore with 3.5.0-32 kernel on Samsunp NP300.

UPD: it works again after linux-tools installed and (or) reboot... Some fuzzy troubles... Sorry for spam here.
ChrisPHL
Newbie
Newbie
Posts: 2
Joined: 09 May 2014, 09:03

Re: HOWTO: Use the repository on *buntu 12.04 LTS and above

Post by ChrisPHL »

voRia wrote:[...]
FOR NVIDIA USERS:
[...]
If backlight control does not work for you, follow these instructions:
  • Edit the file '/etc/X11/xorg.conf' and add this line into the Device section:

    Code: Select all

    Option "RegistryDwords" "EnableBrightnessControl=1"
  • Reboot and check if backlight control works. If so, you're done.
    [...]
Hi voRia,

I'm using your great tools on my Samsung R580 laptop for years now and I'm happy with it. Thanks for your effort!
Here comes my experience with your hint for activating brightness control on a Ubuntu 14.04 LTS.
Since I utilize the proprietary nvidia graphics driver with my GeForce GT 330M chipset, the grub cmd line trick does not work for me. (Using nouveau driver the backlight control works for me.) Trying to edit the Device section in xorg.conf file seems kind of pointless hint for most users because latest *buntu distributions do not use these files per default.
So here's what I did to manage to get brightness control working:
  • Start "NVIDIA X Server Setting" from menu or type in a terminal:

    Code: Select all

    /usr/bin/nvidia-settings # [Return]
  • Select "X Server Display Configuration" from the left hand menu.
  • Push button "Save to X Configuration File".
  • Push button "Show preview...".
  • Add the line

    Code: Select all

        Option "RegistryDwords" "EnableBrightnessControl=1"
    to Device section. It shoul look similar like this:

    Code: Select all

    Section "Device"
        Identifier     "Device0"
        Driver         "nvidia"
        VendorName     "NVIDIA Corporation"
        BoardName      "GeForce GT 330M"
        Option "RegistryDwords" "EnableBrightnessControl=1"
    EndSection
  • Uncheck "Merge with existing file".
  • Save the file to /etc/X11/xorg.conf.
  • Reboot the machine and it should work.
[/list]
I think it's a good idea to add this hint to your first posting of this thread.

kind regards
Christian
User avatar
voria
Administrator
Administrator
Posts: 1383
Joined: 12 Feb 2009, 18:08
Location: Italy
Contact:

Re: HOWTO: Use the repository on *buntu 12.04 LTS and above

Post by voria »

Done. Thanks! ;)
Image
Please consider a little donation to keep the 'Linux On My Samsung' project up and running. Thank you!
ChrisPHL
Newbie
Newbie
Posts: 2
Joined: 09 May 2014, 09:03

Re: HOWTO: Use the repository on *buntu 12.04 LTS and above

Post by ChrisPHL »

Hi voRia,

there's one thing left: The instructions from "Start "NVIDIA X Server Setting" from menu or type in a terminal:" to "Reboot and check if backlight control works. If so, you're done." are valid for users utilizing nVidia closed source driver only. You should add a hint and you're done. :-) Thank you!
khotikhani
Newbie
Newbie
Posts: 1
Joined: 27 May 2014, 11:18

Re: HOWTO: Use the repository on *buntu 12.04 LTS

Post by khotikhani »

smmithjjohn wrote:I'm a user of exactly the same configuration you have and I can assure you it works .
Hi smmithjjohn what exact config your are using can you please Pm ME?
atlanx
Newbie
Newbie
Posts: 1
Joined: 20 Aug 2014, 21:21

Re: HOWTO: Use the repository on *buntu 12.04 LTS and above

Post by atlanx »

Is there a working

easy-slow-down-manager' and 'samsung-backlight' packages

for Ubuntu 14.04 LTS Trusty?


I have the problem - with samsung-tools - that, when i decrease the backlight to strong (e.g. under 25%) then the backlight goes off completely.
And the bad point - it is not going on again when i try to increase the backlight again.

System:
Ubuntu 14.04 LTS Trusty - 32Bit
Samsung Notebook R700
NVIDIA G84M [GeForce 8600M GT] (rev a1) driver : nvidia-331 (v331.38)
User avatar
voria
Administrator
Administrator
Posts: 1383
Joined: 12 Feb 2009, 18:08
Location: Italy
Contact:

Re: HOWTO: Use the repository on *buntu 12.04 LTS and above

Post by voria »

I just released a new minor version (2.3.2) of Samsung Tools, in order to support most modern ubuntu versions. It's available on the (usual) repository for Ubuntu 17.10 (Artful Aardvark), and the same .deb package should also work on previous ubuntu versions (in this case you can download it manually from https://launchpad.net/~voria/+archive/ubuntu/ppa).

Let me know if any problem!
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: HOWTO: Use the repository on *buntu 12.04 LTS and above

Post by voria »

There was a problem with localizations on version 2.3.2. New version 2.3.3 is now available on the repository that should fix the issue.

Again, let me know if any problem!
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: HOWTO: Use the repository on *buntu 12.04 LTS and above

Post by voria »

A note about power management of Samsung Tools:
Suspend, hibernate, resume and power supply events relies on pm-utils, which is now pretty much abandoned and unsupported on most modern distros. This means that most of the power management features are pretty much not functional. I suggest to use something else (like laptop-mode-tools) to handle power management.
Image
Please consider a little donation to keep the 'Linux On My Samsung' project up and running. Thank you!
Post Reply