You are not logged in.

#1 2017-03-25 21:31:56

abauomy
Member
Registered: 2009-06-14
Posts: 22

LIRC & ite-cir

Hi
I need some help hear

I'm working all day on LIRC and all i got that devinput only working without ok & media key and cannot make them work

 sudo ir-keytable
Found /sys/class/rc/rc0/ (/dev/input/event3) with:
        Driver ite-cir, table rc-rc6-mce
        Supported protocols: unknown other lirc rc-5 rc-5-sz jvc sony nec sanyo mce_kbd rc-6 sharp xmp
        Enabled protocols: lirc rc-6
        Name: ITE8713 CIR transceiver
        bus: 25, vendor/product: 1283:0000, version: 0x0000
        Repeat delay = 500 ms, repeat period = 125 ms

lirc_options.conf

[lircd]
nodaemon        = true
driver          = devinput
device          = /dev/input/event3
output          = /var/run/lirc/lircd
pidfile         = /var/run/lirc/lircd.pid
plugindir       = /usr/lib/lirc/plugins
permission      = 666
allow-simulate  = No
repeat-max      = 600
#effective-user =
#listen         = [address:]port
#connect        = host[:port]
#loglevel       = 6
#uinput         = ...
#release        = ...
#logfile        = ...

[lircmd]
uinput          = False
nodaemon        = False

If i set the driver  = ite-cir lircd fail to start

also this file only working

devinput.lircd.conf

begin remote
        name            devinput-32
        bits            16
        eps             30
        aeps            100
        pre_data_bits   16
        pre_data        0x8001
        gap             132799
        toggle_bit      0
        driver          devinput

        begin codes
         KEY_0      11
         KEY_102ND      86
         KEY_10CHANNELSDOWN      0x1b9
         KEY_10CHANNELSUP      0x1b8
         KEY_1      2
         KEY_2      3
         KEY_3      4
         KEY_3D_MODE      0x26f
         KEY_4      5
         KEY_5      6
         KEY_6      7
         KEY_7      8
         KEY_8      9
         KEY_9      10
         KEY_A      30
         KEY_AB      0x196
         KEY_ADDRESSBOOK      0x1ad
         KEY_AGAIN      129
         KEY_ALS_TOGGLE      0x230
         KEY_ALTERASE      222
         KEY_ANGLE      0x173
         KEY_APOSTROPHE      40
         KEY_APPSELECT      0x244
         KEY_ARCHIVE      0x169
         KEY_ATTENDANT_OFF      0x21c
         KEY_ATTENDANT_ON      0x21b

I try to create conf file with irrecord but it's not working

# Please take the time to finish this file as described in
# https://sourceforge.net/p/lirc-remotes/wiki/Checklist/
# and make it available to others by sending it to
# <lirc@bartelmus.de>
#
# This config file was automatically generated
# using lirc-0.9.4d(devinput) on Sat Mar 25 19:25:14 2017
# Command line used: --device=/dev/lirc0 MyRemote
# Kernel version (uname -r): 4.9.17-1-lts
#
# Remote name (as of config file): xbox360
# Brand of remote device, the thing you hold in your hand:
# Remote device model nr:
# Remote device info url:
# Does remote device has a bundled capture device e. g., a
#     usb dongle? :
# For bundled USB devices: usb vendor id, product id
#     and device string (use dmesg or lsusb):
# Type of device controlled
#     (TV, VCR, Audio, DVD, Satellite, Cable, HTPC, ...) :
# Device(s) controlled by this remote:

begin remote

  name  xbox360
  driver devinput
  bits            8
  eps            30
  aeps          100

  one             0     0
  zero            0     0
  pre_data_bits   136
  pre_data       0x1
  post_data_bits  48
  post_data      0x10001A9
  gap          1147
  toggle_bit_mask 0x0
  frequency    38000

      begin codes
          KEY_MEDIA                0xCC
          KEY_OK                   0xD4
          KEY_UP                   0x0000000000000000000000000000000001D4000001000197
      end codes

end remote

ir-keytable -r working but i need lircd to use irexec

please help

Last edited by abauomy (2017-03-26 07:00:05)

Offline

#2 2017-03-25 21:34:57

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: LIRC & ite-cir

Not a Programming issue, moving to NC...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB