Opened 11 years ago

Last modified 9 years ago

#160 new defect

Support for multiple cards

Reported by: ggamba Owned by: dazarewicz
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 10 years ago.
Booting with uniaud32-20090621-debug.zip: 2 adapters recognized!
debuginfo_uniaud-20090628b-debug.zip.zip (6.8 KB) - added by ggamba 10 years ago.
Uniinfo from uniaud-20090628b-debug.zip.zip
debuginfo_uniaud-20090628c-debug.zip.zip (6.8 KB) - added by ggamba 10 years ago.
Uniinfo from uniaud-20090628c-debug.zip.zip
debuginfo_uniaud-20090628d-debug.zip.zip (6.2 KB) - added by ggamba 10 years ago.
Uniinfo from uniaud-20090628d-debug.zip.zip
debuginfo_uniaud-20090628e-debug.zip.zip (6.2 KB) - added by ggamba 10 years ago.
Uniinfo from uniaud-20090628e-debug.zip.zip
debuginfo_uniaud-20090628f-debug.zip.zip (6.9 KB) - added by ggamba 10 years ago.
Uniinfo from uniaud-20090628f-debug.zip.zip
debuginfo_uniaud-20090628g-debug.zip.zip (6.3 KB) - added by ggamba 10 years ago.
Uniinfo from uniaud-20090628f-debug.zip.zip
debuginfo_Uniaud195-1924.zip (6.3 KB) - added by ggamba 9 years ago.
Uniinfo with Uniaud195-1924.zip... it now detects 3 audio adapters…
unilog-Uniaud195-211.zip (5.3 KB) - added by ggamba 9 years ago.
uniinfo.cmd with Uniaud195-211.zip
hardware_manager.jpg (17.9 KB) - added by ggamba 9 years ago.
Detail from hardware manager

Download all attachments as: .zip

Change History (23)

comment:1 Changed 11 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 10 years ago by psmedley

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 10 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 10 years ago by ggamba

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

comment:4 Changed 10 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 10 years ago by psmedley

  • Owner set to psmedley
  • Version changed from 1.1.4RC6 to 1.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 10 years ago by psmedley

  • Status changed from new to assigned

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

comment:7 Changed 10 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 10 years ago by psmedley

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 10 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 10 years ago by ggamba

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

Changed 10 years ago by ggamba

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

comment:10 Changed 10 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 10 years ago by ggamba

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

Changed 10 years ago by ggamba

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

Changed 10 years ago by ggamba

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

Changed 10 years ago by ggamba

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

comment:11 Changed 9 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 9 years ago by dazarewicz

  • Component changed from Building to UNIAUD32
  • Owner changed from psmedley to dazarewicz
  • Status changed from assigned to new

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 9 years ago by ggamba

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

comment:13 Changed 9 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 9 years ago by ggamba

uniinfo.cmd with Uniaud195-211.zip

Changed 9 years ago by ggamba

Detail from hardware manager

Note: See TracTickets for help on using tickets.