Rockbox Development > Feature Ideas
Clock synchronization
nerdrunner:
Is there any way for Rockbox to automagically syncronize its clock to a computer's clock when it is hooked up to the computer's USB port?
soap:
As I understand mass storage mode - there really isn't any communication, just file transfers. Perhaps a PC app to constantly write to a file with current time and a Rockbox routine to read said time - but that would require Rockbox to allow both your PC and Rockbox to access the drive at the same time (not sure this is possible) and would be impossible on the devices where Rockbox does not provide the USB mode (rather it relies on the existing hardware or Original Firmware USB.)
Llorean:
It is impossible (in UMS) for Rockbox and the host PC to access the drive at the same time.
It *would* be possible to sync times on SWUSB targets if, for example, we had a resident program running on the host PC that could recognize a Rockbox player and send the right SCSI commands, if I understand correctly.
Of course, this requires someone write such a host program, and implement support for it in Rockbox, and such.
torne:
Implementing the iTunes time sync command (which it sends over SCSI) would not be too difficult probably (there is already a patch that accepts the command but just throws it away), but someone would actually have to write a program for the host PC to send the command for people who don't have an iPod or don't use iTunes.
Vchat20:
FWIW, we already have more advanced USB usage thanks to the HID support that (iirc) is already in SVN (for the capable hardware of course which is a good sized list) so something like this wouldn't be too difficult from a capabilities standpoint. And I would think there'd be some USB standard to be able to access the host RTC without any extra software running on said host. Just comes down to researching it all I guess.
Navigation
[0] Message Index
[#] Next page
Go to full version