/dev/lirc0 missing


Jop
 Share

1 1

Recommended Posts

Hi, 

 

i tried to get an infrared transmitter working, but without success. 

An /dev/lircX device is never created. I'm using an NanoPi Neo and want to use lirc.

The pwm_ir_tx/gpio_ir_tx modules are loaded but i can't see a device.

 

Can anyone help me?

 

Best regards

Joachim

Edited by Jop
Link to post
Share on other sites

Armbian is a community driven open source project. Do you like to contribute your code?

When i enable CIR in armbian-config. A /dev/lirc0 is created, but ir-ctrl reports the following:
Receive features /dev/lirc0:
 - Device can receive raw IR
 - Can report decoded scancodes and protocol
 - Resolution 8 microseconds
Send features /dev/lirc0:
 - Device cannot send

 

Has anyone a working guide to enable transmitting IR codes via lirc on armbian ?

Link to post
Share on other sites

Do like this:    so easy! on 5.8 kernel

1:  exec: armbian-config --->system--->hardware, open irc

2: dmesg while found ir device, and build device file on /dev/lirc0

3: install lirc application

4: configure , move /etc/lirc/lircd.conf.d/devinput.lircd.conf to /etc/lirc/lircd.conf.d/devinput.lircd.conf-dist

5: use irrecord to build a remote contrel coding file, and put it to dir: /etc/lir/lircd.conf.d, do: systemctl restart lircd

6: irw try to use it.(If press key no output, do step 5 agaen. may be you need "ir-keytable -p xxx" set your protocol) 

7: configure irexec , and exex it on daemon mode!  OK!   

 

I used lirc for "mpc command", and write a simplay script control music play!

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

1 1