OESF Portables Forum

Everything Else => Zaurus Distro Support and Discussion => Distros, Development, and Model Specific Forums => Archived Forums => Angstrom & OpenZaurus => Topic started by: YoG on March 20, 2006, 05:03:15 am

Title: Hinge Suspend - Alarm Problem.
Post by: YoG 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.
Title: Hinge Suspend - Alarm Problem.
Post by: lardman 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
Title: Hinge Suspend - Alarm Problem.
Post by: YoG 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.
Title: Hinge Suspend - Alarm Problem.
Post by: YoG on March 20, 2006, 05:22:06 am
but I'll report a bug anyway...