It’s probably you’ll have to tuning several things in Ubuntu 15/16 if you are an owner of a laptop ASUS X series.
If yo get this error on syslog and/or by stderr (a lot of records by second):
printk messages dropped pcieport 0000:1c.5 Receiver Error
pcieport 0000:00:1c.5 PCIe Bus Error: severity=Corrected, type=Physical Layer, id=00e5(Receiver ID)
add pci=nomsi to the /etc/default/grub file:
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash pci=nomsi"
Also you’ll want control brightness via system keys, if don’t work, try adding acpi_osi=, acpi_backlight=native and intel_idle.max_cstate=1 to the /etc/default/grub file too:
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash pci=nomsi acpi_osi= acpi_backlight=native intel_idle.max_cstate=1"
Now make an update-grub:
~ $ sudo update-grub
At last, if you experiment disconnections on wireless mode check if your wlan driver is rtl8723be:
~ $ lspci | grep -i wireless
03:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8723BE PCIe Wireless Network Adapter
If yes create a configuration file en /etc/modprobe.d:
~ $ sudo touch /etc/modprobe.d/rtl8723be.conf
And add this:
~ $ sudo echo 'options rtl8723be fwlps=0' > /etc/modprobe.d/rtl8723be.conf
Finally reboot:
~ $ sudo reboot