Using a PC as a Remote Control?
Dave2 Wickham asks: "I am interested in using one of my PCs as a remote control. The most likely candidate for this would be my laptop - which runs Windows XP (flame on, but I don't want to make any major changes in my last year of school). It has a standard IR port built in - nothing fancy. If there is, for some reason, no option for this, then is there any way for me to use my Live! Drive with LIRC on my Linux machine?" For those interested, Ask Slashdot handled the converse of this issue, in an article on controlling PCs with IR remotes.
Are you sure that you have an remote control style IR port built in? Most laptops ship with IRDA style IR ports, these are designed for communication with other laptops, palmtops, mobile phones, etc.
It might be possible to rig something up with a parallel port and a IR LED. But I'm not sure about that...
Sig you!
The live drive IR device is not a general purpose IR reciever. It works only with certain remotes, and it sends a decoded remote code out over the MIDI bus. If you use a recent version of the emu10k1 driver (as of 2.4.18 the capability is in the kernel driver) you can enable the live drive IR's IR port with a switch in emu-tools. IR messages come out of /dev/midi as general purpose MIDI message frames where they can be decoded.
/dev/midi and listened on lirc's socket and port (thus emulating lirc and allowing any app that was designed to work with lirc work with the live drive ir)
Again, this does not work with LIRC. I tried to add some support for it once, but didn't really get very far. I don't think that LIRC really has the code internals to deal with this sort of hardware. It'd be easier to write an app that decoded the IR codes from
~GoRK
I have found that any remote from a creative-branded product (such as the remote that comes with the live/audigy/audigy2 or the remote that comes with creative speakers) can be decoded by the livedrive ir hardware (probably they use all the same remote control ic's across the board to save money.
I also noticed that it could correctly decode the remote that came with my BetaBrite (LED Sign), which as fortune would have it, contains a full alphabet with punctuation and everything! It might work with remotes from other Adaptive Alpha-family LED signs.
~GoRK
Mostly "just because"... but it would be useful when I'm on the bed on my laptop and can't find the remote ;).
Well, once I've finished school I almost certainly will change it to Linux...
Anyway, the lirc site seems to imply that it does support IrDA.
There is one major reason this will not work: power.
The IRDA port is not meant to blast IR energy across a room and bounce it off the walls. TV remotes are.
Your best bet is to build a serial port IR transmitter, such as described here.
IRDA is only meant to work over distances of a couple feet. It is too tricky to get the IRDA port to match standard IR remote frequencies anyway.
...
Supporting IRDA isn't the problem.. the problem is that tvs and other devices don't use IRDA.
I've got the Sound Blaster Live 5.1 platinum with the livedrive unit and i use the remote (RM-900). I use it with a program called rcenter. php
http://rooster.stanford.edu/~ben/projects/rcenter
I have scripted it to work with xmms, xawtv, and other programs. Works like a charm!
Well then use knoppix. I have a PC with no free hdd space running Win98. But I personally keep needing Linux, knoppix works real beautiful and fast, and best of all no virus/spyware worries there. It ALWAYS works.
Most popular apps for Linux is already installed on Knoppix, I'm tempted to think IR controllers are also installed. You need to check it out. But I must warn you, the laptop has to be within 4 feet of the TV to work. The IR range of computers is much lesser than that of remotes.
Hmm, I wonder if I can make linux-based remotes and sell them.
"Give orange me give eat orange me eat orange give me eat orange give me you." -Nim Chimpsky
You dont ask that question in geek circles. Why is always an afterthought, when youve made your creation and need to make money off it. Same applies to good scientists.
People have beowulfed PDAs, emulated IA-64 on 386s and created VPNs in VPNs with no WHY in sight.
"Give orange me give eat orange me eat orange give me eat orange give me you." -Nim Chimpsky
first you have to get duct tape, a foot or so should do, although as with all things duct tape the more the better
next get a universal remote and find a good, non-intrusive spot on the laptop. make sure you have batteries in the remote and it is programmed for your TV/VCR/DVD Player/etc. Place the remote firmly against the laptop and apply duct tape*.
*note you may need to cut the duct tape into thinner strips to avoid covering any buttons on the remote*
Famous Last Words: "hmm...wikipedia says it's edible"
Well, you should check out LIRC. There software is pretty good, but you'll have to get your hands dirty. Phil, my roommate in college used this softare and built a transmitter from some parts at Radio Shack. We hollowed out in the eye ball in a Jack in the Box and went to town. Good luck, and oh yeah.. ya gotta ditch Windows ;)
JOhn
Campaign for Liberty
Showshifter's extras page (part-way down) lists a few products they interface to to do exactly what you want to do, from Windows. You'll have to dig through a few links to work out what suits, but it should make a good starting point.