Ports
May 24, 2013, 08:36:41 am *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: SMF - Just Installed!
 
   Home   Help Search Login Register  
Welcome to the PORTS Forum. Please post your questions, answers, and comments relating to USB and other hardware interfaces in the appropriate forums below. - Jan
Pages: [1]
  Print  
Author Topic: How can we ensure device not suspend in MSD?  (Read 660 times)
eng.Buffon
Member
***
Posts: 23


« on: March 03, 2012, 06:27:38 am »

hi guys

hi everyone,

i wanna know how to ensure that my device of Mass Storage Class don't suspend , when there is no transaction on the bus?

as in HID there was periodically IN Transaction so the device can't suspend>>

please help me

thanks in Advance
Logged
Pat Crowe
Member
***
Posts: 39


« Reply #1 on: March 03, 2012, 10:45:22 am »

Suspend is a state which the host may require at any time. A device is required to respond appropriately, and reduce its current draw to 2.5mA. This applies equally to any device regardless of class. There is nothing that a device, on its own, can do to avoid this. Some operating systems may have settings to make suspend less likely.
Logged
eng.Buffon
Member
***
Posts: 23


« Reply #2 on: March 04, 2012, 03:08:57 pm »

what about keep-alive message?
Logged
Pat Crowe
Member
***
Posts: 39


« Reply #3 on: March 04, 2012, 03:49:09 pm »

I could say 'what about it?'.  Smiley

Keep Alive is the low speed equivalent of the Start of Frame packet. Both KeepAlive and SOF are used by the host to (among other things) tell the device not to suspend at the moment.

The point is that it is the host that decides - not the device.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!