- Repository URL: https://launchpad.net/~voria/+archive/ppa
- Instructions:
- Add the repository to the sources list
Open a terminal and use the following command:Code: Select all
sudo add-apt-repository ppa:voria/ppa
- Perform a complete system update
From the terminal, use the following command in order to update all the packages at the latest versions:Code: Select all
sudo apt-get update && sudo apt-get upgrade
- Install packages from the repository
Use your favourite package manager to install the following packages:- samsung-tools
It enables control of devices (bluetooth, webcam, wireless, CPU fan) and the FN keys.
Please read the NOTES below. - samsung-laptop (optional)
It installs a patched version of the 'samsung-laptop' kernel module, which provides a control interface for samsung-tools.
Please read the NOTES below. - easy-slow-down-manager (optional)
It installs the 'easy-slow-down-manager' kernel module, which provides a control interface for samsung-tools.
Please read the NOTES below. - samsung-backlight (optional)
It enables the screen brightness control for laptops that don't have a proper support (mostly with Intel video cards).
It also disables the samsung-laptop kernel module.
Please read the NOTES below. - phc-intel (optional)
It installs the 'phc-intel' kernel module, used by samsung-tools for CPU undervolting.
Keep it mind it only supports a limited range of CPUs, mostly Atom CPUs, so it may not work for you.
You also need a PHC enabled kernel, since the official Ubuntu one does not allow the use of this kernel module.
Use the PPA for linux-phc in order to get one.
- samsung-tools
- Again, please read the NOTES below.
- Reboot the system to have all changes applied.
- Have fun!
- Add the repository to the sources list
The backlight control should work by default when using the open source nouveau driver.
Instead, if you use the closed source nvidia driver, follow these instructions (thanks to ChrisPHL):
- 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 lineto Device section. It should look similar like this:
Code: Select all
Option "RegistryDwords" "EnableBrightnessControl=1"
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 and check if backlight control works. If so, you're done.
- If not, edit the file '/etc/default/grub' and change the line:
to
Code: Select all
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
Code: Select all
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi_backlight=vendor"
- Update grub with this command:
Code: Select all
sudo update-grub
- Reboot and backlight control should work.
The new samsung-tools 2.0 has support for 2 different control interfaces: samsung-laptop and easy-slow-down-manager.
The first one is newer and is officially shipped with the newer linux kernels. Eventually, It will superseed easy-slow-down-manager.
Unfortunately, at the moment it lacks support for a lot of Samsung notebook models and it yet suffers of some annoying bugs.
The samsung-laptop package available on the PPA installs a patched version of the kernel module which fixes some of these bugs but, yet, the situation is pretty much the same. If you face problems with this control interface, you can switch to the old 'easy-slow-down-manager' interface.
To do so, install the easy-slow-down-manager and samsung-backlight packages from the PPA. The 'samsung-laptop' kernel module will be disabled.
These 2 packages provide the same functionalities as in the previous Ubuntu versions, so if they worked for you, they will continue to do so.
You can check the control interface currently in use from the command line, with the command "samsung-tools -i", or through the "Samsung Tools Preferences" configuration dialog.
Another thing needs to be pointed out.
I receive a lot of reports about samsung-tools and the problems with the screen brightness control.
Samsung Tools has no control on screen brightness levels, nor on the behaviour of the Fn-Up and Fn-Down hotkeys used to control brightness.
It just controls the screen backlight (on or off, Fn-F5 hotkey), by using the control interfaces described above.
If brightness control does not work for you, then the problem may be in the kernel driver missing support for your notebook model, may be a bug in gnome-power-manager (if you use Gnome), may be a bug in powerdevil (if you use KDE), and so on.
Please file bug reports appropriately.
