Re: Re: how to disable usb hub suspend function

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

 



if i use suspend function, the hub may occur error, if i removed the hub before suspend then can avoid the suspend? if it could, how can i do ? how to remove and add ?




gavin.kx

From: Ming Lei
Date: 2013-01-11 23:10
To: gavin.kx
CC: linux-usb
Subject: Re: how to disable usb hub suspend function
On Fri, Jan 11, 2013 at 10:16 PM, gavin.kx <gavin.kx@xxxxxx> wrote:
> Dear sir:
> i have a project that need disable usb hub suspend function, How can i do ?

Suppose you mean USB autosuspend, you can disable it by below command:

        echo on > /sys/bus/usb/devices/HUB-DEV/power/control

and HUB-DEV is the hub device's name.


Thanks,
-- 
Ming Lei
.��.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