Overclockers Australia Forums

OCAU News - Wiki - QuickLinks - Pix - Sponsors  

Go Back   Overclockers Australia Forums > Software Topics > Other Operating Systems

Notices


Sign up for a free OCAU account and this ad will go away!
Search our forums with Google:
Reply
 
Thread Tools
Old 16th September 2010, 1:15 PM   #3226
infirmus
Member
 
infirmus's Avatar
 
Join Date: Nov 2005
Location: Newcastle
Posts: 634
Default

Quote:
Originally Posted by daehenoc View Post
I've been checking out the Thermaltake SD100 and SD200 series cases, I can put the current hardware into the SD200 case, but would love to use something as small as the SD100 - what kind of motherboard do you put in there? I'd want something with HDMI out, digital optical audio out and an onboard NVIDIA card supported by VDPAU... what do you use?
Have a look at the ASrock Ion 330 if you wanna buy a new case/psu/board with Atom/Ion. You can get one that comes with a remote. Not sure what type of IR receiver it is.
infirmus is offline   Reply With Quote

Join OCAU to remove this ad!
Old 16th September 2010, 5:06 PM   #3227
RILEYP
Member
 
RILEYP's Avatar
 
Join Date: Jul 2004
Location: Lara Vic
Posts: 1,103
Default

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
You must give your user sudo rights with no password for it to work.
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
__________________
Quote:
Originally Posted by juf View Post
we dont need a government , we should privatise everything.

Last edited by RILEYP; 16th September 2010 at 5:38 PM.
RILEYP is offline   Reply With Quote
Old 16th September 2010, 5:11 PM   #3228
cleary
Mental in the Face
 
cleary's Avatar
 
Join Date: Apr 2003
Location: Griffith NSW
Posts: 3,868
Default

Quote:
Originally Posted by RILEYP View Post
...
You must give your user sudo rights with no password for it to work.
...
Wow. Worst advice I have ever seen here.

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
where youruser is the username that requires access to the pm-suspend command.
__________________
SmugMug
cleary is online now   Reply With Quote
Old 16th September 2010, 5:40 PM   #3229
infirmus
Member
 
infirmus's Avatar
 
Join Date: Nov 2005
Location: Newcastle
Posts: 634
Default

Quote:
Originally Posted by cleary View Post
Wow. Worst advice I have ever seen here.

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
where youruser is the username that requires access to the pm-suspend command.
I think thats what he was suggesting.
infirmus is offline   Reply With Quote
Old 16th September 2010, 10:13 PM   #3230
cleary
Mental in the Face
 
cleary's Avatar
 
Join Date: Apr 2003
Location: Griffith NSW
Posts: 3,868
Default

Quote:
Originally Posted by infirmus View Post
I think thats what he was suggesting.

I don't, but I would be happily be proved wrong
__________________
SmugMug
cleary is online now   Reply With Quote
Old 16th September 2010, 11:33 PM   #3231
RILEYP
Member
 
RILEYP's Avatar
 
Join Date: Jul 2004
Location: Lara Vic
Posts: 1,103
Default

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
heres another link to enableling wake up from suspend as well
http://wiki.xbmc.org/?title=Enable_Wake-On-Device
and http://www.xpmediacentre.com.au/comm...control-2.html
__________________
Quote:
Originally Posted by juf View Post
we dont need a government , we should privatise everything.
RILEYP is offline   Reply With Quote
Old 17th September 2010, 12:50 AM   #3232
dave-
Member
 
Join Date: Jul 2003
Location: Melbourne
Posts: 1,093
Default

Quote:
Originally Posted by daehenoc View Post
Which IR receiver are you using?
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:
Originally Posted by infirmus View Post
Have a look at the ASrock Ion 330 if you wanna buy a new case/psu/board with Atom/Ion.
Quote:
Originally Posted by RILEYP View Post
I second the asrock ion suggestion they rock... err pardon the pun...
What they said!

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.
dave- is offline   Reply With Quote
Old 17th September 2010, 3:57 PM   #3233
RILEYP
Member
 
RILEYP's Avatar
 
Join Date: Jul 2004
Location: Lara Vic
Posts: 1,103
Default

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 and it works perfectly though I cannot program the volume buttons to learn the volume buttons of my tv like its supposed to be able to do??? Any ides here?
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
__________________
Quote:
Originally Posted by juf View Post
we dont need a government , we should privatise everything.
RILEYP is offline   Reply With Quote
Old 17th September 2010, 4:17 PM   #3234
HyDrA
Member
 
HyDrA's Avatar
 
Join Date: Jul 2001
Location: SA
Posts: 3,809
Default

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.
__________________
Chris

chris.on.net
hydraah.net
HyDrA is offline   Reply With Quote
Old 19th September 2010, 11:08 AM   #3235
daehenoc
Member
 
daehenoc's Avatar
 
Join Date: Nov 2005
Location: Mt Gravatt E, BNE, QLD
Posts: 1,284
Default

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'm pretty sure that 99.66% is a bad thing I've followed the instructions here:http://www.mythtv.org/wiki/XFS_Filesystem, and here: http://www.mythtv.org/wiki/Optimizin...-Specific_Tips

Has anyone else done some of the stuff here, like noatime, nodiratime?
daehenoc is offline   Reply With Quote
Old 19th September 2010, 10:14 PM   #3236
dave-
Member
 
Join Date: Jul 2003
Location: Melbourne
Posts: 1,093
Default

Quote:
Originally Posted by RILEYP View Post
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 was using the Hauppage MCE IR and remote but switched to the HP item with a Harmony One. Also have an Xbox 360 and had no issues with either configuration?

Quote:
Originally Posted by daehenoc View Post
Hmm, I've been looking at the fragmentation of my XFS
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%
dave- is offline   Reply With Quote
Old 20th September 2010, 10:35 AM   #3237
daehenoc
Member
 
daehenoc's Avatar
 
Join Date: Nov 2005
Location: Mt Gravatt E, BNE, QLD
Posts: 1,284
Default

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.
daehenoc is offline   Reply With Quote
Old 20th September 2010, 12:21 PM   #3238
dave-
Member
 
Join Date: Jul 2003
Location: Melbourne
Posts: 1,093
Default

Quote:
Originally Posted by daehenoc View Post
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.
NP

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?
dave- is offline   Reply With Quote
Old 20th September 2010, 1:11 PM   #3239
daehenoc
Member
 
daehenoc's Avatar
 
Join Date: Nov 2005
Location: Mt Gravatt E, BNE, QLD
Posts: 1,284
Default

Quote:
Originally Posted by dave- View Post
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.
It's not the Harmony which-devices-are-on-at-what-times configuration which caused the problem, I would use the Harmony 'devices' screen and send the 'turn on' signal to my MythTV frontend and both the frontend and the 360 would power on at the same time!
Quote:
Originally Posted by dave- View Post
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?
hmm, that's an option alright - I'm going to spend some time looking around to see what else is available. I'm very tempted to just spend ~$6-7 AUD on one of the generic USB remotes available from china on eBay, and gamble on the device being supported in the Linux kernel.
daehenoc is offline   Reply With Quote
Old 20th September 2010, 1:16 PM   #3240
dave-
Member
 
Join Date: Jul 2003
Location: Melbourne
Posts: 1,093
Default

Ah I get ya.

Quote:
Originally Posted by daehenoc View Post
hmm, that's an option alright - I'm going to spend some time looking around to see what else is available. I'm very tempted to just spend ~$6-7 AUD on one of the generic USB remotes available from china on eBay, and gamble on the device being supported in the Linux kernel.
That is why I suggested the Jaycar item, I know it works. But the china items would be the same generic crap. The jaycar one is listed as a holtek hid usb device keyboard and mouse.

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.
dave- is offline   Reply With Quote
Reply

Bookmarks

Tags
htpc, mythtv

Sign up for a free OCAU account and this ad will go away!

Thread Tools

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 +10. The time now is 4:57 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd. -
OCAU is not responsible for the content of individual messages posted by others.
Other content copyright Overclockers Australia.
OCAU is hosted by Internode!