Home » Blog » PowerBlock » Update for PowerBlock Driver: Pin Configuration and Logging

Update for PowerBlock Driver: Pin Configuration and Logging

The driver of our popular Raspberry Pi Power Switch add-on board PowerBlock got a feature update! More configuration, more logging, faster shutdown.

What comes with this Feature Update?

So, what’s new in this update? Basically, these are the two things:

  • The status and shutdown pins on the Raspberry side can now be configured. This allows to use other HATs that might use the default pin numbers 17 and 18. The configuration file can be found at /etc/powerblockconfig.cfg.
  • The PowerBlock driver now has its own logger so that you can follow every action of it, if you are interested. You can find it at /var/log/powerblock.log
PowerBlock Logging Messages
PowerBlock Logging Messages

Besides that, the shutdown time was optimised so that a shutdown is much faster (again) now.

The new driver has version 1.5.0.

You can update your driver by simply re-installing the driver as depicted in the Installation Instructions.

Check Also

Emteria OS

PowerBlock: A Safe Power Button for Emteria.OS

If you are looking for a power button solution for your Emteria.OS project that makes …

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

We use Cookies and similar technology to collect and analyse information about the users of this website. We use this information to enhance the content, advertising and other services available on the site. Please click ‘Accept cookies’ to consent to the use of this technology by petrockblock. You can manage your preferences at any time by visiting our Cookies Policy page.