HP Mini 2140

From ArchWiki
Revision as of 03:57, 23 March 2010 by Pointone (Talk | contribs) (re-categorize)

Jump to: navigation, search

HP Mini 2140 is a netbook pc [1], like Asus EEE and a bunch of others.

Compatibility:

1) Video - Video is supported with "intel" driver, replace "vesa" in your xorg.conf with "intel". Kernel Mode-Setting is also possible.
2) Touchpad - 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.
4) Ethernet - Marvell gigabit ethernet - Use sky2 module.
5) Bluetooth - Works
6) Cpu Scaling - Works (acpi_cpufreq module)
7) Webcam - Works (uvcvideo module)
8) Sound - needs option model=laptop in snd-hda-intel kernel to be fully working.
9) Suspend To RAM - works via uswsusp
10) Suspend To Disk - works via uswsusp



Details from my (PON) setup:

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

A. Essential lines from "/etc/rc.conf":

MOD_AUTOLOAD="yes"
#MOD_BLACKLIST=() #deprecated
MODULES=(lib80211 wl !b43 !ssb
#Static IP example
#eth0="eth0 192.168.12.8 netmask 255.255.255.0 broadcast 192.168.12.255"
#eth1="dhcp"
#eth0="dhcp"
#INTERFACES=(eth0 eth1)
gateway="default gw 192.168.12.1"
ROUTES=(!gateway)
NETWORKS=menu
DAEMONS=(syslog-ng !network hal !netfs crond net-profiles)

B. "/etc/network.d/homelan":

CONNECTION="ethernet-iproute"
DESCRIPTION="home static"
PRE_UP="ifconfig eth1 up && sleep 3" # NOTE: you need the sleep
INTERFACE="eth1"
IP="static"
ADDR="192.168.12.8"
GATEWAY="192.168.12.1"
DNS=("192.168.12.1")

C. "/etc/network.d/wlanhome":

CONNECTION="wireless" # NOTE: do not change this line
DESCRIPTION="wireless connection"
PRE_UP="ifconfig eth0 up && sleep 3" # NOTE: you need the sleep
SCAN=no
INTERFACE="eth0"
SECURITY="wpa-config"
WPA_CONF="/etc/wpa_supplicant.conf"
IP="dhcp"

D. "/etc/wpa_supplicant.conf":

# ZyXEL P-660HW-D1
# Channel: 6
# Security Mode: "WPA-PSK"
# 802.11 Mode: "Mode 802.11g Only"
# Enable 802.11g+ mode: "yes"

ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=wheel
ap_scan=2

network={
#scan_ssid=1
frequency=2437
proto=WPA
key_mgmt=WPA-PSK
pairwise=TKIP
group=TKIP
ssid="<your access point's name>"
psk=<your password in hex> # NOTE: Generate with "wpa_passphrase ssid password"
}

E. Some packages:

broadcom-wifi-builder 5.10.91.9.3-2 # From AUR
net-tools 1.60-14
netcfg 2.2.1-1
wireless_tools 29-3
wpa_supplicant 0.6.9-2


[1] http://h10010.www1.hp.com/wwpc/us/en/sm/WF06a/321957-321957-64295-3841267-306995-3872994.html