[ solved ] How to enable homemade remote in 3.0?

Home Forums GeeXboX for PC [ solved ] How to enable homemade remote in 3.0?

This topic contains 7 replies, has 2 voices, and was last updated by  cola03 5 years, 2 months ago.

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #4743

    cola03
    Participant

    I search the whole forum, but can’t find anything helpful. So, anyone knows it?

    #4749

    tomlohave
    Keymaster

    how did you connect your homemade remote ?

    #4763

    cola03
    Participant

    connect to COM.

    #4767

    cola03
    Participant

    1. don’t know how to load lirc_dev.so automatically (I can load lirc_dev by modprobe)

    2. don’t know how to start lircd when system booted (I remember in old version can start it in init.d, but now I can’t find init.d)

    3.when lirc received signle, how to transfer to xbmc?

    4. does the eventlircd support serial remote controller?

    #4773

    tomlohave
    Keymaster

    see this changeset : http://hg.openbricks.org/geexbox/rev/19d3ffb6c3a1

    you can create your own confing in /etc/lirc/mycustom.conf

    in /etc/lirc/hardware.conf, modify it to use your com port

    then reboot

    lircd should start and xbmc use it

    #4783

    cola03
    Participant

    Hi,tomlohave, thanks for your answer.

    but still got problem.

    because your suggest is  the changeset, so according to it, I do:

    1.modify hardware.conf, it look like

    DRIVER=”mplay”

    DEVICE=”/dev/lirc”

    2.add /etc/lirc/mycustom.conf, so it will prevent eventlircd to start at boot time

    3.systemctl enable lircd, it make lircd start at boot time.

    4.add code to Lircmap.xml

    but still can’t work normally, so have 2 questions

    1. does it need lirc_serial.ko module? if didn’t load it , no /dev/lirc/ device, if need, how to add it when boot?

    2.the remote controller can be use in geexbox 1.x with lirc. how to know the lirc already transfer the code to xbmc(how to debug it)?

    #4784

    tomlohave
    Keymaster

    1) you can add a file in /usr/lib/module-load.d called lirc.conf

    containing :

    lirc_serial

    2) xbmx listen on /var/run/lirc/lircd (see the command line for xbmc and lircd)

    you can test with irw

     

    #4798

    cola03
    Participant

    bingo.

    because in the default  /etc/lirc/hardware.conf, the driver use mplay. but here should use default, then the xbmc can receive the remote button.

     

    Thanks

Viewing 8 posts - 1 through 8 (of 8 total)

You must be logged in to reply to this topic.