All of lore.kernel.org
 help / color / mirror / Atom feed
* init script with hotplug & usb audio
@ 2002-09-26  8:20 Duncan Sands
  2002-09-26 10:40 ` Tim Goetze
  2002-09-26 11:49 ` Takashi Iwai
  0 siblings, 2 replies; 9+ messages in thread
From: Duncan Sands @ 2002-09-26  8:20 UTC (permalink / raw)
  To: alsa-devel

I have a usb webcam with audio plugged into my computer,
and a cs46xx sound card inside.

When I boot the following sequence occurs:

(1) the hotplug subsytem is started.  This automatically
loads the snd-usb-audio module and the modules it
depends on.  In particular /proc/asound/ is created.

(2) the alsasound init script is run.  It detects that
/proc/asound/ exists, and exits at once.  In particular
it does not restore mixer levels for the cs46xx card.

I solved this by commenting out the check for /proc/asound/
in the init script.  The problem goes deeper though, especially
when things like usb audio devices are around, which can be
hotplugged: maybe sound card modules should really be calling
the hotplug subsystem when they are initialize.  The hotplug
script would then restore mixer settings etc...

Thoughts?

Duncan.


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

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

end of thread, other threads:[~2002-10-01  6:46 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-09-26  8:20 init script with hotplug & usb audio Duncan Sands
2002-09-26 10:40 ` Tim Goetze
2002-09-27  7:11   ` Duncan Sands
2002-09-26 11:49 ` Takashi Iwai
2002-09-27  7:08   ` Duncan Sands
2002-09-27 17:53     ` Takashi Iwai
2002-09-30  7:55       ` Duncan Sands
2002-09-30 10:04         ` Takashi Iwai
2002-10-01  6:46           ` Duncan Sands

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.