XBMC Community Forum  

Go Back   XBMC Community Forum > Help and Support > XBMC General Help and Support > XBMC for Linux and XBMC Live Specific Support

XBMC for Linux and XBMC Live Specific Support Need help with XBMC for Linux or XBMC Live, or think you've found a bug? Discuss it here.

Reply
 
Thread Tools Search this Thread Display Modes
Old 2009-11-07, 16:31   #21
jonassw
Member
 
Join Date: Oct 2009
Location: Copenhagen, Denmark
Posts: 90
jonassw is on a distinguished road
Default

Quote:
Originally Posted by brownstein View Post
Sorry, bit of a linux noob,

do I just add "echo USB2 > /proc/acpi/wakeup" to my rc.local? Do I have to uncomment any other lines? Does this look ok?
Yup, thats it!

I just did it on my ASRock 1 minute ago, and it now suspends and resumes complete as planned, and it works when rebooted and such.
jonassw is offline   Reply With Quote
Old 2009-11-07, 16:35   #22
jonassw
Member
 
Join Date: Oct 2009
Location: Copenhagen, Denmark
Posts: 90
jonassw is on a distinguished road
Default

Quote:
Originally Posted by brownstein View Post
Also, do you have any suggestions for having lirc working in XBMC after resume? I have read a little on the forums about that problem but I am not sure which remedy I should use. I am guessing I need to add a script somewhere for resume?
I remember reading something about /etc/lirc/hardware.conf having some settings to ensure that it works on resume, but I'm really not sure.

This is the contents of mine:
Code:
REMOTE="Windows Media Center Transceivers/Remotes (all)"
REMOTE_MODULES="lirc_dev lirc_mceusb"
REMOTE_DRIVER=""
REMOTE_DEVICE="/dev/lirc0"
REMOTE_SOCKET=""
REMOTE_LIRCD_CONF="mceusb/lircd.conf.mceusb"
REMOTE_LIRCD_ARGS=""
TRANSMITTER="None"
TRANSMITTER_MODULES=""
TRANSMITTER_DRIVER=""
TRANSMITTER_DEVICE=""
TRANSMITTER_SOCKET=""
TRANSMITTER_LIRCD_CONF=""
TRANSMITTER_LIRCD_ARGS=""
START_LIRCD="true"
START_LIRCMD=""
LOAD_MODULES=""
LIRCMD_CONF=""
FORCE_NONINTERACTIVE_RECONFIGURATION="false"
If that is not the case, then maybe somewhere in the fabled /etc/apm/resume.d folder (seems like some symlink jazz like the rc.d stuff)

Last edited by jonassw; 2009-11-07 at 16:38.
jonassw is offline   Reply With Quote
Old 2009-11-07, 16:54   #23
brownstein
Member
 
Join Date: Jan 2007
Posts: 47
brownstein is on a distinguished road
Default Finally got it!!

Ok, add the wakeup line to rc.local like I did above. Now follow the guide here there is one significant error in the guide though.

You want to scroll down until you get to the part titled "S3 resume combo Close button fix", the first bullet says "Using your SFTP client, create the file /etc/pm/resume.d/99lirc-resume.sh", the correct placement of the file you create is in /etc/pm/sleep.d/99lirc-resume.sh

Everything works great now! Thanks for the help guys. long live XBMC!
brownstein is offline   Reply With Quote
Old 2009-11-08, 16:29   #24
brownstein
Member
 
Join Date: Jan 2007
Posts: 47
brownstein is on a distinguished road
Default

I thought I had it, it appears that I now suffer from the instant resume after suspend, the asrock appears to suspend but it immediately wakes up right after.

Tried adding the usbcore.autosuspend stuff to my grub file with no change.

I was on nvidia 185 drivers, tried upgrading to the latest with no change.

frustrating... that is the only problem I am finding with the linux version so far is that there are sooo many little tweaks you have do to it and so much reading when you are new to it. Sometimes it is fun, and sometimes you want to smash your head against a wall!

any thoughts?

....Bueller?

Last edited by brownstein; 2009-11-08 at 23:24.
brownstein is offline   Reply With Quote
Old 2009-11-09, 00:41   #25
outleradam
Senior Member
 
outleradam's Avatar
 
Join Date: Sep 2009
Posts: 283
outleradam is on a distinguished road
Default

Quote:
Originally Posted by brownstein View Post
the first bullet says "Using your SFTP client, create the file /etc/pm/resume.d/99lirc-resume.sh", the correct placement of the file you create is in /etc/pm/sleep.d/99lirc-resume.sh
Thank you for pointing that out. Resume.d was for the old-school /etc/acpi. I screwed up when I wrote that. Changed.
outleradam is offline   Reply With Quote
Old 2009-11-09, 05:24   #26
outleradam
Senior Member
 
outleradam's Avatar
 
Join Date: Sep 2009
Posts: 283
outleradam is on a distinguished road
Default

I want to add that this guide I wrote should resolve all your issues

http://xbmc.org/wiki/?title=Create_a_resume_script
outleradam is offline   Reply With Quote
Old 2009-11-09, 13:19   #27
brownstein
Member
 
Join Date: Jan 2007
Posts: 47
brownstein is on a distinguished road
Default

thanks, that is a great tutuorial, however, it does not solve my latest issue about the asrock resuming from suspend immediately after suspending.
brownstein is offline   Reply With Quote
Old 2009-11-09, 17:53   #28
outleradam
Senior Member
 
outleradam's Avatar
 
Join Date: Sep 2009
Posts: 283
outleradam is on a distinguished road
Default

Check your bios to make sure you have S3 enabled. What version of ubuntu are you using?
outleradam is offline   Reply With Quote
Old 2009-11-09, 17:55   #29
outleradam
Senior Member
 
outleradam's Avatar
 
Join Date: Sep 2009
Posts: 283
outleradam is on a distinguished road
Default

remove that wakeup script and try my method.
outleradam is offline   Reply With Quote
Old 2009-11-09, 18:00   #30
brownstein
Member
 
Join Date: Jan 2007
Posts: 47
brownstein is on a distinguished road
Default

Quote:
Originally Posted by outleradam View Post
Check your bios to make sure you have S3 enabled. What version of ubuntu are you using?
Thanks outleradam,
Using Jaunty, S3 is enabled, well it is set to AUTO, only other option is DISABLED.

Will try removing the resume script and trying your method when I get home. I didn't see a difference between the resume script I used and the one that your method produces. Can you point out what will be done differently?
brownstein is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 06:30.


Protected by Akismet, We recommend WordPress blogs
Copyright © 2008, XBMC Project