Lirc, how do i get it working?
#31
soder Wrote:My iMon doesnt work like I want, and I have to config all my buttoms in XBMC and tell what the name in the Lirc-config is, and I dont know what all the functions name in XBMC is..

So, now I wonder, if I buy this:
http://www.dustinhome.se/pd_5010077819.aspx
Will it work from start then?

Is that a good choice?

/Soder

If you have installed the imon driver and patch then you just run irw and match them in the lircmap.xml. Once you have the remote working in lirc matching the names is the easy part.

I'd say youd have to configure lirc with the remote you posted as well and then configure the lircmap.xml too
Reply
#32
Ok, but isnt that remote already preconfigured?

What I find hard, is that I dont know what all the functions really do, and because of that I dont know what key to pipe on the remote...

And I dont find the Lirc driver work very well. ie. my pad dont work all the time. I had to pipe som numbers to be up/down and right/left to....
=(
Reply
#33
http://www.mythtv.org/wiki/index.php/Imo...te_Control

I followed this to get the remote working. As for the pad, there is a patch which makes it work very well. Go back a few pages and you will see the link i posted.

I found the imon remote very good except i decided to go further and got a universal remote which was incompatible with it.
Reply
#34
I got this version of lirc at the moment. Do I STILL have to apply the patch?
lircd 0.8.3-CVS

Or do I only have to change my lircd.conf to this?
http://brakemeier.de/electronics/vdr/lircd.conf

/Soder
Reply
#35
Im now using this:
http://brakemeier.de/electronics/vdr/lircd.conf

I have not patched, and all my keys works not, BUT NOT my pad.
With irw its not showing anything when touching the pad.
I dont know if its because I havnt patch, but I dont know if the patch works for me, and I also not really sure HOW to patch. =)..

Then I wonder, if, AFTER I got my pad to work up/down, left/right for me, if I maybe can get your file configured for XBMC and your iMon. At the moment I down now what all the functions in XBMC do, and dont know what key on the iMon to bind to....

But please tell me IF I have to patch, and how...

Thanks

/Soder
Reply
#36
yes use the pad2keys patch. As I said, I linked to it a couple pages back. There is a lircd.conf there. I don't have my lircmap but you shouldnt need it as it is as easy as matching the names of your buttons.
Reply
#37
Soo, making it clear:
1. The patch lirc-0.8.3pre1-imon-pad2keys.patch for lirc 0.8.3pre1 will work for my version.
2. How do I patch? I've never patched in Linux before. Where shall I save the patch, and so on...
3. Its not that difficult to map the names no, BUT, I find it hard to know, WHAT the funcion do in a specific situation. I.e watching a movie a spec. key means something, be in MUSIC it means something else.
Therefor I find it nice to use someone elses keymap for tips...

Thanks

/Soder
Reply
#38
Maybe I should say that I now use the lircd.conf from the url you linked to: http://brakemeier.de/electronics/vdr/lirc-imon.html
But I still havnt used the patch because I dont know how to...

/Soder
Reply
#39
This is what happened after I tryed to patch.

htpc@htpc-desktop:~/lirc$ patch -p1 < ../lirc-0.8.3pre1-imon-pad2keys.patch
patching file drivers/lirc_imon/lirc_imon.c
Hunk #1 succeeded at 73 (offset 4 lines).
Hunk #2 succeeded at 91 (offset 4 lines).
Hunk #3 succeeded at 178 (offset 8 lines).
Hunk #4 succeeded at 253 with fuzz 2 (offset 13 lines).
Hunk #5 FAILED at 279.
Hunk #6 succeeded at 777 (offset 82 lines).
Hunk #7 succeeded at 931 (offset 81 lines).
patch: **** Can't rename file drivers/lirc_imon/lirc_imon.c to drivers/lirc_imon/lirc_imon.c.orig : Permission denied

What is wrong?

/Soder
Reply
#40
Try "sudo patch -p1 < ../lirc-0.8.3pre1-imon-pad2keys.patch"

The failed line would worry me though.
Openelec Gotham, MCE remote(s), Intel i3 NUC, DVDs fed from unRAID cataloged by DVD Profiler. HD-DVD encoded with Handbrake to x.264. Yamaha receiver(s)
Reply
#41
Blindly throwing sudo at failed commands is a real good way to get yourself in trouble... better to just fix the permissions on the file.
Reply
#42
The instructions are on the website I linked to.

You download the lirc version they suggest and extract it to your home folder.

Then you get the patch and also extract it to your home folder.

then you follow the steps to install lirc from the lirc page.
Reply
#43
But isnt the version I have newer then 0.8.3 pre1?
Downloading the other, is that the same as installing the new version pre1? Shall after all patching keep both /lirc and /lirc.08.3.pre1 (dont remember the correct name) ?

/Soder
Reply
#44
When looking at http://lirc.sourceforge.net/software/snapshots/
I now guess the version I have is pre1, just that it shows
htpc@htpc-desktop:~$ lircd -v
lircd 0.8.3-CVS

and thats I named the dir only lirc
Is it possible to change the patch in someway?

/Soder
Reply
#45
Anyone else using an ati remote wonder remote?
I cannot get lirc to work with it.
I'm following this guide for 90% since it's made for fedora/suse.

The ati_remote is disabled and when i do "lsmod | grep -i ati" i can see:
Code:
lirc_atiusb            19530  1
lirc_dev               15860  1 lirc_atiusb
cpufreq_conservative     8072  0
usbcore               138632  6 xpad,lirc_atiusb,usbhid,ohci_hcd,ehci_hcd
To /etc/modprobe/aliases i have added:
Code:
alias char-major-61 lirc_atiusb
alias lirc_dev lirc_atiusb
Then i download this lircd.conf and placed it in /etc/ and /etc/lirc/ folder.
I can see lircd running when i check with ps but when i run irw, it stops/kills the lircd process Sad

When i check my processes for lirc/ati stuff i can read:
Code:
root      5298  0.0  0.0   1716   628 ?        D    00:44   0:00 modprobe -k lirc_atiusb
root      5305  0.0  0.0   1688   604 ?        S    00:44   0:00 /sbin/modprobe -q -- lirc_dev

So anyone else more success with this remote or knows what i'm doing wrong?
Reply

Logout Mark Read Team Forum Stats Members Help
Lirc, how do i get it working?0