Skip to content

Commit

Permalink
Dlink DIR868L: fix USB Power supply in some cases (cfe/board_data dep…
Browse files Browse the repository at this point in the history
  • Loading branch information
MarsTomato authored and pedro0311 committed Sep 22, 2022
1 parent b2106b8 commit 19684d3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions release/src-rt-6.x.4708/router/rc/init.c
Original file line number Diff line number Diff line change
Expand Up @@ -7371,6 +7371,9 @@ static int init_nvram(void)
nvram_set("ehci_ports", "2-1 2-2");
nvram_set("ohci_ports", "3-1 3-2");

/* enable usbX power supply by default */
nvram_set("gpio10", "usbport2"); /* Ex.: this config is correct for DIR868L */

/* misc settings */
nvram_set("boot_wait", "on");
nvram_set("wait_time", "3");
Expand Down

0 comments on commit 19684d3

Please sign in to comment.