After upgrading to 4.9 kernel the IR-remote didn’t work anymore. I had to rerun the ./install_ir.sh script to fix the problem.
Thanks for the heads up, i’ll link this to the ticket so we can investigate:
I’ve just run this script for the first time and the IR doesn’t alter the Cloudshell display.
from the command line then pressing the buttons produces characters on the screen so the IR is working.
Also the Cloudshell display does not auto power off - the screen goes dark but the light is still on on the periphery. New with kernel 4.9.
If you apply the settings with dietpi-cloudshell it goes off fully.
I use the original hardkernel remote, I can not switch off the cloudshell script, I just turn off the backlight. You can find my setup in one of my old posts :
hope this helps you.
Thanks I installed wiring pi from the menu and used your config but it doesn’t work. I’ve the hardkernel remote and
shows characters onscreen but when I stop the lirc service It still shows these characters - not sure what’s going on here.
Did you install irexec?
cat /dev/lirc0 gives as output : cat: /dev/lirc0: Device or resource busy
No - tried the obvious apt-get install irexec -
But unable to locate package. How do you do it?
I think irexec is part of the lirc package, I installed it a year ago before it was in dietpi-software. I posted then how it installed it (see this post)
I hope you can solve it.
Thanks for your help but no luck here. Would you mind posting the contents of /etc/lirc hardware.conf, lircd.conf and lircm.conf?
# /etc/lirc/hardware.conf # # Arguments which will be used when launching lircd LIRCD_ARGS="" #Don't start lircmd even if there seems to be a good config file #START_LIRCMD=false #Don't start irexec, even if a good config file seems to exist. #START_IREXEC=false #Try to load appropriate kernel modules LOAD_MODULES=true # Run "lircd --driver=help" for a list of supported drivers. DRIVER="default" # usually /dev/lirc0 is the correct setting for systems using udev DEVICE="/dev/lirc0" MODULES="gpioplug_ir_recv gpio_ir_recv" # Default configuration files for your hardware if any LIRCD_CONF="" LIRCMD_CONF=""
begin remote name odroid1.conf bits 16 flags SPACE_ENC|CONST_LENGTH eps 30 aeps 100 header 8959 4566 one 508 1737 zero 508 600 ptrail 507 repeat 8959 2291 pre_data_bits 16 pre_data 0x4DB2 gap 108299 toggle_bit_mask 0x0 begin codes KEY_POWER 0x3BC4 KEY_MUTE 0x11EE KEY_HOME 0x41BE KEY_UP 0x53AC KEY_DOWN 0x4BB4 KEY_LEFT 0x9966 KEY_RIGHT 0x837C KEY_ENTER 0x738C KEY_BACK 0x59A6 KEY_VOLUMEDOWN 0x817E KEY_VOLUMEUP 0x01FE KEY_MENU 0xA35C end codes end remote
#UNCONFIGURED # # To find out how to get a proper configuration file please read: # # /usr/share/doc/lirc/README.Debian begin prog = irexec button = KEY_VOLUMEDOWN config = gpio write 7 0 end begin prog = irexec button = KEY_VOLUMEUP config = gpio write 7 1 end begin prog = irexec button = KEY_POWER config = poweroff end begin prog = irexec button = KEY_HOME config = reboot end begin prog = irexec button = KEY_MENU config = ./DietPi/dietpi/dietpi-update end begin prog = irexec button = KEY_BACK config = bash end
I hope this can help you. I don’t have X.org installed, I always ssh to the XU4
Thanks Patrick but this one has me stumped. I have the same setup as you, have copied your config files but it doesn’t work.
I’ll keep at it.