Difference between revisions of "Acer AOD250-1613"

From ArchWiki
Jump to: navigation, search
(Details: why ubuntu?)
(archive page)
 
(24 intermediate revisions by 8 users not shown)
Line 1: Line 1:
[[Category:Acer (English)]][[Category:Getting and installing Arch (English)]][[Category:HOWTOs (English)]]
+
#redirect [[ArchWiki:Archive]]
 
+
[[Category:Archive]]
This page assumes that you will be using it for additional reference to [[Beginners Guide]] and [[Acer Aspire One]]. Note that this netbook does '''not''' come with Recovery CDs.
 
 
 
 
 
==Hardware Information for Potential Buyers==
 
 
 
===lspci===
 
 
 
<code>
 
00:00.0 Host bridge: Intel Corporation Mobile 945GME Express Memory Controller Hub (rev 03)
 
00:02.0 VGA compatible controller: Intel Corporation Mobile 945GME Express Integrated Graphics Controller (rev 03)
 
00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller (rev 03)
 
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)
 
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 02)
 
00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 02)
 
00:1c.2 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 3 (rev 02)
 
00:1c.3 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 4 (rev 02)
 
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 02)
 
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 (rev 02)
 
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 (rev 02)
 
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 (rev 02)
 
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 02)
 
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)
 
00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge (rev 02)
 
00:1f.2 SATA controller: Intel Corporation 82801GBM/GHM (ICH7 Family) SATA AHCI Controller (rev 02)
 
00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 02)
 
01:00.0 Network controller: Atheros Communications Inc. AR9285 Wireless Network Adapter (PCI-Express) (rev 01)
 
03:00.0 Ethernet controller: Attansic Technology Corp. Atheros AR8132 / L1c Gigabit Ethernet Adapter (rev c0)
 
</code>
 
 
 
===lsusb===
 
 
 
<code>
 
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 
Bus 001 Device 004: ID 0bda:0159 Realtek Semiconductor Corp.
 
Bus 001 Device 002: ID 04f2:b084 Chicony Electronics Co., Ltd
 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
 
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 
</code>
 
 
 
===lsmod===
 
 
 
<code>
 
Module                  Size  Used by
 
i2c_dev                6756  0
 
cpufreq_ondemand        7400  2
 
cpufreq_stats          5280  0
 
aes_i586                8124  1
 
aes_generic            27228  1 aes_i586
 
ext3                  134020  1
 
jbd                    49136  1 ext3
 
hfs                    46720  0
 
hfsplus                76864  0
 
vfat                  11132  0
 
fat                    53052  1 vfat
 
isofs                  33764  0
 
nls_utf8                1664  0
 
udf                    86564  0
 
crc_itu_t              1724  1 udf
 
i915                  233928  1
 
drm                  156160  2 i915
 
i2c_algo_bit            5888  1 i915
 
ipv6                  279604  12
 
cpufreq_userspace      3008  0
 
ext2                  68964  1
 
loop                  15336  2
 
snd_seq_dummy          2720  0
 
snd_seq_oss            31232  0
 
snd_seq_midi_event      7036  1 snd_seq_oss
 
snd_seq                53808  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
 
snd_seq_device          6792  3 snd_seq_dummy,snd_seq_oss,snd_seq
 
arc4                    1756  2
 
ecb                    2812  2
 
snd_pcm_oss            40320  0
 
snd_mixer_oss          17564  1 snd_pcm_oss
 
joydev                10528  0
 
snd_hda_codec_realtek  210048  1
 
ath9k                239188  0
 
usb_storage            51904  1
 
mac80211              155788  1 ath9k
 
ath                    7708  1 ath9k
 
snd_hda_intel          27528  0
 
snd_hda_codec          72700  2 snd_hda_codec_realtek,snd_hda_intel
 
snd_hwdep              7712  1 snd_hda_codec
 
snd_pcm                74496  3 snd_pcm_oss,snd_hda_intel,snd_hda_codec
 
snd_timer              21188  2 snd_seq,snd_pcm
 
