2014-09-13, 19:13
(2014-09-13, 18:24)Matt Devo Wrote: FYI, no issues with my Turtle Beach USB adapter, went in/out of suspend 5x, (passthru) audio played fine upon resume each timeTheTrash on #openelec was super helpful and had me try a variety of things to create a workaround since he said getting the kernel updated would be a long shot. Ultimately, unbinding and binding the usb device (simulating an unplug / replug) corrects the issue. I put it in a suspend and resume script and now I have audio out of suspend.
01-script-name.power:
Code:
#!/bin/sh
case "$1" in
pre)
sh -c 'echo 1-5 > /sys/bus/usb/drivers/usb/unbind'
;;
post)
sh -c 'echo 1-5 > /sys/bus/usb/drivers/usb/bind'
;;
esac