User Tools

Site Tools


toh:gl-inet:gl.inet_gl-mt300n_v2

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
toh:gl-inet:gl.inet_gl-mt300n_v2 [2018/09/14 02:54]
tincho [Flash Layout]
toh:gl-inet:gl.inet_gl-mt300n_v2 [2018/09/14 02:59] (current)
tincho [GPIO Switch access]
Line 269: Line 269:
 The scripts receive both a button ID in the form "​BTN_X"​ and an action such as "​pressed"​ or "​unpressed"​. The scripts receive both a button ID in the form "​BTN_X"​ and an action such as "​pressed"​ or "​unpressed"​.
  
 +Note that to access them as GPIOs (and stop receiving button events), you need to unload the ''​gpio_button_hotplug''​ module, or unbind it by executing:
 +
 +''​echo gpio-keys > /​sys/​bus/​platform/​drivers/​gpio-keys/​unbind''​
 ===== Performance ===== ===== Performance =====
  
toh/gl-inet/gl.inet_gl-mt300n_v2.txt · Last modified: 2018/09/14 02:59 by tincho