Add Aspire One 722 post.
[blog.git] / posts / Aspire_One_722.mdwn
1 Hardware
2 ========
3
4 Processor
5 ---------
6
7 The processor is an AMD Fusion [C-60][] (dual core, x86-64, 1 GHz;
8 `CONFIG_MK8` option).
9
10 Graphics
11 --------
12
13 Radeon [Evergreen][] IGP ([HD 6290][hd6290]) integrated into
14 the C-60 processor (`radeon` module, `CONFIG_DRM_RADEON` and
15 `CONFIG_DRM_RADEON_KMS` options).
16
17 Audio
18 -----
19
20 Builtin ATI soundcard and ATI Azalia.  Both sound cards use [Intel's
21 HDA interface][HDA]:
22
23     00:01.1 Audio device: ATI Technologies Inc Device 1314
24         Subsystem: Acer Incorporated [ALI] Device 0598
25         Kernel driver in use: snd_hda_intel
26         Kernel modules: snd-hda-intel
27     00:14.2 Audio device: ATI Technologies Inc SBx00 Azalia (Intel HDA) (rev 40)
28         Subsystem: Acer Incorporated [ALI] Device 0598
29         Kernel driver in use: snd_hda_intel
30         Kernel modules: snd-hda-intel
31
32 In order to get these working with [ALSA][], I had to adjust the
33 default soundcard by adding `/etc/asound.conf`:
34
35     pcm.!default {
36       type hw
37       card SB
38     }
39
40     ctl.!default {
41       type hw
42       card SB
43     }
44
45 following [this FAQ][ALSA-26].
46
47 You may also want to enable the `dmix` plugin, to enable software
48 mixing of multiple streams (e.g. to play two songs at the same time).
49 I haven't bothered yet, but Pedro Venda discusses the setup
50 [here][dmix].  If you haven't enabled the plugin, you may get errors
51 like:
52
53     $ ogg123 -q test.ogg &
54     $ ogg123 -q test.ogg
55     === Could not load default driver and no driver specified in config file. Exiting.
56
57 Networking
58 ----------
59
60 The wired network card is an Atheros/Attansic [AR8152][] (`atl1c`
61 module, `CONFIG_ATL1C` option; Atheros [aquired Attansic][attansic] in
62 2007).  The wireless network card is a Broadcom [BCM4313][]
63 (`brcmsmac` module, `CONFIG_BRCMSMAC` option).
64
65 The Broadcom drivers [require firmware][brcm-firm], which you can get
66 from
67 `git://git.kernel.org/pub/scm/linux/kernel/git/dwmw2/linux-firmware.git`.
68 You'll need to install `bcm43xx-0.fw` and `bcm43xx_hdr-0.fw` into
69 `/lib/firmware/brcm`.  Despite the name similarity, this is not the
70 firmware installed by Gentoo's `net-wireless/b43-firmware` package
71 (which fills in `/lib/firmware/b43`.
72
73 There is also difficulty running both the `atl1c` and `brmcsmac`
74 drivers at the same time.  Upon associating with a wireless access
75 point, the kernel (3.2.0-rc2) [hangs][net-mod-hang], forcing a
76 hard-reboot.  To avoid this issue, it's wise to remove the `atl1c`
77 module before attempting to connect to a wireless access point.  For
78 example:
79
80     # /etc/init.d/net.eth0 stop
81     # /etc/init.d/net.wlan0 stop
82     # modprobe -r atl1c
83     # modprobe -r brcmsmac
84     # modprobe brcmsmac
85     # /etc/init.d/net.wlan0 start
86
87 I'm not sure if re-loading the `brcmsmac` module accomplishes anything
88 here, but it can't hurt ;).
89
90 Another `brcmsmac` limitiation is that it [only supports managed and
91 monitor interfaces][brcmsmac-interfaces] (no master, ad-hoc, etc.).
92
93 Webcam
94 ------
95
96 The Suyin webcam is fairly standard, supporting the [USB video class][UVC]
97 for video4linux (`uvcvideo` module, `CONFIG_USB_VIDEO_CLASS` option).
98
99 Card reader
100 -----------
101
102 I haven't tested the Realtek [RTS51xxx][] card reader yet, but it uses
103 the `ums_realtek` module (`USB_STORAGE_REALTEK` option).
104
105 Internals
106 ---------
107
108     $ lspci -k
109     …
110     00:14.0 SMBus: ATI Technologies Inc SBx00 SMBus Controller (rev 42)
111         Subsystem: Acer Incorporated [ALI] Device 0598
112         Kernel driver in use: piix4_smbus
113         Kernel modules: i2c-piix4
114     …
115     00:18.3 Host bridge: Advanced Micro Devices [AMD] Device 1703
116         Kernel driver in use: k10temp
117         Kernel modules: k10temp
118     …
119
120 TODO
121 ----
122
123 What are these for?
124
125     00:14.3 ISA bridge: ATI Technologies Inc SB700/SB800 LPC host controller (rev 40)
126         Subsystem: Acer Incorporated [ALI] Device 0598
127     00:14.4 PCI bridge: ATI Technologies Inc SBx00 PCI to PCI Bridge (rev 40)
128     00:15.0 PCI bridge: ATI Technologies Inc Device 43a0
129         Kernel driver in use: pcieport
130     00:15.2 PCI bridge: ATI Technologies Inc Device 43a2
131         Kernel driver in use: pcieport
132     00:15.3 PCI bridge: ATI Technologies Inc Device 43a3
133         Kernel driver in use: pcieport
134     00:18.0 Host bridge: Advanced Micro Devices [AMD] Device 1700 (rev 43)
135     00:18.1 Host bridge: Advanced Micro Devices [AMD] Device 1701
136     00:18.2 Host bridge: Advanced Micro Devices [AMD] Device 1702
137     00:18.4 Host bridge: Advanced Micro Devices [AMD] Device 1704
138     00:18.5 Host bridge: Advanced Micro Devices [AMD] Device 1718
139     00:18.6 Host bridge: Advanced Micro Devices [AMD] Device 1716
140     00:18.7 Host bridge: Advanced Micro Devices [AMD] Device 1719
141
142 [C-60]: http://en.wikipedia.org/wiki/Amd_fusion#.22Ontario.@@_.2840.C2.A0nm.29
143 [Evergreen]: http://en.wikipedia.org/wiki/Evergreen_(GPU_family)
144 [hd6290]: http://en.wikipedia.org/wiki/Comparison_of_AMD_graphics_processing_units#IGP_.28HD_6xxx.29
145 [HDA]: http://en.wikipedia.org/wiki/Intel_High_Definition_Audio
146 [ALSA]: http://www.alsa-project.org/
147 [ALSA-26]: http://alsa.opensrc.org/FAQ026 
148 [dmix]: http://www.pjvenda.net/linux/doc/alsa/#dmix_dsnoop
149 [AR8152]: http://www.qca.qualcomm.com/technology/technology.php?nav1=48&product=98
150 [attansic]: http://en.wikipedia.org/wiki/Qualcomm_Atheros
151 [BCM4313]: http://www.broadcom.com/products/Wireless-LAN/802.11-Wireless-LAN-Solutions/BCM4313
152 [brcm-firm]: http://linuxwireless.org/en/users/Drivers/brcm80211
153 [net-mod-hang]: https://bugzilla.redhat.com/show_bug.cgi?id=754305
154 [brcmsmac-interfaces]: http://lists.shmoo.com/pipermail/hostap/2011-August/023692.html
155 [UVC]: http://www.ideasonboard.org/uvc/
156 [RTS51xxx]: http://www.realtek.com/products/productsView.aspx?Langid=1&PNid=15&PFid=25&Level=4&Conn=3
157
158 [[!tag tags/hardware]]
159 [[!tag tags/linux]]