OESF Portables Forum

Everything Else => Zaurus - Everything Development => Distros, Development, and Model Specific Forums => Archived Forums => User Request for Applications => Topic started by: bladewheel on June 11, 2004, 03:58:51 pm

Title: Universal IR Remote Control for consumer electronics
Post by: bladewheel on June 11, 2004, 03:58:51 pm
Has this been done yet?

e.g. a port of LIRC http://www.lirc.org/ (http://www.lirc.org/)
Title: Universal IR Remote Control for consumer electronics
Post by: bladewheel on June 11, 2004, 04:05:24 pm
see Opie-Remote @ http://www.killefiz.de/zaurus//showdetail.php?app=214 (http://www.killefiz.de/zaurus//showdetail.php?app=214)
Title: Universal IR Remote Control for consumer electronics
Post by: cmisip on June 11, 2004, 05:16:16 pm
Has anybody gotten this to work with a 5600?
Title: Universal IR Remote Control for consumer electronics
Post by: zaurusbs on June 11, 2004, 05:46:31 pm
Quote
Has anybody gotten this to work with a 5600?

i\'d love to know that too. how about with the sharp ROM?
Title: Universal IR Remote Control for consumer electronics
Post by: clofland on June 13, 2004, 10:25:35 am
I\'ve got it working on my 760. There is another thread about it working on the 5600. However, I am using the 5600 lirc on my 760, so I think it is the same.

I\'ll post all the details on Monday
Title: Universal IR Remote Control for consumer electronics
Post by: zenyatta on June 14, 2004, 04:32:45 am
I failed to get it working on my 5500. I was trying to emulate an SB Live! Platinum remote and it appears that particular config file crashes lirc. If anyone gets lirc working with that particular remote please share your experiences.

z.
Title: Universal IR Remote Control for consumer electronics
Post by: zbones on June 15, 2004, 04:44:24 am
Quote
I\'ve got it working on my 760. There is another thread about it working on the 5600. However, I am using the 5600 lirc on my 760, so I think it is the same.

I\'ll post all the details on Monday


I would be interested in trying this.  what\'s the distance like?
Title: Universal IR Remote Control for consumer electronics
Post by: clofland on June 15, 2004, 07:52:16 am
Distance seemed so/so. I haven\'t done a lot of testing. It may be that the distance is not so much of an issue as the angle. The IR \"bulb\" in these PDA\'s seem to be more directed, while the remote controls tend to flood the room with their \"light.\" I wonder if you could make/find some sort of \"diffuser\" to put over the IR window an the Z to cause the beam to diffuse out into the room.

Here are my notes from setting it up on my 760:

Download opie-remote_1.0.3_arm.ipk from http://opie.handhelds.org/feed/sharprom/latest/ (http://opie.handhelds.org/feed/sharprom/latest/)
(Home page is here http://www.rit.edu/~tfs1812/cgi-bin/docume...ent=opie-remote (http://www.rit.edu/~tfs1812/cgi-bin/document.pl?document=opie-remote) but you have to dig a bit to find the Sharp package.)

Download lirc-sl5600_0.6.6_arm.ipk from http://www.currybrothers.com/zaurus/sl5600...00_patches.html (http://www.currybrothers.com/zaurus/sl5600_patches.html)
(if it ends up being named .ipk.tar when you get it downloaded, just rename it to .ipk (take off the .tar), a lot of IPK\'s do this when you download them from some Linux servers and I\'m not sure why.)

Install both packages via gui or:

ipkg install lirc-sl5600_0.6.6_arm.ipk
ipkg install opie-remote_1.0.3_arm.ipk

Download a .conf file from www.lircd.conf for your remote and copy it to /etc/lircd.conf

If they don\'t have yours, then run irrecord (from the console) and follow the directions to build a .conf file for your remote and copy it to /etc/lircd.conf (this only works after you have rebooted and have lirc running)

NOTE:
fbvnc\'s keyboard simulator and lirc bump into each other, so I put this into my VNC startup script to shut down lirc and start kbdsim:

/etc/rc.d/init.d/lirc stop
rmmod lirc_sir
insmod -f /usr/local/bin/kbdsim.o

and in my vnc server shut down script I have this:

rmmod kbdsim
insmod lirc_sir
/etc/rc.d/init.d/lirc start

Then edit /ect/rc.d/init.d/fbvncinput and comment out this line with a # like so:

# insmod -f /usr/local/bin/kbdsim.o

(If you don’t do the last, you’ll just get an error when kbdsim fails to load. No biggie.) Obviously you could reverse it all and have kbdsim in all the time and only load lirc_sir when needed, but I am already used to starting and stopping VNC as needed.

Reboot before lircd will work. It needs a kernel module and a driver.

If Opie-Remote complains that it \"cannot connect\" then run:
/etc/rc.d/init.d/lirc start
from the konsole.

That is all. Very cool.

The biggest problem I\'m having is that on my 760, Opie-Remote fails to paint the right half of the screen on the first tab.