HP Mini 2140

From ArchWiki
Jump to: navigation, search

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

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] Wikipedia:HP_Mini_2140