Re: Disabling RTC alert
[email protected] Wed, 11 May 2005 18:39:24 +0200
| Newsgroups | gmane.linux.power-management.devel |
|---|---|
| Message-ID | <[email protected]> |
Ok, now I looked in the source code... I found (linux-2.6.12-rc3/drivers/acpi/sleep/proc.c) the function acpi_system_write_alarm() which is called when the file /proc/acpi/alarm is written. Unfortunately there is no option in this function to disable the RTC alarm. So there is no way writing something to /proc/acpi/alarm for disabling it :-( Maybe somebody of the acpi project will insert some code for this functionality!? Am Mittwoch, 11. Mai 2005 04:54 schrieb randy_dunlap: > On Tue, 10 May 2005 10:48:17 +0200 [email protected] wrote: > | Sorry, this was my fault: i meant /proc/acpi/alarm. > | (new example: echo 2005-05-08 20:15:00 > /proc/acpi/alarm) > | > | I am using kernel 2.6.12-RC3. > > (resending again, first time had a problem with mailing-list > accepting this) > > Sorry, I don't know the answer or see it in the source code. > > For ACPI questions, you would be better off asking on the > mailing list: [email protected] > > Why do you think that you can write a date/time to /proc/acpi/alarm ? > In the source code it is looking for an integer (like number of seconds > maybe, but again the source code is unclear on it). > > Can you test disabling it by writing a 0 to /proc/acpi/alarm ? > > --- > ~Randy > free agent > > > --- > ~Randy > > > > > --- > ~Randy ------------------------------------------------------- ------------------------------------------------------- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click