PDA

Bekijk de volledige versie : lirc package ? (help!)



CraigB
17-02-2007, 23:33
I've picked up a Tira-2 IR transceiver, which I'd like to control via my WL-500Gp...but it seems I need the lirc module/package. After many hours of searching and attempted cross-compiling, I am still no nearer this goal.

Does anyone have this package (lirc) in a suitable format, or could provide it ?

I am running Olegs firmware (1.9.2.7-7f) and as a result of reading http://www.nslu2-linux.org/wiki/FAQ/Optware-uClibcBuild I have v0.9.28 uClibc installed (plus optware-devel).

I've tried building:

on my Suse box - error getting build environment up and running
via installing colinux on my PC - colinux messed up my wireless config
directly on the Asus - ran out of space on my USB stick


After 8hrs of this I am near to giving up and seeking the help of a kind soul who has already built this, or who is more experienced than I in performing the build.

oleo
19-02-2007, 07:53
lirc source location?

CraigB
19-02-2007, 08:40
http://www.lirc.org

oleo
19-02-2007, 11:44
You are the lucky one. No kernel drivers needed.
See http://trac.nslu2-linux.org/optware/changeset/5539 for details.

Other drivers upon request.

oleo
10-04-2007, 14:47
I have changed lirc driver to igorplugusb with
http://trac.nslu2-linux.org/optware/changeset/5907

If there will be multiple requests on that than whole .mk should be restructured as there can only one driver be specified at a configure time.

create lirc device with

mknod /tmp/lirc c 61 0

Post coments here and not in PM.

mototun
10-04-2007, 22:44
thanx :) which package should I use? this:
http://ipkg.nslu2-linux.org/feeds/optware/wl500g/cross/unstable/lirc_0.8.1-2_mipsel.ipk
supports tira2 driver only :(

oleo
11-04-2007, 03:02
Do not use wl500g feed but oleg. See http://www.nslu2-linux.org/wiki/FAQ/Optware-uClibcBuild for how to use this feed.

mototun
13-04-2007, 23:40
which kernel version is the package compiled for? i cannot insmod lirc_dev.o whether under 2.4.34 nor under 2.6... :(

oleo
15-04-2007, 22:35
which kernel version is the package compiled for? i cannot insmod lirc_dev.o whether under 2.4.34 nor under 2.6... :(

Modules are for Oleg firmware of course! But userspace routines are for oleg feed and not for wl500g!

mefi
28-07-2007, 14:03
Hello,

i searched this whole forum and i think almost the whole web concerning my little big problem but unfortunately i have no luck in finding proper instructions or hints or maybe i am to green for this.

THE IDEA:

I want to control my WL-HDD@(oleg firmware 1.9.2.7-7g) (should be the same for WL500g) with my universal remote, for example to start,stop,pause,forward,back my mp3 playlists or shoutcast streams playing through the USB soudcard. Or just start/stop services like samba, vsftp, thttpd. Or shut down the device via remote control.

THE PREQUISITES:

Hardware: IR receiver like described in http://people.inf.ethz.ch/mringwal/lirc/
(this is already realized and testet by recording some ir-commands with my audio recorder. i was absolutely impressed as i saw it working ;) )

Software: This is the point i stuck. What we need is a service which records constantly the mic input and evaluates the ir bursts and somehow comunicates with lircd.

THE PROBLEM:

i tried to follow the insturction (http://people.inf.ethz.ch/mringwal/lirc/) but i dont have any idea how to compile the source code of PortAudio and Lirc. All my attempts failed. i fail to create a dev environment on the WL-HDD. crosscompiling i didn't tried.

THE QUESTIONS:

-is there already a aquivalent solution for my problem? if yes, link?
-is it possible to create a dev environment on the ASUS devices? if yes, how?
-in general, how to compile software for the ASUS devices? Any tuts? (i realy like to start from the beginning, like "Hello World!" apps)
-i am the only one with such ill ideas? (i lost until now 5nights on trying and research)

As i saw in previous posts i could imagine that you guys are familiar with compiling lirc fitting this above described needs, and beside this this is the only place where i found people enabling lirc for our customized ASUS devices.

THANKS IN ADVANCE!

Gerdi
25-07-2008, 08:26
I've got the make from
http://trac.nslu2-linux.org/optware/changeset/5907

How do I make it?
(Asus Remote Control p4w Digital Home. Driver is asusdh-lirc-driver.)

If I do make -f lirc.mk it doesn't know $WGET.
Are there other variables to define?

Thank you!

oleo
27-07-2008, 09:47
follow http://trac.nslu2-linux.org/optware/ to create oleg-target

You should have compatible hardware and not some audio driver!
Maybe some serial driver or GPIO would do!

ardayang
15-12-2008, 13:36
Support ATI USB Remote Control
http://digiland.tw/viewtopic.php?id=545
;)

jp24
28-02-2009, 16:42
Hi,

I want to setup LIRC on my WL500W to recieve infrared signals from my media centre reciever, which LIRC supports with the mceusb driver (there is a second version, but that requires the 2.6 kernel)


follow http://trac.nslu2-linux.org/optware/ to create oleg-target


I have tried to follow the instructions on the page above, but the svn command fails with the following error:



[admin@Asus /opt]$ svn co http://svn.nslu2-linux.org/svnroot/optware/trunk optware
svn: Can't read directory 'optware': Operation now in progress


I know this has come up on the russian forums, and from a bad automatic translation I think they said to use cross-compilation instead. As there is already a mk file for lirc in the svn. I think it makes sense to try and persue this route and try to edit the file to work with the mceusb driver.....if I can get the SVN command to work.

Has anyone had any better luck with this?

Many thanks,

John