BBB and lirc-0.10?

24 views
Skip to first unread message

bern...@gmail.com

unread,
Jul 22, 2020, 6:16:46 AM7/22/20
to BeagleBoard
Hi,
I would like to use lirc with BBB and GPIO port 66.
I installed lirc 0.10.1-5.2 on my Deian buster 10.4.
debian@beaglebone:~$ sudo systemctl status lircd
lircd.service - Flexible IR remote input/output application support
   
Loaded: loaded (/lib/systemd/system/lircd.service; enabled; vendor preset: enabled)
   
Active: active (running) since Wed 2020-07-22 10:54:49 CEST; 1h 4min ago
     
Docs: man:lircd(8)
           http
://lirc.org/html/configure.html
 
Main PID: 651 (lircd)
   
Tasks: 2 (limit: 1029)
   
Memory: 2.7M
   
CGroup: /system.slice/lircd.service
           
└─651 /usr/sbin/lircd --nodaemon


Jul 22 10:54:49 beaglebone lircd-0.10.1[651]: Notice: /etc/lirc/lircd.conf.d/devinput.lircd.conf: devinput-64: Multiple values for same code: BTN_WHEEL
Jul 22 10:54:49 beaglebone lircd-0.10.1[651]: Info: Using remote: devinput-32.
Jul 22 10:54:49 beaglebone lircd-0.10.1[651]: Notice: /etc/lirc/lircd.conf.d/devinput.lircd.conf: devinput-32: Multiple values for same code: BTN_MISC
Jul 22 10:54:49 beaglebone lircd-0.10.1[651]: Notice: /etc/lirc/lircd.conf.d/devinput.lircd.conf: devinput-32: Multiple values for same code: BTN_MOUSE
Jul 22 10:54:49 beaglebone lircd-0.10.1[651]: Notice: /etc/lirc/lircd.conf.d/devinput.lircd.conf: devinput-32: Multiple values for same code: BTN_SOUTH
Jul 22 10:54:49 beaglebone lircd-0.10.1[651]: Notice: /etc/lirc/lircd.conf.d/devinput.lircd.conf: devinput-32: Multiple values for same code: BTN_TOOL_PEN
Jul 22 10:54:49 beaglebone lircd-0.10.1[651]: Notice: /etc/lirc/lircd.conf.d/devinput.lircd.conf: devinput-32: Multiple values for same code: BTN_TRIGGER
Jul 22 10:54:49 beaglebone lircd-0.10.1[651]: Notice: /etc/lirc/lircd.conf.d/devinput.lircd.conf: devinput-32: Multiple values for same code: BTN_TRIGGER_HAPP
Jul 22 10:54:49 beaglebone lircd-0.10.1[651]: Notice: /etc/lirc/lircd.conf.d/devinput.lircd.conf: devinput-32: Multiple values for same code: BTN_WHEEL
Jul 22 10:54:49 beaglebone lircd-0.10.1[651]: Notice: lircd(default) ready, using /var/run/lirc/lircd
lines
1-21/21 (END)

I've heard that  kernel from 4.19 should have lirc module build-in. 
I see that in the directory '/lib/modules/5.4.47/kernel/drivers/media/rc' I have got 'gpio-ir-recv.ko' module
How to use/activate it to use pin=66?
my /etc/lirc.lirc_options.conf:
# These are the default options to lircd, if installed as
# /etc/lirc/lirc_options.conf. See the lircd(8) and lircmd(8)
# manpages for info on the different options.
#
# Some tools including mode2 and irw uses values such as
# driver, device, plugindir and loglevel as fallback values
# in not defined elsewhere.


[lircd]
nodaemon        
= False
driver          
= default
device          
= /dev/lirc0
output          
= /var/run/lirc/lircd
pidfile        
= /var/run/lirc/lircd.pid
plugindir      
= /usr/lib/arm-linux-gnueabihf/lirc/plugins
permission      
= 666
allow
-simulate  = No
repeat
-max      = 600
#effective-user =
#listen         = [address:]port
#connect        = host[:port]
#loglevel       = 6
#release        = true
#release_suffix = _EVUP
#logfile        = ...
#driver-options = ...


[lircmd]
uinput          
= False
nodaemon        
= False


# [modinit]
# code = /usr/sbin/modprobe lirc_serial
# code1 = /usr/bin/setfacl -m g:lirc:rw /dev/uinput
# code2 = ...


# [lircd-uinput]
# add-release-events = False
# release-timeout    = 200
# release-suffix     = _EVUP


Thanks and regards, 

Reply all
Reply to author
Forward
0 new messages