Forum
  • Search
  • Member List
  • Calendar
Hello There, Guest! Login Register — Login with Facebook

LIRC Issues
Thank you for your donation

Pages (2): 1 2 Next »
Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode | Linear Mode
LIRC Issues
6th Dec, 2013, 01:48 PM
Post: #1
Markcf105 Offline
Registered
Posts: 4
Joined: Dec 2013
Reputation: 0
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
Find all posts by this user
Quote this message in a reply
6th Dec, 2013, 08:17 PM
Post: #2
mk01 Offline
Registered
Posts: 2,485
Joined: Mar 2013
Reputation: 209
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
Find all posts by this user
Quote this message in a reply
6th Dec, 2013, 10:14 PM
Post: #3
Markcf105 Offline
Registered
Posts: 4
Joined: Dec 2013
Reputation: 0
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
Find all posts by this user
Quote this message in a reply
6th Dec, 2013, 10:36 PM
Post: #4
mk01 Offline
Registered
Posts: 2,485
Joined: Mar 2013
Reputation: 209
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
Find all posts by this user
Quote this message in a reply
6th Dec, 2013, 10:45 PM
Post: #5
Markcf105 Offline
Registered
Posts: 4
Joined: Dec 2013
Reputation: 0
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??
Find all posts by this user
Quote this message in a reply
7th Dec, 2013, 12:21 AM
Post: #6
Markcf105 Offline
Registered
Posts: 4
Joined: Dec 2013
Reputation: 0
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.
Find all posts by this user
Quote this message in a reply
7th Dec, 2013, 12:31 AM
Post: #7
mk01 Offline
Registered
Posts: 2,485
Joined: Mar 2013
Reputation: 209
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
Find all posts by this user
Quote this message in a reply
11th Dec, 2014, 07:08 AM
Post: #8
reacend Offline
Registered
Posts: 2
Joined: Dec 2014
Reputation: 0
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
Find all posts by this user
Quote this message in a reply
11th Dec, 2014, 07:41 AM
Post: #9
menakite Offline
Management
******
Posts: 175
Joined: Apr 2014
Reputation: 27
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"
Find all posts by this user
Quote this message in a reply
11th Dec, 2014, 07:47 AM
Post: #10
reacend Offline
Registered
Posts: 2
Joined: Dec 2014
Reputation: 0
RE: LIRC Issues
works also Smile
Find all posts by this user
Quote this message in a reply
11th Dec, 2014, 07:52 AM
Post: #11
menakite Offline
Management
******
Posts: 175
Joined: Apr 2014
Reputation: 27
RE: LIRC Issues
(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.
Find all posts by this user
Quote this message in a reply
16th Dec, 2014, 03:47 PM
Post: #12
mk01 Offline
Registered
Posts: 2,485
Joined: Mar 2013
Reputation: 209
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
Find all posts by this user
Quote this message in a reply
16th Dec, 2014, 08:41 PM
Post: #13
CurlyMo Offline
Registered
Posts: 3,501
Joined: Dec 2012
Reputation: 202
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
Visit this user's website Find all posts by this user
Quote this message in a reply
16th Dec, 2014, 08:50 PM
Post: #14
mk01 Offline
Registered
Posts: 2,485
Joined: Mar 2013
Reputation: 209
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
Find all posts by this user
Quote this message in a reply
16th Dec, 2014, 08:56 PM
Post: #15
CurlyMo Offline
Registered
Posts: 3,501
Joined: Dec 2012
Reputation: 202
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
Visit this user's website Find all posts by this user
Quote this message in a reply
« Next Oldest | Next Newest »
Pages (2): 1 2 Next »
Post Reply 


  • View a Printable Version
  • Send this Thread to a Friend
  • Subscribe to this thread
Forum Jump:

Current time: 11th May, 2025, 09:55 AM Powered By MyBB, © 2002-2025 MyBB Group.