Hi,

I'm a new piCorePlayer user, and am astounded by the software.  It is
great!  Thanks to all the contributors!

I am running piCorePlayer 6.0.0 on a Raspberry Pi with LMS installed on
the Pi.  I'm also using the 7" LCD and HiFiBerry DAC+.  

LMS is configured to mount my music from the NAS drive to /mnt/nas.  I'm
using WiFi, rather than a wired connection.

I built the power switch described here:
othermod.com/raspberry-pi-soft-onoff-circuit/ (I had to remove the http
part since this is my first post)

Everything works great, except that the shutdown would hang after
displaying "Unmounting all filesystems".  Since the shutdown didn't
complete, the TXD pin (GPIO14 / pin 8) would never go low, so power to
the Pi would not cut off.

After some troubleshooting, I found that the "Terminating all processes"
step would kill the wpa_supplicant process, causing the later NFS
unmount of /mnt/nas to hang.

I added 

pgrep wpa_supplicant >> /var/tmp/k5_skip

to the "User commands" section of the Tweaks page so that process would
be excluded from the killall5.  Shutdown now completes successfully and
power is cut to the Raspberry Pi at the end of the shutdown.

So this works, but I think I'm missing a better/easier way to handle
this.  Googling around, I didn't find a mention of this kind of problem,
but I may have just used the wrong magic words.

Any suggestions?

Thanks,
Mike


------------------------------------------------------------------------
mike_b's Profile: http://forums.slimdevices.com/member.php?userid=70480
View this thread: http://forums.slimdevices.com/showthread.php?t=112679

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

Reply via email to