Author Topic: Updated Uniaud32 build  (Read 43292 times)

Remy

  • Sr. Member
  • ****
  • Thank You
  • -Given: 1
  • -Receive: 15
  • Posts: 397
  • Karma: +0/-0
    • View Profile
Re: Updated Uniaud32 build
« Reply #135 on: August 08, 2020, 10:20:44 pm »
I give a try to  3-12-74-20200808
- It found my card
- it found irq
but it only found one time the audio driver "Realtek ALC892"  resulting into a nice working audio (better than originally one) but this occurred only 1 time of 6 reboot !
Strange...

Parms used:    DEVICE=C:\MMOS2\UNIAUD32.SYS /A:1 /V /C /M /L
« Last Edit: August 08, 2020, 10:39:23 pm by Remy »

Joop

  • Hero Member
  • *****
  • Thank You
  • -Given: 0
  • -Receive: 65
  • Posts: 587
  • Karma: +1/-0
    • View Profile
Re: Updated Uniaud32 build
« Reply #136 on: August 08, 2020, 11:36:39 pm »
You have to screen your config.sys on the position of this line, it must be one of the last in the device block. Everything uniaud needs has to be started before the line with uniaud.   

Paul Smedley

  • Hero Member
  • *****
  • Thank You
  • -Given: 58
  • -Receive: 110
  • Posts: 810
  • Karma: +50/-0
    • View Profile
Re: Updated Uniaud32 build
« Reply #137 on: August 09, 2020, 01:13:36 am »
Hi David,,

  3.12 seems to work fine, but I get no sound with 3.10. I'll upload debug Alsahlp$ files...

Most likely this is due to be implementing more of the 'quirks' in patch_realtek.c in 3.12 than are present in 3.10; and one of those quirks happens to fix sound for your hardware.

I still have a bit more work to do to fully implement all quirks in 3.12, and this is pretty tedious work - given 3.12 is working, I'll likely not re-do this work for 3.10.

I'll try and finish 3.12 off today, then move on to working out why 3.14 can't load a driver.

Cheers,

Paul

Paul Smedley

  • Hero Member
  • *****
  • Thank You
  • -Given: 58
  • -Receive: 110
  • Posts: 810
  • Karma: +50/-0
    • View Profile
Re: Updated Uniaud32 build
« Reply #138 on: August 09, 2020, 03:36:42 am »
I think all the quirks are now enabled in 3.12.74:
http://smedley.id.au/tmp/uniaud32-linux-3.12.74-20200809.zip

This might help with joop's issue as there were a bunch of missing workarounds for Realtek chips up until this morning...

I also tidied up patch_sigmatel and now get sound in Virtualbox again :)
« Last Edit: August 09, 2020, 03:39:16 am by Paul Smedley »

David McKenna

  • Sr. Member
  • ****
  • Thank You
  • -Given: 12
  • -Receive: 25
  • Posts: 332
  • Karma: +13/-0
    • View Profile
Re: Updated Uniaud32 build
« Reply #139 on: August 09, 2020, 05:56:33 am »
Paul,

  This one works well too... thanks again!

Regards,

Paul Smedley

  • Hero Member
  • *****
  • Thank You
  • -Given: 58
  • -Receive: 110
  • Posts: 810
  • Karma: +50/-0
    • View Profile
Re: Updated Uniaud32 build
« Reply #140 on: August 09, 2020, 06:33:16 am »
Thanks Dave, now to try and fix 3.14!

Paul Smedley

  • Hero Member
  • *****
  • Thank You
  • -Given: 58
  • -Receive: 110
  • Posts: 810
  • Karma: +50/-0
    • View Profile
Re: Updated Uniaud32 build
« Reply #141 on: August 09, 2020, 10:14:17 am »
I was sure I'd tried previously, but I tried again 3.14.79 this morning with ac97 hardware (using Virtualbox) and I detected hardware successfully. I then backlevelled hda_intel.c to an older version and got detected hardware with 3.14.79 and HDA hardware.

After some detective work, I've got HDA working with a slight hack whilst I find a better way to implement schedule_work() on OS/2.

Produces sound in Virtualbox with AC97 and HDA hardware for me.

http://smedley.id.au/tmp/uniaud32-linux-3.14.79-20200809.zip

Remy

  • Sr. Member
  • ****
  • Thank You
  • -Given: 1
  • -Receive: 15
  • Posts: 397
  • Karma: +0/-0
    • View Profile
Re: Updated Uniaud32 build
« Reply #142 on: August 09, 2020, 03:05:35 pm »
I give a try to  3-12-74-20200808
- It found my card
- it found irq
but it only found one time the audio driver "Realtek ALC892"  resulting into a nice working audio (better than originally one) but this occurred only 1 time of 6 reboot !
Strange...

