Ubuntu on Asus R558U

I had to mess around for some time to figure out how to get Ubuntu 16.04 to work well, in Asus R558U. Had to mess with some GRUB parameters, and display config file, to get it on track. Below, I am sharing the details of the steps that I followed:

  • After, installation, from the first boot-up onwards there were some errors regarding some PCI issue, which happened all the way through booting and in the Virtual terminals as well, this was fixed by adding the GRUB parameter:

pci=nomsi

This can be added in the /etc/default/grub file, at the end of GRUB_CMDLINE_LINUX_DEFAULT line, which usually looks like:

GRUB_CMDLINE_LINUX_DEFAULT=”quiet splash”

So, after this change it’ll look like:

GRUB_CMDLINE_LINUX_DEFAULT=”quiet splash pci=nomsi”

Then we have to run the command:

sudo update-grub

so as to reflect the changes in GRUB settings.

  • The next issue was that the Brightness Fn combinations were not working, experimented with some of the suggested options from various online resources, this is what worked for me:
  • At the end of the GRUB_CMDLINE_LINUX_DEFAULT line, in /etc/default/grub file, add the following acpi_osi=”, so that the line now looks like:

GRUB_CMDLINE_LINUX_DEFAULT=”quiet splash pci=nomsi acpi_osi=””

Note: In the above line, for acpi_osi=” it is two single quotes, and the quote after that is the closing double-quote. Again update GRUB to reflect the new changes:

sudo update-grub

  • Now we have to create the file 20-intel.conf in the directory /usr/share/X11/xorg.conf.d/ with the following content:

Section "Device"
Identifier "card0"
Driver "intel"
Option "Backlight" "intel_backlight"
BusID "PCI:0:2:0"
EndSection

  • Now restart the system, and the Brightness controls should be working at Fn+F5 and Fn+F6, as expected.

Courtesy:

 

Afraid of trying Linux? No more..

All the people out there who are afraid of trying Linux, just because you are very much used to the Windows, can now try it from within Windows, using some virtualisation technique. And the one I like among them is VitualBox by Sun Microsystems Inc.
Don’t worry by the name of a company associated it is the only professional solution that is freely available as Open Source Software under the terms of the GNU General Public License (GPL). Using Virtual you can run almost any Linux distribution from within your Windows, never worrying about the consequences, as it will never affect the Windows host on which it is running. And it is a perfectly stable software.
Presently, VirtualBox runs on Windows, Linux, Macintosh and OpenSolaris hosts and supports a large number of guest operating systems including but not limited to Windows (NT 4.0, 2000, XP, Server 2003, Vista), DOS/Windows 3.x, Linux (2.4 and 2.6), Solaris and OpenSolaris, and OpenBSD.

Just try Linux, esp. Ubuntu or Open-SUSE, and i’m sure you’ll like it and soon start loving Linux. You can download VirtualBox from-
http://www.virtualbox.org/wiki/Downloads

Now get your hands on a VirtualBox and start your journey to Linux and hence Open-source and know the joy and freedom you get in Linux.To know more about VirtualBox visit-
http://www.virtualbox.org

How to start with PHP Programming.

To start with the PHP programming one should have the following tools-

  • Web-Server-As PHP is a server side language one would need a web-server to run the PHP code. I’m using the Apache web-server.
  • Database-One would essentially need one database for their website(in most cases). I would suggest MySQL, as it is a fully open-source.

***************************************************************************************

Instead of downloading all the above tools, one-by one one can easily download one of the Integrated packages, called a Stack, that suits ones needs. I’m using the LAMP stack which can be used in Linux, with Apache as the Web-server, MySQL the database and PHP. The Windows equivalent is WAMP.

Many other stacks are also available, mostly in open-source visit the following site to select the Stack that suits your needs-

Guys, now what are u waiting for, get hold of the Stack of your choice and get going.