Opened 15 years ago

Closed 4 years ago

#160 closed defect (too-old)

Support for multiple cards

Reported by: ggamba Owned by: David Azarewicz
Priority: normal Milestone:
Component: UNIAUD32 Version: 1.9.14
Severity: normal Keywords:
Cc: ggamba

Description

When more than an audio adapter is present in the system (that could be not so unusual in the future, as seems that more and more graphic adapters have audio onboard!!) please add a way to specify *which* is the audio adapter to use.

Specifying DEVICE=G:\MMOS2\UNIAUD32.SYS two times, like you do for network adapters, doesn't work here.

On this subject, this page exist:

http://alsa.opensrc.org/index.php/MultipleCards

but most of it is obviously Linux stuff.

Bye Gabriele

Attachments (10)

debuginfo_uniaud32-20090621-debug.zip (6.8 KB) - added by ggamba 15 years ago.
Booting with uniaud32-20090621-debug.zip: 2 adapters recognized!
debuginfo_uniaud-20090628b-debug.zip.zip (6.8 KB) - added by ggamba 15 years ago.
Uniinfo from uniaud-20090628b-debug.zip.zip
debuginfo_uniaud-20090628c-debug.zip.zip (6.8 KB) - added by ggamba 15 years ago.
Uniinfo from uniaud-20090628c-debug.zip.zip
debuginfo_uniaud-20090628d-debug.zip.zip (6.2 KB) - added by ggamba 15 years ago.
Uniinfo from uniaud-20090628d-debug.zip.zip
debuginfo_uniaud-20090628e-debug.zip.zip (6.2 KB) - added by ggamba 15 years ago.
Uniinfo from uniaud-20090628e-debug.zip.zip
debuginfo_uniaud-20090628f-debug.zip.zip (6.9 KB) - added by ggamba 15 years ago.
Uniinfo from uniaud-20090628f-debug.zip.zip
debuginfo_uniaud-20090628g-debug.zip.zip (6.3 KB) - added by ggamba 15 years ago.
Uniinfo from uniaud-20090628f-debug.zip.zip
debuginfo_Uniaud195-1924.zip (6.3 KB) - added by ggamba 13 years ago.
Uniinfo with Uniaud195-1924.zip... it now detects 3 audio adapters…
unilog-Uniaud195-211.zip (5.3 KB) - added by ggamba 13 years ago.
uniinfo.cmd with Uniaud195-211.zip
hardware_manager.jpg (17.9 KB) - added by ggamba 13 years ago.
Detail from hardware manager

Download all attachments as: .zip

Change History (25)

comment:1 Changed 15 years ago by ggamba

As the problem is caused here by an ATI video card including HDA, Paul kindly compiled an uniaud32.sys without the code for HDA ATI HDMI.

But, at boot time, uniaud32.sys still tried to attach to ATI HDA. Once booted, strangely enough, "unimix -card" command failed! It started working again once loaded the non-patched uniaud32.sys...

comment:2 Changed 15 years ago by Paul Smedley

Can you please send me a log using uniinfo for the booted system with latest uniaud?

I'd like to see what is detected, so I can start thinking of how command line parameters could work

comment:3 Changed 15 years ago by ggamba

From yesterday's conversation with Mr. Smedley: "It seems the os2 specific functions to support pci device detection only allow one device to be detected. See pci_register_driver() in lib32\pci.c".

Changed 15 years ago by ggamba

Booting with uniaud32-20090621-debug.zip: 2 adapters recognized!

comment:4 Changed 15 years ago by ggamba

From alsahlp.log, using debuginfo_uniaud32-20090621-debug.zip:

"Uniaud version 1.9.16-SVN r447+

...

found: 10de, id: 371 idx 0

...

found: 1002, id: aa30 idx 0"

First one is the ATI HDA, second one is Nvidia HDA :-)

comment:5 Changed 15 years ago by Paul Smedley

