2014-12-06, 12:13
I think I got in figured out! If anyone else is interested and having the same issue with Boblight and Chromebox try this (I guess it resets the usb 3.0)
I used the following command to get the usb information:-
which gave me this result:-
00:14.0 USB controller: Intel Corporation 8 Series USB xHCI HC (rev 04)
using the numbers at the start of this 00:14.0 I added two lines to /storage/.kodi/addons/service.multimedia.boblightd/sleep.d/boblightd.power like this:-
I used the following command to get the usb information:-
Code:
lspci | grep USB
which gave me this result:-
00:14.0 USB controller: Intel Corporation 8 Series USB xHCI HC (rev 04)
using the numbers at the start of this 00:14.0 I added two lines to /storage/.kodi/addons/service.multimedia.boblightd/sleep.d/boblightd.power like this:-
Code:
. /etc/profile
SERVICE="service.multimedia.boblightd.service"
case "$1" in
pre)
if systemctl is-active "$SERVICE" &>/dev/null ; then
systemctl stop "$SERVICE"
fi
;;
post)
if systemctl is-enabled "$SERVICE" &>/dev/null ; then
echo -n "0000:00:14.0" | tee /sys/bus/pci/drivers/xhci_hcd/unbind
echo -n "0000:00:14.0" | tee /sys/bus/pci/drivers/xhci_hcd/bind
systemctl start "$SERVICE"
fi
;;
esac