Parms used:    DEVICE=C:\MMOS2\UNIAUD32.SYS /A:1 /V /C /M /L

Uniaudio driver had default ArcaOS position into config.sys
I moved it just before the latest device statement which is for the video.
Problem remain the same "Realtek ALC892" not detected

I updated to the latest 3.12 and did a few more reboot to check and I have the result: "realtek ALC892" not detected
(From all boot/reboot I did, it was only one time detected with the /A:1 adapter, using the debug build)

 

Remy

  • Sr. Member
  • ****
  • Thank You
  • -Given: 1
  • -Receive: 15
  • Posts: 397
  • Karma: +0/-0
    • View Profile
Re: Updated Uniaud32 build
« Reply #143 on: August 09, 2020, 03:15:12 pm »
now tried 3.14.79 and it seems to be worse

See boot messages

David McKenna

  • Sr. Member
  • ****
  • Thank You
  • -Given: 12
  • -Receive: 25
  • Posts: 332
  • Karma: +13/-0
    • View Profile
Re: Updated Uniaud32 build
« Reply #144 on: August 09, 2020, 04:08:25 pm »
 Paul,

 The new 3.14 version is working well here...

Regards,

David McKenna

  • Sr. Member
  • ****
  • Thank You
  • -Given: 12
  • -Receive: 25
  • Posts: 332
  • Karma: +13/-0
    • View Profile
Re: Updated Uniaud32 build
« Reply #145 on: August 09, 2020, 04:26:18 pm »
 Remy.

  What do you see when you type 'unimix -card' on a command prompt? Also, what happens if you change /A:1 to /A:0?

Regards,

Remy

  • Sr. Member
  • ****
  • Thank You
  • -Given: 1
  • -Receive: 15
  • Posts: 397
  • Karma: +0/-0
    • View Profile
Re: Updated Uniaud32 build
« Reply #146 on: August 09, 2020, 06:35:25 pm »
Remy.

  What do you see when you type 'unimix -card' on a command prompt? Also, what happens if you change /A:1 to /A:0?

Regards,

Hi David,

Using ArcaOS driver, I have:
Code: [Select]
Command line mixer for UNIAUD32. Version 1.1
Detected UNIAUD version 2.02.06
Detected 1 audio adapter(s)
Card info for adapter 0:
  num: 0
  id: Intel
  driver: HDA-Intel
  name: HDA Intel
  longname: HDA Intel at 0xf7410000 irq 22
  mixer: Realtek ALC892
  componenets: HDA:10ec0892,1462d922,00100302

With the new 3.12.74, I have:
ommand line mixer for UNIAUD32. Version 1.1
Detected UNIAUD version 2.02.05
Detected 1 audio adapter(s)
Card info for adapter 0:
  num: 0
  id: Intel
  driver: HDA-Intel
  name: HDA Intel
  longname: HDA Intel at 0xf7414000 irq 16
  mixer: Intel ID 2808
  componenets: HDA:80862808,80860101,00100000


Changing /A:1 to /A:0 gives:
Command line mixer for UNIAUD32. Version 1.1
Detected UNIAUD version 2.02.05
Detected 1 audio adapter(s)
Card info for adapter 0:
  num: 0
  id: HDMI
  driver: HDA-Intel
  name: HDA Intel HDMI
  longname: HDA Intel HDMI at 0xf7414000 irq 16
  mixer: Intel ID 2808
  componenets: HDA:80862808,80860101,00100000

Without the /A parameter, same result.

It looks like adapter number isn't taken ! 

Result of unimix -list
Command line mixer for UNIAUD32. Version 1.1
Detected UNIAUD version 2.02.05
Detected 1 audio adapter(s)
Control list for adapter 0

Control ID: 1
Interface: virtual mixer device
Device(client): 0, subdevice (substream) 0
Name: [IEC958 Playback Con Mask]
Index: 0
Element type: IEC958 (S/PDIF) setup
Count of values: 1
Value:
 AES0=0x0f,AES1=0xff,AES2=0x00,AES3=0x00

Control ID: 2
Interface: virtual mixer device
Device(client): 0, subdevice (substream) 0
Name: [IEC958 Playback Pro Mask]
Index: 0
Element type: IEC958 (S/PDIF) setup
Count of values: 1
Value:
 AES0=0x0f,AES1=0x00,AES2=0x00,AES3=0x00

Control ID: 3
Interface: virtual mixer device
Device(client): 0, subdevice (substream) 0
Name: [IEC958 Playback Default]
Index: 0
Element type: IEC958 (S/PDIF) setup
Count of values: 1
Value:
 AES0=0x04,AES1=0x00,AES2=0x00,AES3=0x00

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

