LIRC Issues
|
6th Dec, 2013, 01:48 PM
Post: #1
|
|||
|
|||
LIRC Issues
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 |
|||
6th Dec, 2013, 08:17 PM
Post: #2
|
|||
|
|||
RE: LIRC Issues
@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 Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here |
|||
6th Dec, 2013, 10:14 PM
Post: #3
|
|||
|
|||
RE: LIRC Issues
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 |
|||
6th Dec, 2013, 10:36 PM
Post: #4
|
|||
|
|||
RE: LIRC Issues
@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? Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here |
|||
6th Dec, 2013, 10:45 PM
Post: #5
|
|||
|
|||
RE: LIRC Issues
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?? |
|||
7th Dec, 2013, 12:21 AM
Post: #6
|
|||
|
|||
RE: LIRC Issues
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. |
|||
7th Dec, 2013, 12:31 AM
Post: #7
|
|||
|
|||
RE: LIRC Issues
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. Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here |
|||
11th Dec, 2014, 07:08 AM
Post: #8
|
|||
|
|||
RE: LIRC Issues
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 |
|||
11th Dec, 2014, 07:41 AM
Post: #9
|
|||
|
|||
RE: LIRC Issues
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" |
|||
11th Dec, 2014, 07:47 AM
Post: #10
|
|||
|
|||
RE: LIRC Issues
works also
|
|||
11th Dec, 2014, 07:52 AM
Post: #11
|
|||
|
|||
RE: LIRC Issues | |||
16th Dec, 2014, 03:47 PM
Post: #12
|
|||
|
|||
RE: LIRC Issues
@reacend @menakite
can we not update the relevant part in hardware.conf (autoloader) to make it work with logitech IDs in dmesg ? Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here |
|||
16th Dec, 2014, 08:41 PM
Post: #13
|
|||
|
|||
RE: LIRC Issues
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.
pilight - modular domotica solution
|
|||
16th Dec, 2014, 08:50 PM
Post: #14
|
|||
|
|||
RE: LIRC Issues
@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 ? Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here |
|||
16th Dec, 2014, 08:56 PM
Post: #15
|
|||
|
|||
RE: LIRC Issues
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.
pilight - modular domotica solution
|
|||
« Next Oldest | Next Newest »
|