Bug 13326 - Implement RTC support in MCU driver
: Implement RTC support in MCU driver
Status: CLOSED FIXED
Product: SB Radio
Classification: Unclassified
Component: OS/Bootloader
: Include FW version in comment
: PC Windows XP
: P1 normal (vote)
: 7.4.0
Assigned To: Richard Titmuss
:
Depends on:
Blocks: 12417
  Show dependency treegraph
 
Reported: 2009-08-11 03:47 UTC by Richard Titmuss
Modified: 2009-10-05 14:32 UTC (History)
6 users (show)

See Also:
Category: Feature


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Richard Titmuss 2009-08-11 03:47:36 UTC
+++ This bug was initially created as a clone of Bug #12417 +++

Caleb, I have implemented the linux RTC driver, see Bug 12417. The MCU now needs to catch up. We need to:

1. agree on the resolution of the RTC interface, seconds since unix epoch works best for the kernel
2. implement the set_time function, this does not look like it's accessible via i2c
3. implement wake-up alarm in MCU to resume from power off

If you can complete the MCU I'll finish off the kernel interface.
Comment 1 Caleb Crome 2009-08-11 10:16:20 UTC
*** Bug 13001 has been marked as a duplicate of this bug. ***
Comment 2 SVN Bot 2009-08-13 17:08:05 UTC
 == Auto-comment from SVN commit #6331 to the player repo by ccrome ==
 == https://svn.slimdevices.com/player?view=revision&revision=6331 ==

Fixed the RTC on the MSP.  Now it reads in seconds, and it's readable & writable.  Just read and write to 'time'
Bug #12417
Bug #13326

I2C is not working properly, so easy to implement alarm.
Comment 3 SVN Bot 2009-08-13 17:27:08 UTC
 == Auto-comment from SVN commit #6333 to the player repo by ccrome ==
 == https://svn.slimdevices.com/player?view=revision&revision=6333 ==

Bug #13326, Bug #12417 Implemented Alarm get and set functions in i2c driver.
Comment 4 SVN Bot 2009-08-13 17:28:28 UTC
 == Auto-comment from SVN commit #7069 to the jive repo by ccrome ==
 == https://svn.slimdevices.com/jive?view=revision&revision=7069 ==

Bug #13326, Bug #12417 Implemented Alarm get and set functions in i2c driver.
Comment 5 SVN Bot 2009-08-13 17:30:18 UTC
 == Auto-comment from SVN commit #7070 to the jive repo by ccrome ==
 == https://svn.slimdevices.com/jive?view=revision&revision=7070 ==

Bug #13326, Bug #12417.  Implemented alarm /sys driver.  Changed time and alarm time to be 32 bits instead of 64-bits.
Comment 6 Caleb Crome 2009-08-13 17:49:40 UTC
RTC functions properly now.
Comment 7 Richard Titmuss 2009-08-14 02:44:52 UTC
Confirmed it's working.
Comment 8 James Richardson 2009-10-05 14:32:33 UTC
This bug has been marked as fixed in the 7.4.0 release version of SqueezeBox Server!
    * SqueezeCenter: 28672
    * Squeezebox 2 and 3: 130
    * Transporter: 80
    * Receiver: 65
    * Boom: 50
    * Controller: 7790
    * Radio: 7790  

Please see the Release Notes for all the details: http://wiki.slimdevices.com/index.php/Release_Notes

If you haven't already, please download and install the new version from http://www.logitechsqueezebox.com/support/download-squeezebox-server.html

If you are still experiencing this problem, feel free to reopen the bug with your new comments and we'll have another look.