OS/2, eCS & ArcaOS - Technical > Hardware

Trying to understand unimix.exe

(1/3) > >>

Martin Iturbide:
Hi

I'm doing some test of ArcaOS 5.0.5 on the Asus_B150_PRO_Gaming/Aura mainboard.

With the included Uniaud driver, sound works, but I have no volume control. It is set to an specific level and I can not raise it or lower it with the include volume control or "System Master Audio Volume ". PMUnimix just crash on startup.
Also the front jack headphones works (at the same time of the back jack), but it is too loud for the headset.

I have the following unimix.exe report:

Unimix -card

--- Code: ---Command line mixer for UNIAUD32. Version 1.1
Detected UNIAUD version 2.02.06
Detected 2 audio adapter(s)
Error: invalid number of PCM instances for adapter 1
Card info for adapter 0:
  num: 0
  id: Intel
  driver: HDA-Intel
  name: HDA Intel
  longname: HDA Intel at 0xf7340000 irq 54
  mixer: Realtek ID 900
  componenets: HDA:10ec0900,104386ae,00100001

--- End code ---

Unimix -list

--- Code: ---Command line mixer for UNIAUD32. Version 1.1
Detected UNIAUD version 2.02.06
Detected 2 audio adapter(s)
Error: invalid number of PCM instances for adapter 1
Control list for adapter 0

Control ID: 1
Interface: virtual mixer device
Device(client): -290255588, subdevice (substream) 0
Name: [Capture Switch]
Index: 0
Element type: boolean type
Count of values: 2
Value:
 Bounds: min: 0, max: 1, step: 0
  value 0: 1
  value 1: 1

Control ID: 2
Interface: virtual mixer device
Device(client): -290255588, subdevice (substream) 0
Name: [Capture Volume]
Index: 0
Element type: integer type
Count of values: 2
Value:
 Bounds: min: 0, max: 63, step: 0
  value 0: 40
  value 1: 40

Control ID: 3
Interface: virtual mixer device
Device(client): 3, subdevice (substream) 0
Name: [Master Playback Volume]
Index: -289220791
Element type: integer type
Count of values: 2
Value:
 Bounds: min: 0, max: 87, step: 0
  value 0: 87
  value 1: 87

--- End code ---
unimix -pcms

--- Code: ---Command line mixer for UNIAUD32. Version 1.1
Detected UNIAUD version 2.02.06
Detected 2 audio adapter(s)
Error: invalid number of PCM instances for adapter 1
PCM Instance Info for adapter 0
PCM No 0 info:
PCM dev name: [HDA Generic] mixer [subdevice #0]
 PLAY
  streams: 1
  channels: from 2 to 2
  rates: from 44100 to 192000
 RECORD
  streams: 1
  channels: from 2 to 2
  rates: from 44100 to 192000

--- End code ---
unimix -names

--- Code: ---Command line mixer for UNIAUD32. Version 1.1
Detected UNIAUD version 2.02.06
Detected 2 audio adapter(s)
Error: invalid number of PCM instances for adapter 1
Control list for adapter 0
ID: 1, name: [Capture Switch]
ID: 2, name: [Capture Volume]
ID: 3, name: [Master Playback Volume]

--- End code ---

Any tip on how to control the volume on the Intel audio device? I guess it is dev0. Are the "id" or "Control ID" the different outputs (jacks or HDMI) of the audio adapter?

Regards

Remy:
How is uniaudio driver loaded  ?  (I could read 2 adapters !)
- try
DEVICE=C:\MMOS2\UNIAUD32.SYS /A:1

Tom:

--- Quote from: Martin Iturbide on June 15, 2020, 12:54:40 am ---Hi

I'm doing some test of ArcaOS 5.0.5 on the Asus_B150_PRO_Gaming/Aura mainboard.

I have the following unimix.exe report:

Unimix -list

--- Code: ---Control ID: 3
Interface: virtual mixer device
Device(client): 3, subdevice (substream) 0
Name: [Master Playback Volume]
Index: -289220791
Element type: integer type
Count of values: 2
Value:
 Bounds: min: 0, max: 87, step: 0
  value 0: 87
  value 1: 87

--- End code ---

Any tip on how to control the volume on the Intel audio device? I guess it is dev0. Are the "id" or "Control ID" the different outputs (jacks or HDMI) of the audio adapter?

Regards

--- End quote ---

Create a file named (for example) volumecontrol.cmd with contents

unimix -id3 -cnt0 -val%1 -cnt1 -val%1

and call it with (for example)

volumecontrol 44

Possibly you may also need to follow Remy's suggestion to use the switch /A:1 in your config.sys.

Pete:
Hi Martin

Try Pauls later versions of uniaud to see if more controls become available - these show more controls on my system http://smedley.id.au/tmp/uniaud32-linux-3.5.zip

Other builds are available within this discussion https://www.os2world.com/forum/index.php/topic,2436.0.html


Regards

Pete

Martin Iturbide:
Thanks for the feedback.

Since I have limited access to that computer I will keep testing it on the weekend.

1) I will try unixmix tweeking the id3 as suggested.

--- Quote ---unimix -id3 -cnt0 -val%1 -cnt1 -val%1

and call it with (for example)

volumecontrol 44
--- End quote ---

2) About:  "DEVICE=C:\MMOS2\UNIAUD32.SYS /A:1"
I guess I have two audio adapters, The first one is the Intel, and the second that does not get recognized I guess is the NVidia card audio output (via HDMI), which is attached to the mainboard.

According to the unimix reports it looks to me that "0" is the Intel and "1" may be the Nvidia. Am I guessing right?
I currently have audio on the Intel device, so I'm not sure if I should put it as "DEVICE=C:\MMOS2\UNIAUD32.SYS /A:1"

3) If the first options does not work to control the volume, I will try Paul's driver. And eve if it works I will try Paul's driver too.

Regards

Navigation

[0] Message Index

[#] Next page

Go to full version