hi folks,
has come across definitive lirc blaster tutorial 4.x kernels? there's many different versions/gotchas/snafus out there going 2012 i'm tying myself in knots.
should easy - stock pi2 w/noobs 1.9, kernel 4.1.19. /boot/config.txt changed enable lirc-rpi overlay , add overrides hardware blaster on gpio pin 22:
, 'lirc_dev' in /etc/modules.
via dmesg is:
there's no /dev/lirc0 created.
if use latest raspbian instead @ least see it's attempting use gpio 23 correctly input
should there difference between raspbian , noobs, kernel wise? know rtl8188cus usb wifi adapter doesn't work under rasbpian under noobs....
cheers!
has come across definitive lirc blaster tutorial 4.x kernels? there's many different versions/gotchas/snafus out there going 2012 i'm tying myself in knots.
should easy - stock pi2 w/noobs 1.9, kernel 4.1.19. /boot/config.txt changed enable lirc-rpi overlay , add overrides hardware blaster on gpio pin 22:
code: select all
# uncomment enable lirc-rpi module dtoverlay=lirc-rpi dtparam=gpio_in_pin=23 dtparam=gpio_out_pin=22 dtparam=gpio_in_pull=1 dtparam=debug=1
via dmesg is:
code: select all
[ 4.485846] systemd[1]: cannot add dependency job unit lircd.service, ignoring: unit lircd.service failed load: no such file or directory. [ 5.967927] lirc_dev: ir remote control driver registered, major 245
if use latest raspbian instead @ least see it's attempting use gpio 23 correctly input
code: select all
pi@raspberrypi:~$ dmesg | grep lirc [ 5.670514] lirc_dev: ir remote control driver registered, major 244 [ 5.678239] lirc_rpi: module staging directory, quality unknown, have been warned. [ 5.680862] lirc_rpi: manually using active low receiver on gpio pin 23 [ 5.686420] lirc_rpi lirc_rpi: lirc_dev: driver lirc_rpi registered @ minor = 0 [ 5.686485] lirc_rpi: driver registered! pi@raspberrypi:~$ sudo find /lib -name 'lirc_rpi*' /lib/modules/4.1.19+/kernel/drivers/staging/media/lirc/lirc_rpi.ko /lib/modules/4.1.19-v7+/kernel/drivers/staging/media/lirc/lirc_rpi.ko pi@raspberrypi:~$ uname -a linux raspberrypi 4.1.19-v7+ #858 smp tue mar 15 15:56:00 gmt 2016 armv7l gnu/linux pi@raspberrypi:~$ modinfo lirc_rpi filename: /lib/modules/4.1.19-v7+/kernel/drivers/staging/media/lirc/lirc_rpi.ko license: gpl author: michael bishop <cleverca22@gmail.com> author: aron robert szabo <aron@reon.hu> description: infra-red receiver , blaster driver raspberry pi gpio. srcversion: 77ea672c6fb28a891341c77 alias: of:n*t*crpi,lirc-rpi* depends: lirc_dev staging: y intree: y vermagic: 4.1.19-v7+ smp mod_unload modversions armv7 parm: gpio_out_pin:gpio output/transmitter pin number of bcm processor. (default 17 (int) parm: gpio_in_pin:gpio input pin number of bcm processor. (default 18 (int) parm: gpio_in_pull:gpio input pin pull configuration. (0 = off, 1 = up, 2 = down, default down) (int) parm: sense:override autodetection of ir receiver circuit (0 = active high, 1 = active low ) (int) parm: softcarrier:software carrier (0 = off, 1 = on, default on) (bool) parm: invert:invert output (0 = off, 1 = on, default off (bool) parm: debug:enable debugging messages (bool)
cheers!
tied well. read 40 threads. still dead, despite having working on pi configured year ago.
raspberrypi
Comments
Post a Comment