Control ID: 5
Interface: global control
Device(client): 0, subdevice (substream) 0
Name: [HDMI Jack]
Index: 0
Element type: boolean type
Count of values: 1
Value:
 Bounds: min: 0, max: 1, step: 0
  value 0: 0

Control ID: 6
Interface: PCM device
Device(client): 3, subdevice (substream) 0
Name: [Playback Channel Map]
Index: 0
Element type: integer type
Count of values: 2
Value:
 Bounds: min: 0, max: 36, step: 0
  value 0: 0
  value 1: 0
« Last Edit: August 10, 2020, 04:28:29 pm by Martin Iturbide »

Remy

  • Sr. Member
  • ****
  • Thank You
  • -Given: 1
  • -Receive: 15
  • Posts: 397
  • Karma: +0/-0
    • View Profile
Re: Updated Uniaud32 build
« Reply #147 on: August 09, 2020, 07:49:28 pm »
Here is unimix -dev1 -list output
Code: [Select]
----
Command line mixer for UNIAUD32. Version 1.1
Detected UNIAUD version 2.02.05
Detected 2 audio adapter(s)
Control list for adapter 1

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

Control ID: 2
Interface: virtual mixer device
Device(client): 0, subdevice (substream) 0
Name: [Front Playback 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: 3
Interface: virtual mixer device
Device(client): 0, subdevice (substream) 0
Name: [Surround Playback Volume]
Index: 0
Element type: integer type
Count of values: 2
Value:
 Bounds: min: 0, max: 64, step: 0
  value 0: 64
  value 1: 64

Control ID: 4
Interface: virtual mixer device
Device(client): 0, subdevice (substream) 0
Name: [Surround Playback 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: 5
Interface: virtual mixer device
Device(client): 0, subdevice (substream) 0
Name: [Center Playback Volume]
Index: 0
Element type: integer type
Count of values: 1
Value:
 Bounds: min: 0, max: 64, step: 0
  value 0: 64

Control ID: 6
Interface: virtual mixer device
Device(client): 0, subdevice (substream) 0
Name: [LFE Playback Volume]
Index: 0
Element type: integer type
Count of values: 1
Value:
 Bounds: min: 0, max: 64, step: 0
  value 0: 64

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

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

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

Control ID: 10
Interface: virtual mixer device
Device(client): 0, subdevice (substream) 0
Name: [Side Playback 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: 11
Interface: virtual mixer device
Device(client): 0, subdevice (substream) 0
Name: [Headphone Playback Volume]
Index: 0
Element type: integer type
Count of values: 2
Value:
 Bounds: min: 0, max: 64, step: 0
  value 0: 64
  value 1: 64

Control ID: 12
Interface: virtual mixer device
Device(client): 0, subdevice (substream) 0
Name: [Headphone Playback 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: 13
Interface: virtual mixer device
Device(client): 0, subdevice (substream) 0
Name: [Front Mic Playback Volume]
Index: 0
Element type: integer type
Count of values: 2
Value:
 Bounds: min: 0, max: 31, step: 0
  value 0: 0
  value 1: 0

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

Control ID: 15
Interface: virtual mixer device
Device(client): 0, subdevice (substream) 0
Name: [Rear Mic Playback Volume]
Index: 0
Element type: integer type
Count of values: 2
Value:
 Bounds: min: 0, max: 31, step: 0
  value 0: 0
  value 1: 0

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

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

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

Control ID: 19
Interface: virtual mixer device
Device(client): 0, subdevice (substream) 0
Name: [Auto-Mute Mode]
Index: 0
Element type: enumerated type
Count of values: 1
Value:
 Bounds: items: 2, item: 0, name: [Disabled]
  value 0: 1

Control ID: 20
Interface: virtual mixer device
Device(client): 0, subdevice (substream) 0
Name: [Input Source]
Index: 0
Element type: enumerated type
Count of values: 1
Value:
 Bounds: items: 3, item: 0, name: [Front Mic]
  value 0: 0

Control ID: 21
Interface: virtual mixer device
Device(client): 0, subdevice (substream) 0
Name: [Input Source]
Index: 1
Element type: enumerated type
Count of values: 1
Value:
 Bounds: items: 3, item: 0, name: [Front Mic]
  value 0: 0

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

Control ID: 23
Interface: virtual mixer device
Device(client): 0, 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: 0
  value 1: 0

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

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

Control ID: 26
Interface: virtual mixer device
Device(client): 0, subdevice (substream) 0
Name: [Front Mic Boost Volume]
Index: 0
Element type: integer type
Count of values: 2
Value:
 Bounds: min: 0, max: 3, step: 0
  value 0: 0
  value 1: 0

Control ID: 27
Interface: virtual mixer device
Device(client): 0, subdevice (substream) 0
Name: [Rear Mic Boost Volume]
Index: 0
Element type: integer type
Count of values: 2
Value:
 Bounds: min: 0, max: 3, step: 0
  value 0: 0
  value 1: 0

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

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

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

Control ID: 31
Interface: global control
Device(client): 0, subdevice (substream) 0
Name: [Front Mic Jack]
Index: 0
Element type: boolean type
Count of values: 1
Value:
 Bounds: min: 0, max: 1, step: 0
  value 0: 0

Control ID: 32
Interface: global control
Device(client): 0, subdevice (substream) 0
Name: [Rear Mic Jack]
Index: 0
Element type: boolean type
Count of values: 1
Value:
 Bounds: min: 0, max: 1, step: 0
  value 0: 0

Control ID: 33
Interface: global control
Device(client): 0, subdevice (substream) 0
Name: [Line Jack]
Index: 0
Element type: boolean type
Count of values: 1
Value:
 Bounds: min: 0, max: 1, step: 0
  value 0: 0

Control ID: 34
Interface: global control
Device(client): 0, subdevice (substream) 0
Name: [Line Out Front Jack]
Index: 0
Element type: boolean type
Count of values: 1
Value:
 Bounds: min: 0, max: 1, step: 0
  value 0: 1

Control ID: 35
Interface: global control
Device(client): 0, subdevice (substream) 0
Name: [Line Out Surround Jack]
Index: 0
Element type: boolean type
Count of values: 1
Value:
 Bounds: min: 0, max: 1, step: 0
  value 0: 0

Control ID: 36
Interface: global control
Device(client): 0, subdevice (substream) 0
Name: [Line Out CLFE Jack]
Index: 0
Element type: boolean type
Count of values: 1
Value:
 Bounds: min: 0, max: 1, step: 0
  value 0: 0

Control ID: 37
Interface: global control
Device(client): 0, subdevice (substream) 0
Name: [Line Out Side Jack]
Index: 0
Element type: boolean type
Count of values: 1
Value:
 Bounds: min: 0, max: 1, step: 0
  value 0: 0

Control ID: 38
Interface: global control
Device(client): 0, subdevice (substream) 0
Name: [Front Headphone Jack]
Index: 0
Element type: boolean type
Count of values: 1
Value:
 Bounds: min: 0, max: 1, step: 0
  value 0: 0

Control ID: 39
Interface: PCM device
Device(client): 0, subdevice (substream) 0
Name: [Playback Channel Map]
Index: 0
Element type: integer type
Count of values: 8
Value:
 Bounds: min: 0, max: 36, step: 0
  value 0: 0
  value 1: 0
  value 2: 0
  value 3: 0
  value 4: 0
  value 5: 0
  value 6: 0
  value 7: 0

Control ID: 40
Interface: PCM device
Device(client): 0, subdevice (substream) 0
Name: [Capture Channel Map]
Index: 0
Element type: integer type
Count of values: 2
Value:
 Bounds: min: 0, max: 36, step: 0
  value 0: 0
  value 1: 0

Control ID: 41
Interface: PCM device
Device(client): 2, subdevice (substream) 0
Name: [Capture Channel Map]
Index: 0
Element type: integer type
Count of values: 2
Value:
 Bounds: min: 0, max: 36, step: 0
  value 0: 0
  value 1: 0

For me it looks like the /A:1 isn't recognized. May it be possible ?

Regards
Rémy
« Last Edit: August 10, 2020, 04:27:53 pm by Martin Iturbide »

David McKenna

  • Sr. Member
  • ****
  • Thank You
  • -Given: 12
  • -Receive: 25
  • Posts: 332
  • Karma: +13/-0
    • View Profile
Re: Updated Uniaud32 build
« Reply #148 on: August 09, 2020, 09:03:26 pm »
 Hi Remy,

 "For me it looks like the /A:1 isn't recognized. May it be possible ?"

 Yes, it looks like the mixer for the HDMI device (/A:0) is mistakenly being detected for the HDA device (/A:1). Hopefully Paul can figure it out...

Regards,
« Last Edit: August 09, 2020, 09:07:45 pm by David McKenna »

Paul Smedley

  • Hero Member
  • *****
  • Thank You
  • -Given: 58
  • -Receive: 110
  • Posts: 810
  • Karma: +50/-0
    • View Profile
Re: Updated Uniaud32 build
« Reply #149 on: August 09, 2020, 11:29:59 pm »
Does http://smedley.id.au/tmp/uniaud32-linux-3.14.79-20200810.zip help at all? In reviewing the diff from the original sources - something screwy had happened; so I took a fresh copy of the 3.14.79 sources and re-applied the diffs from 3.12.x. The diff looks much cleaner now. Driver still loads/works in Virtualbox, no time before work today to test on real hardware.