not only disable auto suspend, also disable usb suspend when system suspend.
gavin.kx
发件人: gavin.kx
发送时间: 2013-01-12 09:57
收件人: Alan Stern
抄送: linux-usb
主题: 回复: 回复: how to disable usb hub suspend function
i use it on the android platform, and i can't generate the control file. what
can i do ?
gavin.kx
From: Alan Stern
Date: 2013-01-11 23:11
To: gavin.kx
CC: linux-usb
Subject: Re: how to disable usb hub suspend function
On Fri, 11 Jan 2013, gavin.kx wrote:
> Dear sir:
> i have a project that need disable usb hub suspend function, How can i do ?
> Thank you !
You can prevent any USB device from suspending by doing:
echo on >/sys/bus/usb/devices/.../power/control
Fill in the "..." part with the path for the device you want.
Alan
SternN�����r��y����b�X��ǧv�^�){.n�+����{������^n�r���z���h�����&���G���h�(�階�ݢj"���m������z�ޖ���f���h���~�m