Well that link worked, now I’ve got to figure out the IR part… I believe the ir is on GPIO 17 so I’ll mess around with that… Thanks for the help so far.
For the time being you can edit index.js and change line 224 to
exec('/usr/bin/sudo /usr/bin/dtoverlay lirc-rpi gpio_in_pin=17', {uid:1000,gid:1000},
Assuming you have extracted the downloaded ir_controller.zip file to ~/ir_controller you can do it as follows:cd ir_controller
nano index.js
With
ctrl+w
search for “gpio_in_pin=25” and edit the pin number as needed.
Save the file withctrl+x
y
return
Then refresh the plugin
volumio plugin refresh
and reboot.
For all parties involved, i’m still unable to use either Apple A1156 or A1294 Remotes despite using ver 1.2 of the plugin.
I’m using a Vishay diode connected to the recommended pins. I’ve tested it with a multimeter, everything is fine.
Xbox One remote and Samsung remotes are working fine on my setup. I’m just having the issue with the apple remotes.
I was able to make a working .conf file for the A1294 thanks to your instructions.
My A1156 template works but with a few oddities.
I made a conf file for the Hauppauge remote already used within OSMC as well.
lircd.conf
# Please make this file available to others
# by sending it to <lirc@bartelmus.de>
#
# this config file was automatically generated
# using lirc-0.9.0-pre1(default) on Tue Nov 20 15:29:57 2018
#
# contributed by
#
# brand: /home/volumio/Hauppauge_lircd.conf
# model no. of remote control:
# devices being controlled by this remote:
#
begin remote
name /home/volumio/Hauppauge_lircd.conf
bits 13
flags RC5|CONST_LENGTH
eps 30
aeps 100
one 887 878
zero 887 878
plead 900
gap 113518
toggle_bit_mask 0x0
begin codes
KEY_POWER 0x1FBD
KEY_UP 0x1794
KEY_DOWN 0x1F95
KEY_LEFT 0x1796
KEY_RIGHT 0x1F97
KEY_OK 0x17A5
KEY_VOL+ 0x1F90
KEY_VOL- 0x1791
KEY_MUTE 0x1F8F
KEY_CHANNEL+ 0x17A0
KEY_CHANNEL- 0x1FA1
KEY_STOP 0x17B6
KEY_REW 0x1FB2
KEY_FF 0x17B4 0x1FB4
KEY_PREVIOUS 0x17A4
KEY_NEXT 0x1F9E
KEY_PLAY 0x17B5
KEY_PAUSE 0x1FB0
end codes
end remote
lircrc
begin
prog = irexec
button = KEY_OK
config = /usr/local/bin/volumio toggle
end
begin
prog = irexec
button = KEY_VOL+
config = /usr/local/bin/volumio volume plus
end
begin
prog = irexec
button = KEY_VOL-
config = /usr/local/bin/volumio volume minus
end
begin
prog = irexec
button = KEY_NEXT
config = /usr/local/bin/volumio next
end
begin
prog = irexec
button = KEY_PREVIOUS
config = /usr/local/bin/volumio previous
end
begin
prog = irexec
button = KEY_MUTE
config = /usr/local/bin/volumio volume toggle
repeat = 0
end
begin
prog = irexec
button = KEY_FF
config = /usr/local/bin/volumio seek plus
end
begin
prog = irexec
button = KEY_REW
config = /usr/local/bin/volumio seek minus
end
begin
prog = irexec
button = KEY_BACK
config = /usr/local/bin/volumio repeat
end
begin
prog = irexec
button = KEY_PLAY
config = /usr/local/bin/volumio play
end
begin
prog= irexec
button = KEY_STOP
config = /usr/local/bin/volumio stop
end
begin
prog = irexec
button = KEY_POWER
config = shutdown -h now
end
begin
prog = irexec
button = KEY_PAUSE
config = /usr/local/bin/volumio pause
end
Last question :
Many remotes have numbered keys. Is there a specific command that i could invoke and link to the digits in order to call a specific radio URL ?
For instance, The 1 button would play BBC Radio 1, 2 for radio 2, etc…
Hi everybody,
my problem is that I can’t avoid double commands with lirc.
I have RPi 3B+ with Allo Boss DAC and I just purchased a RemotePi Board to power on and off but moreover to control Volumio with IR Remote. Note that the BOSS only exposes some GPIO pins so I had to make some hardware change:
I connected
+5V to +5V
GND to GND
and I changed as follows data transmission:
GPIO14 of RemotePi to GPIO24 of DAC (for the shutdown signal and TxD for the serial communication)
GPIO15 of RemotePi to GPIO27 of DAC (for the shutdown signal and RxD for the serial communication) GPIO18 of RemotePi to GPIO17 of DAC for the IR receiver
I followed the instructions on the website so:
I somehow installed the hardware and as the following configuration to use GPIO 17 instead of GPIO 18 for the IR receiver (as stated here msldigital.com/pages/suppor … -plus-2015) seemed not to work i DID NOT DO it
[code]In most modern OS distributions (tested in OpenElec and Volumio) this should be achieved by editing the config.txt in the root of the SD card and changing the line
dtoverlay=gpio-ir
To
dtoverlay=gpio-ir,gpio_pin=17
for older OS distros that still use LIRC the change would be:
dtoverlay=lirc-rpi
To
dtoverlay=lirc-rpi,gpio_in_pin=17[/code] I instead only modified /data/plugins/accessory/ir_controller/index.js at line 221:
221 exec('/usr/bin/sudo /usr/bin/dtoverlay lirc-rpi gpio_in_pin=25', {uid:1000,gid:1000},
I changed gpio_in_pin=17 as my IR sensor is on GPIO 17 as suggested earlier in this thread, and this worked.
I installed the shutdown scripts manually as stated here msldigital.com/pages/shutdo … or-volumio , not using the RemotePi plugin, modifying and/or creating
/etc/rc.local
/etc/irswitch.sh
/etc/shutdown.sh
/etc/systemd/system/irswitch2.service
I configured the RemotePi Board to power on and off using my remote with some button press
I configured my remote to navigate the menus installing the IR Remote Controller 1.2.0 plugin and manually configuring it as described here msldigital.com/pages/support-for-remote.
Basically I created my lircd.conf e lircrc in my configurations folder.
now the problem is that I have double commands even if I set repeat and delay oprions in lircrc.
irw also displais this behavoiur.
I performed a dmesg and this is the output:
[ 10.735064] snd-allo-boss-dac soc:sound: ASoC: CODEC DAI pcm512x-hifi not registered - will retry
[ 10.735087] snd-allo-boss-dac soc:sound: snd_soc_register_card() failed: -517
[ 11.040073] pcm512x 1-004d: 1-004d supply AVDD not found, using dummy regulator
[ 11.040140] pcm512x 1-004d: 1-004d supply DVDD not found, using dummy regulator
[ 11.040189] pcm512x 1-004d: 1-004d supply CPVDD not found, using dummy regulator
[ 11.158647] snd-allo-boss-dac soc:sound: pcm512x-hifi <-> 3f203000.i2s mapping ok
[ 11.238824] brcmfmac: F1 signature read @0x18000000=0x15264345
[ 11.246994] brcmfmac: brcmf_fw_map_chip_to_name: using brcm/brcmfmac43455-sdio.bin for chip 0x004345(17221) rev 0x000006
[ 11.250871] usbcore: registered new interface driver brcmfmac
[ 11.655384] random: crng init done
[ 11.655398] random: 7 urandom warning(s) missed due to ratelimiting
[ 11.672639] systemd-journald[168]: Received request to flush runtime journal from PID 1
[ 11.725081] brcmfmac: brcmf_c_preinit_dcmds: Firmware version = wl0: Feb 27 2018 03:15:32 version 7.45.154 (r684107 CY) FWID 01-4fbe0b04
[ 11.725632] brcmfmac: brcmf_c_preinit_dcmds: CLM version = API: 12.2 Data: 9.10.105 Compiler: 1.29.4 ClmImport: 1.36.3 Creation: 2018-03-09 18:56:28
[ 12.345306] brcmfmac: power management disabled
[ 13.530117] brcmfmac: power management disabled
[ 14.245523] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[ 14.730982] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 14.857497] nf_conntrack version 0.5.0 (16384 buckets, 65536 max)
[ 16.633604] Under-voltage detected! (0x00050005)
[ 27.041852] Voltage normalised (0x00000000)
[ 31.202005] Under-voltage detected! (0x00050005)
[ 33.255074] lirc_dev: IR Remote Control driver registered, major 243
[ 33.273265] lirc_rpi: module is from the staging directory, the quality is unknown, you have been warned.
[ 34.331836] lirc_rpi: auto-detected active low receiver on GPIO pin 17
[ 34.332004] lirc_rpi lirc_rpi: lirc_dev: driver lirc_rpi registered at minor = 0
[ 34.332007] lirc_rpi: driver registered!
[ 34.441276] input: lircd as /devices/virtual/input/input0
[ 35.351861] Voltage normalised (0x00000000)
[ 42.357426] input: lircd as /devices/virtual/input/input1
so, is it correct that I have both
/devices/virtual/input/input0
and
/devices/virtual/input/input1 ?
What should I do?
ATM I have no access to my Raspberry so cannot check but I guess: No.
Don’t know if it is related, but your dmesg output shows under-voltage problems. Could you try running the system with a sufficient power supply and have a look if the issue remains?
So I thought I had one problem, now I discover I have two.
I would exclude the PSU: it is the Raspberry offcial one, I guess it is of good quality.
I did a couple rebooting and the situations seems not so good:
[ 9.238229] systemd[1]: Set hostname to <volumio>.
[ 9.313975] random: systemd-sysv-ge: uninitialized urandom read (16 bytes read)
[ 9.429115] random: systemd: uninitialized urandom read (16 bytes read)
[ 9.509121] systemd[1]: [/lib/systemd/system/mpd.service:18] Unknown lvalue 'ProtectKernelTunables' in section 'Service'
[ 9.509188] systemd[1]: [/lib/systemd/system/mpd.service:19] Unknown lvalue 'ProtectControlGroups' in section 'Service'
[ 9.509246] systemd[1]: [/lib/systemd/system/mpd.service:20] Unknown lvalue 'ProtectKernelModules' in section 'Service'
[ 9.509322] systemd[1]: [/lib/systemd/system/mpd.service:23] Unknown lvalue 'RestrictNamespaces' in section 'Service'
[ 9.569387] systemd[1]: Cannot add dependency job for unit display-manager.service, ignoring: Unit display-manager.service failed to load: No such file or directory.
[ 9.572880] systemd[1]: Starting Forward Password Requests to Wall Directory Watch.
[ 9.917288] fuse init (API version 7.26)
[ 10.080128] i2c /dev entries driver
[ 10.202421] systemd-udevd[195]: starting version 215
[ 10.792050] snd_bcm2835: module is from the staging directory, the quality is unknown, you have been warned.
[ 10.793157] snd_bcm2835: unknown parameter 'index' ignored
[ 10.794718] bcm2835_alsa bcm2835_alsa: card created with 8 channels
[ 10.970760] snd-allo-boss-dac soc:sound: ASoC: CODEC DAI pcm512x-hifi not registered - will retry
[ 10.970780] snd-allo-boss-dac soc:sound: snd_soc_register_card() failed: -517
[ 11.187021] pcm512x 1-004d: 1-004d supply AVDD not found, using dummy regulator
[ 11.187085] pcm512x 1-004d: 1-004d supply DVDD not found, using dummy regulator
[ 11.187131] pcm512x 1-004d: 1-004d supply CPVDD not found, using dummy regulator
[ 11.315217] brcmfmac: F1 signature read @0x18000000=0x15264345
[ 11.315360] snd-allo-boss-dac soc:sound: pcm512x-hifi <-> 3f203000.i2s mapping ok
[ 11.323187] brcmfmac: brcmf_fw_map_chip_to_name: using brcm/brcmfmac43455-sdio.bin for chip 0x004345(17221) rev 0x000006
[ 11.325272] usbcore: registered new interface driver brcmfmac
[ 11.730925] random: crng init done
[ 11.730939] random: 7 urandom warning(s) missed due to ratelimiting
[ 11.760401] systemd-journald[174]: Received request to flush runtime journal from PID 1
[ 11.812629] brcmfmac: brcmf_c_preinit_dcmds: Firmware version = wl0: Feb 27 2018 03:15:32 version 7.45.154 (r684107 CY) FWID 01-4fbe0b04
[ 11.813175] brcmfmac: brcmf_c_preinit_dcmds: CLM version = API: 12.2 Data: 9.10.105 Compiler: 1.29.4 ClmImport: 1.36.3 Creation: 2018-03-09 18:56:28
[ 12.676234] brcmfmac: power management disabled
[ 13.269766] brcmfmac: power management disabled
[ 13.989478] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[ 14.586966] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 14.648799] nf_conntrack version 0.5.0 (16384 buckets, 65536 max)
[ 16.631882] Under-voltage detected! (0x00050005) <---
[ 29.111865] Voltage normalised (0x00000000)
[ 31.191979] Under-voltage detected! (0x00050005) <---
[ 34.496243] lirc_dev: IR Remote Control driver registered, major 243
[ 34.510996] lirc_rpi: module is from the staging directory, the quality is unknown, you have been warned.
[ 35.581918] lirc_rpi: auto-detected active low receiver on GPIO pin 17
[ 35.582510] lirc_rpi lirc_rpi: lirc_dev: driver lirc_rpi registered at minor = 0
[ 35.582520] lirc_rpi: driver registered!
[ 35.796440] input: lircd as /devices/virtual/input/input0
[ 41.591911] Voltage normalised (0x00000000)
[ 44.470527] input: lircd as /devices/virtual/input/input1
[ 45.751990] Under-voltage detected! (0x00050005) <---
[ 54.072017] Voltage normalised (0x00000000)
[ 8.505340] initramfs: With Option:
[ 8.614809] initramfs: VOLUMIO_VERSION="2.555"
[ 8.614967] initramfs: Finish initramfs, continue booting Volumio
[ 9.045153] random: systemd: uninitialized urandom read (16 bytes read)
[ 9.048932] systemd[1]: systemd 215 running in system mode. (+PAM +AUDIT +SELINUX +IMA +SYSVINIT +LIBCRYPTSETUP +GCRYPT +ACL +XZ -SECCOMP -APPARMOR)
[ 9.049239] systemd[1]: Detected architecture 'arm'.
[ 9.190589] NET: Registered protocol family 10
[ 9.191856] Segment Routing with IPv6
[ 9.192034] systemd[1]: Inserted module 'ipv6'
[ 9.204851] systemd[1]: Set hostname to <volumio>.
[ 9.295212] random: systemd-sysv-ge: uninitialized urandom read (16 bytes read)
[ 9.389160] random: systemd: uninitialized urandom read (16 bytes read)
[ 9.468522] systemd[1]: [/lib/systemd/system/mpd.service:18] Unknown lvalue 'ProtectKernelTunables' in section 'Service'
[ 9.468587] systemd[1]: [/lib/systemd/system/mpd.service:19] Unknown lvalue 'ProtectControlGroups' in section 'Service'
[ 9.468645] systemd[1]: [/lib/systemd/system/mpd.service:20] Unknown lvalue 'ProtectKernelModules' in section 'Service'
[ 9.468721] systemd[1]: [/lib/systemd/system/mpd.service:23] Unknown lvalue 'RestrictNamespaces' in section 'Service'
[ 9.528427] systemd[1]: Cannot add dependency job for unit display-manager.service, ignoring: Unit display-manager.service failed to load: No such file or directory.
[ 9.531885] systemd[1]: Starting Forward Password Requests to Wall Directory Watch.
[ 9.855731] fuse init (API version 7.26)
[ 9.876545] systemd-udevd[177]: starting version 215
[ 9.929377] i2c /dev entries driver
[ 10.605680] snd_bcm2835: module is from the staging directory, the quality is unknown, you have been warned.
[ 10.606741] snd_bcm2835: unknown parameter 'index' ignored
[ 10.608448] bcm2835_alsa bcm2835_alsa: card created with 8 channels
[ 10.966697] snd-allo-boss-dac soc:sound: ASoC: CODEC DAI pcm512x-hifi not registered - will retry
[ 10.966717] snd-allo-boss-dac soc:sound: snd_soc_register_card() failed: -517
[ 11.082561] pcm512x 1-004d: 1-004d supply AVDD not found, using dummy regulator
[ 11.082628] pcm512x 1-004d: 1-004d supply DVDD not found, using dummy regulator
[ 11.082706] pcm512x 1-004d: 1-004d supply CPVDD not found, using dummy regulator
[ 11.101729] brcmfmac: F1 signature read @0x18000000=0x15264345
[ 11.112712] brcmfmac: brcmf_fw_map_chip_to_name: using brcm/brcmfmac43455-sdio.bin for chip 0x004345(17221) rev 0x000006
[ 11.117725] usbcore: registered new interface driver brcmfmac
[ 11.205024] snd-allo-boss-dac soc:sound: pcm512x-hifi <-> 3f203000.i2s mapping ok
[ 11.554163] random: crng init done
[ 11.554178] random: 7 urandom warning(s) missed due to ratelimiting
[ 11.608009] systemd-journald[167]: Received request to flush runtime journal from PID 1
[ 11.622728] brcmfmac: brcmf_c_preinit_dcmds: Firmware version = wl0: Feb 27 2018 03:15:32 version 7.45.154 (r684107 CY) FWID 01-4fbe0b04
[ 11.623317] brcmfmac: brcmf_c_preinit_dcmds: CLM version = API: 12.2 Data: 9.10.105 Compiler: 1.29.4 ClmImport: 1.36.3 Creation: 2018-03-09 18:56:28
[ 12.316921] brcmfmac: power management disabled
[ 13.492108] brcmfmac: power management disabled
[ 14.201885] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[ 14.722483] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 15.020913] nf_conntrack version 0.5.0 (16384 buckets, 65536 max)
[ 16.631913] Under-voltage detected! (0x00050005) <--
[ 35.991030] lirc_dev: IR Remote Control driver registered, major 243
[ 36.015839] lirc_rpi: module is from the staging directory, the quality is unknown, you have been warned.
[ 37.071934] lirc_rpi: auto-detected active low receiver on GPIO pin 17
[ 37.072263] lirc_rpi lirc_rpi: lirc_dev: driver lirc_rpi registered at minor = 0
[ 37.072270] lirc_rpi: driver registered!
[ 37.302683] input: lircd as /devices/virtual/input/input0
[ 41.591919] Voltage normalised (0x00000000)
[ 45.752009] Under-voltage detected! (0x00050005)<---
[ 46.427777] input: lircd as /devices/virtual/input/input1
[ 49.911995] Voltage normalised (0x00000000)
[ 51.992063] Under-voltage detected! (0x00050005) <---
[ 56.152039] Voltage normalised (0x00000000)
[ 420.155200] rpi_firmware_get_throttled: 3 callbacks suppressed[/b] <---
[ 420.155207] Under-voltage detected! (0x00050005)[/b] <---
[ 426.395198] rpi_firmware_get_throttled: 3 callbacks suppressed <---
[ 426.395202] Voltage normalised (0x00000000)
the fact is that if I power directly the Raspberry and detach the external power button from the RemotePi Board it seems to get better from the electric point of view, but not for software/virtual devices:
[ 10.076914] i2c /dev entries driver
[ 10.185569] systemd-udevd[195]: starting version 215
[ 10.705220] snd_bcm2835: module is from the staging directory, the quality is unknown, you have been warned.
[ 10.706523] snd_bcm2835: unknown parameter 'index' ignored
[ 10.713081] bcm2835_alsa bcm2835_alsa: card created with 8 channels
[ 10.757289] snd-allo-boss-dac soc:sound: ASoC: CODEC DAI pcm512x-hifi not registered - will retry
[ 10.757311] snd-allo-boss-dac soc:sound: snd_soc_register_card() failed: -517
[ 11.032246] snd-allo-boss-dac soc:sound: ASoC: CODEC DAI pcm512x-hifi not registered - will retry
[ 11.032265] snd-allo-boss-dac soc:sound: snd_soc_register_card() failed: -517
[ 11.035036] brcmfmac: F1 signature read @0x18000000=0x15264345
[ 11.042054] brcmfmac: brcmf_fw_map_chip_to_name: using brcm/brcmfmac43455-sdio.bin for chip 0x004345(17221) rev 0x000006
[ 11.044568] usbcore: registered new interface driver brcmfmac
[ 11.044922] snd-allo-boss-dac soc:sound: ASoC: CODEC DAI pcm512x-hifi not registered - will retry
[ 11.044938] snd-allo-boss-dac soc:sound: snd_soc_register_card() failed: -517
[ 11.113967] pcm512x 1-004d: 1-004d supply AVDD not found, using dummy regulator
[ 11.114036] pcm512x 1-004d: 1-004d supply DVDD not found, using dummy regulator
[ 11.114084] pcm512x 1-004d: 1-004d supply CPVDD not found, using dummy regulator
[ 11.224067] snd-allo-boss-dac soc:sound: pcm512x-hifi <-> 3f203000.i2s mapping ok
[ 11.561281] random: crng init done
[ 11.561297] random: 7 urandom warning(s) missed due to ratelimiting
[ 11.675236] brcmfmac: brcmf_c_preinit_dcmds: Firmware version = wl0: Feb 27 2018 03:15:32 version 7.45.154 (r684107 CY) FWID 01-4fbe0b04
[ 11.675859] brcmfmac: brcmf_c_preinit_dcmds: CLM version = API: 12.2 Data: 9.10.105 Compiler: 1.29.4 ClmImport: 1.36.3 Creation: 2018-03-09 18:56:28
[ 11.703608] systemd-journald[167]: Received request to flush runtime journal from PID 1
[ 12.518733] brcmfmac: power management disabled
[ 13.099830] brcmfmac: power management disabled
[ 13.795610] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[ 14.310012] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 14.388850] nf_conntrack version 0.5.0 (16384 buckets, 65536 max)
[ 28.455471] lirc_dev: IR Remote Control driver registered, major 243
[ 28.459012] lirc_rpi: module is from the staging directory, the quality is unknown, you have been warned.
[ 29.402009] bcm2835-i2s 3f203000.i2s: I2S SYNC error!
[ 29.521773] lirc_rpi: auto-detected active low receiver on GPIO pin 17
[ 29.521915] lirc_rpi lirc_rpi: lirc_dev: driver lirc_rpi registered at minor = 0
[ 29.521918] lirc_rpi: driver registered!
[ 29.629329] input: lircd as /devices/virtual/input/input0<---
[ 49.752589] bcm2835-dma 3f007000.dma: DMA transfer could not be terminated
[ 52.719664] input: lircd as /devices/virtual/input/input1 <---
Second reboot:
[ 9.275855] systemd[1]: Set hostname to <volumio>.
[ 9.372047] random: systemd-sysv-ge: uninitialized urandom read (16 bytes read)
[ 9.455729] random: systemd: uninitialized urandom read (16 bytes read)
[ 9.534604] systemd[1]: [/lib/systemd/system/mpd.service:18] Unknown lvalue 'ProtectKernelTunables' in section 'Service'
[ 9.534668] systemd[1]: [/lib/systemd/system/mpd.service:19] Unknown lvalue 'ProtectControlGroups' in section 'Service'
[ 9.534727] systemd[1]: [/lib/systemd/system/mpd.service:20] Unknown lvalue 'ProtectKernelModules' in section 'Service'
[ 9.534803] systemd[1]: [/lib/systemd/system/mpd.service:23] Unknown lvalue 'RestrictNamespaces' in section 'Service'
[ 9.593764] systemd[1]: Cannot add dependency job for unit display-manager.service, ignoring: Unit display-manager.service failed to load: No such file or directory.
[ 9.597099] systemd[1]: Starting Forward Password Requests to Wall Directory Watch.
[ 9.966837] fuse init (API version 7.26)
[ 10.076914] i2c /dev entries driver
[ 10.185569] systemd-udevd[195]: starting version 215
[ 10.705220] snd_bcm2835: module is from the staging directory, the quality is unknown, you have been warned.
[ 10.706523] snd_bcm2835: unknown parameter 'index' ignored
[ 10.713081] bcm2835_alsa bcm2835_alsa: card created with 8 channels
[ 10.757289] snd-allo-boss-dac soc:sound: ASoC: CODEC DAI pcm512x-hifi not registered - will retry
[ 10.757311] snd-allo-boss-dac soc:sound: snd_soc_register_card() failed: -517
[ 11.032246] snd-allo-boss-dac soc:sound: ASoC: CODEC DAI pcm512x-hifi not registered - will retry
[ 11.032265] snd-allo-boss-dac soc:sound: snd_soc_register_card() failed: -517
[ 11.035036] brcmfmac: F1 signature read @0x18000000=0x15264345
[ 11.042054] brcmfmac: brcmf_fw_map_chip_to_name: using brcm/brcmfmac43455-sdio.bin for chip 0x004345(17221) rev 0x000006
[ 11.044568] usbcore: registered new interface driver brcmfmac
[ 11.044922] snd-allo-boss-dac soc:sound: ASoC: CODEC DAI pcm512x-hifi not registered - will retry
[ 11.044938] snd-allo-boss-dac soc:sound: snd_soc_register_card() failed: -517
[ 11.113967] pcm512x 1-004d: 1-004d supply AVDD not found, using dummy regulator
[ 11.114036] pcm512x 1-004d: 1-004d supply DVDD not found, using dummy regulator
[ 11.114084] pcm512x 1-004d: 1-004d supply CPVDD not found, using dummy regulator
[ 11.224067] snd-allo-boss-dac soc:sound: pcm512x-hifi <-> 3f203000.i2s mapping ok
[ 11.561281] random: crng init done
[ 11.561297] random: 7 urandom warning(s) missed due to ratelimiting
[ 11.675236] brcmfmac: brcmf_c_preinit_dcmds: Firmware version = wl0: Feb 27 2018 03:15:32 version 7.45.154 (r684107 CY) FWID 01-4fbe0b04
[ 11.675859] brcmfmac: brcmf_c_preinit_dcmds: CLM version = API: 12.2 Data: 9.10.105 Compiler: 1.29.4 ClmImport: 1.36.3 Creation: 2018-03-09 18:56:28
[ 11.703608] systemd-journald[167]: Received request to flush runtime journal from PID 1
[ 12.518733] brcmfmac: power management disabled
[ 13.099830] brcmfmac: power management disabled
[ 13.795610] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[ 14.310012] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 14.388850] nf_conntrack version 0.5.0 (16384 buckets, 65536 max)
[ 28.455471] lirc_dev: IR Remote Control driver registered, major 243
[ 28.459012] lirc_rpi: module is from the staging directory, the quality is unknown, you have been warned.
[ 29.402009] bcm2835-i2s 3f203000.i2s: I2S SYNC error!
[ 29.521773] lirc_rpi: auto-detected active low receiver on GPIO pin 17
[ 29.521915] lirc_rpi lirc_rpi: lirc_dev: driver lirc_rpi registered at minor = 0
[ 29.521918] lirc_rpi: driver registered!
[ 29.629329] input: lircd as /devices/virtual/input/input0 <---
[ 49.752589] bcm2835-dma 3f007000.dma: DMA transfer could not be terminated
[ 52.719664] input: lircd as /devices/virtual/input/input1 <---
[ 1996.683644] lirc_rpi: AIEEEE: 1 1 5c880190 5c880177 7ad60 d5fc5
[ 2170.519825] lirc_rpi: AIEEEE: 0 0 5c88023e 5c880198 52764 e7ce4
while disconnecting +5V power off the RemotePi but leaving other pins connected:
[ 9.252506] systemd[1]: Set hostname to <volumio>.
[ 9.350894] random: systemd-sysv-ge: uninitialized urandom read (16 bytes read)
[ 9.441975] random: systemd: uninitialized urandom read (16 bytes read)
[ 9.521784] systemd[1]: [/lib/systemd/system/mpd.service:18] Unknown lvalue 'ProtectKernelTunables' in section 'Service'
[ 9.521853] systemd[1]: [/lib/systemd/system/mpd.service:19] Unknown lvalue 'ProtectControlGroups' in section 'Service'
[ 9.521911] systemd[1]: [/lib/systemd/system/mpd.service:20] Unknown lvalue 'ProtectKernelModules' in section 'Service'
[ 9.521987] systemd[1]: [/lib/systemd/system/mpd.service:23] Unknown lvalue 'RestrictNamespaces' in section 'Service'
[ 9.581972] systemd[1]: Cannot add dependency job for unit display-manager.service, ignoring: Unit display-manager.service failed to load: No such file or directory.
[ 9.585354] systemd[1]: Starting Forward Password Requests to Wall Directory Watch.
[ 9.893256] fuse init (API version 7.26)
[ 10.087812] i2c /dev entries driver
[ 10.223449] systemd-udevd[198]: starting version 215
[ 10.749988] snd_bcm2835: module is from the staging directory, the quality is unknown, you have been warned.
[ 10.751228] snd_bcm2835: unknown parameter 'index' ignored
[ 10.753049] bcm2835_alsa bcm2835_alsa: card created with 8 channels
[ 10.775604] snd-allo-boss-dac soc:sound: ASoC: CPU DAI (null) not registered - will retry
[ 10.775623] snd-allo-boss-dac soc:sound: snd_soc_register_card() failed: -517
[ 10.776334] snd-allo-boss-dac soc:sound: ASoC: CODEC DAI pcm512x-hifi not registered - will retry
[ 10.776350] snd-allo-boss-dac soc:sound: snd_soc_register_card() failed: -517
[ 11.068158] pcm512x 1-004d: 1-004d supply AVDD not found, using dummy regulator
[ 11.068227] pcm512x 1-004d: 1-004d supply DVDD not found, using dummy regulator
[ 11.068292] pcm512x 1-004d: 1-004d supply CPVDD not found, using dummy regulator
[ 11.199498] snd-allo-boss-dac soc:sound: pcm512x-hifi <-> 3f203000.i2s mapping ok
[ 11.219809] brcmfmac: F1 signature read @0x18000000=0x15264345
[ 11.227843] brcmfmac: brcmf_fw_map_chip_to_name: using brcm/brcmfmac43455-sdio.bin for chip 0x004345(17221) rev 0x000006
[ 11.230194] usbcore: registered new interface driver brcmfmac
[ 11.651593] random: crng init done
[ 11.651608] random: 7 urandom warning(s) missed due to ratelimiting
[ 11.744031] brcmfmac: brcmf_c_preinit_dcmds: Firmware version = wl0: Feb 27 2018 03:15:32 version 7.45.154 (r684107 CY) FWID 01-4fbe0b04
[ 11.744574] brcmfmac: brcmf_c_preinit_dcmds: CLM version = API: 12.2 Data: 9.10.105 Compiler: 1.29.4 ClmImport: 1.36.3 Creation: 2018-03-09 18:56:28
[ 11.758057] systemd-journald[167]: Received request to flush runtime journal from PID 1
[ 12.696492] brcmfmac: power management disabled
[ 13.277525] brcmfmac: power management disabled
[ 13.989231] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[ 14.530379] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 14.947049] nf_conntrack version 0.5.0 (16384 buckets, 65536 max)
[ 28.604085] lirc_dev: IR Remote Control driver registered, major 243
[ 28.607853] lirc_rpi: module is from the staging directory, the quality is unknown, you have been warned.
[ 29.532426] bcm2835-i2s 3f203000.i2s: I2S SYNC error!
[ 29.671791] lirc_rpi: auto-detected active high receiver on GPIO pin 17
[ 29.671943] lirc_rpi lirc_rpi: lirc_dev: driver lirc_rpi registered at minor = 0
[ 29.671946] lirc_rpi: driver registered!
[ 29.780138] input: lircd as /devices/virtual/input/input0 <---
[ 50.392614] bcm2835-dma 3f007000.dma: DMA transfer could not be terminated
[ 53.309246] input: lircd as /devices/virtual/input/input1 <---
first reboot:
[ 9.160181] systemd[1]: Set hostname to <volumio>.
[ 9.254000] random: systemd-sysv-ge: uninitialized urandom read (16 bytes read)
[ 9.352041] random: systemd: uninitialized urandom read (16 bytes read)
[ 9.432469] systemd[1]: [/lib/systemd/system/mpd.service:18] Unknown lvalue 'ProtectKernelTunables' in section 'Service'
[ 9.432534] systemd[1]: [/lib/systemd/system/mpd.service:19] Unknown lvalue 'ProtectControlGroups' in section 'Service'
[ 9.432595] systemd[1]: [/lib/systemd/system/mpd.service:20] Unknown lvalue 'ProtectKernelModules' in section 'Service'
[ 9.432670] systemd[1]: [/lib/systemd/system/mpd.service:23] Unknown lvalue 'RestrictNamespaces' in section 'Service'
[ 9.493230] systemd[1]: Cannot add dependency job for unit display-manager.service, ignoring: Unit display-manager.service failed to load: No such file or directory.
[ 9.496609] systemd[1]: Starting Forward Password Requests to Wall Directory Watch.
[ 9.876699] fuse init (API version 7.26)
[ 9.933597] i2c /dev entries driver
[ 9.946225] systemd-udevd[178]: starting version 215
[ 10.622597] snd_bcm2835: module is from the staging directory, the quality is unknown, you have been warned.
[ 10.623686] snd_bcm2835: unknown parameter 'index' ignored
[ 10.626082] bcm2835_alsa bcm2835_alsa: card created with 8 channels
[ 10.753409] snd-allo-boss-dac soc:sound: ASoC: CODEC DAI pcm512x-hifi not registered - will retry
[ 10.753428] snd-allo-boss-dac soc:sound: snd_soc_register_card() failed: -517
[ 11.050998] pcm512x 1-004d: 1-004d supply AVDD not found, using dummy regulator
[ 11.051060] pcm512x 1-004d: 1-004d supply DVDD not found, using dummy regulator
[ 11.051106] pcm512x 1-004d: 1-004d supply CPVDD not found, using dummy regulator
[ 11.055048] snd-allo-boss-dac soc:sound: ASoC: CODEC DAI pcm512x-hifi not registered - will retry
[ 11.055068] snd-allo-boss-dac soc:sound: snd_soc_register_card() failed: -517
[ 11.059698] brcmfmac: F1 signature read @0x18000000=0x15264345
[ 11.072085] brcmfmac: brcmf_fw_map_chip_to_name: using brcm/brcmfmac43455-sdio.bin for chip 0x004345(17221) rev 0x000006
[ 11.074446] usbcore: registered new interface driver brcmfmac
[ 11.166994] snd-allo-boss-dac soc:sound: pcm512x-hifi <-> 3f203000.i2s mapping ok
[ 11.519541] random: crng init done
[ 11.519556] random: 7 urandom warning(s) missed due to ratelimiting
[ 11.639525] brcmfmac: brcmf_c_preinit_dcmds: Firmware version = wl0: Feb 27 2018 03:15:32 version 7.45.154 (r684107 CY) FWID 01-4fbe0b04
[ 11.640127] brcmfmac: brcmf_c_preinit_dcmds: CLM version = API: 12.2 Data: 9.10.105 Compiler: 1.29.4 ClmImport: 1.36.3 Creation: 2018-03-09 18:56:28
[ 11.665518] systemd-journald[168]: Received request to flush runtime journal from PID 1
[ 12.506020] brcmfmac: power management disabled
[ 13.099003] brcmfmac: power management disabled
[ 13.815230] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[ 14.307545] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 14.957606] nf_conntrack version 0.5.0 (16384 buckets, 65536 max)
[ 28.820856] lirc_dev: IR Remote Control driver registered, major 243
[ 28.843203] lirc_rpi: module is from the staging directory, the quality is unknown, you have been warned.
[ 29.921811] lirc_rpi: auto-detected active high receiver on GPIO pin 17
[ 29.921986] lirc_rpi lirc_rpi: lirc_dev: driver lirc_rpi registered at minor = 0
[ 29.921989] lirc_rpi: driver registered!
[ 30.028034] input: lircd as /devices/virtual/input/input <---
[ 37.947952] input: lircd as /devices/virtual/input/input1 <---
Now I am a bit worried: I bougt the Allo Boss and the original PSU in order to have the best sound quality and stability possible.
I bought the RemotePi ti have the “Comfort” of remote control and (safe) powering on and off. But power now passes through more “wires and components”
It seems like I should renounce to one of these features…
I would need the use case of IR operation in the other direction with the raspi as a IR sender. I have a Volumio raspi, a smartphone using Linn Kazoo and an older, but very good integrated amplifier I want to use for Volumio, but for CD player as well.
My target would be to have the volumio raspi as one input to the integrated amplifier. The raspi is playing with fixed volume, and the volume is controlled with the Kazoo app: adapting the volume forces the Volumio to send an IR command to the integrated amplifier to volume up or down.
Is there a way to get there, even with smaller adaptions on ssh level on the volumio…?
Hello! I have trouble getting a fresh Volumio 2.598 Image with the IR Remote Plugin 1.2.1 to work on a Pi 4 B. Apparently lirc won’t start. The plugin is installed and running.
Here is
[code]systemctl status lirc
● lirc.service - LSB: Starts LIRC daemon.
Loaded: loaded (/etc/init.d/lirc)
Active: active (exited) since Tue 2019-07-30 21:53:09 UTC; 20s ago
Process: 3890 ExecStart=/etc/init.d/lirc start (code=exited, status=0/SUCCESS)