[PLUGIN] IR Remote Controller feedback thread

Discuss, contribute and orient Volumio development!

Ads helps Volumio remain Free and Open Source. Please consider donating to help us continue to serve you.

[PLUGIN] IR Remote Controller feedback thread

Postby dvpaassen » Sun Dec 16 2018 01:01

Karine-Johanne wrote: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...

Thanks


Hi Karine-Johanne,
you could use the Rest API to call a playlist and put the desired radio station in that playlist.
I did it like this.

prog = irexec
button = KEY_1
config = curl -v "localhost:3000/api/v1/commands/?cmd=playplaylist&name=1"
end

if you do this for each button 1 till 0 you only have to change the playlist when you need to change a radio station.

I find this very usefull for daily use.

cheers,
Dennis
Volumio2 raspbery pi3B, audiophonics sabre dac v3, PS Audio Sprout 100, Wharfedal Diamond 10.1
User avatar
dvpaassen
Sunday DIYer
Sunday DIYer
 
Posts: 16
Joined: Wed Sep 28 2016 11:59
Location: Eindhoven

Ads helps Volumio remain Free and Open Source. Please consider donating to help us continue to serve you.


[PLUGIN] IR Remote Controller feedback thread

Postby PanDeRass-cz » Sat Mar 02 2019 09:30

Hello.
Can u do some IR controller like has BlueSound?
1) Must have some free IR comtroller
2) Choose some button
3) Search some function which I want to controll on BlueSound
4)Click on it ať BlueSound
5) Click on The button on IR Controller
6) Use this button for this function
It is nice - can somebody prepare something like this for Volumio?
Random avatar
PanDeRass-cz
Fresh off the boat
Fresh off the boat
 
Posts: 3
Joined: Thu Feb 21 2019 06:28


[PLUGIN] IR Remote Controller feedback thread

Postby chrisp429 » Mon Mar 11 2019 22:47

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:
1. 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 https://www.msldigital.com/pages/suppor ... -plus-2015) seemed not to work i DID NOT DO it
Code: Select all
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

I instead only modified /data/plugins/accessory/ir_controller/index.js at line 221:
Code: Select all
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.


2. I installed the shutdown scripts manually as stated here https://www.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
3. I configured the RemotePi Board to power on and off using my remote with some button press
4. I configured my remote to navigate the menus installing the IR Remote Controller 1.2.0 plugin and manually configuring it as described here https://www.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:

Code: Select all
[   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?


Here are some more information:

ls /dev/lirc0
Code: Select all
chrisp@volumio:~$ ls /dev/lirc0
/dev/lirc0



systemctl status lirc
Code: Select all
chrisp@volumio:~$ systemctl status lirc
● lirc.service - LSB: Starts LIRC daemon.
   Loaded: loaded (/etc/init.d/lirc)
   Active: active (running) since Mon 2019-03-11 22:41:34 UTC; 7s ago
  Process: 21553 ExecStart=/etc/init.d/lirc start (code=exited, status=0/SUCCESS)
   CGroup: /system.slice/lirc.service
           ├─21563 /usr/sbin/lircd --driver=default --device=/dev/lirc0 --uinput
           └─21566 /usr/bin/irexec -d /etc/lirc/lircrc

Mar 11 22:41:34 volumio lirc[21553]: Loading LIRC modules:.
Mar 11 22:41:34 volumio lircd-0.9.0-pre1[21563]: lircd(default) ready, using /var/run/lirc/lircd
Mar 11 22:41:34 volumio lirc[21553]: Starting remote control daemon(s) : LIRC :.
Mar 11 22:41:34 volumio lircd-0.9.0-pre1[21563]: accepted new client on /var/run/lirc/lircd
Mar 11 22:41:34 volumio lirc[21553]: Starting execution daemon: irexec:.
Mar 11 22:41:34 volumio systemd[1]: Started LSB: Starts LIRC daemon..
User avatar
chrisp429
Fresh off the boat
Fresh off the boat
 
Posts: 7
Joined: Sun Feb 03 2019 17:34


[PLUGIN] IR Remote Controller feedback thread

Postby gvolt » Tue Mar 12 2019 18:05

chrisp429 wrote:so, is it correct that I have both
/devices/virtual/input/input0
and
/devices/virtual/input/input1 ?

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?

Maybe post your lircrc and lircd.conf, too.
Random avatar
gvolt
Audiophile
Audiophile
 
Posts: 101
Joined: Fri Mar 02 2018 16:47


[PLUGIN] IR Remote Controller feedback thread

Postby chrisp429 » Wed Mar 13 2019 10:05

gvolt wrote:
chrisp429 wrote:so, is it correct that I have both
/devices/virtual/input/input0
and
/devices/virtual/input/input1 ?

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?

Maybe post your lircrc and lircd.conf, too.


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:

Code: Select all
[    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)


Code: Select all
[    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:

Code: Select all
[   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:
Code: Select all
[    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:

Code: Select all
[    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:

Code: Select all
[    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...
User avatar
chrisp429
Fresh off the boat
Fresh off the boat
 
Posts: 7
Joined: Sun Feb 03 2019 17:34


[PLUGIN] IR Remote Controller feedback thread

Postby el.patron » Sun Apr 21 2019 13:15

maybe I missed something, but I give it a try...

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..?
User avatar
el.patron
Fresh off the boat
Fresh off the boat
 
Posts: 6
Joined: Sat Sep 15 2018 22:59


[PLUGIN] IR Remote Controller feedback thread

Postby Josh2000 » Fri May 03 2019 13:45

Hi,

Does anybody know what is the improvement /change log of the version 1.21 which is available viathe plugin store since today ?

Thank you

Josef
User avatar
Josh2000
Audiophile
Audiophile
 
Posts: 148
Joined: Mon Oct 17 2016 16:43


[PLUGIN] IR Remote Controller feedback thread

Postby ashthespy » Fri May 03 2019 14:19

Josh2000 wrote:Hi,

Does anybody know what is the improvement /change log of the version 1.21 which is available viathe plugin store since today ?

Thank you

Josef


Added `Xiaomi IR for TV box`
User avatar
ashthespy
Objectivist
Objectivist
 
Posts: 280
Joined: Fri Jul 22 2016 08:16

Previous

Return to Development talks

Who is online

Users browsing this forum: No registered users and 0 guests