Ligne 1 : |
Ligne 1 : |
| {{RASP-PCF8523-NAV}} | | {{RASP-PCF8523-NAV}} |
− |
| |
− | {{traduction}}
| |
| | | |
| == Introduction == | | == Introduction == |
Ligne 61 : |
Ligne 59 : |
| {{ADFImage|RASP-PCF8523-Fixer-Heure-10.png}} | | {{ADFImage|RASP-PCF8523-Fixer-Heure-10.png}} |
| | | |
− | Vous pouvez constater, que la date est invalide! | + | Vous pouvez constater que la date est invalide! |
| + | |
| + | Il est possible de corriger la date facilement. Pour commencer, exécuter {{fname|date}} pour vérifier que la date du système d'exploitation soit, elle, correcte. Branchez le Pi sur le réseau (Ethernet ou WiFi) pour qu'il se mette à jour depuis Internet. |
| + | |
| + | Une fois l'heure système à jour, exécutez la commande {{fname|sudo hwclock -w}} pour écrire ('''w'''rite) l'heure système dans l'horloge matérielle. |
| | | |
− | You can set the correct time easily. First run {{fname|date}} to verify the time is correct. Plug in Ethernet or WiFi to let the Pi sync the right time from the Internet. Once that's done, run {{fname|sudo hwclock -w}} to '''w'''rite the time, and another {{fname|sudo hwclock -r}} to '''r'''ead the time
| + | Faites ensuite un {{fname|sudo hwclock -r}} pour lire ('''r'''ead) l'heure depuis l'horloge RTC matérielle. |
| | | |
| {{ADFImage|RASP-PCF8523-Fixer-Heure-11.png}} | | {{ADFImage|RASP-PCF8523-Fixer-Heure-11.png}} |
| | | |
− | Once the time is set, make sure the coin cell battery is inserted so that the time is saved. You only have to set the time once
| + | Une fois l'heure fixée, assurez-vous que la pile bouton soit bien en place. |
| + | |
| + | '''Le temps doit être fixée une seule et unique fois dans l'horloge RTC matérielle'''. |
| | | |
− | That's it! Next time you boot the time will automatically be synced from the RTC module
| + | Voilà, c'est fait! La prochaine fois que le Raspberry-Pi démarre, l'heure système sera automatiquement synchronisée avec celle du module RTC. |
| | | |
| == Raspbian Wheezy ou autres systèmes pré-systemd == | | == Raspbian Wheezy ou autres systèmes pré-systemd == |
− | Si ce point vous intéresse en particulier, vous pouvez poursuivre votre lecture depuis la page "[https://learn.adafruit.com/adding-a-real-time-clock-to-raspberry-pi/set-rtc-time#raspbian-wheezy-or-other-pre-systemd-linux Raspbian Wheezy or other pre-systemd Linux]" | + | Si ce point particulier vous intéresse, vous pouvez poursuivre votre lecture depuis la page "[https://learn.adafruit.com/adding-a-real-time-clock-to-raspberry-pi/set-rtc-time#raspbian-wheezy-or-other-pre-systemd-linux Raspbian Wheezy or other pre-systemd Linux]" |
| | | |
| {{RASP-PCF8523-TRAILER}} | | {{RASP-PCF8523-TRAILER}} |