Bananapi M1 gpio IR transmitter

Recommended Posts


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?


Link to post
Share on other sites

Donate and support the project!

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.

Link to post
Share on other sites

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.


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?

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.

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.


1 1