This post is about a problem I tweeted about sometime ago but no amount of searching has located that tweet. I’ll start by detailing the hardware that went into our HTPC:
Motherboard: ASUS P5LD2-VM DH
CPU: Intel Celeron D 352 3.2GHz
HDD: Maxtor DiamondMax10 SATA2 300GB
RAM: 2GB of memory (Corsair TWIN2X1024A-6400)
Case: SilverStone LC11S-300
Graphics: XFX GeForce 7300GT 256MB DDR2 PCIE (now removed as you will read)
Tuner: Hauppauge Nova-T-500 Dual DVB-T PCI (moved to the Windows Home Server)
When we first started using Windows Media Center, the version that came with Vista, this machine sat under our TV and served its purpose without too many issues including going to sleep and waking up for recordings or whenever we wanted to use it.
Then in 2008, after swiping my visitors badge at the Server/SQL/Visual Studio 2008 product launch in Birmingham, I won an Xbox360 so we switched to using that as an Extender and moved the HTPC into a back room (it had always been just slightly too noisy and we also wanted the TV in a location which had no TV points within easy reach). At that time I turned off sleep because, when setting up an Extender, Vista prompts you to turn on “Away Mode” to ensure the machine is always available for use.
Last year I got into Twitter where I started getting more involved with other HTPC users and Windows Media Center MVP’s. This is a great community filled with really helpful and knowledgeable people. I learned the Xbox360 could send the “magic packet” required to wake up a sleeping HTPC which meant that there was no need to keep the machine on 24/7 anymore. When Windows 7 was released I decided to try and re-configure the HTPC to sleep and this was when I ran into problems. I discovered the HTPC would not enter sleep correctly, it was doing everything right but the machine wouldn’t actually power down. I knew it was partly working because when I pulled the power cable out and replaced it the machine restored from the hibernation file. I tried removing the now redundant graphics card (since no monitor or TV is connected), to just use the onboard Intel graphics, but that didn’t work. I even did a full CMOS reset on the motherboard in case I’d changed a configuration setting which was causing the issue. In the end I discovered a notice in the Windows 7 “Action Center” telling me that the computers BIOS was causing conflicts with sleep. Since there were no BIOS updates available and no money to replace the motherboard I just gave up. I should add here that the HTPC could not be shutdown correctly either and the power always stayed on after the OS had finished shutting down.
Now, digressing slightly, I’ve spent the last week or so reading about and playing around with DVBLogic’s new network tuner software and succesfully moved our Nova-T-500 tuner from a desktop PC and installing it in our Windows Home Server (WHS). I then decided to move the tuner from the HTPC and put it into the WHS to fully switch to network tuners. Last night I shutdown the HTPC ready for the hardware changes and to my surprise it turned off. This is something it hasn’t done for months. I carried on with the plan to move the tuner into the WHS and then re-configured the HTPC to use the network tuners.
When all the hardware and software changes were done I got the HTPC running again and tested live TV and also that I could record which all worked as per my expectations from the tests I’d performed with the desktop PC. We are now able to enjoy live TV on my netbook, the desktop, and the HTPC using the pool of 4 tuners on the WHS. With that I then tested out sleep by pressing the power button on the HTPC, which is set to send the HTPC to sleep, and after some disk activity (I’ve got hybrid sleep turned on so it saves the contents of RAM to disk in case of a power failure while in S3 sleep) the power light started flashing to indicate the S3 sleep state. As I said before this hadn’t worked no matter how much I tried before. I then went into the living room and pressed the “Media Center” button on the Xbox360 remote control and after a slightly longer wait I was presented with the Windows Media Center interface. I’m ashamed to admit but the techie inside me was grinning at this point. I retried the test and again it worked although this time the Xbox360 didn’t connect the first time, even though the HTPC had woken up, and I had to try again by pressing the button on the remote once more.
The next test was to just leave things alone and let the HTPC go to sleep naturally and see if it would wake up for a scheduled recording. This happened today and everything worked perfectly including recording using the network tuners. This has also worked again this evening with other shows that are scheduled to record. I can only imagine what has changed to suddenly make this work, I don’t make changes to the HTPC if I can help it as we rely on it for all our TV, but it would seem that sometimes the best way to fix something is to do nothing at all. [:D]
There is a great guide on Missing Remote here for configuring your Windows 7 PC for sleep. I’ve included screen shots below of the sleep settings that I am using on our HTPC but I’m unable to capture the BIOS settings. The first thing to check is your network adaptor hardware settings.
In “Device Manager” look at the Power Management settings for your network card.
The remaining power options you can get to by pressing the “Start” menu and typing “power” into the search box.
There is no seperate sleep button on our HTPC so you might also see “When I press the sleep button”
With the “Power Options” settings open select “Change plan settings” next to the active plan (Balanced in my case) and then “Change advanced power settings”.
These are the advance settings. You can turn off hybrid sleep to speed up the transition to S3 sleep (since contents of RAM are not written to disk)
Scroll down for these other advanced options. I choose “Allow the computer to sleep” because media is on the WHS.
{"id":null,"mode":"button","open_style":"in_place","currency_code":"GBP","currency_symbol":"\u00a3","currency_type":"decimal","blank_flag_url":"https:\/\/thedigitallifestyle.com\/w\/wp-content\/plugins\/tip-jar-wp\/\/assets\/images\/flags\/blank.gif","flag_sprite_url":"https:\/\/thedigitallifestyle.com\/w\/wp-content\/plugins\/tip-jar-wp\/\/assets\/images\/flags\/flags.png","default_amount":500,"top_media_type":"none","featured_image_url":false,"featured_embed":"","header_media":null,"file_download_attachment_data":null,"recurring_options_enabled":true,"recurring_options":{"never":{"selected":true,"after_output":"One time only"},"weekly":{"selected":false,"after_output":"Every week"},"monthly":{"selected":false,"after_output":"Every month"},"yearly":{"selected":false,"after_output":"Every year"}},"strings":{"current_user_email":"","current_user_name":"","link_text":"Leave a tip","complete_payment_button_error_text":"Check info and try again","payment_verb":"Pay","payment_request_label":"TheDigitalLifestyle.com","form_has_an_error":"Please check and fix the errors above","general_server_error":"Something isn't working right at the moment. Please try again.","form_title":"TheDigitalLifestyle.com","form_subtitle":null,"currency_search_text":"Country or Currency here","other_payment_option":"Other payment option","manage_payments_button_text":"Manage your payments","thank_you_message":"Thank you for being a supporter!","payment_confirmation_title":"TheDigitalLifestyle.com","receipt_title":"Your Receipt","print_receipt":"Print Receipt","email_receipt":"Email Receipt","email_receipt_sending":"Sending receipt...","email_receipt_success":"Email receipt successfully sent","email_receipt_failed":"Email receipt failed to send. Please try again.","receipt_payee":"Paid to","receipt_statement_descriptor":"This will show up on your statement as","receipt_date":"Date","receipt_transaction_id":"Transaction ID","receipt_transaction_amount":"Amount","refund_payer":"Refund from","login":"Log in to manage your payments","manage_payments":"Manage Payments","transactions_title":"Your Transactions","transaction_title":"Transaction Receipt","transaction_period":"Plan Period","arrangements_title":"Your Plans","arrangement_title":"Manage Plan","arrangement_details":"Plan Details","arrangement_id_title":"Plan ID","arrangement_payment_method_title":"Payment Method","arrangement_amount_title":"Plan Amount","arrangement_renewal_title":"Next renewal date","arrangement_action_cancel":"Cancel Plan","arrangement_action_cant_cancel":"Cancelling is currently not available.","arrangement_action_cancel_double":"Are you sure you'd like to cancel?","arrangement_cancelling":"Cancelling Plan...","arrangement_cancelled":"Plan Cancelled","arrangement_failed_to_cancel":"Failed to cancel plan","back_to_plans":"\u2190 Back to Plans","update_payment_method_verb":"Update","sca_auth_description":"Your have a pending renewal payment which requires authorization.","sca_auth_verb":"Authorize renewal payment","sca_authing_verb":"Authorizing payment","sca_authed_verb":"Payment successfully authorized!","sca_auth_failed":"Unable to authorize! Please try again.","login_button_text":"Log in","login_form_has_an_error":"Please check and fix the errors above","uppercase_search":"Search","lowercase_search":"search","uppercase_page":"Page","lowercase_page":"page","uppercase_items":"Items","lowercase_items":"items","uppercase_per":"Per","lowercase_per":"per","uppercase_of":"Of","lowercase_of":"of","back":"Back to plans","zip_code_placeholder":"Zip\/Postal Code","download_file_button_text":"Download File","input_field_instructions":{"tip_amount":{"placeholder_text":"How much would you like to tip?","initial":{"instruction_type":"normal","instruction_message":"How much would you like to tip? Choose any currency."},"empty":{"instruction_type":"error","instruction_message":"How much would you like to tip? Choose any currency."},"invalid_curency":{"instruction_type":"error","instruction_message":"Please choose a valid currency."}},"recurring":{"placeholder_text":"Recurring","initial":{"instruction_type":"normal","instruction_message":"How often would you like to give this?"},"success":{"instruction_type":"success","instruction_message":"How often would you like to give this?"},"empty":{"instruction_type":"error","instruction_message":"How often would you like to give this?"}},"name":{"placeholder_text":"Name on Credit Card","initial":{"instruction_type":"normal","instruction_message":"Enter the name on your card."},"success":{"instruction_type":"success","instruction_message":"Enter the name on your card."},"empty":{"instruction_type":"error","instruction_message":"Please enter the name on your card."}},"privacy_policy":{"terms_title":"Terms and conditions","terms_body":null,"terms_show_text":"View Terms","terms_hide_text":"Hide Terms","initial":{"instruction_type":"normal","instruction_message":"I agree to the terms."},"unchecked":{"instruction_type":"error","instruction_message":"Please agree to the terms."},"checked":{"instruction_type":"success","instruction_message":"I agree to the terms."}},"email":{"placeholder_text":"Your email address","initial":{"instruction_type":"normal","instruction_message":"Enter your email address"},"success":{"instruction_type":"success","instruction_message":"Enter your email address"},"blank":{"instruction_type":"error","instruction_message":"Enter your email address"},"not_an_email_address":{"instruction_type":"error","instruction_message":"Make sure you have entered a valid email address"}},"note_with_tip":{"placeholder_text":"Your note here...","initial":{"instruction_type":"normal","instruction_message":"Attach a note to your tip (optional)"},"empty":{"instruction_type":"normal","instruction_message":"Attach a note to your tip (optional)"},"not_empty_initial":{"instruction_type":"normal","instruction_message":"Attach a note to your tip (optional)"},"saving":{"instruction_type":"normal","instruction_message":"Saving note..."},"success":{"instruction_type":"success","instruction_message":"Note successfully saved!"},"error":{"instruction_type":"error","instruction_message":"Unable to save note note at this time. Please try again."}},"email_for_login_code":{"placeholder_text":"Your email address","initial":{"instruction_type":"normal","instruction_message":"Enter your email to log in."},"success":{"instruction_type":"success","instruction_message":"Enter your email to log in."},"blank":{"instruction_type":"error","instruction_message":"Enter your email to log in."},"empty":{"instruction_type":"error","instruction_message":"Enter your email to log in."}},"login_code":{"initial":{"instruction_type":"normal","instruction_message":"Check your email and enter the login code."},"success":{"instruction_type":"success","instruction_message":"Check your email and enter the login code."},"blank":{"instruction_type":"error","instruction_message":"Check your email and enter the login code."},"empty":{"instruction_type":"error","instruction_message":"Check your email and enter the login code."}},"stripe_all_in_one":{"initial":{"instruction_type":"normal","instruction_message":"Enter your credit card details here."},"empty":{"instruction_type":"error","instruction_message":"Enter your credit card details here."},"success":{"instruction_type":"normal","instruction_message":"Enter your credit card details here."},"invalid_number":{"instruction_type":"error","instruction_message":"The card number is not a valid credit card number."},"invalid_expiry_month":{"instruction_type":"error","instruction_message":"The card's expiration month is invalid."},"invalid_expiry_year":{"instruction_type":"error","instruction_message":"The card's expiration year is invalid."},"invalid_cvc":{"instruction_type":"error","instruction_message":"The card's security code is invalid."},"incorrect_number":{"instruction_type":"error","instruction_message":"The card number is incorrect."},"incomplete_number":{"instruction_type":"error","instruction_message":"The card number is incomplete."},"incomplete_cvc":{"instruction_type":"error","instruction_message":"The card's security code is incomplete."},"incomplete_expiry":{"instruction_type":"error","instruction_message":"The card's expiration date is incomplete."},"incomplete_zip":{"instruction_type":"error","instruction_message":"The card's zip code is incomplete."},"expired_card":{"instruction_type":"error","instruction_message":"The card has expired."},"incorrect_cvc":{"instruction_type":"error","instruction_message":"The card's security code is incorrect."},"incorrect_zip":{"instruction_type":"error","instruction_message":"The card's zip code failed validation."},"invalid_expiry_year_past":{"instruction_type":"error","instruction_message":"The card's expiration year is in the past"},"card_declined":{"instruction_type":"error","instruction_message":"The card was declined."},"missing":{"instruction_type":"error","instruction_message":"There is no card on a customer that is being charged."},"processing_error":{"instruction_type":"error","instruction_message":"An error occurred while processing the card."},"invalid_request_error":{"instruction_type":"error","instruction_message":"Unable to process this payment, please try again or use alternative method."},"invalid_sofort_country":{"instruction_type":"error","instruction_message":"The billing country is not accepted by SOFORT. Please try another country."}}}},"fetched_oembed_html":false}