Difference between revisions of "HP Mini 2140"

From ArchWiki
Jump to: navigation, search
(re-categorize)
(Suspend: Remove out of date info. rc.conf is gone.)
(7 intermediate revisions by 5 users not shown)
Line 1: Line 1:
[[Category:HP (English)]]
+
[[Category:HP]]
HP Mini 2140 is a netbook pc [1], like Asus EEE and a bunch of others.
+
The HP Mini 2140 is a 10.2" Netbook PC released in early 2009.
  
<H1><B>Compatibility:</B></H1>
+
== Hardware Compatibility ==
 +
=== Video ===
 +
Video is supported with "intel" driver, replace "vesa" in your xorg.conf with "intel". Kernel Mode-Setting is also possible.
  
1) Video - Video is supported with "intel" driver, replace "vesa" in your xorg.conf with "intel". Kernel Mode-Setting is also possible.<br>
+
=== Touchpad ===
2) Touchpad - Works, you need to add "synaptics" support to your xorg.conf<br>
+
Works, you need to add "synaptics" support to your xorg.conf
3) Wireless - This netbooks use wifi card which use LP-PHY (also known as low-power) which is not supported by b43 driver, you need broadcom's "wl" driver and you need to blacklist "b43". You can find that module in AUR, under name "broadcom-wl". Also, the BIOS is locked to HP's proprietary cards (also known as bios whitelist or Error 104), so replacement with an atheros or other better card is not possible without BIOS patching.<br>
+
4) Ethernet - Marvell gigabit ethernet - Use sky2 module.<br>
+
5) Bluetooth - Works<br>
+
6) Cpu Scaling - Works (acpi_cpufreq module)<br>
+
7) Webcam - Works (uvcvideo module)<br>
+
8) Sound - needs option model=laptop in snd-hda-intel kernel to be fully working.<br>
+
9) Suspend To RAM - works via uswsusp<br>
+
10) Suspend To Disk - works via uswsusp<br>
+
  
 +
=== Wireless ===
 +
This netbook uses the Broadcom BCM4312 wireless modem. This modem is not supported by either the b43 or STA drivers included as part of the Linux kernel. In order to be able to use wifi, the {{AUR|broadcom-wl}} package from the [[Arch User Repository]] needs to be installed. Instructions for using [[makepkg]] and [[PKGBUILD]] can be found on their respective wiki pages. Further information about [[Broadcom wireless]] modem issues is covered in it's own wiki page.
  
