Re: Re: how to disable usb hub suspend function

2013-01-13 Thread Alan Stern
On Sun, 13 Jan 2013, gavin.kx wrote: 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 ? You remove a hub the same way you remove any other USB device -- by unplugging the

Re: Re: how to disable usb hub suspend function

2013-01-12 Thread Alan Stern
On Sat, 12 Jan 2013, gavin.kx wrote: i use it on the android platform, and i can't generate the control file. what can i do ? For questions about Android, you will have to ask the Android developers. We can't help you here, sorry. Alan Stern -- To unsubscribe from this list: send the line

Re: Re: how to disable usb hub suspend function

2013-01-12 Thread gavin.kx
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: Alan Stern Date: 2013-01-12 23:37 To: gavin.kx CC: linux-usb Subject: Re:回复: 回复: how to disable usb hub

Re: Re: how to disable usb hub suspend function

2013-01-12 Thread gavin.kx
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

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

2013-01-12 Thread gavin.kx
and does have a way to force to remove the usb device? my hub power is supplied by battery, it can work while CPU sleep. gavin.kx 发件人: gavin.kx 发送时间: 2013-01-13 10:59 收件人: Alan Stern 抄送: linux-usb 主题: Re: Re: how to disable usb hub suspend function if i use suspend function, the hub may

Re: how to disable usb hub suspend function

2013-01-11 Thread Ming Lei
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

Re: how to disable usb hub suspend function

2013-01-11 Thread Alan Stern
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

Re: Re: how to disable usb hub suspend function

2013-01-11 Thread gavin.kx
Thank you for your reply. i also want to know by do this, do other devices also can do suspending ? 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

Re: Re: how to disable usb hub suspend function

2013-01-11 Thread gavin.kx
the driver's disconnect method; 2.6.23 doesn't do this. 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

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

2013-01-11 Thread gavin.kx
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

Re: Re: how to disable usb hub suspend function

2013-01-11 Thread gavin.kx
i use it on the android platform, and i can't generate the control file. what can i do ? 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