Jump to content

Recommended Posts

Posted

Hello!

I have BPI M1 and IR transmitter that connected to GPIO pin out.

By default i have only /dev/lirc0 device, as i understood, lirc0 is used to receive from builtin receiver

Could someone help me to make transmitter work as a transmit device for lirc?

Thanks!

Posted

No documentation came with IR transmitter?

 

If it is cheap AliExpress special, you will probably need to search Internet and figure it out for yourself.  Lirc forums / wiki / docs may be more helpful than here?

 

Good luck with it, please report back if/how you got it working.

Posted

I'm interested too!

I've built my own IR transmitter and i want to use GPIO to send signals.

I found gpio-ir-tx driver on my system and i can successfully load it with modprobe, but i can't figure out how to make it working, maube someone know who made this driver?

 

As far as i understood.

Need to create /boot/config.txt file with:

dtoverlay=gpio-ir-tx,gpio_pin=1 (or your pin)

 

Then need to create udev rule that creating symlink from gpio to /dev/lirc-tx but this is not happening for some reasonm i can't figure out why.

/etc/udev/rules.d/71-lirc.rules

ACTION=="add", SUBSYSTEM=="lirc", DRIVERS=="gpio_ir_recv", SYMLINK+="lirc-rx"

ACTION=="add", SUBSYSTEM=="lirc", DRIVERS=="gpio-ir-tx", SYMLINK+="lirc-tx"

ACTION=="add", SUBSYSTEM=="lirc", DRIVERS=="pwm-ir-tx", SYMLINK+="lirc-tx"

 

 

Couple questions.

 

1. Created by me file /boot/config.txt, is used during boot process or not?

2. Udev rule is not creating simlink to device, why?

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines