diff options
author | Maurus Cuelenaere <mcuelenaere@gmail.com> | 2010-01-21 11:57:01 +0000 |
---|---|---|
committer | Maurus Cuelenaere <mcuelenaere@gmail.com> | 2010-01-21 11:57:01 +0000 |
commit | 3e89296d6a3ecbcd430d3569fdc28a355ac36a0d (patch) | |
tree | 46eab846c10d0a5121e7ff5d834a9a9d01e67f42 /utils/time-sync/README | |
parent | 0061234579833576f6d00a7fc8f0b94d3f0f64ed (diff) | |
download | rockbox-3e89296d6a3ecbcd430d3569fdc28a355ac36a0d.tar.gz rockbox-3e89296d6a3ecbcd430d3569fdc28a355ac36a0d.zip |
Import ipod-time-sync from libgpod
This copies ipod-time-sync from libgpod and strips it of
unneccesary code + Makefile and README are added.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24306 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'utils/time-sync/README')
-rw-r--r-- | utils/time-sync/README | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/utils/time-sync/README b/utils/time-sync/README new file mode 100644 index 0000000000..31a876f428 --- /dev/null +++ b/utils/time-sync/README | |||
@@ -0,0 +1,20 @@ | |||
1 | time-sync is a utility to sync the time with any Rockbox target that runs the | ||
2 | software USB stack. | ||
3 | |||
4 | It was originally take from libgpod and stripped of unnecessary code. | ||
5 | |||
6 | http://gtkpod.git.sourceforge.net/git/gitweb.cgi?p=gtkpod/libgpod | ||
7 | |||
8 | To compile and install, just run: | ||
9 | make | ||
10 | make install | ||
11 | |||
12 | Example run: | ||
13 | mcuelenaere@wim2160:~/rockbox/utils/time-sync$ sudo time-sync /dev/sdb1 | ||
14 | Data Payload: 07 da 00 14 04 0c 30 2b 00 00 00 00 | ||
15 | Write buffer cmd: 3b 01 00 0c 00 00 00 00 0c 00 | ||
16 | Time was synced! | ||
17 | |||
18 | Example udev rule (for Onda VX747): | ||
19 | # automatically adjust my Rockboxed DAP RTC | ||
20 | ACTION=="add", ATTRS{idVendor}=="07c4", ATTRS{idProduct}=="a4a5", KERNEL=="sd?", NAME="%k", RUN+="/usr/local/bin/time-sync /dev/%k" | ||