回复: Re: how to disable usb hub suspend function

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 






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 Stern��.n��������+%������w��{.n�����{���)��jg��������ݢj����G�������j:+v���w�m������w�������h�����٥



[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux