LAN9514/en: различия между версиями

Материал из Wiren Board
(Новая страница: «3) Linux, apparently, is not able to do suspend of a device therefore if so to drive the driver with the activated GPIOs in suspend, it will constantly Wake up an…»)
(Новая страница: «== Power management == 1) You can disable the Ethernet chip via hubpower»)
(не показана 1 промежуточная версия этого же участника)
Строка 8: Строка 8:




2) The driver can be sent to suspend2, while the consumption drops:
2) Драйвер можно отправить в suspend2, при этом потребление падает:
<pre>
<pre>
echo "0" > "/sys/bus/usb/devices/$port/power/autosuspend"
echo "0" > "/sys/bus/usb/devices/$port/power/autosuspend"
Строка 14: Строка 14:
</pre>
</pre>


3) Linux, apparently, is not able to do suspend of a device therefore if so to drive the driver with the activated GPIOs in suspend, it will constantly Wake up and fall asleep back.
3) Линукс, судя по всему, не умеет делать suspend части девайса, поэтому если так загнать драйвер с активированными GPIO в suspend, то он будет постоянно просыпаться и засыпать обратно.
Consumption does not seem to be growing much:
Потребление при этом кажется растёт не сильно:
<pre>
<pre>
up + high 22.2
up + high 22.2

Версия 19:49, 18 июля 2019

Другие языки:


LAN9514

Power management

1) You can disable the Ethernet chip via hubpower


2) Драйвер можно отправить в suspend2, при этом потребление падает:

echo "0" > "/sys/bus/usb/devices/$port/power/autosuspend"
echo "auto" > "/sys/bus/usb/devices/$port/power/control"

3) Линукс, судя по всему, не умеет делать suspend части девайса, поэтому если так загнать драйвер с активированными GPIO в suspend, то он будет постоянно просыпаться и засыпать обратно. Потребление при этом кажется растёт не сильно:

up + high 22.2
up + low 17.4
down + low 13.3
down + unexport 13.2