2012-02-19, 23:38
erhnam Wrote:Don't need to bookmark. I've just added this fix: https://github.com/xbmc/XBMCbuntu/commit...3448263d0e
I did this fix manually and it worked.
erhnam Wrote:Don't need to bookmark. I've just added this fix: https://github.com/xbmc/XBMCbuntu/commit...3448263d0e
Flomaster Wrote:im running this version and have the 99-lirc script.... when I have xbmc set to "suspend" I can not wake it, but if I change it to hibernate I am able to wake it. when in suspend I can see its getting power because its flashing red when I press the remote power button.
I have my rc.local setup as follows
Code:echo USB0 > /proc/acpi/wakeup
echo USB2 > /proc/acpi/wakeup
echo US12 > /proc/acpi/wakeup
echo US15 > /proc/acpi/wakeup
echo enabled > /sys/bus/usb/devices/4-1/power/wakeup
exit 0
wonder what the deal is..
and should I have a /etc/pm/sleep.d/90_lirc as well as /etc/pm/sleep.d/99-lirc
-=Jason=-
edit: ahh fuck .. cat /proc/acpi/wakeup has USB0 disabled. I must have done that.. time to change it and report back.
EDIT: USB0 keeps getting changed to disabled. grrrr
dnairb Wrote:Shouldn't it read echo "USB0" > /proc/acpi/wakeup, etc (note the quotes)?
Also you had US12 and US15 rather than USB12 and USB15?
IIRC it is preferable to only enable the USB ports that are necessary, rather than a blanket enablement.
(2012-03-28, 23:44)agento Wrote: Hi all, quick update. Managed to get it working. I copied my old rc.local file from dharma and added the line to enable the device after enabling the usb port. Only thing I noticed there were no quotes round the usb0 as stated earlier in the thread and there are no spacer/blank lines. Made no other changes, rebooted and it now works exactly as before. I'll post my exactly file when I can so you can compare.
(2012-04-25, 21:02)raufiq Wrote: Hi again,
following code solved the problem of waking up the pc from suspend:
#set wake via remote
echo enabled > /sys/bus/usb/devices/3-5/power/wakeup
for i in 0 1 2 3 4 5
do
enabled=`cat /proc/acpi/wakeup | grep "USB$i" | awk {'print $3}'`
echo "$enabled"
if [ "$enabled" = "disabled" ] || [ "$enabled" = "*disabled" ]
then
echo "USB$i" > /proc/acpi/wakeup
fi
done
but after the resume, remote still does not work. no output in the irw command too. I tried /etc/init.d/lirc stop/start but no luck
need urgent help please.
thanks