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...@qq.com> 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�����r��y����b�X��ǧv�^�)޺{.n�+����{������^n�r���z���h�����&���G���h�(�階�ݢj"���m������z�ޖ���f���h���~�m�

Reply via email to