How To: Install Mint On An Asus M50Sv-A1

Write tutorials here
There are more tutorials here http://community.linuxmint.com/tutorial/welcome
Forum rules
Do not start a support topic here please. Before you post please read this

How To: Install Mint On An Asus M50Sv-A1

Postby hotweiss on Fri Jun 13, 2008 2:22 am

1. Screen Brightness

The ambient light sensor is the cause of the dim screen, we’ll have to turn it off. To fix this we will have to create a shell script that will be run on boot up that will turn of the ambient light sensor.

A) Open Terminal (Menu->Accessories), and type the following:
sudo nano brightness


B) Now paste the following in the Terminal window:
#!/bin/sh
echo 0 > /sys/devices/platform/asus-laptop/ls_switch


C) Hit Ctrl-O to save and then Ctrl-X to exit.

D) Now we will copy our new shell script to the appropriate directory, make it executable and add the following links by typing the following in Terminal:
sudo mv brightness /etc/init.d

and then
sudo chmod 755 /etc/init.d/brightness

and then
sudo update-rc.d brightness defaults 90


E) Reboot, and you will have regained control of your brightness level.


2. Nvidia Driver

Your screen resolution will be limited to 800×600 without the appropriate drivers. Thanks to Alberto Milone’s Envy the whole process is automated for you, with the only requirement being an internet connection.

A) Next we’ll need to execute Envy by typing the following in Terminal:
sudo envyng -g


B) Select Nvidia on the left side, now click on Install the Nvidia driver (Manual Selection of the Driver), select 169.12, and finally click Apply.

C) Once the installation is completed, reboot and you will once again have a crisp screen.


3. Fingerprint Reader Driver

The fingerprint reader is especially useful in Linux as you are asked for your password before completing any change within the operating system. None the less, I would still not recommend for you to install the fingerprint reader driver due to its’ unstable nature and poor quality. The guide provided by Karol Krizka solved the problem of installing this driver.

A) First we’ll need to add the driver source to our software repository by typing the following in Terminal to open the sources list:
sudo nano /etc/apt/sources.list


B) Now scroll to the end of the file and paste the following line there:
deb http://ppa.launchpad.net/madman2k/ubuntu hardy main restricted universe multiverse


C) Hit Ctrl-O to save and then Ctrl-X to exit.

D) Update the source list by typing the following in Terminal:
sudo aptitude update


E) Install the fingerprint reader driver by typing the following in Terminal:
sudo aptitude install fprint-demo libpam-fprint libfprint


F) Enroll your fingerprint by typing the following in Terminal:
sudo fprint_demo


G) Click on Enroll and swipe your finger.

H) Now we will have to tell Ubuntu when to use your fingerprint by editing the fingerprint reader driver’s configuration file by typing the following in Terminal:
sudo nano /etc/pam.d/common-auth


I) Paste the following in the file at the end:
auth sufficient pam_fprint.so
auth required pam_unix.so nullok_secure


J) Hit Ctrl-O to save and then Ctrl-X to exit.

H) Reboot, and you will be now scanning your finger instead of typing your password each time.


4. Email LED

Having a LED notifying you of incoming emails is quite handy, especially if you are not constantly by your computer. In this step I will provide you with instructions, showing you how to enable the email LED to work with the best Gmail notifier available - CheckGmail, a function that even Windows cannot even provide.

A) Follow the instructions provided by me in this tutorial to install CheckGmail:
http://seethisnowreadthis.com/2008/05/20/checkgmail-linuxs-blackberry/

B) Open the CheckGmail preferences and paste the following in the Command to execute on new mail field:
echo 1 > /sys/class/leds/asus:mail/brightness


C) Now paste the following in the Command to execute for no mail field:
echo 0 > /sys/class/leds/asus:mail/brightness


D) Without giving the right permissions CheckGmail will not be able to turn on the LED. To do this we must type the following in Terminal:
gksudo nautilus


E) Navigate to the following folder by pasting the following in Location field in the newly open File Browser:
/sys/class/leds/asus:mail
Press Enter.

F) Right-click on the file brightness, and select Properties.

G) Select the Permissions tab.

H) Click on root in the drop-down menu besides Owner and select yourself.

I) Without rebooting you should have now have the email LED notifying you of incoming email.


5. Microphone

By default the microphone is not enabled in enabled in the Volume Control menu. This problem will require the least effort.

A) Righ-click on the speaker in the task bar and select Open Volume Control.

B) Select Edit from the menu, and then select Preferences.

C) Click on the boxes besides Capture and Capture 1.

D) Now your microphone should be working.


6. Hard drive

The Seagate Momentus 5400.4 250 Gb hard drive has a firmware bug that makes Mint park it every minute or so; the same problem exists in Vista. This parking is considered a load cycle, of which your hard drive was designed to complete 600,000 of such cycles. Without this fix your hard drive can prematurely fail after only 8 months. Thanks to jakon on ubuntuforums.org, we now have a fix that fully works with the Asus M50Sv-A1.

A) First we’ll have to adjust the hard drive’s power management settings by typing the following in Terminal:
sudo nano /etc/hdparm.conf


B) And by pasting the following three lines in the file:
/dev/sda {
apm = 254
}


C) Hit Ctrl-O to save and then Ctrl-X to exit.

D) Next we’ll have to tell the notebook to reactivate these settings after resuming from suspend mode by typing the following in Terminal:
sudo nano 30hdparm


E) And by pasting the following lines inside the file:
#!/bin/bash

# Run hdparm like on boot to restore hdparm.conf settings -
# hds lose them when going to standby.

resume_hdparm()
{
for x in /sys/bus/ide/devices/*/block* /sys/bus/scsi/devices/*/block*
do
# This check is required - x can contain
# literal ‘/sys/bus/ide/devices/*/block*’
# when the glob did not match anything.
if [ -e $x ]
then
drive=$(basename $(readlink $x))
DEVNAME=/dev/$drive /lib/udev/hdparm
fi
done
}

case “$1″ in
thaw|resume)
resume_hdparm
;;
*)
;;
esac

exit $?


F) Hit Ctrl-O to save and then Ctrl-X to exit.

G) Finally we’ll have to install the file we just created by typing the following in Terminal:
sudo install 30hdparm /etc/pm/sleep.d/


H) Reboot and your hard drive should be working with Mint as it should have from the start.


7. Speakers

With the thousands of different notebook sound configurations that are out there, it is no surprise to have yet another ALSA bug. Thanks to Petr Zemek (s3rvac), we now have the correct ALSA option switch that will cause the speakers to mute when the headphones are plugged in. Surprisingly after trying all the generic options, the same option that works for a Haier notebook works with the Asus M50.

A) First we’ll have to edit the ALSA configuration file via terminal:
sudo nano /etc/modprobe.d/alsa-base


B) Scroll down to the bottom and add this line:
options snd-hda-intel model=haier-w66


C) Hit Ctrl-O to save and then Ctrl-X to exit.

D) Reboot and your speakers will now automatically mute when you plug your headphones in.
Last edited by hotweiss on Sat Jul 26, 2008 12:11 am, edited 3 times in total.
hotweiss
Level 4
Level 4
 
Posts: 204
Joined: Mon Jan 21, 2008 3:12 am
Location: Warsaw, Poland

Linux Mint is funded by ads and donations.
 

Re: How To: Install Mint On An Asus M50Sv-A1

Postby Husse on Sat Jun 14, 2008 1:23 pm

Thank you for this comprehensive tutorial - I just skimmed it
Image
Don't fix it if it ain't broken, don't break it if you can't fix it
Husse
Level 21
Level 21
 
Posts: 19703
Joined: Sun Feb 11, 2007 7:22 am
Location: Near Borås Sweden

Re: How To: Install Mint On An Asus M50Sv-A1

Postby Biker_Boy_RR on Fri Mar 06, 2009 7:56 am

Hi,

Thanks I use this How To on Asus M51V to take back the control of brightness and it works!

Thanks
Biker_Boy_RR
Level 1
Level 1
 
Posts: 3
Joined: Mon Feb 16, 2009 9:23 am

Re: How To: Install Mint On An Asus M50Sv-A1

Postby JoshuaDB on Tue Aug 25, 2009 12:18 pm

Very Nice,
I wish there was a nice thread on the HP dV3z notebook like you have done here.
Maybe after I get everything working perfect on my notebook I will have to create one.
JoshuaDB
Level 1
Level 1
 
Posts: 2
Joined: Tue Aug 25, 2009 11:12 am

Re: How To: Install Mint On An Asus M50Sv-A1

Postby DrHu on Tue Aug 25, 2009 4:57 pm

http://ubuntuforums.org/archive/index.p ... 74830.html
I think credit should always be provided, when appropriate..
post 15

Of course, I don't necessarily know who is the OP (Original Poster) with that first explanation/guide..
User avatar
DrHu
Level 16
Level 16
 
Posts: 6921
Joined: Wed Jun 17, 2009 8:20 pm


Return to Tutorials

Who is online

Users browsing this forum: No registered users and 15 guests