Author Topic: Hinge Suspend - Alarm Problem.  (Read 3829 times)

YoG

  • Jr. Member
  • **
  • Posts: 56
    • View Profile
Hinge Suspend - Alarm Problem.
« on: March 20, 2006, 05:03:15 am »
Hi,
does anyone knows a script command to disable the suspend when closing the hinge (on C7x0)?

I tried:
Code: [Select]
setSuspendOnOff(bool) false
I also tried:
Code: [Select]
qcop QPE/System 'setScreenSaverMode(int)' 2
qcop QPE/System 'setScreenSaverIntervals(int,int,int)' 0 0 0
which disable the dim/blank/suspend timeouts, but when closing the hinge the Z immidiatly went to sleep...

My problem is that when the "suspend when hinge is closed" option is on and the hinge is closed, the kopi-alarm doesn't work. when I disable this option everything works fine...

Thanx,
YoG.
C860 Autobuilt Angstrom (OPIE) & Zubuntu 9.04  dual boot using kexec
SanDisk SDHC 4GB, Agiwara Sys-Com CF 1GB, Sandisk CF 256MB, Socket BT, Linksys WCF12 Wifi card, RoyalTek RBT-1000 Bluetooth GPS
yogzlog.blogspot.com

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Hinge Suspend - Alarm Problem.
« Reply #1 on: March 20, 2006, 05:11:41 am »
Is there not an option in the Power settings applet?

Can you sumbit this problem as a bug to the bugtracker please.

Thanks,


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

YoG

  • Jr. Member
  • **
  • Posts: 56
    • View Profile
Hinge Suspend - Alarm Problem.
« Reply #2 on: March 20, 2006, 05:18:51 am »
Quote
Is there not an option in the Power settings applet?

Can you sumbit this problem as a bug to the bugtracker please.

Thanks,


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

I can disable the "suspend on hinge close" option, that was my workaround. But that wasn't my question, the question is: is there a way to do it from a script ie from commandline.

I think
Quote
it's not a bug, it's a feature
as the men said...  
YoG.
« Last Edit: March 20, 2006, 05:20:39 am by YoG »
C860 Autobuilt Angstrom (OPIE) & Zubuntu 9.04  dual boot using kexec
SanDisk SDHC 4GB, Agiwara Sys-Com CF 1GB, Sandisk CF 256MB, Socket BT, Linksys WCF12 Wifi card, RoyalTek RBT-1000 Bluetooth GPS
yogzlog.blogspot.com

YoG

  • Jr. Member
  • **
  • Posts: 56
    • View Profile
Hinge Suspend - Alarm Problem.
« Reply #3 on: March 20, 2006, 05:22:06 am »
but I'll report a bug anyway...
C860 Autobuilt Angstrom (OPIE) & Zubuntu 9.04  dual boot using kexec
SanDisk SDHC 4GB, Agiwara Sys-Com CF 1GB, Sandisk CF 256MB, Socket BT, Linksys WCF12 Wifi card, RoyalTek RBT-1000 Bluetooth GPS
yogzlog.blogspot.com