Author Topic: Manual Cf Card Enable/disable?  (Read 2886 times)

denny_kf

  • Newbie
  • *
  • Posts: 8
    • View Profile
Manual Cf Card Enable/disable?
« on: April 16, 2006, 10:09:25 am »
I'd like to keep my bluetooth CF card inserted in the CF slot, but only provide power and enable it when I want to use it (for dial up). I mean, I don't want to waste my battery power when not used.
I tried to use cardctl to make the card down, but it will be up automatically when resume from suspend.

ozuzo

  • Newbie
  • *
  • Posts: 4
    • View Profile
Manual Cf Card Enable/disable?
« Reply #1 on: April 16, 2006, 10:21:31 am »
Quote
I'd like to keep my bluetooth CF card inserted in the CF slot, but only provide power and enable it when I want to use it (for dial up). I mean, I don't want to waste my battery power when not used.

From what I've read on other forums, power usage of bluetooth is rather low, so I keep my one always on. Also on my phone (SE) I get maybe a day less on a week with a full charge...


Herman

apink

  • Full Member
  • ***
  • Posts: 109
    • View Profile
Manual Cf Card Enable/disable?
« Reply #2 on: April 16, 2006, 12:01:40 pm »
Quote
Quote
I'd like to keep my bluetooth CF card inserted in the CF slot, but only provide power and enable it when I want to use it (for dial up). I mean, I don't want to waste my battery power when not used.

From what I've read on other forums, power usage of bluetooth is rather low, so I keep my one always on. Also on my phone (SE) I get maybe a day less on a week with a full charge...


Herman
[div align=\"right\"][a href=\"index.php?act=findpost&pid=123406\"][{POST_SNAPBACK}][/a][/div]

Wifi is not as stingy.  I find myself taking my card out to save battery life.  It would be nice to have a way to keep the card inactive upon resume.  Any takers?
--current use--
linux chroot on top of lineage  on cell phone

--past handhelds--
pandora
ben nanonote
zaurus sl-c1000

desertrat

  • Hero Member
  • *****
  • Posts: 743
    • View Profile
    • http://
Manual Cf Card Enable/disable?
« Reply #3 on: April 16, 2006, 01:45:00 pm »
Quote
Wifi is not as stingy.  I find myself taking my card out to save battery life.  It would be nice to have a way to keep the card inactive upon resume.  Any takers?
Card behaviour is controlled by /etc/apm/scripts.d/cardctl, mine looks like so:

Code: [Select]
.
.
.
resume() {
  cardctl insert 0 2>/dev/null

  return 0
}
.
.
.
Just comment out or remove the "cardctl insert ..." line.

-- cheers
« Last Edit: April 16, 2006, 01:46:02 pm by desertrat »
SL-C3100 / Ambicon WL1100C-CF / pdaXrom 1.1.0beta3 / IceWM

webslngr

  • Newbie
  • *
  • Posts: 38
    • View Profile
    • http://
Manual Cf Card Enable/disable?
« Reply #4 on: April 16, 2006, 02:05:39 pm »
I'm sure you've looked at the help for cardctl but,

try:
Code: [Select]
cardctl insert to start the card and
Code: [Select]
cardctl eject to stop it
c3100 running pdaXrom b3, ambicom wl1100, a 2nd 4 GB Hitachi microdrive (and various other tools and gadgets)

denny_kf

  • Newbie
  • *
  • Posts: 8
    • View Profile
Manual Cf Card Enable/disable?
« Reply #5 on: April 16, 2006, 09:29:35 pm »
Quote
Quote
Wifi is not as stingy.  I find myself taking my card out to save battery life.  It would be nice to have a way to keep the card inactive upon resume.  Any takers?
Card behaviour is controlled by /etc/apm/scripts.d/cardctl, mine looks like so:

Code: [Select]
.
.
.
resume() {
 Â cardctl insert 0 2>/dev/null

 Â return 0
}
.
.
.
Just comment out or remove the "cardctl insert ..." line.

-- cheers
[div align=\"right\"][a href=\"index.php?act=findpost&pid=123422\"][{POST_SNAPBACK}][/a][/div]

No use.
I comment out the line, and the card is still up when resumed.