Difference between revisions of "HP Mini 5101"

From ArchWiki
Jump to: navigation, search
(use https for links to archlinux.org)
(20 intermediate revisions by 5 users not shown)
Line 1: Line 1:
[[Category:HP (English)]]
+
[[Category:HP]]
== Hardware ==
+
== Video ==
 
+
=== Video ===
+
  
 
Install xf86-video-intel or xf86-video-intel-newest. Make sure to configure [[Intel#KMS_.28Kernel_Mode_Setting.29|KMS]] correctly.
 
Install xf86-video-intel or xf86-video-intel-newest. Make sure to configure [[Intel#KMS_.28Kernel_Mode_Setting.29|KMS]] correctly.
  
=== Audio ===
+
== Audio ==
  
 
Typical Intel HD Audio. Just follow [[ALSA]].
 
Typical Intel HD Audio. Just follow [[ALSA]].
Line 12: Line 10:
 
Make sure you have the latest version of alsa-utils, alsa-lib and alsa-firmware.
 
Make sure you have the latest version of alsa-utils, alsa-lib and alsa-firmware.
  
=== Network ===
+
== Network ==
  
 
Swapping eth0/eth1 can confuse [[Wicd]], assigning [[Udev#Mixed_Up_Devices.2C_Sound.2FNetwork_Cards_Changing_Order_Each_Boot|static names]] helps.
 
Swapping eth0/eth1 can confuse [[Wicd]], assigning [[Udev#Mixed_Up_Devices.2C_Sound.2FNetwork_Cards_Changing_Order_Each_Boot|static names]] helps.
  
==== Broadcom (Wireless) Driver ====
+
=== Wireless Driver (Broadcom) ===
  
$ lspci -vnn | grep Broadcom
+
See [[Broadcom_wireless]] for driver setup.
08:00.0 Network controller [0280]: Broadcom Corporation BCM4312 802.11b/g ['''14e4:4354'''] (rev 01)
+
''OR''
+
08:00.0 Network controller [0280]: Broadcom Corporation BCM4312 802.11b/g ['''14e4:4315'''] (rev 01)
+
  
Using [http://aur.archlinux.org/packages.php?ID=31449 broadcom-wifi-builder] or [http://aur.archlinux.org/packages.php?ID=19514 broadcom-wl] from AUR will do the trick. See also [[Broadcom_BCM43XX]].
+
It may be necessary to load the driver (wl as an axample here) manually:
 
+
{{hc|/etc/rc.conf |2=MODULES=(... wl ...)
It may be necessary to load the driver manually:
+
{{file |name=/etc/rc.conf |content=MODULES=(... wl ...)
+
 
  }}
 
  }}
  
===== Suspending Problems =====
+
Problem with reconnecting after suspending might be solved by:
Problem with reconnecting after suspending:
+
{{hc|/etc/pm/config.d/01-modules |2=SUSPEND_MODULES="wl"
 
+
{{file |name=/etc/pm/config.d/01-modules |content=SUSPEND_MODULES="wl"
+
 
  }}
 
  }}
  
==== b43 ====
+
==== Driver Overview ====
'''14e4:4315''' is now supported by [http://wiki.archlinux.org/index.php/B43#b43 b43] (kernel26 > 2.6.32).
+
So, you can use it instead of the wl driver.
+
  
But careful, '''14e4:4354''' is ''not'' supported.
+
# brcmsmac: Works best but the red/blue led isn't working.
 +
# broadcom-wl: Needs to be compiled newly from the AUR ([https://aur.archlinux.org/packages.php?ID=31449 broadcom-wifi-builder] or [https://aur.archlinux.org/packages.php?ID=19514 broadcom-wl]) after each kernel upgrade. LED works but reconnecting problem after suspending.
 +
# b43: Alternatively your network chip may be supported by [https://wiki.archlinux.org/index.php/B43#b43 b43] (kernel > 2.6.32).
  
=== Bluetooth ===
+
== Bluetooth ==
  
 
See: [[Bluetooth]]
 
See: [[Bluetooth]]
  
=== Touchpad ===
+
== Touchpad ==
  
 
Works out of the box.
 
Works out of the box.
  
=== Webcam ===
+
== Webcam ==
  
 
Works out of the box.
 
Works out of the box.
  
=== ACPI ===
+
== ACPI ==
  
==== Suspend on Lid ====
+
=== Suspend on Lid ===
  
 
This here works quite fine: [[Suspend to RAM#Automatic Suspend, the Hard Way]]
 
This here works quite fine: [[Suspend to RAM#Automatic Suspend, the Hard Way]]
Line 63: Line 54:
 
Just change the "LID" to it's actual value. For me it was C1D0.
 
Just change the "LID" to it's actual value. For me it was C1D0.
  
{{file |name=/etc/acpi/actions/lid_handler.sh|content=<nowiki>
+
{{hc|/etc/acpi/actions/lid_handler.sh|<nowiki>
 
if grep closed /proc/acpi/button/lid/</nowiki>'''C1D0'''<nowiki>/state >/dev/null ; then </nowiki>}}
 
if grep closed /proc/acpi/button/lid/</nowiki>'''C1D0'''<nowiki>/state >/dev/null ; then </nowiki>}}
  
==== Power Button ====
+
=== Power Button ===
  
http://wiki.archlinux.org/index.php/Shutting_system_down_by_pressing_the_power_button
+
[[Shutting_system_down_by_pressing_the_power_button]]
  
==== Hotkeys ====
+
=== Hotkeys ===
  
===== Display toggle =====
+
==== Display toggle ====
  
http://wiki.archlinux.org/index.php/ACPI_hotkeys
+
[[ACPI_hotkeys]]
  
 
  # acpi_listen
 
  # acpi_listen
Line 82: Line 73:
 
  /etc/acpi/handler.sh
 
  /etc/acpi/handler.sh
 
like this
 
like this
{{file |name=/etc/acpi/handler.sh |content=
+
{{hc|/etc/acpi/handler.sh |
 
case "$1" in
 
case "$1" in
 
     .
 
     .
Line 94: Line 85:
 
     .
 
     .
 
esac
 
esac
}}
+
}}
  
===== Mute, browser button, volume down, etc... =====
+
==== Mute, browser button, volume down, etc... ====
 +
 
 +
[[Extra_Keyboard_Keys]]
 +
 
 +
== Hard disk shock protection ==
 +
 
 +
Install [https://aur.archlinux.org/packages.php?ID=45093 hpfall] from AUR and add it to rc.conf:
 +
{{hc|/etc/rc.conf |2=DAEMONS=(... hpfall ...)
 +
}}
  
http://wiki.archlinux.org/index.php/Extra_Keyboard_Keys
+
See also [[Laptop#Hard_disk_shock_protection|Shock protection for HP/Compaq laptops]].

Revision as of 00:40, 6 December 2012

Video

Install xf86-video-intel or xf86-video-intel-newest. Make sure to configure KMS correctly.

Audio

Typical Intel HD Audio. Just follow ALSA.

Make sure you have the latest version of alsa-utils, alsa-lib and alsa-firmware.

Network

Swapping eth0/eth1 can confuse Wicd, assigning static names helps.

Wireless Driver (Broadcom)

See Broadcom_wireless for driver setup.

It may be necessary to load the driver (wl as an axample here) manually:

/etc/rc.conf 
MODULES=(... wl ...)

Problem with reconnecting after suspending might be solved by:

/etc/pm/config.d/01-modules 
SUSPEND_MODULES="wl"

Driver Overview

  1. brcmsmac: Works best but the red/blue led isn't working.
  2. broadcom-wl: Needs to be compiled newly from the AUR (broadcom-wifi-builder or broadcom-wl) after each kernel upgrade. LED works but reconnecting problem after suspending.
  3. b43: Alternatively your network chip may be supported by b43 (kernel > 2.6.32).

Bluetooth

See: Bluetooth

Touchpad

Works out of the box.

Webcam

Works out of the box.

ACPI

Suspend on Lid

This here works quite fine: Suspend to RAM#Automatic Suspend, the Hard Way

It might be necessary to use "/etc/acpi/events/lm_lid" instead of "/etc/acpi/events/lid". (laptop-mode?)

Just change the "LID" to it's actual value. For me it was C1D0.

/etc/acpi/actions/lid_handler.sh
if grep closed /proc/acpi/button/lid/C1D0/state >/dev/null ; then 

Power Button

Shutting_system_down_by_pressing_the_power_button

Hotkeys

Display toggle

ACPI_hotkeys

# acpi_listen
(Press fn+f2)
video C088 00000080 00000000

So we have to edit

/etc/acpi/handler.sh

like this

/etc/acpi/handler.sh 
case "$1" in
    .
    .
    .
    video)
        arandr #or path to your shell script for switching display mode
        ;;
    .
    .
    .
esac

Mute, browser button, volume down, etc...

Extra_Keyboard_Keys

Hard disk shock protection

Install hpfall from AUR and add it to rc.conf:

/etc/rc.conf 
DAEMONS=(... hpfall ...)

See also Shock protection for HP/Compaq laptops.