element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Raspberry Pi
  • Products
  • More
Raspberry Pi
Raspberry Pi Forum Arrêt / Redémarrage Raspberry
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Raspberry Pi to participate - click to join for free!
Featured Articles
Announcing Pi
Technical Specifications
Raspberry Pi FAQs
Win a Pi
Raspberry Pi Wishlist
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 6 replies
  • Subscribers 668 subscribers
  • Views 880 views
  • Users 0 members are here
Related

Arrêt / Redémarrage Raspberry

Former Member
Former Member over 11 years ago

Bonjour,

 

Je souhaiterais savoir s'il existe une solution pour arrêter proprement le Raspberry et le redémarrer.

 

Nous avons jusqu'ici débranché électriquement le Raspberry, les cartes SD sont désormais corrompues, ce qui n'est pas étonnant.

 

J'aimerai donc savoir s'il existait une solution pour arrêter proprement et/ou redémarrer le raspberry, peut-être un bouton poussoir ou quelque chose de ce type pour éviter d'endommager les cartes SD.

 

Evidemment je connais les commandes suivantes :

sudo halt

sudo shutdown -r now

 

Mais nous cherchons un moyen de redémarrer le Raspberry sans devoir s'y connecter à distance.

 

Voila pourquoi je recherche une solution propre qui m'éviterait de devoir reformater sans cesse la SD.

 

Je vous remercie.

  • Sign in to reply
  • Cancel
  • Former Member
    Former Member over 11 years ago

    Salut Julot,

     

    Utilise le reset. un connecteur avec deux pins. les trous sont deja la. vérifie sur le schema de la framboise version B

     

    For the non French speaking, I suggested to use the reset button of the Pi version B

     

    Jean-Paul (AC9GH)

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • johnbeetem
    johnbeetem over 11 years ago

    Salut,

     

    Voici un truc que j'ai trouvé au RasPi Hardware Wiki: RemotePi Board

     

    RemotePi est une petite carte que se connecte au broches GPIO et contrôle l'alimentation de la framboise avec une télécommande de T.V.  La carte utilise des broches GPIO pour alerter la framboise et la donne le temps de faire "shutdown" avec une scripte.

     

    Je n'ai pas essayé le RemotePi moi-même.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Former Member
    Former Member over 11 years ago

    Salut Julot,

     

    Utilise le reset. un connecteur avec deux pins. les trous sont deja la. vérifie sur le schema de la framboise version B

     

    For the non French speaking, I suggested to use the reset button of the Pi version B

     

    Jean-Paul (AC9GH)

     

    J'ai vu des articles sur cela, mais j'ai bien l'impression qu'on parle de "reset", un redémarrage brutal du Raspberry. Les avis étaient qu'ils déconseillaient cette pratique puisque ça endommageaient les données de la carte SD.

     

    Quant à John Beetem, c'est tentant, mais j'ai besoin de la GPIO. J'utilise les pins 1, 6, 8 et 10 pour une liaison série, j'ai un adaptateur RS232 - TTL pour ça.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • guillaume9433
    guillaume9433 over 8 years ago in reply to Former Member

    bonjour, ci dessous une réalisation sur un arret programmé par un bouton , et d'autre fonctions .:

    Controleur d’alimentation pour Raspberry pi

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • gillou-tintin
    gillou-tintin over 8 years ago

    Bonjour,

    tu type ctrl + t puis reboot

    tu doit faire toujours toujours cette commande avant de faire une nouvelle installation ou tout autre modif  sudo apt-get update && sudo apt-get upgrade a la questiontu repond toutjours oui pour installer les nouvelles mise a jours.

    cordialement

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • rew
    rew over 8 years ago in reply to gillou-tintin

    My writing French is not that good. Do you mind if I try to help in English?

     

    So... The "reset" causes a brutal reset, only slightly less brutal than removing the power.

     

    I think that logging in to the console and typing commands is also not what you're looking for. You want a power button like on a PC that causes a shutdown.

     

    I would connect a pushbutton between GND and one of the GPIO ports. Then I'd write a script:

    #!/bin/sh

    pin=1 # better known as GPIO18, see the pinout documentations for the P1 connector on rasbperry pi.

    gpio mode $pin in

    gpio mode $pin up # I don't know if this obsoletes the above command, extra is easier than figuring that out.

    while [ `gpio read $pin` -eq 1 ] ; do

      sleep 0.1

    done

    halt

    call this script say "monpowerbutton" and save it in /usr/local/bin, change the mode to 755 and call it from /etc/rc.local:

    /usr/local/bin/monpowerbutton &

    That's it! A power button that causes a neat shutdown when pressed.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube