![]() |
![]() OCAU News - Wiki - QuickLinks - Pix - Sponsors |
|
|
#3226 | |
|
Member
Join Date: Nov 2005
Location: Newcastle
Posts: 634
|
Quote:
|
|
|
|
|
| Join OCAU to remove this ad! |
|
|
#3227 |
|
Member
Join Date: Jul 2004
Location: Lara Vic
Posts: 1,103
|
I second the asrock ion suggestion they rock... err pardon the pun...
To shutdown for suspend you can program your power button to use irexec sudo pm-suspend or you could get irexec to run a short scripts like this (better than above) Code:
killall mythtv killall xbmc sudo pm-suspend To wake from a suspend you need to enable usb power on the usb port your receiver is plugged into using a command like this Code:
sudo sh -c 'echo "USB0" > /proc/acpi/wakeup for it to work everytime you need to add it to your /etc/rc.local file (in ubuntu) If it doesnt work move the receiver around the usb ports until it does and if that does not fix it then you try USB1 and then USB2 ..... A guide is here... This should work for all remotes not just mce as long as you change things accordingly. http://www.mythtv.org/wiki/MCE_Remote The dvico usb receiver however will not play this game I have found .. You might find joy though! cheers rileyp
__________________
Last edited by RILEYP; 16th September 2010 at 5:38 PM. |
|
|
|
|
|
#3228 | |
|
Mental in the Face
Join Date: Apr 2003
Location: Griffith NSW
Posts: 3,868
|
Quote:
While having no password for any super user requirement is a bad thing, you can at least limit the damage to specific commands - visudo and add the following line: Code:
youruser ALL=NOPASSWD: /usr/sbin/pm-suspend
__________________
SmugMug |
|
|
|
|
|
|
#3229 | |
|
Member
Join Date: Nov 2005
Location: Newcastle
Posts: 634
|
Quote:
|
|
|
|
|
|
|
#3231 |
|
Member
Join Date: Jul 2004
Location: Lara Vic
Posts: 1,103
|
I was on my windows pc at the time and so couldnt bring up the exact code I have.... here it is....
Code:
dad ALL=NOPASSWD: /usr/sbin/pm-suspend http://wiki.xbmc.org/?title=Enable_Wake-On-Device and http://www.xpmediacentre.com.au/comm...control-2.html |
|
|
|
|
|
#3232 | ||
|
Member
Join Date: Jul 2003
Location: Melbourne
Posts: 1,093
|
HP IR from ebay, they're like $20 shipped. Shows up as a Phillips eHome IR Receiver, works perfect with the Hauppage MCE remote or any harmony.
Quote:
Quote:
Asrock ION 330 (~$300), 2Gb RAM + smallest laptop HDD you can find if don't have them laying about and HP IR previously mentioned. Mine a few months back was just under $500 all up with a MCE remote kit and the RAM/HDD was a bit more expensive so probably under $450 now days. Shame the Revo R3610's dried up, my last one of them cost me $350 complete with IR! As for the suspend stuff, I was gonna point you to the XPMCE forums but RILEYP covered it well enough. |
||
|
|
|
|
|
#3233 |
|
Member
Join Date: Jul 2004
Location: Lara Vic
Posts: 1,103
|
Dave he is after a remote that uses non ms ir codes so it does not interfere with his xbox 360. The hp receiver you suggest uses ms ir codes. I have one of those ebay hp receivers and use it with a genuine ms remote
My remote is a rc6 ir us pat 5.877.702 rrs9002-8601fc and on the inside of battery cover has a small sticker with a number 70129B Its the black one with the teletext button at the very bottom centre |
|
|
|
|
|
#3234 |
|
Member
Join Date: Jul 2001
Location: SA
Posts: 3,809
|
On the topic of remotes, I am having all sorts of trouble getting my Sony LCD tellys remote codes correct. The codes I generate are recogised by lirc as the Sony remote but the telly does not respond to those codes when I transmit them via a LED.
This setup worked fine with my old toshiba telly so I figure it's just something funky on the Sony telly, any ideas on how I can work around this? I've tried the codes listed on the lirc site too for various remotes until I could no longer take changing the LIRC settings around. |
|
|
|
|
|
#3235 |
|
Member
Join Date: Nov 2005
Location: Mt Gravatt E, BNE, QLD
Posts: 1,284
|
Hmm, I've been looking at the fragmentation of my XFS logical volume:
Code:
$ sudo xfs_db -c frag -r /dev/mapper/vg_sata-lv_mythtv_xfs actual 123943, ideal 424, fragmentation factor 99.66% I've followed the instructions here:http://www.mythtv.org/wiki/XFS_Filesystem, and here: http://www.mythtv.org/wiki/Optimizin...-Specific_TipsHas anyone else done some of the stuff here, like noatime, nodiratime?
__________________
How To Ask Questions The Smart Way |
|
|
|
|
|
#3236 | |
|
Member
Join Date: Jul 2003
Location: Melbourne
Posts: 1,093
|
Quote:
I don't know what impact it has on performance other than I don't notice any issues either with copying over the gig network or recording 3+ streams at once. But if it helps, here are my 2 XFS filesystems. Code:
#/dev/sdd 596G 441G 155G 74% /srv/recorded_tv LABEL=tv /srv/recorded_tv xfs defaults,noatime,nodiratime,allocsize=512m 0 2 # xfs_db -c frag -r /dev/sdd actual 769, ideal 276, fragmentation factor 64.11% #/dev/sda 1.8T 1.5T 265G 86% /srv/storage LABEL=storage /srv/storage xfs rw,noatime,logbufs=8,logbsize=256k,nobarrier 0 2 # xfs_db -c frag -r /dev/sda actual 18528, ideal 17210, fragmentation factor 7.11% |
|
|
|
|
|
|
#3237 |
|
Member
Join Date: Nov 2005
Location: Mt Gravatt E, BNE, QLD
Posts: 1,284
|
Kewl, thanks dave- for the information about your xfs filesystems.
I found that the laptop I was using as my MythTV frontend responded to MCE commands from my Harmony One, but my XBox360 would respond to those same commands as well! I managed to purchase a year of XBox Live gold before figuring it out So I want a receiver which isn't MCE-based.
__________________
How To Ask Questions The Smart Way |
|
|
|
|
|
#3238 | |
|
Member
Join Date: Jul 2003
Location: Melbourne
Posts: 1,093
|
Quote:
Maybe you need to reconfigure the activities? My Xbox360 is set to be off when using the activity that controls my HTPC and vise versa. Have never had the wrong unit being powered up or controlled. You could try the Jaycar fake MCE remote (~$30). It's actually a remote emulating a wireless USB keyboard. You could use the IR on that and program the harmony to send the appropriate commands. Might be a bit of mucking around. Before patching my kernel for IR wake from standby support, I was using it as a 2nd IR and set the harmony to send a command to wake the machine as it was really a keyboard press rather than an IR command needing lirc. Hope that makes sense? |
|
|
|
|
|
|
#3239 | ||
|
Member
Join Date: Nov 2005
Location: Mt Gravatt E, BNE, QLD
Posts: 1,284
|
Quote:
Quote:
__________________
How To Ask Questions The Smart Way |
||
|
|
|
|
|
#3240 | |
|
Member
Join Date: Jul 2003
Location: Melbourne
Posts: 1,093
|
Ah I get ya.
Quote:
Given myth is driven by keyboard commands anyway this won't be a problem. Only thing I can see being a headache is learning each key into the harmony. I never played around with it beyond learning a single keystroke. |
|
|
|
|
![]() |
| Bookmarks |
| Tags |
| htpc, mythtv |
|
Sign up for a free OCAU account and this ad will go away! |
| Thread Tools | |
|
|