Modify

Opened 4 years ago

Closed 4 years ago

Last modified 2 years ago

#11191 closed enhancement (duplicate)

button&led definition for buffalo WZR-HP-AG300H not full

Reported by: uncle.taoer@… Owned by: developers
Priority: response-needed Milestone: Barrier Breaker 14.07
Component: base system Version: Trunk
Keywords: leds and buttons Cc: juhosg

Description

there are still one button(movie engine switch)and 3leds(usb signal, router status, and movie engine)not defined
could any openwrt developer make a patch for it??
thanks a lot!!!

Attachments (0)

Change History (4)

comment:1 follow-up: Changed 4 years ago by anonymous

This file would possibly need to be changed:
/browser/trunk/target/linux/ar71xx/files/arch/mips/ath79/mach-wzr-hp-ag300h.c

I could not get any additional LED to show up using this GPIO brute force approach:

for i in 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15; do echo $i; echo $i > export; echo out > gpio$i/direction; echo 1 > gpio$i/value; done

I believe that the LEDs for the WiFi are controlled by the WiFi modules rather than the GPIO pins of the SoC:
At least

echo phy1tpt > /sys/class/leds/ath9k-phy1/trigger

made the 5GHz WiFi LED be triggered by WLAN activity too (in green, phy0 is still blinking in orange). One can possibly work on this by playing in the directory
/sys/kernel/debug/ieee80211/phy1/ath9k .

There had been a related issue concerning the WiFi-LEDs: #10062: WZR-HP-AG300H 2.4GHz LED shows incorrect encryption status.
This enhancement ticket is more comprehensive though.

comment:2 in reply to: ↑ 1 Changed 4 years ago by pklaus

I could not get any additional LED to show up using this GPIO brute force approach:

for i in 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15; do echo $i; echo $i > export; echo out > gpio$i/direction; echo 1 > gpio$i/value; done

Of course, this has to be executed in the directory /sys/class/gpio !

comment:3 Changed 4 years ago by nbd

  • Resolution set to duplicate
  • Status changed from new to closed

see #11144

comment:4 Changed 2 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.