IR Remote for Cloudshell/dietpi

Having issues with your DietPi installation, or, found a bug? Post it here.
Post Reply
noobs4u
Posts: 24
Joined: Tue Apr 12, 2016 6:00 pm

IR Remote for Cloudshell/dietpi

Post by noobs4u »

The Hardkernel IR remote does not appear to work with the dietpi/cloudshell setup. I have the lirc installed correctly but am unable to get it to respond or navigate through cloudshell for dietpi. Please see the link to the ODROID Forum discussion: http://forum.odroid.com/viewtopic.php?f ... cf1c9f743b

Any insight would be appreciated.

Thank You
studioai

Re: IR Remote for Cloudshell/dietpi

Post by studioai »

I have same problem.

"mode2 -d /dev/lirc0" command works fine but irw dosen't respond.

here's more info.

Result of "lsmod"

Code: Select all

Module                  Size  Used by
xt_multiport            1607  2 
iptable_filter          1475  1 
ip_tables              12007  1 iptable_filter
uinput                  6794  0 
cdc_ether               4507  0 
usbnet                 22217  1 cdc_ether
r8152                  53236  0 
ina231_sensor           8388  0 
i2c_s3c2410             8876  0 
fb_ili9340              3597  0 
ir_lirc_codec           4034  0 
lirc_dev                9711  1 ir_lirc_codec
gpioplug_ir_recv        1176  0 
gpio_ir_recv            2874  0 
fbtft_device           37972  0 
fbtft                  31765  2 fb_ili9340,fbtft_device
syscopyarea             3057  1 fbtft
sysfillrect             3400  1 fbtft
sysimgblt               2147  1 fbtft
fb_sys_fops             1348  1 fbtft
spi_s3c64xx            13713  0 
fuse                   75445  1 
hardware.conf

Code: Select all

# /etc/lirc/hardware.conf
#
# Arguments which will be used when launching lircd
#LIRCD_ARGS="--uinput"

#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.
REMOTE_DRIVER="default"
# usually /dev/lirc0 is the correct setting for systems using udev
DEVICE="/dev/lirc0"
#REMOTE_MODULES="gpio_ir_recv"

# Default configuration files for your hardware if any
#LIRCD_CONF="/etc/lirc/lircd.conf"
#LIRCMD_CONF=""
lircd.conf

Code: Select all

#
# this config file was automatically generated
# using lirc-0.8.6(default) on Sun Nov 15 18:00:37 2009
#
# contributed by
#
# brand:                       Apple
# model no. of remote control: A1294
# devices being controlled by this remote:
#
# this config was created using a serial port adapter, i.e. won't work
# with the macmini driver
#

begin remote

  name  Apple_A1294
  bits            8
  flags           SPACE_ENC|CONST_LENGTH
  eps             30
  aeps            100

  header          9140  4390
  one             608   1618
  zero            608   518
  ptrail          610
  repeat          9141  2157
  pre_data_bits   16
  pre_data        0x77E1
  post_data_bits  8
  post_data       0x79
  gap             107219
  toggle_bit_mask 0x0

      begin codes
          KEY_UP                   0x50                      #  Was: UP
          KEY_DOWN                 0x30                      #  Was: DOWN
          KEY_LEFT                 0x90                      #  Was: LEFT
          KEY_RIGHT                0x60                      #  Was: RIGHT
          KEY_PLAY                 0xFA                      #  Was: PLAY
          KEY_MENU                 0xC0                      #  Was: MENU
          KEY_OK                   0x3A                      #  Was: OK
      end codes

end remote
studioai

Re: IR Remote for Cloudshell/dietpi

Post by studioai »

How about ir-keytable?

I had same trouble, and I followed http://forum.kodi.tv/showthread.php?tid=104541 this tutorial and my trouble is gone away.

Could you give it a shot?
Post Reply