Difference between revisions of "HP Mini 2140"

From ArchWiki
Jump to: navigation, search
m (Wireless: fix link)
 
(4 intermediate revisions by 3 users not shown)
Line 54: Line 54:
 
* Suspend To Disk - works via uswsusp
 
* Suspend To Disk - works via uswsusp
  
----
+
== See also ==
 
+
* [[Wikipedia:HP Mini 2140]]
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 {{ic|/etc/rc.conf}}:<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. {{ic|/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. {{ic|/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. {{ic|/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>
+
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>
+
<br>
+
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>
+
 
+
----
+
 
+
[1] [[Wikipedia:HP_Mini_2140]]
+

Latest revision as of 15:38, 1 August 2016

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