LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices

Reply
 
Search this Thread
Old 10-15-2004, 10:39 PM   #1
leiv
LQ Newbie
 
Registered: Oct 2004
Location: Germany
Distribution: Ubuntu Breezy
Posts: 8

Rep: Reputation: 0
Question 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?
 
Old 12-04-2004, 06:21 AM   #2
meijer.o
LQ Newbie
 
Registered: Dec 2004
Posts: 1

Rep: Reputation: 0
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"?>

<definition>

<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>
</config>



<contributor>
<name>Stuart Prescott</name>
<email>hotkeys@nanonanonano.net</email>
<email>meijerDOTo@wxs.nl</email>
</contributor>

</definition>

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

#!/bin/sh

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

NEWVAL=0

if [ $CURRENT = "off" ]
then
NEWVAL=1
fi

# 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,

Otto
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux on HP (Compaq) nx5000 ashewan Linux - Laptop and Netbook 13 10-27-2005 09:20 AM
1400x1050 HP nx5000 blues motorwayne Linux - Laptop and Netbook 2 12-08-2004 06:28 PM
RH 7.3 for HP COmpan nx5000 wolf6873 Linux - Laptop and Netbook 0 08-26-2004 02:17 AM
(maybe this question is: how to switch between eth0 & WLAN 'quickly'?) with SuSE 9.1 johnmahan Linux - Wireless Networking 0 08-23-2004 08:05 PM
FC2 crash HP nx5000 sd3250 Linux - Laptop and Netbook 0 08-10-2004 03:11 AM


All times are GMT -5. The time now is 03:04 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration