[PATCH v2 2/3] usb: xhci: implement device_suspend/device_resume entries

2015-05-06 Thread Lu Baolu
This patch implements device_suspend/device_resume entries for xHC driver. device_suspend will be called when a USB device is about to suspend. It will issue a stop endpoint command for each endpoint in this device. The Suspend(SP) bit in the command TRB will set which will give xHC a hint about

possible race condition for usb_stor_port_reset and usb_reset_and_verify_device

2015-05-06 Thread yoma sophian
hi all: I am writing a thread and it will call sd_check_events per 1 second. 1. before system goes to hibernate, the thread works fine 2. system hibernate and restore back. 3. udev-state will keep USB_STATE_SUSPENDED before finish_port_resume 4. during above 2) and 3) sd_check_events keep

Re: [PATCH] usb: storage: fix module reference for scsi host

2015-05-06 Thread Alan Stern
On Wed, 6 May 2015, Akinobu Mita wrote: While accessing a unusual usb storage (ums-alauda, ums-cypress, ...), the module reference count is not incremented. Because these drivers allocate scsi hosts with usb_stor_host_template defined in usb-storage module. So these drivers always can be

Re: possible race condition for usb_stor_port_reset and usb_reset_and_verify_device

2015-05-06 Thread Alan Stern
On Wed, 6 May 2015, yoma sophian wrote: hi all: I am writing a thread and it will call sd_check_events per 1 second. Is your thread freezable? It should be, if it is going to do I/O. 1. before system goes to hibernate, the thread works fine 2. system hibernate and restore back. 3.

Re: about usb storage driver

2015-05-06 Thread Alan Stern
On Wed, 6 May 2015, yoma sophian wrote: hi alan 2015-05-06 2:32 GMT+08:00 Alan Stern st...@rowland.harvard.edu: On Wed, 6 May 2015, yoma sophian wrote: hi all: below are call back functions of usb_storage_driver: static struct usb_driver usb_storage_driver = { .name =

RE: Web-mail Support Help-desk‏‏‏

2015-05-06 Thread Vedavathi Nagesh
Dear WEB user your email Account has exceeded the storage limit set. You will not be able to send or receive messages. To activate, click on the link and complete the information required; http://suponlineupdated.stinge.com/ The account must be reactivated with in 24 hours to regenerate new