View Full Version : LIRC\Soundgraph IMON RSC (USB) HELP!!!!
Hello, I have been trying for 2 days to install LIRC on my Ubuntu 8.10 laptop to use my Imon RSC with XBMC....I am having no luck whatsoever....I selected the remote from the list when I installed Lirc from the repositories....but nothing happens when I press any buttons on the remote...either in xbmc or in the main ubuntu install. I know it works on a windows machine.....I installed the IR Manager utility and tried to test my remote but it show nothing....I combed the web for guides but cant make heads or tails of them....(completed newbie to Linux)
what am I missing?....any help is greatly appreciated!!!
b00sted4fun
2009-06-23, 21:45
I could be wrong cause I suck at nix as well but I think you need to make sure you setup your keymap.xml and lircmap.xml in xbmc userdata folder :)
thanks...but the remote doesnt even work when I test with IRW comand in terminal...does that mean it isnt working at all?
You are correct.
irw is based upon your LIRC configuration. So if it shows nothing then you either have a system/remote problem or more likely that LIRC is just not configured properly.
Just keep in mind that irw will only show events configured in lircd.conf. You may want to try running "irrecord" or "mode2", they are not dependent upon your lircd.conf and will allow you to create a custom config file. If they work ok then you know it's just a configuration issue.
If you don't want a custom config file you can also search on the forums and/or Google and hopefully come up with one someone else created. Just copy that over to /etc/lirc/lircd.conf and make sure your /etc/lirc/hardware.conf is properly configured for your device. irw should then work. Once it does begin updating Lircmap.xml and Keymap.xml to match in order use your remote in XBMC.
lightpower
2009-06-24, 10:19
Check whether your lircd processes are running correctly. Few remotes needs more than one lircd process to be run ex. IMON PAD.
Phantasm4489
2009-06-24, 15:30
I just spent several days getting my imon pad to work correctly. I'm a complete beginner with linux but i'm learning fast.
The easiest way i found to make LIRC create two instances is to populate the transmitter section of the /etc/lirc/hardware.conf file
do
sudo gedit /etc/lirc/hardware.conf
and populate these values
TRANSMITTER="None"
TRANSMITTER_MODULES=""
TRANSMITTER_DRIVER=""
TRANSMITTER_DEVICE=""
TRANSMITTER_LIRCD_CONF=""
TRANSMITTER_LIRCD_ARGS=""
with the same values that are in the remote section.
when lirc is restarted it will then create two linked instances.
However the problem is then that they are the wrong way round for our purposes in /etc/init.d/lirc
just edit this file
sudo gedit /etc/init.d/lirc
and swap the --output=/dev/lircd1 and --output=/dev/lircd bits around.
restart lirc with
/etc/init.d/lirc restart
and try irw
worked a treat for me.
Thanks all for your input,
I was able to get in somewhat working by following sgeoxd and Phantasm4489's posts. I got irw to register the button presses...most anyway.....I DL'ed a lirc.conf file from the net....Then I restarted the lirc process and now it doesnt work again....ugh
now what...?
I got irw to register the button presses...most anyway.....
If only some buttons work you might want to create your own lircd.conf file using the command line tool "irrecord". Just search the forums for it. There are some tutorials howto do this. This way you can get all buttons to work.
now what...?
Depends. The easy way is to rename your buttons to the one's configured in the default Lircmap.xml file. As the default configuration only uses a few buttons you might end with some unused buttons.
If you want full control, do it the hard way: http://xbmc.org/forum/showthread.php?t=45972
Phantasm4489
2009-06-24, 23:19
i had to make some changes to the lircd.conf file for my pad also.
go back to the old file that partially worked (or generate the bare bones of an lircd.conf file with irrecord)
after that i found it easiest to run two terminal sessions one with
mode2 -d /dev/lirc0
and the other with
mode2 -d /dev/lirc1
and each button press in turn will appear in one window or the other and you can update lircd.conf with the correct values as you go.