2011/12/11

My settings of Ubuntu 11.10 64bits in ASUS U41SV

Reference:
Why does aptitude want to remove a bunch of files?
Ubuntu 11.10 x64执行指定程序时提示:No such file or directory.
Asus_U36SD - Community Ubuntu Documentation
How to Fix Power/Battery Problem with Linux Kernel 3.x on Ubuntu 11.10
HardwareSupport/Machines/Netbooks - Ubuntu Wiki
Initializing a Build Environment | Android Open Source
[Guide] Building Android 2.3.7 on Ubuntu 11.10 (64 bit)

Suggestion:
Do not use aptitude to install packages in Ubuntu 11.10 64bits.
It may meet dependencies issue and cause
"No such file or directory"
issue while executing 32bits processes

Remove NVIDIA display driver
  • sudo apt-get purge nvidia-current nvidia-settings

Update GRUB config
  1. Edit following file
    • /etc/default/grub
    Edit the line with GRUB_CMDLINE_LINUX_DEFAULT and add following for allowing the GPU to enter a lower power state when the GPU is idling
    • i915.i915_enable_rc6=1
    add following for fixing brightness control doesn't work properly issue
    • acpi_osi=Linux acpi_backlight=vendor
    My config is following:
    • GRUB_CMDLINE_LINUX_DEFAULT="quiet splash i915.i915_enable_rc6=1 acpi_osi=Linux acpi_backlight=vendor"
  2. Save and then run
    • sudo update-grub
  3. Reboot

Initializing Android build environment
  1. Install following Initializing a Build Environment | Android Open Source
  2. Switch to the correct version of Java
    • sudo update-alternatives --config java
    Select /usr/lib/jvm/java-6-sun/jre/bin/java and use following command to check java version
    • java -version
  3. Fix Ubuntu 11.10 issues when building Android
  4. Edit following file
    • File: frameworks/base/libs/utils/Android.mk
    Change the following line:
    • LOCAL_CFLAGS += -DLIBUTILS_NATIVE=1 $(TOOL_CFLAGS)
    to
    • LOCAL_CFLAGS += -DLIBUTILS_NATIVE=1 $(TOOL_CFLAGS) -fpermissive
    Edit following file
    • File: build/core/combo/HOST_linux-x86.mk
    Change the following line:
    • HOST_GLOBAL_CFLAGS += -D_FORTIFY_SOURCE=0
    to
    • HOST_GLOBAL_CFLAGS += -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0

2008/09/25

Hello Visitor!!

Hello! I can't use my server on 24 hours when 1 year later, so I decide to find free web hosting service.

Now, my sites & blog are moving to the http://sokoyo.co.cc

You can find new archives in the new space.

Of course, you can read the old archives in the new place, too.

But you may feel strange about the archives.

I will modify the archives when I have time in the future.

Thanks for your attention. :)





Hello! 因為我一年後就沒辦法架 server 了,所以我打算用免費的網路空間。

我的 Blog 和網站正移往 http://sokoyo.co.cc

你可以在那找到我新的東西

當然你也可以在那找到舊東西

不過可能會看起來怪怪的

我以後有時間會修改它

感謝您注意我的網站 :)

2008/09/12

PHP Hosting-免費PHP空間

PHP Hosting-免費PHP空間

再一年就要畢業了 @o@

畢業後就沒有可以用的網路空間了

有空來試試這些空間