m-f-g
Posts: 9
Joined: Sun Jun 07, 2015 3:37 pm

problems wiringpi

Tue Jan 12, 2021 4:55 pm

Hi,

i have a pi4 (debian buster) with a few .sh scripts for my gpio.
i have installed wiringpi 2.50 and could not read the gpio.

when i install the latest wiringpi 2.5.2 i can read gpio,
but my pifidacplus not working anymore.

if i downgrade to wiringpi 2.5.0 my pifidacplus works but i couldnt read gpio ...

is there a way to read and handle gpio and keep my pifidac alive ?

maybe a diffrent language (python, c, ...) ?
or can i use a alternativ to wiringpi to read gpio in shell ?


dmesg after install wiringpi 2.5.2

Code: Select all

[   26.568140] pcm512x 1-004d: Failed to remove power down: -121
[   26.568184] pcm512x 1-004d: No SCLK, using BCLK: -2
[   26.990459] pcm512x 1-004d: No SCLK, using BCLK: -2
[   27.272260] pcm512x 1-004d: No SCLK, using BCLK: -2
[   27.554286] pcm512x 1-004d: No SCLK, using BCLK: -2
[   27.933169] pcm512x 1-004d: No SCLK, using BCLK: -2
[   28.214437] pcm512x 1-004d: Failed to remove standby: -121
[   28.214450] pcm512x 1-004d: ASoC: Failed to turn on bias: -121
[   28.517363] pcm512x 1-004d: Failed to set digital mute: -121
[   28.708744] pcm512x 1-004d: No SCLK, using BCLK: -2
[   29.121090] pcm512x 1-004d: Failed to update digital mute: -121
[   29.262585] pcm512x 1-004d: Failed to set digital mute: -121
[   29.408524] pcm512x 1-004d: No SCLK, using BCLK: -2
[   29.689761] pcm512x 1-004d: Failed to update digital mute: -121
[   29.816983] Bluetooth: RFCOMM TTY layer initialized
[   29.817084] Bluetooth: RFCOMM socket layer initialized
[   29.817127] Bluetooth: RFCOMM ver 1.11
[   34.987840] pcm512x 1-004d: Failed to set digital mute: -121
[   40.451628] pcm512x 1-004d: Failed to request standby: -121
[   40.451648] pcm512x 1-004d: ASoC: Failed to turn off bias: -121


bg
mfg

p.s.
i hope, i have chosen the right topic location ...

Return to “General programming discussion”