snd                    58820  11 snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_timer
 
soundcore              6944  1 snd
 
cfg80211              90364  3 ath9k,mac80211,ath
 
video                  20116  1 i915
 
iTCO_wdt              11072  0
 
fan                    4448  0
 
iTCO_vendor_support    3136  1 iTCO_wdt
 
uhci_hcd              23692  0
 
intel_agp              28604  1
 
psmouse                60084  0
 
output                  2908  1 video
 
snd_page_alloc          8900  2 snd_hda_intel,snd_pcm
 
battery                10816  0
 
ac                      4224  0
 
button                  5612  0
 
rfkill                19696  1 cfg80211
 
led_class              4000  1 ath9k
 
wmi                    6600  0
 
ehci_hcd              36620  0
 
atl1c                  32160  0
 
agpgart                32660  3 drm,intel_agp
 
i2c_i801                9616  0
 
i2c_core              21808  5 i2c_dev,i915,drm,i2c_algo_bit,i2c_i801
 
sg                    27728  0
 
thermal                13912  0
 
evdev                  10240  13
 
serio_raw              5792  0
 
usbcore              154032  4 usb_storage,uhci_hcd,ehci_hcd
 
pciehp                37020  0
 
pci_hotplug            28732  1 pciehp
 
acpi_cpufreq            8648  0
 
freq_table              3740  3 cpufreq_ondemand,cpufreq_stats,acpi_cpufreq
 
processor              36076  3 acpi_cpufreq
 
rtc_cmos              11344  0
 
rtc_core              17976  1 rtc_cmos
 
rtc_lib                2524  1 rtc_core
 
ext4                  334112  2
 
mbcache                7104  3 ext3,ext2,ext4
 
jbd2                  82016  1 ext4
 
crc16                  1660  1 ext4
 
sd_mod                28344  5
 
ahci                  35788  2
 
libata                169548  1 ahci
 
scsi_mod              112468  4 usb_storage,sg,sd_mod,libata
 
</code>
 
 
 
===Wired and Wireless Networking===
 
 
 
Both work out of the box using kernel26 version 2.6.31. Note that the installer (2009.8) comes with 2.6.30, so plan accordingly and download needed packages to a usb drive (kernel26 and kernel26-firmware) to install after system installation. Drivers used: atl1c (for wired) and ath9k (for wireless). I'd recommend [[Wicd]], thru its wicd-curses (for tty use) for easy wireless connection setup.
 
 
 
==Configuration Files==
 
 
 
===Synaptics (for hotpluggers)===
 
 
 
This code goes into the following file: /etc/hal/fdi/policy/11-x11-synaptics.fdi
 
 
 
<code>
 
<?xml version="1.0" encoding="ISO-8859-1"?>
 
<deviceinfo version="0.2">
 
  <device>
 
        <match key="info.capabilities" contains="input.touchpad">
 
        <match key="info.product" contains="Synaptics TouchPad">
 
        <merge key="input.x11_driver" type="string">synaptics</merge>
 
        </match>
 
        <match key="info.product" contains="AlpsPS/2 ALPS">
 
        <merge key="input.x11_driver" type="string">synaptics</merge>
 
        </match>
 
        <match key="info.product" contains="appletouch">
 
        <merge key="input.x11_driver" type="string">synaptics</merge>
 
        </match>
 
        <match key="info.product" contains="bcm5974">
 
        <merge key="input.x11_driver" type="string">synaptics</merge>
 
        </match>
 
        <merge key="input.x11_options.SHMconfig" type="string">on</merge>
 
        <merge key="input.x11_options.TapButton1" type="string">1</merge>
 
        <merge key="input.x11_options.TapButton2" type="string">2</merge>
 
        <merge key="input.x11_options.TapButton3" type="string">3</merge>
 
        <merge key="input.x11_options.VertEdgeScroll" type="string">true</merge>
 
        <merge key="input.x11_options.HorizEdgeScroll" type="string">true</merge>
 
        <merge key="input.x11_options.HorizScrollDelta" type="string">100</merge>
 
        <merge key="input.x11_options.VertScrollDelta" type="string">100</merge>
 
        <merge key="input.x11_options.LeftEdge" type="string">715</merge>
 
        <merge key="input.x11_options.RightEdge" type="string">5700</merge>
 
        <merge key="input.x11_options.TopEdge" type="string">550</merge>
 
        <merge key="input.x11_options.BottomEdge" type="string">5000</merge>
 
    </match>
 
  </device>
 
</deviceinfo>
 
</code>
 
 
 
===xorg.conf===
 
 
 
Not needed with hotplugging. xf86-video-intel is the one it uses. See [[Beginners Guide]] to set up X.
 
 
 
==Not Losing Android==
 
 
 
===Quick Review===
 
 
 
Not losing Android, as far as I understand, requires some effort on your part. Here is the gist: do '''NOT''' install the bootloader to the MBR but to the partition where you installed Arch.
 
 
 
===Details===
 
 
 
When you first turn on your AOD-250 (d250 with android), you will see that it has three partitions:
 
* /dev/sda1 -> "Compaq Diagnostic" (ie System Recovery partition)
 
* /dev/sda2 -> NTFS (Windows XP)
 
* /dev/sda3 -> FAT32 (Android)
 
 
 
I am not quite sure how, but the boot process is initially handled by Acer's tools, not Windows XP's bootloader (NTLDR). Acer's tool first looks at whether you want (set up) Android to start. If you did, it starts Android up. If you chose Xindows XP, it tells NTLDR to load Windows XP up. So, as far as I understand, if you install another bootloader to the MBR, you lose Android (I did not try it though -I didn't want to take the risk).
 
 
 
So here is what I did:
 
 
 
1. Boot using Ubuntu LiveCD USB (because it had an up to date gparted at time of this writing) to:
 
* shrink Windows' partition to 20G
 
* move /dev/sda3 right after /dev/sda2, so that when I create new partitions, the partition number (sda3) will not change.
 
* create new partitions for Arch installation
 
 
 
2. Install Arch as usual, but tell it to install bootloader to the partition where Arch was installed. In other words, if you install Arch to /dev/sda6, choose /dev/sda6 as the place to install grub when it asks you.
 
 
 
3. Boot with Ubuntu LiveCD USB again to copy the bootloader to a usb disk. If you installed Arch to /dev/sda6:
 
  dd if=/dev/sda6 of=/path/to/usb/drive/arch.mbr bs=512 count=1
 
The name of the file should have less than 7 characters, follow DOS file name limitations (keep it simple).
 
 
 
4. Restart: Windows XP will boot. Copy arch.mbr to C:\ (root of Windows).
 
 
 
5. Edit Windows' bootloader to add Arch to NTLDR's list of operating systems that can be booted up. Open up Windows' terminal window and
 
  cd \
 
  attrib -s -h -r BOOT.INI
 
  notepad BOOT.INI
 
and add a line at the end of that file, like this:
 
  c:\arch.mbr="Arch Linux"
 
and finish the edit by saving the file and fixing its attributes '''again'''
 
  attrib +s +h +r BOOT.INI
 
 
 
6. Have Arch be the default OS to boot for NTLDR: use '''msconfig''' to set the default entry (find the BOOT.INI tab, click on the line that says, for example, ''c:\arch.mbr="Arch Linux"'', and click on "Set as Default". You may also want to change the time out value for NTLDR, see http://vlaurie.com/computers2/Articles/bootini.htm which has nice screenshots on various things to do with the bootloader.
 
 
 
==CPUFREQ and Wrong CPU Freq Reporting==
 
 
 
When you load acpi-cpufreq to do cpu frequency scaling, the maximum CPU speed becomes 1.33GHz instead of 1.66Ghz. There is no workaround for this at time of writing except not using said module, which is not helpful in terms of saving power (battery life for the session). See https://bugs.launchpad.net/ubuntu/+source/cpufreqd/+bug/422858
 

Latest revision as of 08:58, 26 November 2017

Redirect to: