-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
imx8mm-var-dart: Added udev USB rules
Enabled autosuspend for USB hub on DART-MX8M-MINI carrier board to reduce power consumption
- Loading branch information
Felix Radensky
committed
Feb 25, 2019
1 parent
51eb1ca
commit 9a0d219
Showing
2 changed files
with
8 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# Microchip Technology USB2740 Hub | ||
ACTION=="add", SUBSYSTEM=="usb", ATTR{idVendor}=="0424", ATTR{idProduct}=="2740", TEST=="power/control", ATTR{power/control}="auto" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,15 @@ | ||
FILESEXTRAPATHS_prepend := "${THISDIR}/files:" | ||
|
||
SRC_URI_append_imx8m-var-dart = " file://usb-power.rules" | ||
SRC_URI_append_imx8mm-var-dart = " file://usb-power.rules" | ||
|
||
do_install_append_imx8m-var-dart () { | ||
install -d ${D}${sysconfdir}/udev/rules.d | ||
install -m 0644 ${WORKDIR}/usb-power.rules ${D}${sysconfdir}/udev/rules.d/ | ||
} | ||
|
||
do_install_append_imx8mm-var-dart () { | ||
install -d ${D}${sysconfdir}/udev/rules.d | ||
install -m 0644 ${WORKDIR}/usb-power.rules ${D}${sysconfdir}/udev/rules.d/ | ||
} | ||
|