Forum

Full Version: LIRC Issues
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
I have just converted from raspbmc to xbian. I am trying to get my IR receiver working. I was following the Tutorials:Configuring a remote, but am stuck at the beginning....

when i run this command:

/etc/init.d/lirc stop

I get:

bash: /etc/init.d/lirc: No such file or directory

What am I doing wrong?? this is a fresh install of xbian... My IR was working with raspbmc....

Thanks,

Mark

So I found a forum post that instructed to run the following:

apt-get install --reinstall xbian-package-lirc

So here is what happens now:

root@xbian:~# /etc/init.d/lirc stop
Rather than invoking init scripts through /etc/init.d, use the service(8)
utility, e.g. service lirc stop

Since the script you are attempting to invoke has been converted to an
Upstart job, you may also use the stop(8) utility, e.g. stop lirc
root@xbian:~# mode2
mode2: could not get file information for /dev/lirc0
mode2: default_init(): No such file or directory

If i run the "irw" command it does not generate outputs??

any thoughts??

Thanks

Mark
@Markcf105

XBian is using upstart and not sysv style booting. Jobs and services are located in /etc/init (not /etc/init.d) and new control commands are "stop …" "start …" "reload …."

so in your case now just run
Code:
stop lirc
okay so i have removed the .d and here is the message I am getting now:

root@xbian:/etc/lirc# stop lirc
lirc stop/waiting
root@xbian:/etc/lirc# mode2
mode2: could not get file information for /dev/lirc0
mode2: default_init(): No such file or director

thoughts??

thanks,

Mark
@Markcf105

you probably wanted to start lirc manually from command line? as if you stop the service, no Lirc will run so no ./dev/lirc0 can exist?
i am trying to follow the tutorial you have for IR remotes.

the first step is:

xbian@xbian:~# sudo su
root@xbian:~# /etc/init.d/lirc stop
root@xbian:~# mode2
space 989187
pulse 2650
space 894....

should I not be following this??

I have also been reading this artice http://forum.stmlabs.com/showthread.php?tid=5549

do I need to do this??
I had to follow this guide http://forum.stmlabs.com/showthread.php?tid=5549

and then the tutorial worked with the edits from the post above.

I now have an issue where if i press the right arrow it moves two positions not one.
if it is not working by default then probably yes

just wanted to say if you trying GPIO IR maybe whole problem is that lirc_rpi module is not loaded from /etc/modules during start.
Hi Guys,
i have a working version of an Logitec Harmony One and Solidrun Cubox-i pro..

you have to add the /etc/lirc/lircd.conf the following line:
Quote:include "/home/xbian/lircd.conf.mceusb"

then make an:

Code:
cd /home/xbian/ && wget http://lirc.sourceforge.net/remotes/mceusb/lircd.conf.mceusb


Thanks again to the gns-online.de a co worker helped me with that issue..

regards,
reacend
Hm it seems we already ship a mceusb.conf, but it's not referenced in the lircd.conf file.

As a test, can you remove the entry you've added to lircd.conf and instead add this one:
Code:
include "/etc/lirc/remotes/mceusb.conf"
works also Smile
(11th Dec, 2014 07:47 AM)reacend Wrote: [ -> ]works also :)
Nice, thanks. I wasn't sure if it didn't work or you just didn't notice it existed.
@reacend @menakite

can we not update the relevant part in hardware.conf (autoloader) to make it work with logitech IDs in dmesg ?
If the user could just include the mceusb configuration w/o thinkering with the hardware definitions, it already works. Just as i expected for mceusb. So, i would just include all remotes in the lircd.conf by default.
@CurlyMo

I mixed two different things of course ...
hardware.conf is auto adapting lircd running params.

./remotes/* is about HW definitions, and this we want to include in /etc/lirc/lircd.conf by default. YES ? all existing but missing, or just mceusb for now ?
Just all on github? I think it were three of them that didn't have a lircd.conf include but did have a remote defintion.
Pages: 1 2
Reference URL's