Author Topic: Resume The Z By 'at' Event  (Read 2661 times)

develd

  • Newbie
  • *
  • Posts: 20
    • View Profile
Resume The Z By 'at' Event
« on: March 16, 2005, 07:17:25 pm »
Hi all,

using the c3k with still the stock rom from sharp, I've installed some console tools and all works great (I really love this tiny workstation, typewriter, network analyser, take away storage).

Now I'm using a "real" at-deamon from the debian arm port (the original seems to be some kind of fake to me). The at command and the at-queue works well.

You may guess: I would really enjoy if the at event would wakeup the Z from suspend mode. Other tools can do, so it's possible anyway.

I've allready searched the web for it -even in linux forums-, but 'at' is a hard word to search for - no answers so far.

Any proposals are welcome.

  Regards,

  Oliver

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Resume The Z By 'at' Event
« Reply #1 on: March 17, 2005, 06:51:34 am »
I'd be interested to know about waking up from suspend too - perhaps you should look at the source of one of the alarm applets as these obviously wake up the Z at a specific time.

Not wanting to hijack the thread, but if anyone can provide any general info as to how it's done I'd be interested (on my old Psion I could just issue something like a sleep(time in secs) command which did the job nicely).

Cheers,


Si
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

pgas

  • Hero Member
  • *****
  • Posts: 1097
    • View Profile
    • http://
Resume The Z By 'at' Event
« Reply #2 on: March 17, 2005, 06:58:07 am »
see this thread:

https://www.oesf.org/forums/index.php?showt...0043&hl=suspend

(psion also came up in the discussion  )
SLC-860 cacko / senao wifi

chrget

  • Full Member
  • ***
  • Posts: 129
    • View Profile
Resume The Z By 'at' Event
« Reply #3 on: March 17, 2005, 10:06:08 am »
Quote
[...] (the original seems to be some kind of fake to me).

I can only speak for the SL-5500 running Sharp's original 2.38 ROM, but the at command and its accompanying daemon can hardly be called fake -- they are capable of exactly what you are trying to do.

I would be very surprised if that has been changed in any of the later ROM releases, regardless of the device in question.

The 'problem' is that this at implementation is one of those typical UN*X tools that are decidedly user-unfriendly

Have a look at a typical UN*X Manualpage for at on a desktop system (or here if you're lacking one), that may help you sort out the syntax. Sharp's at implementation basically works the same.

Best regards,
Chris.
SL-5500G running a modified 3.13 Sharp ROM
Extrememory 1GB SD / Netgear MA701 WLAN
Audiovox RTM-8000 GSM/GPRS CF Card

develd

  • Newbie
  • *
  • Posts: 20
    • View Profile
Resume The Z By 'at' Event
« Reply #4 on: March 17, 2005, 03:10:33 pm »
Hey, what a surprise: You're absolutely right. The build in at command works with wakeup!

Don't ask me what I've done wrong to declare the sharp 'at' as broken.

Right now I can only setup an job from STDIN or with the -f option from a shell script. No remove or list command so far.

The debian installation works exactly as described in the man page (since it is version 3.1.8 too) - but without wakeup.

  Thanks a lot for the hint to try again,

  Oliver