lirc for beaglebone help

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

lirc for beaglebone help

gurpartap
I am doing interfacing of IR reciever with LIRC on beaglebone. My irrecord is accepting input KEYS and recording but irw command showing nothing.Please help me.
I am follwing this git repo for driver:
https://github.com/miero/lirc-bbb
and this blog post for compilation steps:


Regards

Gurpartap Singh
Embedded Software Engineer
Terron Microsystems Pvt. Ltd
New Delhi

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: lirc for beaglebone help

Thomas Orgis
Am Mon, 20 Feb 2017 09:30:07 +0000 (UTC)
schrieb gurpartap singh <[hidden email]>:

> I am doing interfacing of IR reciever with LIRC on beaglebone. My
> irrecord is accepting input KEYS and recording but irw
> command showing nothing.

Not that I know any answer to your request, but I strongly suggest you
explain more about what you actually did (not just point to a blog post
that you have translated into actions) to trigger possible help.

The simplest guess, if irrecord works for you, is that you forgot to
actually include the generated remote config and started lircd with
that. Basically, if irrecord works, the driver is set up correctly and
it should be a simple configuration mistake.


Alrighty then,

Thomas

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot

attachment0 (817 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: lirc for beaglebone help

gurpartap
In reply to this post by gurpartap
I am using local remote. I create config file with irrecord and copy it to /etc/lirc/lircd.conf. My config file looks like below:

          begin remote

  name  rc5
  driver default
  bits           64
  eps            30
  aeps          100

  one             0     0
  zero            0     0
  gap          1298
  toggle_bit_mask 0x0

      begin codes
          KEY_0                    0x0141000001000738
          KEY_1                    0x053E000001000353
          KEY_2                    0x01AB000001000718
          KEY_3                    0x01B30000010003B2
          KEY_4                    0x03C5000001000656
          KEY_5                    0x04D0000001000340
          KEY_6                    0x01B90000010006F2
          KEY_7                    0x01B20000010003A1
          KEY_8                    0x01AE00000100070A
          KEY_9                    0x01B20000010003A9
          KEY_UP                   0x04CB000001000350
          KEY_DOWN                 0x04C3000001000619
          KEY_LEFT                 0x04CF000001000351
          KEY_RIGHT                0x06270000010006ED
          KEY_MENU                 0x04D4000001000351
      end codes

end remote

while running command irw, When I press remote buttons there is no output.
OUTPUT of /var/log/syslog | tail
Feb 22 05:01:53 beaglebone lircd[2124]: lircd-0.9.3[2124]: Notice: accepted new client on /var/run/lirc/lircd
Feb 22 05:01:53 beaglebone rsyslogd-2007: action 'action 17' suspended, next retry is Wed Feb 22 05:02:23 2017 [try http://www.rsyslog.com/e/2007 ]
Feb 22 05:01:53 beaglebone lircd[2124]: lircd-0.9.3[2124]: Info: Cannot configure the rc device for /dev/lirc0
Feb 22 05:01:53 beaglebone kernel: [ 1020.425439] lirc_bbb: Interrupt 88 obtained
Feb 22 05:01:53 beaglebone kernel: [ 1020.425496] lirc_bbb: in init_timing_params, freq=38000 pulse=3368, space=3368
Feb 22 05:01:53 beaglebone lircd-0.9.3[2124]: Notice: accepted new client on /var/run/lirc/lircd
Feb 22 05:01:53 beaglebone lircd-0.9.3[2124]: Info: Cannot configure the rc device for /dev/lirc0
Feb 22 05:02:09 beaglebone lircd[2124]: lircd-0.9.3[2124]: Info: removed client
Feb 22 05:02:09 beaglebone kernel: [ 1037.115535] lirc_bbb: 6lirc_bbb: freed IRQ 88
Feb 22 05:02:09 beaglebone lircd-0.9.3[2124]: Info: removed client

what is meant by Info: Cannot configure the rc device for /dev/lirc0
 
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: lirc for beaglebone help

gurpartap
In reply to this post by Thomas Orgis


 

I am using local remote. I create config file with irrecord and copy it to /etc/lirc/lircd.conf. My config file looks like below:

begin remote

name  rc5
driver default
bits           64
eps            30
aeps          100

one             0     0
zero            0     0
gap          1298
toggle_bit_mask 0x0

begin codes
KEY_0                    0x0141000001000738
KEY_1                    0x053E000001000353
KEY_2                    0x01AB000001000718
KEY_3                    0x01B30000010003B2
KEY_4                    0x03C5000001000656
KEY_5                    0x04D0000001000340
KEY_6                    0x01B90000010006F2
KEY_7                    0x01B20000010003A1
KEY_8                    0x01AE00000100070A
KEY_9                    0x01B20000010003A9
KEY_UP                   0x04CB000001000350
KEY_DOWN                 0x04C3000001000619
KEY_LEFT                 0x04CF000001000351
KEY_RIGHT                0x06270000010006ED
KEY_MENU                 0x04D4000001000351
end codes

end remote

while running command irw, When I press remote buttons there is no output.
OUTPUT of /var/log/syslog | tail
Feb 22 05:01:53 beaglebone lircd[2124]: lircd-0.9.3[2124]: Notice: accepted new client on /var/run/lirc/lircd
Feb 22 05:01:53 beaglebone rsyslogd-2007: action 'action 17' suspended, next retry is Wed Feb 22 05:02:23 2017 [try http://www.rsyslog.com/e/2007 ]
Feb 22 05:01:53 beaglebone lircd[2124]: lircd-0.9.3[2124]: Info: Cannot configure the rc device for /dev/lirc0
Feb 22 05:01:53 beaglebone kernel: [ 1020.425439] lirc_bbb: Interrupt 88 obtained
Feb 22 05:01:53 beaglebone kernel: [ 1020.425496] lirc_bbb: in init_timing_params, freq=38000 pulse=3368, space=3368
Feb 22 05:01:53 beaglebone lircd-0.9.3[2124]: Notice: accepted new client on /var/run/lirc/lircd
Feb 22 05:01:53 beaglebone lircd-0.9.3[2124]: Info: Cannot configure the rc device for /dev/lirc0
Feb 22 05:02:09 beaglebone lircd[2124]: lircd-0.9.3[2124]: Info: removed client
Feb 22 05:02:09 beaglebone kernel: [ 1037.115535] lirc_bbb: 6lirc_bbb: freed IRQ 88
Feb 22 05:02:09 beaglebone lircd-0.9.3[2124]: Info: removed client

what is meant by Info: Cannot configure the rc device for /dev/lirc0

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: lirc for beaglebone help

Bengt Martensson-2
In reply to this post by gurpartap
On 02/22/17 09:11, gurpartap wrote:

> I am using local remote. I create config file with irrecord and copy it to
> /etc/lirc/lircd.conf. My config file looks like below:
>
>           begin remote
>
>   name  rc5
>   driver default
>   bits           64
>   eps            30
>   aeps          100
>
>   one             0     0
>   zero            0     0

The last two lines are nonsense and indicates that you did something
severely wrong when generating it. What device did you select?

 > what is meant by Info: Cannot configure the rc device for /dev/lirc0

IIRC, this is not a problem.

Greetz,

Bengt


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
Loading...