Results 1 to 4 of 4

Thread: ACPI rtc alarm in openSUSE 11.0

  1. #1
    Join Date
    Jun 2008
    Location
    home
    Posts
    16

    Default ACPI rtc alarm in openSUSE 11.0

    Anyone tried the ACPI alarm rtcwake function in openSUSE 11.0.
    Is it working?

    It was broken in openSUSE 10.3 - it hope it is fixed in openSUSE 11.0 - but my first tests failed.

    When I echo a date into /sys/class/rtc/rtc0/wakealarm the file stays empty for some reason.

  2. #2
    foxy82 NNTP User

    Default Re: ACPI rtc alarm in openSUSE 11.0

    I got the same issue. Tried rtcwakeup as well but that didn't echo anything to the file either.

    Then I tried:

    echo 0 > /sys/class/rtc/rtc0/wakealarm
    echo `date '+%s' -d '+ 5 minutes'` > /sys/class/rtc/rtc0/wakealarm

    from

    ACPI Wakeup - MythTV

    For some reason this did echo into the file. I've yet to investigate why.

  3. #3
    Join Date
    Jun 2008
    Location
    home
    Posts
    16

    Default Re: ACPI rtc alarm in openSUSE 11.0

    Got it working and updated the mythTV wiki about the subject.
    ACPI Wakeup - MythTV


    echo 0 > /sys/class/rtc/rtc0/wakealarm
    echo `date '+%s' -d '+ 5 minutes'` > /sys/class/rtc/rtc0/wakealarm
    cat /sys/class/rtc/rtc0/wakealarm

  4. #4
    foxy82 NNTP User

    Default Re: ACPI rtc alarm in openSUSE 11.0

    I've found I didn't have to do the reset so my command (in MythTv) to set the time was just:

    echo $time > /sys/class/rtc/rtc0/wakealarm

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •