| How to UBUNTU on ASUS G1s |
|
|
|
Taken from the Ubuntu Forum:
Code:
sudo apt-get install libsdl1.2-dev sudo apt-get install subversion sudo chmod +x install-webcam.sh sudo ./install-webcam.sh (Make sure the downloaded script is on the desktop and that you are running the code when you are on your desktop) Code:
$ free -m
Code:
sudo apt-get install uswsusp To reconfigure: Code:
dpkg-reconfigure uswsusp to use hibernate/suspending: Code:
sudo s2disk or Code:
sudo s2both 4B. To make this way the default way of hibernating/suspending, just follow the instructions on the link below. Make sure to test it out a couple of times first before editing the script. (this method is working somewhat perfectly on my system. sometimes when i wake up from hibernating, only a white screen with a mouse pointer pops up, i typed in my user name and password, and it worked. So the menu is there, you just cant see it. Code:
sudo modprobe -r asus_acpi sudo modprobe asus-laptop to switch them on: Code:
sudo echo 1 > /sys/class/leds/asus\:gaming/brightness to switch them off: Code:
sudo echo 0 > /sys/class/leds/asus\:gaming/brightness if switching on and off gives you a permission denied error then use: Code:
su <enter root password> echo 1 > /sys/class/leds/asus\:gaming/brightness to switch them off: Code:
su <enter root password> echo 0 > /sys/class/leds/asus\:gaming/brightness 7.for the touchpad, this sums it up: (thanks to adam_r) Code:
sudo apt-get install iasl cat /proc/acpi/dsdt > dsdt iasl -d dsdt NOTE: I DID NOT EDIT MY DSDT FILE BECAUSE I DID NOT FINE WHAT IT WAS ASKING FOR. THANKS TO NAMAIN WHO TRIED IT OUT. I JUST SKIPPED THE EDITING STEP AND IT WORKED!! Code:
iasl -tc dsdt.dsl now you'll get 2 files, dsdt.hex and dsdt.aml, the hex file is if you want to recompile the kernel with a custom dsdt, you dont need that. Code:
sudo cp dsdt.aml /etc/initramfs-tools/DSDT.aml
sudo mkinitramfs -o /boot/initrd.img-<uname -r>
{type uname -r in console to check you'r version)
of course you have to: Code:
sudo apt-get install gsynaptics Back up your xorg just incase you mess up something. Code:
sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf.bak then: Code:
sudo gedit /etc/X11/xorg.conf find the part about the toucpad and insert the line: Option "SHMConfig" "on" Code:
Section "InputDevice"
Identifier "Synaptics Touchpad"
Driver "synaptics"
Option "Device" "/dev/psaux"
Option "Protocol" "auto-dev"
Option "HorizScrollDelta" "0"
Option "SHMConfig" "on"
Option "CorePointer" "true"
EndSection
Don't restart yet! Just before we do I have to warn you if you made a mistake in the xorg file X will not start. But don't worry that's why we backed up the previous file. If X fails to start then you will end up in a text console. Log in and type the following to rename the current xorg.conf and restore the previous file: Code:
sudo mv /etc/X11/xorg.conf /etc/X11/xorg.conf-logi sudo mv /etc/X11/xorg.conf.bak /etc/X11/xorg.conf now Reboot, and hopefully it will load with no errors, if something goes wrong, restore it from the back up you made. |

