Sign inSign up

janvda/pigpiod

By janvda

Updated almost 3 years ago

Image
0

450

janvda/pigpiod repository overview

pigpiod

Don't use this: it is not working with node-red. Instead of using this docker image, run pigpiod on the host

docker hub base image: zinen2/alpine-pigpiod docker github:zinen/docker-alpine-pigpiod

Rationale for this docker image

This image is created to fix the following issue:

When starting pigpiod I hear a short burst of crackling noise coming out of my voice hat speaker and the following is logged in the log file:

[  143.541292] voicehat-codec voicehat-codec: Disabling audio amp...
[  143.541461] voicehat-codec voicehat-codec: Disabling audio amp...
[  144.163622] voicehat-codec voicehat-codec: Enabling audio amp...
[  144.192467] voicehat-codec voicehat-codec: Enabling audio amp...
[  144.401861] voicehat-codec voicehat-codec: Disabling audio amp...
[  144.402024] voicehat-codec voicehat-codec: Disabling audio amp...
[  144.761855] voicehat-codec voicehat-codec: Enabling audio amp...
[  144.789023] voicehat-codec voicehat-codec: Enabling audio amp...
[  145.003168] voicehat-codec voicehat-codec: Disabling audio amp...
[  145.003336] voicehat-codec voicehat-codec: Disabling audio amp...
[  145.557429] voicehat-codec voicehat-codec: Enabling audio amp...
[  145.584520] voicehat-codec voicehat-codec: Enabling audio amp...
[  145.800336] voicehat-codec voicehat-codec: Disabling audio amp...
[  145.800487] voicehat-codec voicehat-codec: Disabling audio amp...
[  146.265967] voicehat-codec voicehat-codec: Enabling audio amp...
[  146.293802] voicehat-codec voicehat-codec: Enabling audio amp...
[  146.512978] voicehat-codec voicehat-codec: Disabling audio amp...
[  146.513167] voicehat-codec voicehat-codec: Disabling audio amp...
[  147.006695] voicehat-codec voicehat-codec: Enabling audio amp...
[  147.034210] voicehat-codec voicehat-codec: Enabling audio amp...
[  147.250266] voicehat-codec voicehat-codec: Disabling audio amp...
[  147.250408] voicehat-codec voicehat-codec: Disabling audio amp...

after that I can not play any audio anymore and pulseaudio is broken. I had to reboot my system to get pulseaudio back working again.

This is most likely the same issue as reported here:

As fix I have to run pigpiod with the option -t 0

pigpiod -t 0

Change History

Don't use this: it is not working with node-red. Instead of using this docker image, run pigpiod on the host

  • version 2.0.1 : build without errors.
  • version 2.0.0 : based on my own dockerfile.
  • version 1.1.0 : option -t 0 added.
  • version 1.0.0 : initial version = zinen2/alpine-pigpiod:pigpio-v78

Tag summary

Content type

Image

Digest

sha256:05d1856e6

Size

77.4 MB

Last updated

almost 3 years ago

docker pull janvda/pigpiod