Skip to contentSkip to conversation

alsasound init script (Re: possible problems with rc6 aplay )

DISCUSSION Pedro Lopez-Cabanillas 3 participants 3 messages Dec 20, 2002 – Dec 23, 2002 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 12 lines · Clemens Ladisch
Quoted 11 lines · Takashi Iwai
Quoted 3 lines · Mark Knecht

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,

Quoted 7 lines
Quoted 7 lines
Quoted 3 lines

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.

Quoted 4 lines

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

Signature · 10 lines
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/
#2 lore raw

At Fri, 20 Dec 2002 23:53:13 +0100,

Quoted 4 lines · Pedro Lopez-Cabanillas

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.

it would be nice to provide a new generic proc file which shows the low-level hardware information as the card number, the module name and the PCI/ISA-PnP/USB/PCMCIA IDs like:

0 snd-ens1371 0x0123 0xABCD
1 snd-usb-audio 0xXXXX 0xYYYY

Takashi

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

#3 lore raw
Quoted 6 lines · Takashi Iwai

At Fri, 20 Dec 2002 23:53:13 +0100,

Quoted 1 line · Pedro Lopez-Cabanillas

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.

Quoted 7 lines

it would be nice to provide a new generic proc file which shows the low-level hardware information as the card number, the module name and the PCI/ISA-PnP/USB/PCMCIA IDs like:

0 snd-ens1371 0x0123 0xABCD
1 snd-usb-audio 0xXXXX 0xYYYY

Could you add to that the irq number?

Signature · 17 lines
Patrick Shirkey - Boost Hardware Ltd.
For the discerning hardware connoisseur
Http://www.boosthardware.com
Http://www.djcj.org - The Linux Audio Users guide
========================================

Being on stage with the band in front of crowds shouting, "Get off! No! We want normal music!", I think that was more like acting than anything I've ever done.

Goldie, 8 Nov, 2002
The Scotsman



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