paul- wrote: 
> 
> within the spbd software, you can only see information coming off the
> pins you have programmed.   But in debug mode(-z) you should see encoder
> counts.
Thanks Paul- That gave me enough info to find the pins were right, but
sending programmed keys does seem to fit installations with jivelite
only. And as this one is truly headless that did not work out. And I
adjusted.

Next issue, The encoder seems to send +1 and -1 on about each step in
either direction.

Code:
--------------------
    1581892998.8865 6 control.c,466: Encoder on GPIO 12, 3 - value: -1, 
detents: -1, change: -1
  1581892998.8868 6 servercomm.c,74: Send Command:0, 
Fragment:["mixer","volume","-1"]
  1581892999.0046 6 control.c,466: Encoder on GPIO 12, 3 - value: -2, detents: 
-2, change: -1
  1581892999.0048 6 servercomm.c,74: Send Command:0, 
Fragment:["mixer","volume","-1"]
  1581892999.1187 6 control.c,466: Encoder on GPIO 12, 3 - value: -1, detents: 
-1, change: 1
  1581892999.1189 6 servercomm.c,74: Send Command:0, 
Fragment:["mixer","volume","+1"]
  1581892999.3336 6 control.c,466: Encoder on GPIO 12, 3 - value: -2, detents: 
-2, change: -1
  1581892999.3338 6 servercomm.c,74: Send Command:0, 
Fragment:["mixer","volume","-1"]
  1581892999.7485 6 control.c,466: Encoder on GPIO 12, 3 - value: -1, detents: 
-1, change: 1
  1581892999.7487 6 servercomm.c,74: Send Command:0, 
Fragment:["mixer","volume","+1"]
  1581893000.3643 6 control.c,466: Encoder on GPIO 12, 3 - value: -2, detents: 
-2, change: -1
  1581893000.3647 6 servercomm.c,74: Send Command:0, 
Fragment:["mixer","volume","-1"]
  1581893000.4794 6 control.c,466: Encoder on GPIO 12, 3 - value: -1, detents: 
-1, change: 1
  1581893000.4796 6 servercomm.c,74: Send Command:0, 
Fragment:["mixer","volume","+1"]
--------------------


So the volume does not really change.
Is this a HW controller issue? or do I have more options than the 0-3
for the detecting edge ?
Tested with both a controller that has its own pullup and pulldown
resistors  with +vcc and gnd connection
And tested with a bare controller that has only the switches so I used a
ground connection and software pullups.
All tests same result, except for detect edge value 0 and 3 where there
is no detection at all.

The used SBPD initialisation:

Code:
--------------------
    sbpd -v  e,12,3,VOLU,1 b,26,VOL+,2,0,VOL-,250
--------------------


And currently testing on a pi B+  with PCP 6b9, BMC signals 3,12,26 work
OKE if used with the button.
VOLU versus VOLM seems to be needed, perhaps a differently compiled
version from the PCP repository.

Hints and solutions are welcome  M-H



Pi based multi-room audio system powered by PiCorePlayer(s):
Pi3B with Phat-dac in a Rasptouch, 2 pi B+ with Cirrus Logic Audio Card,
Pi Zero with Phat-beat ,  and a few other tests...
------------------------------------------------------------------------
M-H's Profile: http://forums.slimdevices.com/member.php?userid=66156
View this thread: http://forums.slimdevices.com/showthread.php?t=107001

_______________________________________________
diy mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/diy

Reply via email to