[Ubuntu 10.10] Suspend/Wake & Policykit.conf?
#1
I'm setting up a directv remote to work with my xbmc frontend, and have most of it working, except for getting it enter and resume from standby.

Current, when I hit the power button, the machine shutsdown. I learned the remote.xml file for the power button shows: XBMC.Shutdown()

And I've been reviewing the wiki here, but it seems that the latest ubuntu may have changed its policy settings?

http://wiki.xbmc.org/index.php?title=Ubu...end_/_Wake

Can one give some pointers on how to have XBMC enter and resume from standby?

Thanks

EDIT: I just figured out getting XBMC to enter standby via the power options under system in xbmc. Now, its a matter of getting the machine to resume from standby by pressing the power button again.
Reply
#2
ptmuldoon Wrote:Current, when I hit the power button, the machine shutsdown. I learned the remote.xml file for the power button shows: XBMC.Shutdown()
To shutdown the system regardless of what specified in the XBMC settings, you need to use XBMC.Powerdown(). I mentioned that just in case you are looking for that as well.
ptmuldoon Wrote:And I've been reviewing the wiki here, but it seems that the latest ubuntu may have changed its policy settings?

http://wiki.xbmc.org/index.php?title=Ubu...end_/_Wake
I don't have Ubuntu 10.10 installed yet - do you mean "upower" doesn't work in v10.10? Cheers!!
MINIX NEO U22-XJ | Denon AVC-X3800H | KEF Q750 | KEF Q150 | KEF Q250c | KEF Q50a | KEF Kube 10 MIE | LG OLED65G16LA | CoreELEC
Reply
#3
For me, in ubuntu 10.10 and after installing "upower", stand-by/poweroff from XBMC works correctly.
Reply
#4
joethefox;

Can you tell what remote your using and your lirc settings?

I installed upower, and do have xbmc going into standby when i hit the power button on the remote control.

But I can't seem to get the PC to resume when hitting the power button again. I also read this wik info here, which mentions toward the bottom there could be an issue with the latest kernel, and reverting to an earlier one may fix things.

http://wiki.xbmc.org/index.php?title=Ena...-On-Device

I'd prefer not to mess with the kernel, as i'm no expert with ubuntu, and don't want to hose my working config at this point.
Reply
#5
ok, still working at it, and maybe i'm getting myself confused.

I have a IR receiver connected to a USB header on the MB. When running cat /proc/bus/input/devices I have the following:

Quote:I: Bus=0000 Vendor=0000 Product=0000 Version=0000
N: Name="Media Center Ed. eHome Infrared Remote Transceiver (1784:0011)"
P: Phys=usb-0000:00:04.0-4/input0
S: Sysfs=/devices/virtual/rc/rc0/input6
U: Uniq=
H: Handlers=kbd event6
B: EV=100003
B: KEY=fff 0 0 0 108fc326 2176041 0 0 0 0 118000 4180 100001 9e9680 0 0 10000000

and lsusb shows the ehome device as

Quote:Bus 004 Device 002: ID 413c:3200 Dell Computer Corp. Mouse
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 003: ID 1784:0011 TopSeed Technology Corp.
Bus 003 Device 002: ID 413c:2003 Dell Computer Corp. Keyboard
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

So I'm unsure which input that is, USB0? when looking at the wakeup devices, I see the following available to enable/disable
Quote:Device S-state Status Sysfs node
SMB0 S4 *disabled pci:0000:00:03.2
USB0 S4 *enabled pci:0000:00:04.0
USB2 S4 *disabled pci:0000:00:04.1
US15 S4 *disabled pci:0000:00:06.0
US12 S4 *disabled pci:0000:00:06.1
PBB0 S4 *disabled pci:0000:00:09.0
HDAC S4 *disabled pci:0000:00:08.0
XVR0 S4 *disabled pci:0000:00:0c.0
XVR1 S4 *disabled
P0P5 S4 *disabled
P0P6 S4 *disabled pci:0000:00:15.0
P0P7 S4 *disabled
P0P8 S4 *disabled
P0P9 S4 *disabled
NMAC S5 *disabled
Reply
#6
ptmuldoon Wrote:Can you tell what remote your using and your lirc settings?
Sure. I'm using an iMON Remote (15c2:0034 - case thermaltake dh202 Cool I've configured a remote control button that swaps xbmc between case lcd 7'' and TV) and almost all functions (including suspend and power on/off from remote control) worked after installing ubuntu 10.10 following this guide XBMCbuntu without doing extra configuration. To enable all custom buttons, I've installed lirc and configured the remote driver as devinput as described in this post http://forum.xbmc.org/showpost.php?p=625347&postcount=1.
Reply
#7
I have the same problem as you, and im running Xbmc Live Dharma without any changes on a Zotac MAG.
Reply
#8
CashMon.

I was just able to solve this problem by reading page 17 of this post here

http://forum.xbmc.org/showthread.php?tid=76944&page=17

Read post #168 in that thread by alanwww1. All I needed to do was create the

sudo nano /etc/udev/rules.d/90-mcewakeup.rules file as indicated in the howto there. Then a reboot and I can suspend and wake from the remote in xbmc.
Reply
#9
ptmuldoon Wrote:CashMon.

I was just able to solve this problem by reading page 17 of this post here

http://forum.xbmc.org/showthread.php?tid=76944&page=17

Read post #168 in that thread by alanwww1. All I needed to do was create the

sudo nano /etc/udev/rules.d/90-mcewakeup.rules file as indicated in the howto there. Then a reboot and I can suspend and wake from the remote in xbmc.
Tried it. No dice.
Reply
#10
ptmuldoon Wrote:ok, still working at it, and maybe i'm getting myself confused.

I have a IR receiver connected to a USB header on the MB

Quote:Bus 003 Device 003: ID 1784:0011 TopSeed Technology Corp.


That TopSeed Technology Corp receiver requires too much power during suspend. My ZOTAC MAG cannot put out enough current during suspend to run it. I have another receiver that works fine in suspend.
Reply

Logout Mark Read Team Forum Stats Members Help
[Ubuntu 10.10] Suspend/Wake & Policykit.conf?0