Re: [beagleboard] How to change default hwclock on BBB Debian to always be /dev/rtc1?

2017-01-04 Thread Micka
The problem have been discussed there : https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=785445 Le lun. 10 oct. 2016 à 03:54, William Hermans a écrit : > The best way I found for myself. Was to simply install ntpdate, run it, > then update the external real clock from

Re: [beagleboard] How to change default hwclock on BBB Debian to always be /dev/rtc1?

2016-10-09 Thread William Hermans
The best way I found for myself. Was to simply install ntpdate, run it, then update the external real clock from system time. Then, if you *absolutely* need rtc0 updated. You update it from the system time. Or rtc1. No need to recompile the kernel. Sure, it's a couple of extra steps, but steps

Re: [beagleboard] How to change default hwclock on BBB Debian to always be /dev/rtc1?

2016-10-09 Thread maxmike
I don~t think Robert recompiled the kernel. I am using 3.8.13 Debian. -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it,

Re: [beagleboard] How to change default hwclock on BBB Debian to always be /dev/rtc1?

2016-10-09 Thread Micka
I also had to change the default rtc... I managed it by recompiling the kernel. In the menu config you can specify the default rtc Le dim. 9 oct. 2016 21:39, maxmike a écrit : > > Robert, when using rtc0, did you also use .../i2c-adapter/i2c-0... ? > > -- > For more

Re: [beagleboard] How to change default hwclock on BBB Debian to always be /dev/rtc1?

2016-10-09 Thread maxmike
Robert, when using rtc0, did you also use .../i2c-adapter/i2c-0... ? -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it,

Re: [beagleboard] How to change default hwclock on BBB Debian to always be /dev/rtc1?

2016-01-10 Thread William Hermans
http://man7.org/linux/man-pages/man8/hwclock.8.html *-f*, *--rtc=**filename* Override *hwclock*'s default rtc device file name. Otherwise it will use the first one found in this order: */dev/rtc* */dev/rtc0*

Re: [beagleboard] How to change default hwclock on BBB Debian to always be /dev/rtc1?

2016-01-10 Thread Robert Hurd
HI WIlliam, Thank you for getting back to my post, really appreciate your time. However, your solution is the same approach as I mentioned my initial post (*hwclock -r -f /dev/rtc1). *This doesn't actually set the default rtc source, it only overrides the default for the command. I need an

Re: [beagleboard] How to change default hwclock on BBB Debian to always be /dev/rtc1?

2016-01-10 Thread Robert Hurd
Actually, on reflection there's another file that should be edited and not the one I posted above. *root:# *nano /etc/default/hwclock -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group.

Re: [beagleboard] How to change default hwclock on BBB Debian to always be /dev/rtc1?

2016-01-10 Thread William Hermans
Additionally, I know there is a package called "fake-hwclock" which simulates an rtc for those systems that do not have. One, so was going to suggest perhaps looking over the code. But seems largely moot now. On Sun, Jan 10, 2016 at 4:05 PM, William Hermans wrote: > *HI

Re: [beagleboard] How to change default hwclock on BBB Debian to always be /dev/rtc1?

2016-01-10 Thread William Hermans
> > *HI WIlliam,* > > *Thank you for getting back to my post, really appreciate your time.* > *However, your solution is the same approach as I mentioned my initial > post (**hwclock -r -f /dev/rtc1).* > Yeah, I did not realize until after I posted. I figured it would require "hacking" the