Hi all,

The original audiophonics sript sds.sh had this:

Code:
--------------------
    echo "ShutDown : GPIO17=in, Low"
  echo "BootOK   : GPIO22=out, High"
  echo "SoftSD   : GPIO04=out, Low"
  
  gpio -g mode 04 out
  gpio -g write 04 0
  gpio -g mode 17 in
  gpio -g write 17 0
  gpio -g mode 22 out
  gpio -g write 22 1
--------------------


The pcp-powerbutton script contains the following variables:

Code:
--------------------
    IN_LOW=0
  PIN_IN=17
  PIN_OUT=22
  PUPDOWN="off"
--------------------


And then further down (note: WiringPi is not used anymore in
PicorePlayer... "pcp-gpio" instead):

Code:
--------------------
    pcp-gpio mode $PIN_IN in
  pcp-gpio mode $PIN_IN $PUPDOWN
  pcp-gpio mode $PIN_OUT out
  pcp-gpio write $PIN_OUT 1
--------------------


In my recent experiments with PcP 6.0.0 and power management module
integrated in DAC audiophonics i-sabre ESS9023 V3, overlay method worked
well. What I am missing is the soft shutdown functionality i.e. the
power management module being made aware of shutdown done in the Pi (via
LMS, ssh or whatever). I guess I could try and add some gpio commands on
pin 04 in the pcp-powerbutton script?

Thanks, Marc


------------------------------------------------------------------------
truscellino's Profile: http://forums.slimdevices.com/member.php?userid=69928
View this thread: http://forums.slimdevices.com/showthread.php?t=110421

_______________________________________________
discuss mailing list
discuss@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/discuss

Reply via email to