OESF Portal | OESF Forum | OESF Wiki | LinuxPDA | ELSI (coming soon) | Ibiblio


Welcome Guest ( Log In | Register )

> Resume Event On Cacko, SIGCONT not emited on resume
post Dec 29 2006, 03:15 AM
Post #1

Group: Members
Posts: 80
Joined: 30-March 05
Member No.: 6,751

In this page, Spencer Huang said that a SIGCONT signal is sent to each running process when the zaurus is resumed.

While testing the next version of qpegps (it is altmost here), that catchs that signal to start the gps card after a resume, I notice that the SIGCONT signal is never received.

With other tests I have proved that the SIGCONT signal is not called after a resume on Cacko (at least in versions 1.23 and 1.22 and zaurus C760 and C3100) while with the original sharp ROM the signal is fired as expected.

Anyone knows how to activate this function?

I have been thinking on adding a line (killall -SIGCONT qpegps) to a resume script, but I don't know where to put this command. Someone with more knowledge can help me?

Is there any other method to detect when the zaurus is resumed?

Go to the top of the page
+Quote Post
Start new topic
post Dec 30 2006, 07:55 AM
Post #2

Group: Members
Posts: 116
Joined: 11-December 03
From: Oldenburg, Germany
Member No.: 1,155

I'm not sure about the standard Sharp ROM, but Cacko has this suspend/resume framework in place. There are several scripts in /etc/apm.d/ which are linked to and fired via /etc/apm.d/suspend.d or /etc/apm.d/resume.d

You could hook a helper script for your qpegps in those directories.
Also, the kernel directly opens the file /etc/suspend.lst and uses that to send SIGSTOP and SIGCONT to the processes listed there.
Go to the top of the page
+Quote Post

Posts in this topic

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:


RSS Lo-Fi Version Time is now: 25th September 2017 - 08:06 PM