Modify

Opened 3 years ago

Closed 3 years ago

#19646 closed defect (fixed)

LED timer trigger not regular since circa r42320 on ramips (asiarf awm002)

Reported by: russell@… Owned by: developers
Priority: normal Milestone:
Component: packages Version: Trunk
Keywords: Cc:

Description

Somewhere between r42270 and r42320, possibly at the transition between kernel 3.10 and 3.14, the LED timer trigger has become irregular. A good way to demostrate is to:

cd /sys/class/leds/rt2800soc-phy0::radio
echo timer > trigger
echo 100 > delay_off
echo 100 > delay_on

Attachments (0)

Change History (7)

comment:1 Changed 3 years ago by russell@…

Confirmed that r42304 is good (regular blink), and that r42305 is bad (irregular blink). This indeed matches the transition from kernel 3.10.49 to 3.14.16. Something clearly lost in the tranlation.

comment:2 follow-up: Changed 3 years ago by jogo

I just gave this a test on brcm63xx (with a gpio led), and there it worked as expected, so this might be a ramips/rt2800-wifi specific issue. Does this also happen for leds connected through gpio?

comment:3 in reply to: ↑ 2 Changed 3 years ago by russell@…

Replying to jogo:

I just gave this a test on brcm63xx (with a gpio led), and there it worked as expected, so this might be a ramips/rt2800-wifi specific issue. Does this also happen for leds connected through gpio?

Yes, on gpio connected LEDs as well.

comment:4 Changed 3 years ago by russell@…

The patch differences are rather large between 3.10 and 3.14. One thing I notice is that the /proc/interrupts looks a little different:

r42304:

# cat /proc/interrupts
           CPU0
  5:       7799      MIPS  10100000.ethernet
  6:    1608107      MIPS  rt2800_wmac
  7:    1503368      MIPS  timer
  9:          0      INTC  10000100.timer
 20:        434      INTC  serial
 25:          7      INTC  esw
 26:         46      INTC  ehci_hcd:usb1, ohci_hcd:usb2
ERR:          0

r42305:

           CPU0
  5:        165      MIPS   5  10100000.ethernet
  6:     162250      MIPS   6  rt2800_wmac
  7:     994550      MIPS   7  systick
  9:          0      INTC   1  10000100.timer
 20:       1644      INTC  12  serial
 25:          1      INTC  17  esw
 26:          1      INTC  18  ehci_hcd:usb1, ohci_hcd:usb2
ERR:          0

I wonder if the timer interrupt changing names is related?

comment:5 Changed 3 years ago by br101

I can confirm the same/similar problem on HAME MPR-A2 (ramips/RT5350)

comment:6 Changed 3 years ago by russell@…

Glancing over the changes from 3.10.x to 3.14.x, I notice that platform/0011-MIPS-ralink-add-support-for-systick-timer-found-on-n.patch was removed. Relevant?

comment:7 Changed 3 years ago by jogo

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

This should have been fixed with r45554. If this issue still persists, just reopen the ticket.

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.