Jump to content

OPi One LIRC GPIO


jungle_roger

Recommended Posts

Hi guys, I've been tring to get an IR LED to work with LIRC for a while now but just cant get it to work. I'm a bit of a noob with linux, so bear with me....
 
(using 5.05 desktop image)
I have been able to get a receiver working thanks to the stickied tutorial. Although only when running lircd manually with driver and device options,
I've setup hardware.conf but i think the /etc/init.d/lirc script overrides that.
 
Anyway its the sending using gpio that i need and the closest i've come is with the LIRC GPIO kernel module from here. As it compiles, loads and shows that the gpio pin has been allocated using:

cat /sys/kernel/debug/gpio

GPIOs 0-383, platform/sunxi-pinctrl, sunxi-pinctrl:
 gpio-15  (red_led             ) out hi
 gpio-16  (?                   ) out lo
 gpio-18  (gpio_remoteIRQ      ) out lo
 gpio-354 (?                   ) out hi
 gpio-362 (green_led           ) out lo

And when I run lircd manually with the new /dev/lirc1 device i can run irsend commands (no error saying it doesn't support it) but it's not activating the led (have tested with ir and white leds)
 
any ideas??
 
Thanks
Jungle

Link to comment
Share on other sites

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

Important Information

Terms of Use - Privacy Policy - Guidelines