Please post the result of
cat /etc/lirc/lirc_options.conf
Please post the result of
cat /etc/lirc/lirc_options.conf
bash-5.0# cat /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 = macmini
device = /dev/usb/hiddev0
output = /var/run/lirc/lircd
pidfile = /var/run/lirc/lircd.pid
plugindir = /usr/lib/x86_64-linux-gnu/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
bash-5.0#
mode2 --driver devinput --device /dev/usb/hiddev0
Using driver devinput on device /dev/usb/hiddev0
Trying device: /dev/usb/hiddev0
Using device: /dev/usb/hiddev0
code: 0x000000ff00000000000000ff00000000000000ff00000000
Partial read 8 bytes on /dev/usb/hiddev0volumio@volumio:~$ mode2 --driver devinput --device /dev/usb/hiddev0
Using driver devinput on device /dev/usb/hiddev0
Trying device: /dev/usb/hiddev0
Using device: /dev/usb/hiddev0
code: 0x000000ff00000000000000ff00000000000000ff00000000
Partial read 8 bytes on /dev/usb/hiddev0volumio@volumio:~$ mode2 --driver devinput --device /dev/usb/hiddev0
Using driver devinput on device /dev/usb/hiddev0
Trying device: /dev/usb/hiddev0
Using device: /dev/usb/hiddev0
mode2 --driver devinput --device /dev/usb/hiddev0
“lirc_options.conf” looks ok to me, but I currently I have no idea why
Info: removed client
Info: closing '/dev/usb/hiddev0'
occur. Maybe check your “lircrc” and “lircd.conf” file for syntax / formatting errors and / or try if starting lircd succeeds when using the original “lircrc” and “lircd.conf” files.
Unfortunately I have no x86 system with an IR receiver to check myself.
Panasonic EUR643824.zip (1.6 KB)
I found a couple of unnecessary remotes. Easy to connect. Thanks to the author of the plugin. I want to expand the functionality (menu navigation, source selection). Not only Stop, Play, Forward, Backward.
If you need other functions than default provided, you’ll need to create your own scripts and call it via
lirc, like:
begin
prog = irexec
button = KEY_SHUFFLE
config = node /data/plugins/user_interface/randomizer/randomTracks
end
These are the ones that are provided:
[[PLAYBACK STATUS]]
status Gives Playback status information
volume Gives Current Volume Information
volume <desired volume> Sets Volume at desired level 0-100
volume mute Mutes
volume unmute Unmutes
volume toggle Mutes/Unmutes
volume plus Increases Volume of one step
volume minus Decreases Volume of one step
seek plus Forwards 10 seconds in the song
seek minus Backwards 10 seconds in the song
seek <seconds> Plays song from selected time
repeat Toggles repetition of queue
random Toggles randomization of queue
[[PLAYBACK CONTROL]]
play
pause
toggle Toggles between play/pause
next
previous
stop
clear
@Andron66 Do you mind if I add both configurations to the plugin? In “lircrc” I would however remove “/usr/local/bin/volumio status” and add “config = systemctl poweroff” for “KEY_POWER”.
If you want to use your configurations in the posted or modified version, you can save them to “/data/INTERNAL/ir_controller" as described here.
I used both remotes. The configurations were installed as you indicated. I just gave them as an example. You can use them as you want. You can fix it as it seems to you correctly.
Could you please tell which physical keys of the Techniks remote correspond to the key names “disc”, “generalvol-”, “generalvol+”, “spiral”, “winampvol+”, “winampvol-” and “off-winamp” in “lircd.conf” and if “KEY_ENTER” represents the remote’s “Recall” button?
File “lircd.conf” taken from the model Technics_RAK-SL948WK. The buttons you listed are not in the model Technics RAK-SL404WH. Entries can be deleted.
In comparison to the RAK-SL404WH the RAK-SL948WK additionally (only) has “ID Scan”, “Spiral” and “Time Mode”. Do all of the buttons of your RAK-SL404WH work with the RAK-SL948WK’s lircrc?
Do you happen to have the RAK-SL948WK, too?
There is a plugin called “IR Remote Controller”, which provides the following remotes (see list below).
If you’re remote is not on this list, you need to manual program your remote, which is a bit troublesome to do.
There might be a suitable *.conf file, which you can download from here. The you still need to create a lircrc file (task that needs to be executed when pressing a button on the remote).
I would like to access volumio source menu using apple remote but there is no option available from any of these plugin please, can you help.
Thanks much!
Page browsing is not implemented, so this will be a no.
Since this has only effect when you have a screen attached, otherwise you’ll miss what your navigating for, I would suggest the use of an air-mouse.
Hi!
How to make with this plugin when i click on remote “1” “2” “3”… etc. to choose track in album?
Not without some severe programming.
Number keys are not implemented within the Volumio Interface.
For Volumio there is nog logic, which track it’s what, as it based on MPD. And MPD doesn’t have this functionality.
And yes you can program logic for it, read the current playing track nr, read the loaded playlist. Decode all track numbers in the playlist. If you playing track 6, then pressing 2 would mean that you need to press <prev>
4+1 => 5 times, and so on. But this will become a trouble some excersize.
Thanks, i hope this will be added soon.
But is it possible to trigger album with it?
and how would that work?
If you logon to Volumio via ssh and type ‘volumio’ it shows all the commands that would be possible via a remote. Anything else would require a completely different approach. Track and album selection, etc is all available via a browser.
Or use an airmouse and some severe dedication with arm movement training