Hallo,
nachdem es für den Tonuino die AIO Platine nciht mehr gibt soll K2 nun eine Phoniebox bekommen. bisher klappt alles soweit ganz gut, und nach viel lesen habe ich zum Beispiel reusgefunden, das "edit settings" heißt, das man über nano die gpio-settings.ini bearbeiten kann und muss. Gesagt getan und Play/Forward/und back buttons auf "True" gesetzt, Buttons an GPIO22/Pin15; GPIO23/Pin16; GPIO27/Pin13 angeschlossen.
Siehe da, nichts passiert
[DEFAULT]
enabled: True
antibouncehack: False
[VolumeControl]
enabled: False
Type: TwoButtonControl
Pin1: 5
Pin2: 6
pull_up_down: pull_up
hold_time: 0.3
hold_mode: Repeat
functionCall1: functionCallVolU
functionCall2: functionCallVolD
functionCallTwoButtons: functionCallVol0
;functionCall1Args: 1
;functionCall2Args: 1
;functionCallTwoButtonsArgs: x
[PrevNextControl]
enabled: True
Type: TwoButtonControl
Pin1: 22
Pin2: 23
functionCall1: functionCallPlayerPrev
functionCall2: functionCallPlayerNext
functionCallTwoButtons: None
pull_up_down: pull_up
hold_time: 0.3
hold_mode: None
[PlayPause]
enabled: True
Type: Button
Pin: 27
pull_up_down: pull_up
functionCall: functionCallPlayerPause
[Shutdown]
enabled: False
Type: Button
Pin: 3
pull_up_down: pull_up
hold_mode: Postpone
hold_time: 2
functionCall: functionCallShutdown
[PauseShutdown]
enabled: False
Type: Button
Pin: 3
pull_up_down: pull_up
hold_time: 2.0
hold_mode: SecondFunc
functionCall: functionCallPlayerPause
functionCall2: functionCallShutdown
[Volume0]
enabled: False
Type: Button
Pin: 17
pull_up_down: pull_up
functionCall: functionCallVol0
[VolumeUp]
enabled: False
Type: Button
Pin: 16
pull_up_down: pull_up
hold_time: 0.3
hold_mode: Repeat
functionCall: functionCallVolU
;functionCallArgs: 1
[VolumeDown]
enabled: False
Type: Button
Pin: 19
pull_up_down: pull_up
hold_time: 0.3
hold_mode: Repeat
functionCall: functionCallVolD
;functionCallArgs: 1
[NextSong]
enabled: False
Type: Button
Pin: 26
pull_up_down: pull_up
functionCall: functionCallPlayerNext
[PrevSong]
enabled: False
Type: Button
Pin: 20
pull_up_down: pull_up
functionCall: functionCallPlayerPrev
[FastForward]
enabled: False
Type: Button
Pin: 7
pull_up_down: pull_up
functionCall: functionCallPlayerSeekFwd
;functionCallArgs: 10
[Rewind]
enabled: False
Type: Button
Pin: 8
pull_up_down: pull_up
functionCall: functionCallPlayerSeekBack
;functionCallArgs: 10
[Halt]
enabled: False
Type: Button
Pin: 25
pull_up_down: pull_up
functionCall: functionCallPlayerPauseForce
[RFIDDevice]
enabled: False
Type: Button
Pin: 21
pull_up_down: pull_up
functionCall: functionCallPlayerStop
[TriggerPlayCard1]
enabled: False
Type: Button
Pin: 4
pull_up_down: pull_up
functionCall: functionCallTriggerPlayCardId
functionCallArgs: 1
[TriggerPlayFolderSomeRelativeFolderName]
enabled: False
Type: Button
Pin: 4
pull_up_down: pull_up
functionCall: functionCallTriggerPlayFolder
functionCallArgs: someRelativeFolderName
[StatusLED]
enabled: False
Type: StatusLED
Pin: 14
Display More
Leider funktionieren die Buttons nicht und ich weiß nicht wieso, hoffentlich kann mir jemand helfen, bevor ich eine aufwendige Box baue will ich eigentlich, dass es funktioniert ;-/
Außerdem fällt mir auf, das in der Weboberfläche GPIO deaktieviert steht, aber weder ein Druck auf "aktivieren" noch sudo systemctl restart phoniebox-gpio-control bringt Besserung