Re: USB storage device cause usb bus can't enter runtime suspend

2014-11-26 Thread Alan Stern
On Wed, 26 Nov 2014, liu chunlin wrote: > Hi Stern, > > > My platform not use udev,do you have good idea to modify usb driver to enable > usb storage runtime suspend? It is not possible to do what you want by modifying the USB driver. What does your platform use instead of udev? Alan Stern

Re: USB storage device cause usb bus can't enter runtime suspend

2014-11-26 Thread Alan Stern
On Wed, 26 Nov 2014, tianjulin wrote: > Hi Stern, > > Many Thanks!!! You're welcome. > I use command as follows,the usb bus can enter runtime suspend when I > connect usb storage,and if have operate on usb storage,the usb bus can > be resume,if have not any operate on usb storage,the usb bus

Re: USB storage device cause usb bus can't enter runtime suspend

2014-11-25 Thread Alan Stern
On Tue, 25 Nov 2014, tianjulin wrote: > Hi Stern, > > *1*:I turn off media-change polling when connect sdcard-reader,the usb > bus still can't enter runtime suspend.I guss sdcard-reader can't enter > runtime suspend cause the usb bus cat't enter runtime suspend,but I > can't understand that wh

Re: USB storage device cause usb bus can't enter runtime suspend

2014-11-24 Thread Alan Stern
On Mon, 24 Nov 2014, tianjulin wrote: > Hi Stern, > > 1:Thanks your kind support,but how to turn off media-change polling? echo -1 >/sys/block/sdX/events_poll_msecs Replace the X with the drive letter for your card reader. > or > may I change the polling time for long time to fixed t

Re: USB storage device cause usb bus can't enter runtime suspend

2014-11-23 Thread tianjulin
Hi Stern, 1:Thanks your kind support,but how to turn off media-change polling? or may I change the polling time for long time to fixed this bug? 2:If media-change polling prevent the device entering runtime suspend, Why connect USB storage devices without operator and usb mouse also may cau

Re: USB storage device cause usb bus can't enter runtime suspend

2014-11-23 Thread tianjulin
Hi Stern, Thanks your kind support,but how to turn off media-change polling? or may I change the polling time for long time to fixed this bug? If media-change polling prevent the device entering runtime suspend, Why connect USB storage devices and usb mouse also may cause USB bus can't ente

Re: USB storage device cause usb bus can't enter runtime suspend

2014-11-23 Thread tianjulin
Hi Stern, Thanks your kind support,but how to turn off media-change polling? or may I change the polling time for long time to fixed this bug? And Why connect USB storage devices also may cause USB bus can't enter runtime suspend? Hi Stern, Thanks your kind support,but how to turn off med

Re: USB storage device cause usb bus can't enter runtime suspend

2014-11-23 Thread tianjulin
Hi Stern, Thanks your kind support,but how to turn off media-change polling? or may I change the polling time for long time to fixed this bug? 在 2014年11月24日 06:02, tianjulin 写道: Hi Stern, Thanks your kind support,but how to turn off media-change polling? 在 2014年11月24日 01:00, Alan Stern 写道

Re: USB storage device cause usb bus can't enter runtime suspend

2014-11-23 Thread tianjulin
Hi Stern, Thanks your kind support,but how to turn off media-change polling? 在 2014年11月24日 01:00, Alan Stern 写道: On Sun, 23 Nov 2014, liu chunlin wrote: Hi all, AS I known,SDcard use SDIO interface,I need use a sdcard-reader( USB to SDIO)if I want to use sdcard on my board ,but I have t

Re: USB storage device cause usb bus can't enter runtime suspend

2014-11-23 Thread Alan Stern
On Sun, 23 Nov 2014, liu chunlin wrote: > Hi all, > > AS I known,SDcard use SDIO interface,I need use a sdcard-reader( USB to > SDIO)if I want to use sdcard on my board ,but I have try many sdcard-reader > without sdcard to connect usb ,all of them will cause usb bus can't enter > runtime su

Bug ID::88761 USB storage device cause usb bus can't enter runtime suspend

2014-11-23 Thread tianjulin
Bug ID::88761 Summary:USB storage device cause usb bus can't enter runtime suspend AS I known,SDcard use SDIO interface,I need use a sdcard-reader( USB to SDIO)if I want to use sdcard on my board ,but I have try many sdcard-reader without sdcard to connect usb ,all of them will cause usb bus