Owner: set to Paul Smedley
Version: 1.1.4RC61.9.14

FWIW - Changeset 452 is what resolved the pci_register_driver() issue with only detecting one device.

The next trick is to allow uniaud16 to talk to either/both devices

comment:6 Changed 15 years ago by Paul Smedley

Status: newassigned

Can you please generate alsahlp$ with http://smedley.info/uniaud-20090625-debug.zip

comment:7 Changed 15 years ago by ggamba

Unfortunately I can't: system doesn't boot with uniaud-20090625-debug.zip (Alt-F2 says it hangs at or just after uniaud32.sys).

If in the bios I disable Nvidia HD, system boots regularly but network works in intermittent way (maybe an ACPI problem? network adapter driver is GenMAC).

comment:8 Changed 15 years ago by Paul Smedley

Can you please test with: http://smedley.info/uniaud-20090626-debug.zip & http://smedley.info/uniaud-20090626a-debug.zip

To see which fixes the hang? Both revert changes I made since the initial drop I sent you on IRC

comment:9 Changed 15 years ago by ggamba

http://smedley.info/uniaud-20090626a-debug.zip acts exactly as http://smedley.info/uniaud-20090625-debug.zip, also the problem with network is present.

http://smedley.info/uniaud-20090626-debug.zip boots ok (both audio adapters enabled) up to uniaud32.sys, then there is a long delay after uniaud16.sys, long delays after usbresmg.sys and ndfs32.ifs and an infinitely long delay at vpcapp.sys (hang?).

Changed 15 years ago by ggamba

Uniinfo from uniaud-20090628b-debug.zip.zip

Changed 15 years ago by ggamba

Uniinfo from uniaud-20090628c-debug.zip.zip

comment:10 Changed 15 years ago by ggamba

Cc: ggamba added

Opened a ticket for ACPI: "ACPI 3.14 + latest UNIAUD = degradation", http://trac.netlabs.org/acpi/ticket/421

Changed 15 years ago by ggamba

Uniinfo from uniaud-20090628d-debug.zip.zip

Changed 15 years ago by ggamba

Uniinfo from uniaud-20090628e-debug.zip.zip

Changed 15 years ago by ggamba

Uniinfo from uniaud-20090628f-debug.zip.zip

Changed 15 years ago by ggamba

Uniinfo from uniaud-20090628f-debug.zip.zip

comment:11 Changed 14 years ago by ggamba

Hi all,

I've seen that lot of work has been done on Uniaud. Any chance that there will be more progress on this subject too?

Thanks and bye

Gabriele

comment:12 Changed 14 years ago by David Azarewicz

Component: BuildingUNIAUD32
Owner: changed from Paul Smedley to David Azarewicz
Status: assignednew

The latest BETA build has completely reworked PCI bus scanner code. It should correctly detect multiple adapters. Whether or not you can select which one to use when you play a sound is another question. You can select which driver to initialize by using the /C:CARDNAME switch for uniaud32.sys in config.sys. However, I think that both of your cards use the same driver.

Changed 13 years ago by ggamba

Uniinfo with Uniaud195-1924.zip... it now detects 3 audio adapters...

comment:13 Changed 13 years ago by ggamba

It now says "Detected 3 audio adapter(s)"!

No idea about the third one, but the problem is that the first recognized is always HDA ATI HDMI :-\

Changed 13 years ago by ggamba

Attachment: unilog-Uniaud195-211.zip added

uniinfo.cmd with Uniaud195-211.zip

Changed 13 years ago by ggamba

Attachment: hardware_manager.jpg added

Detail from hardware manager

comment:14 Changed 4 years ago by martini

Hello

This ticket is too old. Please use the latest version of Uniaud. If the problem persist, please re-open the ticket.

Regards

comment:15 Changed 4 years ago by martini

Resolution: too-old
Status: newclosed
Note: See TracTickets for help on using tickets.