Results 1 to 14 of 14

Thread: lirc package ? (help!)

  1. #1

    lirc package ? (help!)

    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.

  2. #2
    Join Date
    Jun 2005
    Location
    Slovenia
    Posts
    736
    lirc source location?

  3. #3

  4. #4
    Join Date
    Jun 2005
    Location
    Slovenia
    Posts
    736
    You are the lucky one. No kernel drivers needed.
    See http://trac.nslu2-linux.org/optware/changeset/5539 for details.

    Other drivers upon request.

  5. #5
    Join Date
    Jun 2005
    Location
    Slovenia
    Posts
    736
    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
    Code:
    mknod /tmp/lirc c 61 0
    Post coments here and not in PM.

  6. #6
    thanx which package should I use? this:
    http://ipkg.nslu2-linux.org/feeds/op...1-2_mipsel.ipk
    supports tira2 driver only

  7. #7
    Join Date
    Jun 2005
    Location
    Slovenia
    Posts
    736
    Do not use wl500g feed but oleg. See http://www.nslu2-linux.org/wiki/FAQ/Optware-uClibcBuild for how to use this feed.

  8. #8
    which kernel version is the package compiled for? i cannot insmod lirc_dev.o whether under 2.4.34 nor under 2.6...

  9. #9
    Join Date
    Jun 2005
    Location
    Slovenia
    Posts
    736
    Quote Originally Posted by mototun View Post
    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!

  10. #10

    lirc audio driver for homebrew ir receiver

    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!

  11. #11

    How do I make the lirc.mk?

    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!
    Last edited by Gerdi; 25-07-2008 at 08:33. Reason: Driver name added

  12. #12
    Join Date
    Jun 2005
    Location
    Slovenia
    Posts
    736
    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!

  13. #13
    Support ATI USB Remote Control
    http://digiland.tw/viewtopic.php?id=545

  14. #14
    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)

    Quote Originally Posted by oleo View Post
    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:

    Code:
    [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

Similar Threads

  1. lighttp and php tutorial
    By theboy50 in forum WL-500g/WL-500gx Tutorials
    Replies: 29
    Last Post: 30-01-2008, 18:03
  2. ImageMagick package NOK
    By kokoro in forum WL-500g Custom Development
    Replies: 10
    Last Post: 07-04-2007, 15:11
  3. Torrentflux mod, controls Transmission - can someone package it?
    By nant15 in forum WL-500g Custom Development
    Replies: 5
    Last Post: 14-11-2006, 19:49
  4. php package broken?
    By Artefacto in forum WL-500g Q&A
    Replies: 3
    Last Post: 19-05-2006, 03:18

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •