Page 1 of 1

[R719] Backlight brightness

Posted: 22 Mar 2010, 16:13
by berzoid
I have a Samsung R719 laptop running Ubuntu 9.10.
The Fn keys aren't working except for the sound related ones (mute, up, down)
My problem is that I can't change the screen's brightness using the keyboard or the brightness applet.
There is a bug filed against the problem here. And I found a way to change the brightness here. The command is

Code: Select all

sudo setpci -s 00:02.0 F4.B=FF
This sets the display to maximum brightness, and the last value can be changed (00 - FF). But it seems this doens't work for everyone.

I found this forum when I looked at this thread about the R518 and was hoping it would work for the R719 too but it seems this model isn't supported. Is there a way to get the brightness to work on the R719/R519 too?

sudo dmidecode -s system-product-name

Code: Select all

R519/R719
lspci -nn

Code: Select all

00:00.0 Host bridge [0600]: Intel Corporation Mobile 4 Series Chipset Memory Controller Hub [8086:2a40] (rev 09)
00:02.0 VGA compatible controller [0300]: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller [8086:2a42] (rev 09)
00:02.1 Display controller [0380]: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller [8086:2a43] (rev 09)
00:1a.0 USB Controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 [8086:2937] (rev 03)
00:1a.1 USB Controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 [8086:2938] (rev 03)
00:1a.2 USB Controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #6 [8086:2939] (rev 03)
00:1a.7 USB Controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 [8086:293c] (rev 03)
00:1b.0 Audio device [0403]: Intel Corporation 82801I (ICH9 Family) HD Audio Controller [8086:293e] (rev 03)
00:1c.0 PCI bridge [0604]: Intel Corporation 82801I (ICH9 Family) PCI Express Port 1 [8086:2940] (rev 03)
00:1c.3 PCI bridge [0604]: Intel Corporation 82801I (ICH9 Family) PCI Express Port 4 [8086:2946] (rev 03)
00:1d.0 USB Controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 [8086:2934] (rev 03)
00:1d.1 USB Controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 [8086:2935] (rev 03)
00:1d.2 USB Controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 [8086:2936] (rev 03)
00:1d.7 USB Controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 [8086:293a] (rev 03)
00:1e.0 PCI bridge [0604]: Intel Corporation 82801 Mobile PCI Bridge [8086:2448] (rev 93)
00:1f.0 ISA bridge [0601]: Intel Corporation ICH9M LPC Interface Controller [8086:2919] (rev 03)
00:1f.2 SATA controller [0106]: Intel Corporation ICH9M/M-E SATA AHCI Controller [8086:2929] (rev 03)
00:1f.3 SMBus [0c05]: Intel Corporation 82801I (ICH9 Family) SMBus Controller [8086:2930] (rev 03)
02:00.0 Network controller [0280]: Atheros Communications Inc. AR9285 Wireless Network Adapter (PCI-Express) [168c:002b] (rev 01)
04:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller [10ec:8136] (rev 02)

Re: [R719] Backlight brightness

Posted: 22 Mar 2010, 17:17
by voria
Support added for your model. The new packages are building right now and they will be available for installation in the next few hours. ;)
Changelogs:

Code: Select all

linux (2.6.31-20.59~ppa4~loms~karmic) karmic; urgency=low
  ...
  * Fix FN keys release on following samsung models:
    N120, N128, N130, N140, N148/N208, NB30, N150/N210/N220,
    N220, N310, N510, Q310, R518, R519/R719, X120.
  * Apply 'libata-ata_piix-clear-spurious-IRQ.patch' to fix the
    SATA freezing problem on Samsung N130/N140.
  * Apply 'linux-phc-0.3.2.patch'.

Code: Select all

udev (147~-6.2~ppa16~loms~karmic) karmic; urgency=low

  * Add support for Samsung R519/R719.

Code: Select all

samsung-backlight (2.6.31-20~ppa6~loms~karmic) karmic; urgency=low

  * Add support for Samsung R519/R719.

Re: [R719] Backlight brightness

Posted: 22 Mar 2010, 19:02
by berzoid
Thank you sir.

It seems the kernel is building at the moment so I'll wait some time and will post the results here later. In the mean time: could you tell me which packages I should install?
Is adding the ppa, updating and installing samsung-backlight enough or do I need the samsung-script package? Because the layout described in the samsung-script package description doesn't match mine.

Besides, I noticed the easy-slow-down-manager which can set the laptop to silent, normal or speed mode. Does this package also work on my model and if so: how do I use it?

Re: [R719] Backlight brightness

Posted: 25 Mar 2010, 17:53
by voria
Sorry for the late answer.
All you have to do is to add the repository, perform a complete update of the system, install 'samsung-backlight' and also 'samsung-scripts'. You need the latter because it installs all the scripts needed to manage the various devices. Even if the default keybindings created by it don't match the ones of your model, you can easily change them through the compizconfig-settings-manager.

I don't know if the easy-slow-down-manager module supports also your model, anyway you can try it. It's used by my new project called 'Samsung Tools', which is intended to replace the old 'samsung-scripts'. This new project is yet under development (it's already working anyway). If you want to try it, take a look at this thread.

Re: [R719] Backlight brightness

Posted: 26 Mar 2010, 19:02
by berzoid
Everything is working alright now.
Easy slowdown manager is working fine, the only things that are not working at the moment are the wireless state indicator led, which stays on even after disabling the wireless adaptor, and the switch to completely turn off the backlight. I don't really care about those options though and am very happy you got my backlight brightness to work.