JackOfAll wrote: 
> If I recall correctly, GPIO18 is PCM BCLK, which is going to already be
> in use by any I2S board. It's not very helpful that the lirc driver uses
> GPIO18 as the default input.
> 
> ISTR, also IQAudIO uses GPIO25 for IR,
> "dtoverlay=lirc-rpi,gpio_in_pin=25", and the Geekroo boards route the IR
> receiver to GPIO26, so "dtoverlay=lirc-rpi,gpio_in_pin=26".

Morning JackOfAll,

In setting up the default operation of lirc-rpi we are using the
documentation /mnt/mmblck0p1/overlays/README


Code:
--------------------
    Name:   lirc-rpi
  Info:   Configures lirc-rpi (Linux Infrared Remote Control for Raspberry Pi)
  Consult the module documentation for more details.
  Load:   dtoverlay=lirc-rpi,<param>=<val>
  Params: gpio_out_pin            GPIO for output (default "17")
  
  gpio_in_pin             GPIO for input (default "18")
  
  gpio_in_pull            Pull up/down/off on the input pin
  (default "down")
  
  sense                   Override the IR receive auto-detection logic:
  "0" = force active-high
  "1" = force active-low
  "-1" = use auto-detection
  (default "-1")
  
  softcarrier             Turn the software carrier "on" or "off"
  (default "on")
  
  invert                  "on" = invert the output pin (default "off")
  
  debug                   "on" = enable additional debug messages
  (default "off")
  
--------------------


This looks like a very bad choice for the default value. Are there any
recommendations that don't interfere with commonly used boards, or do we
just set it to "25" as it is the most common.

regards
Greg


+-------------------------------------------------------------------+
|Filename: gpio.png                                                 |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=20958|
+-------------------------------------------------------------------+

------------------------------------------------------------------------
Greg Erskine's Profile: http://forums.slimdevices.com/member.php?userid=7403
View this thread: http://forums.slimdevices.com/showthread.php?t=105997

_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to