I-Appliance BBS
The Official Source for Internet Appliance Upgrades and Mods
Amazon Honor System Click Here to Pay Learn More
BBS Main List | Sign In | Sign Up | Search | Help | Linux-Hacker.netReply to Thread | Printer |

Home / Other I-Appliances / 3Com Audrey
How do I change what hardware buttons do
Hardware Buttons

New MessageHow do I change what hardware buttons do (modified 0 times) febian
Profile
Has anyone been able to figure out how to change what actions the hardware buttons (calender, email, channels, etc) peroform? If so, how is it done?

Thank you.

09-25-2001 16:26:25

New MessageRE:How do I change what hardware buttons do (modified 0 times) febian
Profile
Update:

I have figured out that buttond is the program that processes the button presses, but so far I have not come across a config file.

What I am trying to do is make it so when I press the address book button it will instead bring up pterm.

09-27-2001 23:00:01

New MessageRE:How do I change what hardware buttons do (modified 0 times) davec
Profile
Well, looking at a dump of the buttond command with the command:
more /kojak/buttond

I find the following text:

Usage: %s resmgr_pid resmgr_child

as well as:

Error Generating the button %s

Perhaps %s is the scancode generated for a particular key you want to remap, let's arbitrarily call it "XX".

So perhaps this will work:
Use resmgr to execute a new button task, ie. pterm. Use "psin" or "ps -a" to find the pid for resmgr (ie. 123) and the pid (22222) for the task you want to execute with %s. Then, if you execute the command:

buttond XX 123 22222

Does this remap XX to the new task? Someone try this and see if this works. I'll try to give it a go later.

Dave

09-27-2001 23:10:58

New MessageRE:How do I change what hardware buttons do (modified 0 times) zooloo
Profile
I looked into buttond a while back and it seems to just monitor the hardware buttons and sends the resulting button as a message to the resource manager (res). The "%s" in the usage is replaced with the program name (buttond) when the program is run, so assuming buttond is named 'buttond' the usage is :

Usage: buttond resmgr_pid resmgr_child

which is how it is normally started on boot, so there is no way to directly send button presses with buttond.

What really needs to be figured out is res or the communication protocol between res and the other apps. All the apps use the QNX inter-process communication (IPC) to talk to one another (to change apps, etc). I've started looking into this and realized that they use more then just the vanilla QNX IPC. They are doing some additional things on top of the standard QNX stuff which I've yet to figure out (haven't had time to pour over the assembly code yet).

Anyway if the messaging could be figured out as well how all the 'res' slave apps work together we may be able to intercept,redirect,etc. the button controls.

-zooloo

09-28-2001 05:30:32

Reply to Thread | Printer |
All times are PSTPowered by UltraBoard v1.62



Copyright © 2000, Netmake Inc. All Rights Reserved.
See Terms and Conditions for more information.




i-opener opener laptop notebook computer help drivers dll free windows dos repair fix linux mac macintosh 2000 95 98 nt pc configure hardware software sound video netscape explorer network networking lan wan software cmos fat bios printer card mouse modem ide scsi cd rom controllers scanner tape hard drive cgi scripts source code mp3