----
+
After installing the driver, you need to have it loaded during boot, usually achieved by making the following edits to [[rc.conf|/etc/rc.conf]]:
 +
{{hc|rc.conf|2=<nowiki>
 +
...
  
Details from my (PON) setup:<br>
+
MODULES=(lib80211 wl !b43 !ssb)
<br>
+
Linux xxxxx 2.6.32-ARCH #1 SMP PREEMPT Mon Jan 25 20:06:48 UTC 2010 i686 Intel(R) Atom(TM) CPU N270 @ 1.60GHz GenuineIntel GNU/Linux<br>
+
<br>
+
A. Essential lines from "/etc/rc.conf":<br>
+
<br>
+
MOD_AUTOLOAD="yes"<br>
+
&#35;MOD_BLACKLIST=() #deprecated<br>
+
MODULES=(lib80211 wl !b43 !ssb<br>
+
&#35;Static IP example<br>
+
&#35;eth0="eth0 192.168.12.8 netmask 255.255.255.0 broadcast 192.168.12.255"<br>
+
&#35;eth1="dhcp"<br>
+
&#35;eth0="dhcp"<br>
+
&#35;INTERFACES=(eth0 eth1)<br>
+
gateway="default gw 192.168.12.1"<br>
+
ROUTES=(!gateway)<br>
+
NETWORKS=menu<br>
+
DAEMONS=(syslog-ng !network hal !netfs crond net-profiles)<br>
+
<br>
+
B. "/etc/network.d/homelan":<br>
+
<br>
+
CONNECTION="ethernet-iproute"<br>
+
DESCRIPTION="home static"<br>
+
PRE_UP="ifconfig eth1 up && sleep 3"  # NOTE: you need the sleep<br>
+
INTERFACE="eth1"<br>
+
IP="static"<br>
+
ADDR="192.168.12.8"<br>
+
GATEWAY="192.168.12.1"<br>
+
DNS=("192.168.12.1")<br>
+
<br>
+
C. "/etc/network.d/wlanhome":<br>
+
<br>
+
CONNECTION="wireless"                  # NOTE: do not change this line<br>
+
DESCRIPTION="wireless connection"<br>
+
PRE_UP="ifconfig eth0 up && sleep 3"  # NOTE: you need the sleep<br>
+
SCAN=no<br>
+
INTERFACE="eth0"<br>
+
SECURITY="wpa-config"<br>
+
WPA_CONF="/etc/wpa_supplicant.conf"<br>
+
IP="dhcp"<br>
+
<br>
+
D. "/etc/wpa_supplicant.conf":<br>
+
<br>
+
&#35; ZyXEL P-660HW-D1<br>
+
&#35; Channel:              6<br>
+
&#35; Security Mode:        "WPA-PSK"<br>
+
&#35; 802.11 Mode:          "Mode 802.11g Only"<br>
+
&#35; Enable 802.11g+ mode:  "yes"<br>
+
  
ctrl_interface=/var/run/wpa_supplicant<br>
+
...
ctrl_interface_group=wheel<br>
+
</nowiki>}}
ap_scan=2<br>
+
<br>
+
network=&#123;<br>
+
&#35;scan_ssid=1 <br>
+
frequency=2437<br>
+
proto=WPA<br>
+
key_mgmt=WPA-PSK<br>
+
pairwise=TKIP<br>
+
group=TKIP<br>
+
ssid="<your access point's name>"<br>
+
psk=<your password in hex>    # NOTE: Generate with "wpa_passphrase ssid password"<br>
+
&#125;<br>
+
  
E. Some packages:<br>
+
Any other modules listed to be loaded should remain as is and the above mentioned modules added to the list. The following may also work, but if not, use the above:
<br>
+
{{hc|rc.conf|2=<nowiki>
broadcom-wifi-builder 5.10.91.9.3-2           # From AUR<br>
+
...
net-tools 1.60-14<br>
+
netcfg 2.2.1-1<br>
+
wireless_tools 29-3<br>
+
wpa_supplicant 0.6.9-2<br>
+
<br>
+
  
----
+
MODULES=(wl)
  
[1] http://h10010.www1.hp.com/wwpc/us/en/sm/WF06a/321957-321957-64295-3841267-306995-3872994.html
+
...
 +
</nowiki>}}
 +
 
 +
=== Ethernet ===
 +
Marvell Gigabit Ethernet - Use sky2 module.
 +
 
 +
=== Bluetooth ===
 +
Bluetooth - Works
 +
 
 +
=== CPU Scaling ===
 +
Works (acpi_cpufreq module)
 +
 
 +
=== Webcam ===
 +
Works (uvcvideo module)
 +
 
 +
=== Sound ===
 +
This netbook uses an Intel High Definition Audio AD1984A sound card. For general information on setting up sound see [[Sound]] and [[Advanced Linux Sound Architecture]]. To activate the sound card, follow the steps detailed on the ALSA page. Before running "''speaker-test -c 2''" as instructed, create a file {{ic|/etc/modprobe.d/alsa.conf}} and enter the following into it:
 +
{{hc|alsa.conf|2=<nowiki>
 +
options snd-hda-intel model=laptop
 +
</nowiki>}}
 +
 
 +
Now reboot and you should hear sound when running "''speaker-test -c 2''". As per the ALSA page, save your mixer settings so that they are loaded with each boot.
 +
 
 +
=== Suspend ===
 +
* Suspend To RAM - works via uswsusp
 +
* Suspend To Disk - works via uswsusp
 +
 
 +
== See also ==
 +
* [[Wikipedia:HP_Mini_2140]]

Revision as of 09:41, 13 March 2013

The HP Mini 2140 is a 10.2" Netbook PC released in early 2009.

Hardware Compatibility

Video

Video is supported with "intel" driver, replace "vesa" in your xorg.conf with "intel". Kernel Mode-Setting is also possible.

Touchpad

Works, you need to add "synaptics" support to your xorg.conf

Wireless

This netbook uses the Broadcom BCM4312 wireless modem. This modem is not supported by either the b43 or STA drivers included as part of the Linux kernel. In order to be able to use wifi, the broadcom-wlAUR package from the Arch User Repository needs to be installed. Instructions for using makepkg and PKGBUILD can be found on their respective wiki pages. Further information about Broadcom wireless modem issues is covered in it's own wiki page.

After installing the driver, you need to have it loaded during boot, usually achieved by making the following edits to /etc/rc.conf:

rc.conf
...

MODULES=(lib80211 wl !b43 !ssb)

...

Any other modules listed to be loaded should remain as is and the above mentioned modules added to the list. The following may also work, but if not, use the above:

rc.conf
...

MODULES=(wl)

...

Ethernet

Marvell Gigabit Ethernet - Use sky2 module.

Bluetooth

Bluetooth - Works

CPU Scaling

Works (acpi_cpufreq module)

Webcam

Works (uvcvideo module)

Sound

This netbook uses an Intel High Definition Audio AD1984A sound card. For general information on setting up sound see Sound and Advanced Linux Sound Architecture. To activate the sound card, follow the steps detailed on the ALSA page. Before running "speaker-test -c 2" as instructed, create a file /etc/modprobe.d/alsa.conf and enter the following into it:

alsa.conf
options snd-hda-intel model=laptop

Now reboot and you should hear sound when running "speaker-test -c 2". As per the ALSA page, save your mixer settings so that they are loaded with each boot.

Suspend

  • Suspend To RAM - works via uswsusp
  • Suspend To Disk - works via uswsusp

See also