-   Linux - Laptop and Netbook (
-   -   HP NX5000 activate WLAN switch (

leiv 10-15-2004 11:39 PM

HP NX5000 activate WLAN switch
hi to all,

i tried the driver ipw2200 driver from sourceforge version 12 now but cant activate my wlan. the nx5000 uses a spezial key to activate the antenna.
i just find a way to activate the soundbuttons but i found no way to get my wlun run.

any ideas.... someone out there who knows what to do?

meijer.o 12-04-2004 07:21 AM

button and sound.
to get the sound keys working

install hotkeys

copy the following file to /usr/share/hotkeys end name it nx5000.def:

<?xml version="1.0"?>


<config model="HP/Compaq nx5000 Laptop">

<VolUp keycode="176" adj="2"/>
<VolDown keycode="174" adj="2"/>
<userdef keycode="151" command="kcmshell laptop">battery</userdef>
<userdef keycode="160" command="/usr/bin/togglemute">Mute</userdef>
<userdef keycode="178" command="sudo /usr/bin/button-wifi">wireless</userdef>
<userdef keycode="255" command="sudo /usr/bin/key-fnf3">suspend</userdef>
<userdef keycode="201" command="/usr/kde/3.3/bin/kdesktop_lock --forcelock">sceenlock</userdef>
<userdef keycode="159" command="/usr/kde/3.3/bin/ksysguard">ksysgard</userdef>

<name>Stuart Prescott</name>


copy this file to /usr/bin, name it togglemute and make it executable:


CURRENT=`amixer cget numid=32 | tail -1| cut -f2 -d=`


if [ $CURRENT = "off" ]

# Muting External Amplifier
amixer cset numid=32 $NEWVAL
# Added muting for Master
amixer cset numid=1 $NEWVAL,$NEWVAL
# Added muting for Headphones
amixer cset numid=3 $NEWVAL,$NEWVAL

start hotkeys wirth: hotkeys -t nx5000

email me if you want to know more. this laptop works nice with linux

Kind regards,


All times are GMT -5. The time now is 09:30 AM.