Difference between revisions of "HP Mini 5101"

From ArchWiki
Jump to: navigation, search
(Hard disk shock protection)
Line 1: Line 1:
[[Category:HP (English)]]
+
= Hard disk shock protection =
== Video ==
+
  
Install xf86-video-intel or xf86-video-intel-newest. Make sure to configure [[Intel#KMS_.28Kernel_Mode_Setting.29|KMS]] correctly.
+
Install [https://aur.archlinux.org/packages.php?ID=45093 hpfall] from AUR and add it to rc.conf:
 
+
{{file |name=/etc/rc.conf |content=DAEMONS=(... hpfall ...)
== 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 [[Udev#Mixed_Up_Devices.2C_Sound.2FNetwork_Cards_Changing_Order_Each_Boot|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:
+
{{file |name=/etc/rc.conf |content=MODULES=(... wl ...)
+
 
  }}
 
  }}
 
Problem with reconnecting after suspending might be solved by:
 
{{file |name=/etc/pm/config.d/01-modules |content=SUSPEND_MODULES="wl"
 
}}
 
 
==== Driver Overview ====
 
 
# brcmsmac: Works best but the red/blue led isn't working.
 
# broadcom-wl: Needs to be compiled newly from the AUR ([http://aur.archlinux.org/packages.php?ID=31449 broadcom-wifi-builder] or [http://aur.archlinux.org/packages.php?ID=19514 broadcom-wl]) after each kernel upgrade. LED works but reconnecting problem after suspending.
 
# b43: Alternatively your networc chip may be supported by [http://wiki.archlinux.org/index.php/B43#b43 b43] (kernel26 > 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.
 
 
{{file |name=/etc/acpi/actions/lid_handler.sh|content=<nowiki>
 
if grep closed /proc/acpi/button/lid/</nowiki>'''C1D0'''<nowiki>/state >/dev/null ; then </nowiki>}}
 
 
=== 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
 
{{file |name=/etc/acpi/handler.sh |content=
 
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 [https://aur.archlinux.org/packages.php?ID=45093 hpfall] deamon from AUR.
 
  
 
See also [[Laptop#Hard_disk_shock_protection|Shock protection for HP/Compaq laptops]].
 
See also [[Laptop#Hard_disk_shock_protection|Shock protection for HP/Compaq laptops]].

Revision as of 12:34, 5 August 2011

Hard disk shock protection

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

See also Shock protection for HP/Compaq laptops.