Jump to content

/dev/lirc0 missing


Jop

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 comment
Share on other sites

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 comment
Share on other sites

The best option to have an IR Transmitter would be to use something like a BluePill STM32F103 board connected to the NanoPi, and having both IR RX and TX managed by this board, with proper firmware to also been able to "learn" IR codes that need to be emulated...

Link to comment
Share on other sites

Thank you for your replies. IR is not direclty supported, but like on Rasperry Pi, transmitt may work via GPIO.
I think, this should be handled by the pwm_ir_tx/gpio_ir_tx modules?

Link to comment
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 comment
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...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines