This is a compatibility guide to running Linux with the Samsung X460 laptop.
This page is just for discussing using Linux on the Samsung X460. For a general discussion about this laptop you can visit the Samsung X460 page on LapWik.
On open source drivers everything works out of the box in Fedora 14 and above except HDMI sound. When switching to nvidia binary driver brightness switching does not work, but HDMI sound works fine.
Rene, Thursday 14 of October, 2010 [22:57:16]
Hey everyone,
there is another possibility to control the brightness, tested and working in OpenSUSE 11.3: You can write into /sys/class/backlight/samsung/brightness to adjust it without leaving X (tested under GNOME). It supports 8 settings, the current can be read from /sys/class/backlight/samsung/actual_brightness.
To decrease brightness by one step (as root):
echo 0 > /sys/class/backlight/samsung/brightness
To increase brightness by one(!) step:
echo 7 > /sys/class/backlight/samsung/brightness
Greetings,
Rene
G-Red, Friday 05 of June, 2009 [15:42:14]
So, here are some things, that I've made on my X460. Im using Debian 5.0 with kernel 2.6.30-rc8. But it's work fine also with 2.6.28 and up.
Brightness.
#!/bin/sh
gksu chvt 2
if [ "$1" ]; then
BRIGHT=$1
else
BRIGHT=80
fi
echo $BRIGHT | sudo tee /proc/acpi/video/NVID/LCD/brightness
sudo chvt 7
save this to a file, for example brightness.sh. After, make these executable with chmod +x. To change the brighness type in the terminal (with root rights) ./brightness.sh 60. This will change you brightness to 60%.
If you want to set the brightness on startup, insert this line to /etc/rc.local
echo 60 | sudo tee /proc/acpi/video/NVID/LCD/brightness
Don't forget!! You need the original driver from www.nvidia.com
Kernel config
If someone want to compile a new kernel, like me, here is my config file that i actually use on my 2.6.30-rc8 kernel for 32 bit system. I upload this to rapidshare.
I don't know, how much battery life, the other user has, but on Debian it was not so long, even 2.10h. Because of that, I've try to reduce the power consumption of my system.
At first, i have replaced the standard acpi-cpufreq module, with optimized phc_intel module. You can download the actually version of phc-intel-0.3.2-5 driver from:
If you don't need full graphic power on a battery, you should paste this lines to /etc/X11/xorg.conf
Section "Device"
#MinPower on battery, MaxPower on AC
Option "RegistryDwords" "PowerMizerEnable=0x1; PerfLevelSrc=0x2233; PowerMizerDefault=0x3"
Option "OnDemandVBlankInterrupts" "true"
EndSection
This are some entries to power save, that I've done on startup.
Write following to /etc/rc.local
#Load the phc-intel module on sturtup
modprobe phc_intel
#Brightness on startup
echo 60 | sudo tee /proc/acpi/video/NVID/LCD/brightness
#Set Wi-Fi to power safe mode on startup. After hibernate or standby
#you have to execute the line again.
echo 5 > /sys/bus/pci/drivers/iwlagn/0000\:02\:00.0/power_level
# Sound shutting down after 4sec
echo 4 > /sys/module/snd_hda_intel/parameters/power_save
#Set hard drive query to 15s (standard 4s)
echo 1500 > /proc/sys/vm/dirty_writeback_centisecs
# Laptop Mode
echo 5 > /proc/sys/vm/laptop_mode
# PCI devices power save
for i in /sys/bus/pci/devices/*/power_level ; do echo 5 > $i ; done
#Activate SATA ALPM link power Management
echo min_power > /sys/class/scsi_host/host0/link_power_management_policy
#set CD/DVD-ROM to sleep mode
hal-disable-polling --device /dev/cdrom
I've tested:
Web Cam - works with UVC driver
Bluetooth - works
Internal Mic - works
VGA-out - works
Cardreader - works
HDMI - not tested
Modem - not tested
Finger Print - not tested
ExpressCard Slot - not tested
Sergei, Tuesday 10 of March, 2009 [02:05:44]
Brightness control works fine under Ubuntu Intrepid with opensource Nvidia driver, but stops working once restricted driver is installed (verified with v.173, 177, 180). So it is basically a bug in NVidia proprietary linux driver.
Discussion
On open source drivers everything works out of the box in Fedora 14 and above except HDMI sound. When switching to nvidia binary driver brightness switching does not work, but HDMI sound works fine.
Hey everyone,
there is another possibility to control the brightness, tested and working in OpenSUSE 11.3: You can write into /sys/class/backlight/samsung/brightness to adjust it without leaving X (tested under GNOME). It supports 8 settings, the current can be read from /sys/class/backlight/samsung/actual_brightness.
To decrease brightness by one step (as root):
To increase brightness by one(!) step:
Greetings,
Rene
So, here are some things, that I've made on my X460. Im using Debian 5.0 with kernel 2.6.30-rc8. But it's work fine also with 2.6.28 and up.
Brightness.
save this to a file, for example brightness.sh. After, make these executable with chmod +x. To change the brighness type in the terminal (with root rights) ./brightness.sh 60. This will change you brightness to 60%.
If you want to set the brightness on startup, insert this line to /etc/rc.local
echo 60 | sudo tee /proc/acpi/video/NVID/LCD/brightness
Don't forget!! You need the original driver from www.nvidia.com
Kernel config
If someone want to compile a new kernel, like me, here is my config file that i actually use on my 2.6.30-rc8 kernel for 32 bit system. I upload this to rapidshare.
http://rapidshare.com/files/241141938/config-2.6.30-rc8-686
Powersave
I don't know, how much battery life, the other user has, but on Debian it was not so long, even 2.10h. Because of that, I've try to reduce the power consumption of my system.
At first, i have replaced the standard acpi-cpufreq module, with optimized phc_intel module. You can download the actually version of phc-intel-0.3.2-5 driver from:
http://www.linux-phc.org/forum/viewtopic.php?f=13&t=2
The package includes the How-To.
If you don't need full graphic power on a battery, you should paste this lines to /etc/X11/xorg.conf
Section "Device" #MinPower on battery, MaxPower on AC Option "RegistryDwords" "PowerMizerEnable=0x1; PerfLevelSrc=0x2233; PowerMizerDefault=0x3" Option "OnDemandVBlankInterrupts" "true" EndSectionThis are some entries to power save, that I've done on startup.
Write following to /etc/rc.local
I've tested:
Web Cam - works with UVC driver
Bluetooth - works
Internal Mic - works
VGA-out - works
Cardreader - works
HDMI - not tested
Modem - not tested
Finger Print - not tested
ExpressCard Slot - not tested
Brightness control works fine under Ubuntu Intrepid with opensource Nvidia driver, but stops working once restricted driver is installed (verified with v.173, 177, 180). So it is basically a bug in NVidia proprietary linux driver.
The only way around it I wound is to use “NvClock”:http://www.linuxhardware.org/nvclock/ project. The latest “0.8 (beta4)”:http://www.linuxhardware.org/nvclock/nvclock0.8b4.tar.gz has needed support just added. Download, compile, install and use `nvclock -S xx` to control brightness without leaving X.
Have you tried to suspend/resume in jaunty?
In my case, suspend goes OK, but during resume I get console messages about ext3-fs errors.
I can confirm that HDMI output works using nvidia propietary driver (180)