x
This website is using cookies. We use cookies to ensure that we give you the best experience on our website. More info. That's Fine
HPC:Factor Logo 
 
Latest Forum Activity

Turn off PCMCIA and CF Cards - DevPowerSwitcher

Strathos Page Icon Posted 2008-12-10 4:57 PM
#
Avatar image of Strathos
H/PC Newbie

Posts:
22
Status:
Hi all. here is a little program that can turn off cards.
This is a command line based application. Use the Run dialog  
or create a shortcut to launch the program with a command line.  

Usage (not case sensitive):
"DevPSwitch.exe" list | l - Show list of Active Devices and Devices Types
"DevPSwitch.exe" NameOfDevice | TypeOfDevice - Activate/Deactivate Device

Device Types:
nds - Network Card
dsk - Storage Card

Examples:
"DevPSwitch.exe" dsk (TypeOfDevice only works for Deactivation)
"DevPSwitch.exe" 3Com-3CRSHPW_96_Wireless_LAN_PC_Card-9BC5
"DevPSwitch.exe" l

You can recall that help message anytime by opening the application without any commands

Unfortunately my programming knowledge is minimal, and I couldn't get the "turn on" part working. To re-activate the device, suspend and turn on the hpc.

Tested on Jornada 720 and 680.
Included in the zip: ce 2.11 and 3.0 Arm, Sh3, Sh4 and Mips executables. You can do whatever you want with them.
I also leave the source code (evc++ ) for those brave enought to venture in a mess of a code. You can do whatever you want with it.

Good luck!

p.s: please make a backup before trying this app (particularly sh4 and mips hpc users)



Attachments
----------------
Attachments DevPSwitch.zip (12KB - 25 downloads)
Attachments Source.zip (11KB - 11 downloads)
 Top of the page
Jake Page Icon Posted 2008-12-11 5:52 AM
#
Avatar image of Jake
Moderator
H/PC Vanguard

Posts:
2,826
Location:
Choking on the stench of ambition in Washington DC
Status:
Wow, well done. I'll give it a whirl.

Thanks,
Jake
 Top of the page
Rich Hawley Page Icon Posted 2008-12-11 8:21 AM
#
Avatar image of Rich Hawley
Global Moderator
H/PC Guru

Posts:
7,188
Location:
USA
Status:
Nice job, works fine to turn off Linksys v3 wifi card on 900C. A quick power down and back on again and the card is running once more....

If your programming knowledge is minimal, that makes mine non-existent...

For those of us who are endeavoring to have an internal wifi card, this really simplifies things...no more popping the card out to save battery juice.

Rich
 Top of the page
Strathos Page Icon Posted 2009-01-06 10:20 AM
#
Avatar image of Strathos
H/PC Newbie

Posts:
22
Status:
Hello and thanks for the comments!
As soon as I get the Activate function working, I'll post the new, rewritten, version that remembers and keeps the card's power state after the HPC is restarted or resumes power.

Edited by Strathos 2009-01-06 10:21 AM
 Top of the page
CAuser Page Icon Posted 2009-01-06 11:15 AM
#
Avatar image of CAuser
H/PC Sensei

Posts:
1,278
Location:
Silicon Valley, USA
Status:
Great job! It's useful for those who want to leave PCMCIA or CF card in its slot all the time. Thanks.
 Top of the page
Jump to forum:
Seconds to generate: 0.156 - Cached queries : 62 - Executed queries : 10