Samsung R518 Fn+* problem.

Discussions about Linux installation and configuration on Samsung laptops
Post Reply
exploit
Newbie
Newbie
Posts: 7
Joined: 13 Mar 2010, 19:47

Samsung R518 Fn+* problem.

Post by exploit »

Hi everyone.
I have Samsung NP-R518-DA09UA notebook with latest 04LC BIOS version, and known problems with it.
It is unable to adjust backlight with Fn+Up\Down, unable to toggle WiFi with Fn+F9, unable to toggle backlight with Fn+F5. Fn+Left\Right (changing volume) and Fn+F6 (mute) are working.
I have a fresh installation of Ubuntu 9.10 Karmic Koala on it with Gnome 2.28.1
uname -a

Code: Select all

Linux-laptop 2.6.31-14-generic #48-Ubuntu SMP Fri Oct 16 14:05:01 UTC 2009 x86_64 GNU/Linux
lspci -nn

Code: Select all

00:00.0 Host bridge [0600]: Intel Corporation Mobile 4 Series Chipset Memory Controller Hub [8086:2a40] (rev 07)
00:02.0 VGA compatible controller [0300]: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller [8086:2a42] (rev 07)
00:02.1 Display controller [0380]: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller [8086:2a43] (rev 07)
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.2 PCI bridge [0604]: Intel Corporation 82801I (ICH9 Family) PCI Express Port 3 [8086:2944] (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 Ethernet controller [0200]: Atheros Communications Inc. AR5001 Wireless Network Adapter [168c:001c] (rev 01)
06:00.0 Ethernet controller [0200]: Marvell Technology Group Ltd. Device [11ab:4380] (rev 10)
sudo dmidecode -s system-product-name

Code: Select all

R518
Please, tell me what should i do to make it working?
User avatar
voria
Administrator
Administrator
Posts: 1383
Joined: 12 Feb 2009, 18:08
Location: Italy
Contact:

Re: Samsung R518 Fn+* problem.

Post by voria »

New packages on the repository. Changelogs:

Code: Select all

linux (2.6.31-20.58~ppa3~loms~karmic) karmic; urgency=low
  ...
  * Fix FN keys release on following samsung models:
    N120, N130, N140, NB30, N150/N210/N220, N220, N310, N510, Q310, R518, 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~ppa13~loms~karmic) karmic; urgency=low

  * Add Samsung R518 support to '95-keymap.rules'.

Code: Select all

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

  * Add support for Samsung R518.
They will be available for installation in few hours, install them (if you have not enabled my repository yet, follow instructions in this thread) and let me know if all problems are gone. :)

PS: Thread moved in the Linux section, since this is not an hardware problem.
Image
Please consider a little donation to keep the 'Linux On My Samsung' project up and running. Thank you!
exploit
Newbie
Newbie
Posts: 7
Joined: 13 Mar 2010, 19:47

Re: Samsung R518 Fn+* problem.

Post by exploit »

Wow, it's great.

So, i made this:

Code: Select all

# Repository URL: https://launchpad.net/~voria/+archive/ppa
# Instructions:

    * Add the repository to the sources list and enable it
          o Ubuntu:
                + Go to 'System'->'Administration'->'Software Sources'.
                + Click on the 'Other Software' tab, then on 'Add...'.
                + In the 'APT line:' text field, insert ppa:voria/ppa, then click on 'Add Source'.
                + Click on 'Close' and when asked click on 'Reload'.
                + Open a Terminal and use the following command to install the GnuPG verification key for the repository:
                  Code:
                  sudo apt-get install --allow-unauthenticated voria-ppa-keyring
          o Kubuntu:
                + Open the 'K' menu, click on the 'Computer' tab, then on 'KPackageKit'.
                + Click on 'Settings', then 'Edit Software Sources'.
                + Click on the 'Other Software' tab, then on 'Add...'.
                + Insert ppa:voria/ppa in the text field, then click on 'OK'.
                + Click on 'Close' and when asked click on 'Reload'.
                + Close KPackageKit.
                + Open a Terminal and use the following command to install the GnuPG verification key for the repository:
                  Code:
                  sudo apt-get install --allow-unauthenticated voria-ppa-keyring
    * Perform a complete system update
          o From the Terminal, use the following command in order to update all the packages at the latest versions:
            Code:
            sudo apt-get update && sudo apt-get upgrade
    * Install the important packages
      Use your favourite package manager to install the following packages:
          o samsung-backlight
            Enable the screen backlight support for netbooks that don't have a proper support.
            On Samsung NC10 it's not needed if you are using BIOS 11CA.
          o samsung-scripts
            Enable the FN keys (more info and instructions on how to enable and use them here).
          o samsung-wireless
            Enable the wireless card, on netbooks shipped with a Realtek card.
    * Enable laptop-mode for a better power and hard disk management
          o Follow instructions in this thread.
    * Reboot the system
          o Reboot the system to have all changes applied.
Is it OK ? Or i need to remove or add something?
And, tell me please, how can i do update of your repository ? I need it to not to do something wrong ))) ::)
User avatar
voria
Administrator
Administrator
Posts: 1383
Joined: 12 Feb 2009, 18:08
Location: Italy
Contact:

Re: Samsung R518 Fn+* problem.

Post by voria »

Yes, those are the instructions to add the repository to your system.
However, you don't need to install the 'samsung-wireless' package, since it's for netbooks shipped with Realtek wireless card, while your R518 is shipped with an Atheros wireless card (working out of the box).

Since you have added the repository, the package manager will check for new updates automatically, on a daily basis.
You can also check and install updates manually by using the package manager, or by using this command in a terminal:

Code: Select all

sudo apt-get update && sudo apt-get upgrade
Anyway, just for the record, the new packages on the repository are building yet, they are not yet available for installation.
Image
Please consider a little donation to keep the 'Linux On My Samsung' project up and running. Thank you!
exploit
Newbie
Newbie
Posts: 7
Joined: 13 Mar 2010, 19:47

Re: Samsung R518 Fn+* problem.

Post by exploit »

Hello.
On my R518 toggling backlight and WiFi with Fn + F5 F9 started to work after a few

Code: Select all

sudo apt-get update && sudo apt-get upgrade
. Showing the backlight adjustment slider moves, but the backlight still remains on the same level.
User avatar
voria
Administrator
Administrator
Posts: 1383
Joined: 12 Feb 2009, 18:08
Location: Italy
Contact:

Re: Samsung R518 Fn+* problem.

Post by voria »

Did you install 'samsung-backlight'?
Also, try to add the option 'acpi_backlight=vendor' to the GRUB kernel command line.
Instructions to do it:
- Open the grub configuration file:

Code: Select all

sudo gedit /etc/default/grub
- Change the line:

Code: Select all

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
in:

Code: Select all

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi_backlight=vendor"
- Save and exit.
- Update the GRUB against the new config file:

Code: Select all

sudo update-grub
- Reboot.
Image
Please consider a little donation to keep the 'Linux On My Samsung' project up and running. Thank you!
exploit
Newbie
Newbie
Posts: 7
Joined: 13 Mar 2010, 19:47

Re: Samsung R518 Fn+* problem.

Post by exploit »

Bravo !!!
Great job.
Everything is working !!!
User avatar
voria
Administrator
Administrator
Posts: 1383
Joined: 12 Feb 2009, 18:08
Location: Italy
Contact:

Re: Samsung R518 Fn+* problem.

Post by voria »

Glad to know everything is working. :)
Image
Please consider a little donation to keep the 'Linux On My Samsung' project up and running. Thank you!
Post Reply