From: Pedro Lopez-Cabanillas <plcl@telefonica.net>
To: alsa-devel@lists.sourceforge.net
Cc: Clemens Ladisch <clemens@ladisch.de>
Subject: Re: alsasound init script (Re: possible problems with rc6 aplay )
Date: Fri, 20 Dec 2002 23:53:13 +0100 [thread overview]
Message-ID: <200212202353.13933.plcl@telefonica.net> (raw)
In-Reply-To: <E18PTTN-0004YV-00@sc8-sf-list2.sourceforge.net>
On Friday 20 December 2002 21:09, Clemens Ladisch wrote:
> Takashi Iwai wrote:
> > Mark Knecht wrote:
> > > I was wondering what would happen in this process if someone had two r
> > > three identical USB devices, like the MidiMan 2X2? OR also two
> > > identical cards like the RME HDSP 9652?
> >
> > when a module is loaded and two or more identical (or supported)
> > devices are connected, the module will initialize the all such devices
> > at once.
> >
> > for multiple devices, you can specify the options separated by commas,
> >
> > > It is important that the system recognize the same hardware as the same
> > > sound device every time the machine booted, and whether the machine is
> > > warm or cold booted.
> >
> > in the case of usb, it's not 100% sure, because it's anyway
> > hotpluggable. but usually the order of probing is identical, so it's
> > ok.
The probing order is the same if you plug everytime the same device at the
same USB bus/port. Hotplug agent also receives an environment variable,
DEVICE=/proc/bus/usb/001/002 or something like this, being the last numbers
the USB bus and device numbers.
> It is possible to force USB devices to a specific index with the vid/pid
> parameters for the vendor/product id, even when hotplugging.
> However, this won't work when you hotplug two identical devices (with the
> same product id).
The vid/pid parameters work well for me, as i have two USB MIDI devices from
different vendors. It works regarding the plug order, or the USB port used.
Perhaps another parameter like usbdev=001/002 or something else could be
useful in case that someone has several identical devices?
Clemens, I remember that /proc/asound/cards returned this bus/device
information for USB MIDI devices some time ago (rc3?), like it does for my SB
128 PCI.
Regards,
Pedro
--
ALSA Library Bindings for Pascal
http://alsapas.alturl.com
-------------------------------------------------------
This SF.NET email is sponsored by: The Best Geek Holiday Gifts!
Time is running out! Thinkgeek.com has the coolest gifts for
your favorite geek. Let your fingers do the typing. Visit Now.
T H I N K G E E K . C O M http://www.thinkgeek.com/sf/
next parent reply other threads:[~2002-12-20 22:53 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <E18PTTN-0004YV-00@sc8-sf-list2.sourceforge.net>
2002-12-20 22:53 ` Pedro Lopez-Cabanillas [this message]
2002-12-23 13:44 ` alsasound init script (Re: possible problems with rc6 aplay ) Takashi Iwai
2002-12-23 17:18 ` Patrick Shirkey
[not found] <20021216152035.CZFC3512.sccrgwc01.attbi.com@newmx1.fast.net>
2002-12-16 21:18 ` Mark Knecht
2002-12-17 2:51 ` Paul Davis
2002-12-17 3:46 ` Mark Knecht
2002-12-17 11:06 ` Takashi Iwai
2002-12-17 19:36 ` Fernando Pablo Lopez-Lezcano
2002-12-18 10:46 ` Takashi Iwai
2002-12-18 11:17 ` Takashi Iwai
2002-12-18 13:11 ` Mark Knecht
2002-12-20 15:10 ` Takashi Iwai
2002-12-20 16:10 ` Clemens Ladisch
2002-12-16 13:57 possible problems with rc6 aplay Takashi Iwai
2002-12-16 14:29 ` Paul Davis
2002-12-16 14:53 ` alsasound init script (Re: possible problems with rc6 aplay ) Takashi Iwai
2002-12-16 15:23 ` Paul Davis
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200212202353.13933.plcl@telefonica.net \
--to=plcl@telefonica.net \
--cc=alsa-devel@lists.sourceforge.net \
--cc=clemens@ladisch.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox