Commit Graph

7 Commits (5a8e9846af689be7bc3b1fb4a356c3e3c711b94a)

Author SHA1 Message Date
John Crispin 5ca2ad1063 Fix (invert/revert) Hornet-UB WPS LED state
My previous patch regarding the Hornet-UB board
(commit: beed4d82d6a0154b0cd5f7b84e2180215ace6718) actually
causes the WPS led state to be inverted. Practically this meant
that value 0 in /sys/class/led/alfa:blue:wps/brightness would
turn the LED on and any positive value (1-255) would turn it off.

The above of course is confusing and hence reverting this value
back to the way it was before beed4d82d6a0154b0cd5f7b84e2180215ace6718.

Signed-off-by: Janne Cederberg <janne.cederberg@gmail.com>

SVN-Revision: 44791
9 years ago
John Crispin 3a1a4165b8 ar71xx: Ext LNA patch for TUBE2H and HORNET-UB targets
Signed-off-by: Christophe Prévotaux <c.prevotaux@rural-networks.com>

SVN-Revision: 44693
9 years ago
John Crispin fd82ffec00 ar71xx: Hornet UB GPIO WPS/Reset
This problem has existed at least since Attitude Adjustment and
is also present in trunk. Basically on the Hornet-UB board the
functionality of RESET and WPS have "switched places".

There are two tickets about the issue at dev.openwrt.org,
The solution suggested on them both is incomplete though
and introduces the following proglem:

Patching as suggested on #14136/#15282 will result in a situation
where simply pressing the RESET button on the bottom will cause
FACTORY RESET to be run. This is due to GPIO high/low state being
incorrect as a result of the above change and virtually the RESET
button is in the pressed-down state the entire time. When it is
then physically pressed, that causes the opposite, release, to be
triggered and since to the board it seemed that the button was
pressed long before it was released, the FACTORY RESET results.

The attached patch works as expected. I have verified both the
incorrect functionality as well as after fixing the issue as
described in the patch and flashing the resulting firmware to a
Hornet-UB board.

Signed-off-by: Janne Cederberg <janne.cederberg@gmail.com>

SVN-Revision: 44692
9 years ago
Gabor Juhos 907bd5345e ar71xx: fix ALFA NETWORK's name
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 41643
10 years ago
Gabor Juhos f2528b1792 ar71xx: use gpio_request_one instead of ath79_set_usb_power_gpio
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34087
12 years ago
Gabor Juhos 1a1121158f ar71xx: add a common function to configure USB power GPIOs
SVN-Revision: 32454
12 years ago
Gabor Juhos d72bde99cd ar71xx: merge files-3.2 to files
SVN-Revision: 30405
12 years ago