Thanks !

Verified by buzzing the buzzer and writing RTC (next-20140403):

echo 24 > /sys/class/gpio/export
echo out > /sys/class/gpio/gpio24/direction
echo 1 > /sys/class/gpio/gpio24/value
echo 0 > /sys/class/gpio/gpio24/value

date +%Y%m%d%h%m -s "201001202323"
hwclock -w
reboot
..
[    2.420000] moxart-rtc rtc.0: setting system clock to 2010-01-20
22:23:31 UTC (1264026211)
..
date +%Y%m%d%h%m -s "201212181553"
hwclock -w
reboot
..
[    2.410000] moxart-rtc rtc.0: setting system clock to 2012-12-18
14:53:29 UTC (1355842409)


Tested-by: Jonas Jensen <[email protected]>
--
To unsubscribe from this list: send the line "unsubscribe linux-gpio" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to