RealTimeClock

Daniel Willmann daniel at totalueberwachung.de
Wed Mar 18 19:22:05 CET 2009


On Wed, 18 Mar 2009 17:07:43 +0100
Sven Klomp <sven at klomp.de> wrote:

> Hi,
> 
> what is the neded type to set the RTC?
> mdbus -s
> org.freesmartphone.odeviced /org/freesmartphone/Device/RealTimeClock/0
> org.freesmartphone.Device.RealTimeClock.SetCurrentTime "1237390913"
> 
> gives: 
> ERROR:dbus.connection:Unable to set arguments (1237390913,) according
> to signature u's': <type 'exceptions.TypeError'>: Expected a string
> or unicode object

Try to escape the quotes like this: \"1237390913\". The problem is that
the bash already strips them and mdbus will just interpret the number
as number.

Regards,
Daniel Willmann
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
Url : http://lists.openmoko.org/pipermail/devel/attachments/20090318/47dff51b/attachment.pgp 


More information about the devel mailing list