alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
* USB sound auto-suspend not working
@ 2013-12-17 22:55 Sarah Sharp
  2013-12-17 23:07 ` Mark Brown
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Sarah Sharp @ 2013-12-17 22:55 UTC (permalink / raw)
  To: Oliver Neukum, Takashi Iwai
  Cc: linux-usb-u79uwXL29TY76Z2rM5mHXA, Jaroslav Kysela,
	alsa-devel-K7yf7f+aM1XWsZ/bQMPhNw

Hi Oliver and Takashi,

I've noticed that in the last couple kernel releases or so, I can't get
USB webcams to suspend.  It turns out that the USB sound interface is
keeping the device active, even when the device is not playing sound.
This goes back as far as 3.10, but I haven't tried older kernels.  This
is testing on Ubuntu 13.10.

Commit 88a8516a2128a6d078a106ead48092240e8a138f "ALSA: usbaudio:
implement USB autosuspend" went into kernel 2.6.39.  The commit message
says the device is prevented from suspending if the pcm or midi channel
files are open.

I plugged in a USB speaker, and ran lsof to see which files were open
(output is attached).  AFAICT, only the USB sound device's control files
are open, and I don't have any midi files.

Any ideas as to why USB sound auto-suspend isn't working?

Sarah Sharp
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-12-18 17:29 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-17 22:55 USB sound auto-suspend not working Sarah Sharp
2013-12-17 23:07 ` Mark Brown
2013-12-18  4:15   ` Sarah Sharp
2013-12-18  8:51 ` Oliver Neukum
2013-12-18 17:29 ` Takashi Iwai

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).