Re: Autosuspend and unbound interfaces

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On May 6, 2010, at 2:28 PM, Alan Stern wrote:

> The problem is that something is resuming your device once or twice
> per second, thereby preventing it from autosuspending.  You'll have to
> figure out what's doing this.
>
> You can print the value of current->comm and add a dump_stack() call to
> usb_autoresume_device() -- try to trigger it only when the device in
> question is yours.

Bingo!  The culprit is pcscd.  Killing it allowed my device to suspend
within a second or two.  This program is the "PC/SD Smart Card Daemon",
so I'm guessing it's polling the bus to look for card insertions.

Thank you very much, Alan, for all your invaluable help.

Rob.

The information and any attached documents contained in this message
may be confidential and/or legally privileged.  The message is
intended solely for the addressee(s).  If you are not the intended
recipient, you are hereby notified that any use, dissemination, or
reproduction is strictly prohibited and may be unlawful.  If you are
not the intended recipient, please contact the sender immediately by
return e-mail and destroy all copies of the original message.
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux