LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 10-01-2003, 02:33 PM   #1
mikeyt_333
Member
 
Registered: Jun 2001
Location: Up in the clouds
Distribution: Fedora et al.
Posts: 353

Rep: Reputation: 30
Identifying and Mapping/Binding key strokes (WLAN power on/off, Fn key)


K, this is about my laptop keyboard, but in general it's about linking/identifying certain keys and making them do tasks.

I wouldn't care about the Fn at all if it weren't for the fact that without it I have no control over my internal wireless NIC's power (on/off). Normally when I turn off and turn on the system, the power state of the NIC remains what it was, however, in a hard poweroff, the state sometimes changes from on to off, and as a result I no longer have a wireless card without booting into windows and hitting "Fn + Pwr for WLAN." So, I've looked around, and found apps which will bind keys to certain functions. The problem is, how do I know what to bind my function key to, to poweron my wireless card? I would be satisfied with a script which I could run from the Cmd line to turn this card on/off. I was also wondering how one would manually bind keys to actions, and how do you identify those keys to be bound? So, how do I know the location and ID of my Fn key etc...

Some details on my system:

Compaq Presario 3017cl
LAN-Express IEEE 802.11b PCI (hostap_pci driver)
OS RedHat 9


TIA!
Mike.

Last edited by mikeyt_333; 10-01-2003 at 02:36 PM.
 
Old 10-01-2003, 05:31 PM   #2
mikeyt_333
Member
 
Registered: Jun 2001
Location: Up in the clouds
Distribution: Fedora et al.
Posts: 353

Original Poster
Rep: Reputation: 30
anybody?
 
Old 10-02-2003, 12:12 AM   #3
mikeyt_333
Member
 
Registered: Jun 2001
Location: Up in the clouds
Distribution: Fedora et al.
Posts: 353

Original Poster
Rep: Reputation: 30
Well, I managed to figure it out. After downloading and patching the newest kernel (2.4.22), I enabled ACPI and voila, virtually all of the Fn buttons work. Does anybody know how I could make my on board volume control work now.

TIA!
 
Old 10-02-2003, 10:42 PM   #4
orlenok
LQ Newbie
 
Registered: Sep 2003
Location: Pittsburgh, USA
Distribution: RedHat 9
Posts: 27

Rep: Reputation: 15
i've just managed to enable that...

download and install xbindkeys from
http://hocwp.free.fr/xbindkeys/xbindkeys.html

and xbindkeys_configure (there is a link on the page... you can configure everything manually, but it's much faster with this gui...)
and then, see the example at the xbindkeys_configure page (the author explains how to bind these keys to volume control)...
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Key Binding mtecknology Linux - Software 0 07-28-2005 09:50 AM
problem recognising key strokes himateja Programming 3 05-27-2005 05:54 AM
Binding a program to a key fenice1976 Linux - Software 1 05-18-2004 01:02 PM
key binding? granny Linux - Newbie 2 03-11-2003 09:42 AM
Repeating key strokes toxic53 Linux - General 1 12-11-2002 09:06 PM


All times are GMT -5. The time now is 03:42 AM.

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