LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 01-28-2014, 07:29 PM   #1
AudioMechanic
Member
 
Registered: Jun 2003
Distribution: OpenSUSE 12.3, CentOS 6, Xubuntu 13.04
Posts: 125

Rep: Reputation: 16
Power on and control PC from IR?


Hi everyone.

Got an HTPC that I currently run with a wireless USB handheld keyboard/mouse thing. I have to power on the PC at the button though. Would like to be able to control the PC with LIRC, and have the ability to power it on with the same IR remote (or wake it from suspend). Here's my motherboard's manual:

http://download.gigabyte.eu/FileList...p55m-ud2_e.pdf

Is this possible with my current hardware?

Thanks in advance everyone.
 
Old 01-29-2014, 05:01 AM   #2
qlue
Member
 
Registered: Aug 2009
Location: Umzinto, South Africa
Distribution: Crunchbangified Debian 8 (Jessie)
Posts: 747
Blog Entries: 1

Rep: Reputation: 172Reputation: 172
The only way I can think of doing this with any off-the-shelf motherboard is by replacing the power switch with a relay operated by a suitably programmed micro-controller.
It's a do-able project and if you intend to go that route you would probably want to use something like the Arduino mini. (unless you already have experience and a preferred micro-controller)
Here are a couple of links to similar projects and ideas:
The TinyPCRemote
IR remote cloning and keyboard simulation
 
Old 01-29-2014, 05:21 AM   #3
Doc CPU
Senior Member
 
Registered: Jun 2011
Location: Stuttgart, Germany
Distribution: Mint, Debian, Gentoo, Win 2k/XP
Posts: 1,099

Rep: Reputation: 344Reputation: 344Reputation: 344Reputation: 344
Hi there,

Quote:
Originally Posted by AudioMechanic View Post
Got an HTPC that I currently run with a wireless USB handheld keyboard/mouse thing. I have to power on the PC at the button though. Would like to be able to control the PC with LIRC, and have the ability to power it on with the same IR remote (or wake it from suspend). Here's my motherboard's manual:

http://download.gigabyte.eu/FileList...p55m-ud2_e.pdf

Is this possible with my current hardware?
I don't think so. Not easily, anyway.

It's probably easy to power on and operate the PC using the wireless keyboard/mouse combo. Even though wireless, to the PC it appears like just an ordinary USB keyboard and mouse. So depending on the Power Management capabilities of your PC, you may simply have to specify keyboard and/or mouse activity as a Power Management event that wakes your PC. Naturally, this requires USB ports that retain power in standby or quasi-shutdown. Not all boards can do that, but most can.

As for the IR remote ... it depends. Internally, IR receivers are usually connected to a serial port (UART) or have their own internal USB interface so that they're virtual UARTs. So from a communications point of view, it's the same as above.
However, I'm afraid the IR receiver circuitry isn't powered in standby, and so can't respond to an IR remote's signal.

[X] Doc CPU
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Passible to control power in usb port ssanthshtech Linux - Hardware 1 10-01-2013 09:50 AM
is control of wireless NIC tx power possible? aristotelix Linux - Hardware 6 07-31-2011 05:30 AM
Laptop Power Control cavedude Ubuntu 8 05-18-2006 05:13 PM
how to control the monitor power alejandroye Mandriva 3 11-08-2004 12:04 AM
Power control on mandrake 10.0 official f3ua Mandriva 2 10-22-2004 07:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 07:13 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration