* unable to set alam using echo to /proc/acpi/alarm
@ 2005-12-11 21:29 Ronald Wielink
[not found] ` <302c0a190512111329i76e9e214v4aff822d99ae5de5-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
0 siblings, 1 reply; 8+ messages in thread
From: Ronald Wielink @ 2005-12-11 21:29 UTC (permalink / raw)
To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
[-- Attachment #1: Type: text/plain, Size: 681 bytes --]
Dear all,
when I try setting the alarm to wake up my pc I get the following result:
[root@mithrandir acpi]# pwd
/proc/acpi
[root@mithrandir acpi]# cat alarm
2005-12-00 00:00:00
[root@mithrandir acpi]# echo 2005-12-15 17:18:19 > alarm
[root@mithrandir acpi]# cat alarm
2005-12-00 17:18:19
[root@mithrandir acpi]#
BTW, nothing happens at the echo'd date/time. Could someone please give me a
clue where to start looking? I'm running fedora core 4, my mobo is an ASUS
P5S800-VM, the documentation on the motherboard states that ACPI is
supported. There is an option to turn acpi 2.0 on, but no difference...
Any help is greatly appreciated!
Regards,
Ronald
[-- Attachment #2: Type: text/html, Size: 766 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* RE: unable to set alam using echo to /proc/acpi/alarm
@ 2005-12-12 8:40 Starikovskiy, Alexey Y
0 siblings, 0 replies; 8+ messages in thread
From: Starikovskiy, Alexey Y @ 2005-12-12 8:40 UTC (permalink / raw)
To: Ronald Wielink, acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
[-- Attachment #1: Type: text/plain, Size: 1212 bytes --]
Do you have RTC driver compiled and loaded? CONFIG_RTC in kernel
.config?
Regards,
Alex
________________________________
From: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
[mailto:acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org] On Behalf Of Ronald
Wielink
Sent: Monday, December 12, 2005 12:30 AM
To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: [ACPI] unable to set alam using echo to
/proc/acpi/alarm
Dear all,
when I try setting the alarm to wake up my pc I get the
following result:
[root@mithrandir acpi]# pwd
/proc/acpi
[root@mithrandir acpi]# cat alarm
2005-12-00 00:00:00
[root@mithrandir acpi]# echo 2005-12-15 17:18:19 > alarm
[root@mithrandir acpi]# cat alarm
2005-12-00 17:18:19
[root@mithrandir acpi]#
BTW, nothing happens at the echo'd date/time. Could someone
please give me a clue where to start looking? I'm running fedora core
4, my mobo is an ASUS P5S800-VM, the documentation on the motherboard
states that ACPI is supported. There is an option to turn acpi 2.0 on,
but no difference...
Any help is greatly appreciated!
Regards,
Ronald
[-- Attachment #2: Type: text/html, Size: 2263 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: unable to set alam using echo to /proc/acpi/alarm
[not found] ` <302c0a190512111329i76e9e214v4aff822d99ae5de5-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2005-12-12 15:20 ` Pavel Machek
[not found] ` <20051212152008.GA8748-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
0 siblings, 1 reply; 8+ messages in thread
From: Pavel Machek @ 2005-12-12 15:20 UTC (permalink / raw)
To: Ronald Wielink; +Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
Hi!
> when I try setting the alarm to wake up my pc I get the following
> result:
> [root@mithrandir acpi]# pwd
> /proc/acpi
> [root@mithrandir acpi]# cat alarm
> 2005-12-00 00:00:00
> [root@mithrandir acpi]# echo 2005-12-15 17:18:19 > alarm
> [root@mithrandir acpi]# cat alarm
> 2005-12-00 17:18:19
> [root@mithrandir acpi]#
> BTW, nothing happens at the echo'd date/time. Could someone please
> give me a clue where to start looking? I'm running fedora core 4, my
> mobo is an ASUS P5S800-VM, the documentation on the motherboard states
> that ACPI is supported. There is an option to turn acpi 2.0 on, but no
> difference...
alarm never worked properly, IIRC.
Pavel
--
Thanks, Sharp!
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
^ permalink raw reply [flat|nested] 8+ messages in thread
* RE: unable to set alam using echo to /proc/acpi/alarm
@ 2005-12-14 17:05 Li, Shaohua
2005-12-14 17:22 ` Kevin Fenzi
2005-12-15 16:23 ` Pavel Machek
0 siblings, 2 replies; 8+ messages in thread
From: Li, Shaohua @ 2005-12-14 17:05 UTC (permalink / raw)
To: Pavel Machek, Ronald Wielink; +Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
Hi,
>
>> when I try setting the alarm to wake up my pc I get the following
>> result:
>> [root@mithrandir acpi]# pwd
>> /proc/acpi
>> [root@mithrandir acpi]# cat alarm
>> 2005-12-00 00:00:00
>> [root@mithrandir acpi]# echo 2005-12-15 17:18:19 > alarm
>> [root@mithrandir acpi]# cat alarm
>> 2005-12-00 17:18:19
>> [root@mithrandir acpi]#
>> BTW, nothing happens at the echo'd date/time. Could someone please
>> give me a clue where to start looking? I'm running fedora core 4,
my
>> mobo is an ASUS P5S800-VM, the documentation on the motherboard
states
>> that ACPI is supported. There is an option to turn acpi 2.0 on,
but no
>> difference...
>
>alarm never worked properly, IIRC.
It works well on different systems here :).
Thanks,
Shaohua
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id\x16865&op=click
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: unable to set alam using echo to /proc/acpi/alarm
2005-12-14 17:05 Li, Shaohua
@ 2005-12-14 17:22 ` Kevin Fenzi
2005-12-15 16:23 ` Pavel Machek
1 sibling, 0 replies; 8+ messages in thread
From: Kevin Fenzi @ 2005-12-14 17:22 UTC (permalink / raw)
To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
>>>>> "Shaohua" == Shaohua Li <shaohua.li-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> writes:
Shaohua> Hi,
>>
>>> when I try setting the alarm to wake up my pc I get the following
>>> result: [root@mithrandir acpi]# pwd /proc/acpi [root@mithrandir
>>> acpi]# cat alarm 2005-12-00 00:00:00 [root@mithrandir acpi]# echo
>>> 2005-12-15 17:18:19 > alarm [root@mithrandir acpi]# cat alarm
>>> 2005-12-00 17:18:19 [root@mithrandir acpi]# BTW, nothing happens
>>> at the echo'd date/time. Could someone please give me a clue where
>>> to start looking? I'm running fedora core 4,
Shaohua> my
>>> mobo is an ASUS P5S800-VM, the documentation on the motherboard
Shaohua> states
>>> that ACPI is supported. There is an option to turn acpi 2.0 on,
Shaohua> but no
>>> difference...
>> alarm never worked properly, IIRC.
Shaohua> It works well on different systems here :).
It works fine for me too here.
One thing that I see, from the orig post:
>[root@mithrandir acpi]# echo 2005-12-15 17:18:19 > alarm
>[root@mithrandir acpi]# cat alarm
2005-12-00 17:18:19
Don't you need to ' that string since there is a space?
ie:
echo '2005-12-15 17:18:19' > alarm
in order to get the year/month/date in correctly?
Shaohua> Thanks, Shaohua
kevin
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 <http://mailcrypt.sourceforge.net/>
iD8DBQFDoFTA3imCezTjY0ERAkNMAJ0QmeR1aA99CuJA+F7c8vAdqnxkhQCfUwEH
uTgnG87/Qb8/VkDaC9IXPIU=
=gxQt
-----END PGP SIGNATURE-----
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: unable to set alam using echo to /proc/acpi/alarm
2005-12-14 17:05 Li, Shaohua
2005-12-14 17:22 ` Kevin Fenzi
@ 2005-12-15 16:23 ` Pavel Machek
1 sibling, 0 replies; 8+ messages in thread
From: Pavel Machek @ 2005-12-15 16:23 UTC (permalink / raw)
To: Li, Shaohua; +Cc: Ronald Wielink, acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
Hi!
> >> when I try setting the alarm to wake up my pc I get the following
> >> result:
> >> [root@mithrandir acpi]# pwd
> >> /proc/acpi
> >> [root@mithrandir acpi]# cat alarm
> >> 2005-12-00 00:00:00
> >> [root@mithrandir acpi]# echo 2005-12-15 17:18:19 > alarm
> >> [root@mithrandir acpi]# cat alarm
> >> 2005-12-00 17:18:19
> >> [root@mithrandir acpi]#
> >> BTW, nothing happens at the echo'd date/time. Could someone please
> >> give me a clue where to start looking? I'm running fedora core 4,
> my
> >> mobo is an ASUS P5S800-VM, the documentation on the motherboard
> states
> >> that ACPI is supported. There is an option to turn acpi 2.0 on,
> but no
> >> difference...
> >
> >alarm never worked properly, IIRC.
> It works well on different systems here :).
Okay, so the problem is in me. Could we get some documentation? It
would be useful to know what to expect, and it should probably end up
in Documentation/ somewhere.
Pavel
--
Thanks, Sharp!
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
^ permalink raw reply [flat|nested] 8+ messages in thread
* RE: unable to set alam using echo to /proc/acpi/alarm
@ 2005-12-16 1:58 Li, Shaohua
0 siblings, 0 replies; 8+ messages in thread
From: Li, Shaohua @ 2005-12-16 1:58 UTC (permalink / raw)
To: Pavel Machek; +Cc: Ronald Wielink, acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
Hi,
>
>> >> when I try setting the alarm to wake up my pc I get the
following
>> >> result:
>> >> [root@mithrandir acpi]# pwd
>> >> /proc/acpi
>> >> [root@mithrandir acpi]# cat alarm
>> >> 2005-12-00 00:00:00
>> >> [root@mithrandir acpi]# echo 2005-12-15 17:18:19 > alarm
>> >> [root@mithrandir acpi]# cat alarm
>> >> 2005-12-00 17:18:19
>> >> [root@mithrandir acpi]#
>> >> BTW, nothing happens at the echo'd date/time. Could someone
please
>> >> give me a clue where to start looking? I'm running fedora core
4,
>> my
>> >> mobo is an ASUS P5S800-VM, the documentation on the motherboard
>> states
>> >> that ACPI is supported. There is an option to turn acpi 2.0 on,
>> but no
>> >> difference...
>> >
>> >alarm never worked properly, IIRC.
>
>> It works well on different systems here :).
>
>Okay, so the problem is in me. Could we get some documentation? It
>would be useful to know what to expect, and it should probably end up
>in Documentation/ somewhere.
Yup. Alarm is expected to wakeup the system from S3 sleep at a given
time.
Setting day, month and century is optional and depends on BIOS per ACPI
spec.
S4 alarm is also optional but maybe doesn't work on Linux (never tried).
Thanks,
Shaohua
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id\x16865&op=click
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: unable to set alam using echo to /proc/acpi/alarm
[not found] ` <20051212152008.GA8748-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
@ 2005-12-16 19:40 ` Stefan Seyfried
0 siblings, 0 replies; 8+ messages in thread
From: Stefan Seyfried @ 2005-12-16 19:40 UTC (permalink / raw)
To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
On Mon, Dec 12, 2005 at 04:20:08PM +0100, Pavel Machek wrote:
> Hi!
>
> > when I try setting the alarm to wake up my pc I get the following
> > result:
> > [root@mithrandir acpi]# cat alarm
> > 2005-12-00 17:18:19
> > [root@mithrandir acpi]#
> > BTW, nothing happens at the echo'd date/time. Could someone please
> > give me a clue where to start looking? I'm running fedora core 4, my
> > mobo is an ASUS P5S800-VM, the documentation on the motherboard states
> > that ACPI is supported. There is an option to turn acpi 2.0 on, but no
> > difference...
>
> alarm never worked properly, IIRC.
i have seen a thinkpad wake up from S3 at the specified alarm time.
So it works somehow. Although i was never able to figure out if it was
woken up manually or by the alarm.
--
Stefan Seyfried
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2005-12-16 19:40 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-12-11 21:29 unable to set alam using echo to /proc/acpi/alarm Ronald Wielink
[not found] ` <302c0a190512111329i76e9e214v4aff822d99ae5de5-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2005-12-12 15:20 ` Pavel Machek
[not found] ` <20051212152008.GA8748-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
2005-12-16 19:40 ` Stefan Seyfried
-- strict thread matches above, loose matches on Subject: below --
2005-12-12 8:40 Starikovskiy, Alexey Y
2005-12-14 17:05 Li, Shaohua
2005-12-14 17:22 ` Kevin Fenzi
2005-12-15 16:23 ` Pavel Machek
2005-12-16 1:58 Li, Shaohua
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox