A modern Music Player Daemon based on Rockbox open source high quality audio player
libadwaita audio rust zig deno mpris rockbox mpd
at master 20 lines 729 B view raw
1time-sync is a utility to sync the time with any Rockbox target that runs the 2software USB stack. 3 4It was originally take from libgpod and stripped of unnecessary code. 5 6http://gtkpod.git.sourceforge.net/git/gitweb.cgi?p=gtkpod/libgpod 7 8To compile and install, just run: 9 make 10 make install 11 12Example 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 18Example 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"