# Asus N550JV

Device | Status | Modules
Intel | Working | xf86-video-intel
Nvidia | Working | nouveau
Ethernet | Working | r8169
Wireless | Working | ath9k
Audio | Working | snd_hda_intel
Touchpad | Working | xf86-input-synaptics
Camera | Working | linux-uvc
Card Reader | Working | rts5139
Bluetooth | Unknown |

# Hardware

CPU | Quad core Intel(R) Core(TM) i7-4700HQ CPU @ 2.40GHz
RAM | 8 GB (2x4GB,1x8GB)
Display | 15.6" LCD 1920 x 1080
Integrated Graphics | 4th Gen Core Intel
Discrete Graphics | NVIDIA GeForce GT 750M
Sound | Intel HD Audio
Ethernet | RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
Wireless | AR9485 Wireless Network Adapter
Hard Disk | 1 TB 5400rpm SATA
Touchpad | ETPS/2 Elantech Touchpad

# Configuration

## Video

Install Intel support, then add Nouveau or NVIDIA support along with Bumblebee. You will need to add `rcutree.rcu_idle_gp_delay=1` to the kernel parameters, else about half of the time optirun/primusrun will fail to launch.

## Audio

### When using PulseAudio(and subwoofer support)

The integrated speakers works out of the box, but getting the subwoofer to work is much harder. Create the following files :

    /lib/firmware/alsa/n550-bass

    [codec]
    0x10ec0668 0x104311cd 0

    [pincfg]
    0x1a 0x80106111

    /etc/modprobe.d/alsa-base.conf

    options snd-hda-intel patch=,alsa/n550-bass

Create a 2.1 profile for PulseAudio by appending this to the file `/usr/share/pulseaudio/alsa-mixer/profile-sets/extra-hdmi.conf`:

    [Mapping analog-surround-21]
    device-strings = surround40:%f
    channel-map = front-left,front-right,lfe,lfe
    paths-output = analog-output analog-output-speaker
    priority = 7
    direction = output

Last, you need to edit `/etc/pulse/daemon.conf`, to uncomment and set parameters`enable-lfe-remixing = true`, and set `default-sample-channels = 3`. Now, after a reboot, you should be able to get your subwoofer to work. If it still does not work, check if the subwoofer is completely plugged in.

### When using Alsa

The order of the audio devices seems to randomly shift on boot. Add the following line to `/etc/modprobe.d/alsa-base.conf`

    options snd_hda_intel enable=0,1

Note: When using external speakers plugged into the combination headphone/mic jack the speakers will pop twice when the system goes to sleep or is shutdown.

## Keyboard Backlight

Use the following kernel parameter to enable function key support for the display backlight

    acpi_osi=

Yes, that is indeed the equals sign followed by a blank space.

To disable the keyboard backlight (or set a custom value) use the following UDEV rule

    # /etc/udev/rules.d/keyboard-backlight.rules
    ACTION=="add", SUBSYSTEM=="leds", KERNEL=="asus::kbd_backlight", DRIVERS=="asus-nb-wmi", ATTR{brightness}="0"

#### Using asus-kbd-backlight from AUR

Install asus-kbd-backlight from AUR.

Enable the daemon via systemd.

    # systemctl daemon-reload
    # systemctl start asus-kbd-backlight.service
    # systemctl enable asus-kbd-backlight.service

Now you can easily change keyboard backlight in terminal:

    $ asus-kbd-backlight up
    $ asus-kbd-backlight down
    $ asus-kbd-backlight max
    $ asus-kbd-backlight off
    $ asus-kbd-backlight night
    $ asus-kbd-backlight 2
    $ asus-kbd-backlight show

And finally, add some convenient keyboard shortcuts by the method of your choice.

## Power

Hibernate via systemd works out of the box when the swap space or file is correctly identified in the resume kernel parameter. However, even though the system suspends properly it will lock up when resuming. This is due to the USB controller not properly turning off on its own. See Power management#Suspend/resume service files regarding custom service files which can be used to disable/enable various services or modules upon suspend and resume. Creating and enabling the following service files allows the system to suspend and resume successfully.

    /etc/systemd/system/root-suspend.service

    [Unit]
    Description=Local system suspend actions
    Before=sleep.target

    [Service]
    Type=oneshot
    ExecStart=-/usr/bin/rmmod ehci_pci ; /usr/bin/rmmod ehci_hcd ; /usr/bin/rmmod xhci_pci ; /usr/bin/rmmod xhci_hcd

    [Install]
    WantedBy=sleep.target

    /etc/systemd/system/root-resume.service

    /etc/systemd/system/root-suspend.service
    [Unit]
    Description=Local system resume actions
    After=suspend.target

    [Service]
    Type=oneshot
    ExecStart=/usr/bin/modprobe ehci_hcd ; /usr/bin/modprobe ehci_pci ; /usr/bin/modprobe xhci_hcd ; /usr/bin/modprobe xhci_pci

    [Install]
    WantedBy=suspend.target

### Battery charging issues

This battery in this laptop can only be accessed by removing the bottom of the entire laptop, which requires removing 10 TORX-5 screws. That there appears to be a power issue related to the recharging USB port (the USB port with a lightning bolt) under Linux. When an externally powered device is plugged into the charging USB port and the system is power cycled, the battery indicator will begin flashing orange and the system no longer recognizes or charges the battery. One way to reset the charging circuit is to force shutdown by holding the power button for a few seconds. See this thread at the Ubuntu forums for other possible solutions.

Category:

- ASUS