Realtek-UAD-generic icon indicating copy to clipboard operation
Realtek-UAD-generic copied to clipboard

ASIO on UAD

Open githubbapoopa opened this issue 3 years ago • 15 comments

Hi there,

I'd like to install ASIO. Is this included in your driver?

As I understand you have to modify the file HDX_GenericExt_RTK.inf

for example) edit the line

DeviceExtension_Install,HDAUDIO\FUNC_01&VEN_10EC&DEV_0892&SUBSYS_1458A182

to

DeviceExtension_ASIO_Install,HDAUDIO\FUNC_01&VEN_10EC&DEV_0892&SUBSYS_1458A182

https://www.tenforums.com/sound-audio/150202-realtek-asio-driver-installs-but-fails-operate.html

I disabled driver signature in win but still get an error on install

Any help?

Thanks

githubbapoopa avatar Apr 23 '21 21:04 githubbapoopa

I'd like to install ASIO. Is this included in your driver?

No it isn't because it's unsupported by generic extension - HDX_GenericExt_RTK.inf.

You have to modify HDX_GenericExt_RTK.inf to load ASIO somehow. You need an OEM specific UAD driver with ASIO, then try to replicate how ASIO is loaded in an extension INF from that driver. Anyway this whole procedure is risky so back up as often as you can.

pal1000 avatar Apr 23 '21 22:04 pal1000

Do you by any chance know where to get a UAD driver with ASIO to try these steps? I think I got the steps right but the driver simply didn't include ASIO.

The link got all the infos and user erpster sucessfully did exactly that.

Edit:

Got a Gigabyte driver with ASIO

https://www.station-drivers.com/index.php?option=com_kunena&view=topic&defaultmenu=860&Itemid=858&catid=18&id=17&lang=en&limitstart=1596#4836

Can I just copy over RealtekASIO_7 form that Gigabyte driver in Win64of folder your generic driver and edit the HDX_GenericExt_RTK.inf accordingly?

githubbapoopa avatar Apr 24 '21 00:04 githubbapoopa

Can I just copy over RealtekASIO_7 form that Gigabyte driver in Win64 folder to your generic driver and edit the HDX_GenericExt_RTK.inf accordingly?

Yes, that's all you have to do.

pal1000 avatar Apr 24 '21 09:04 pal1000

I copied RealtekASIO_7 over in Win64 I modified HDX_GenericExt_RTK.inf with the line

[DeviceExtensions.NTamd64.10.0...15063] %Device.ExtensionDesc% = DeviceExtension_ASIO_Install,HDAUDIO\FUNC_01&VEN_10EC&DEV_0285&SUBSYS_17AA2259

But I got an error that the has of HDX_GenericExt_RTK.inf is wrong. Is this a driver signature fail?

Do I have to mod furthermore the section

[DeviceExtension_Install.Components]

to include ASIO?

Thanks!

githubbapoopa avatar Apr 24 '21 14:04 githubbapoopa

Is this a driver signature fail?

Yes you definitely have to disable driver signature enforcement.

Do I have to mod furthermore the section

[DeviceExtension_Install.Components]

to include ASIO?

Most likely yes.

pal1000 avatar Apr 24 '21 14:04 pal1000

Ok I managed to get ASIO installed.

elevated admin command

BCDEDIT –Set LoadOptions DDISABLE_INTEGRITY_CHECKS
BCDEDIT –Set TESTSIGNING ON

Reboot!

You have to modify these sections in HDX_GenericExt_RTK.inf

[DeviceExtensions.NTamd64.10.0...15063] %Device.ExtensionDesc% = DeviceExtension_ASIO_Install,HDAUDIO\FUNC_01&VEN_10EC&DEV_0285&SUBSYS_17AA2259 <<<<<< your ID here

[DeviceExtension_Install.Components] AddComponent = RealtekAPO,,RealtekAPO_Install AddComponent = RealtekSRV,,RealtekSRV_Install AddComponent = RealtekHSA,,RealtekHSA_Install AddComponent = RealtekASIO,,RealtekASIO_Install <<<<<<<<<<<< add this

[RealtekASIO_Install] <<<<<<<<<<<<< add this ComponentIDs = VEN_10EC&HID_0001 Description = "Realtek ASIO"

Reboot!

If "Realtek ASIO" for some reason is shown in device manager > software components but is not working you can manually update these ASIO components with the .inf files in the RealtekASIO_7 folder (remember Reboot)

This way you get a functional Realtek ASIO

Maybe you can include this as an option in future drivers? Like in a script where one can enter his own HW ID and select if ASIO will be installed?

Took me some time to figure out...

I've uploaded the files here:

https://www.sendspace.com/file/krigxd

githubbapoopa avatar Apr 24 '21 20:04 githubbapoopa

@gthbububba You can always use ASIO4All, or FlexASIO. If you have an audio interface, use the driver provided by the audio interface vendor. OEM drivers (my mobo is ASUS H110M-D) do have Realtek ASIO

demberto avatar Apr 26 '21 08:04 demberto

ASIO4ALL and FlexASIO is no real ASIO but an emulation though. People always get confused on this. Thanks.

githubbapoopa avatar Apr 26 '21 10:04 githubbapoopa

BCDEDIT –Set TESTSIGNING ON

running this command works best on legacy BIOS (non-UEFI) systems. this command fails or gets blocked on UEFI based systems with "secure boot" enabled. the secure boot option needs to be turned off in uefi setup first (on modern UEFI systems) before "BCDEDIT –Set TESTSIGNING ON" will work.

also the newest RealtekASIO_8 package is included in some of the 9147 uad drivers from some vendors. you may want to update the realtek asio drivers from the RealtekASIO_7 version to the RealtekASIO_8 version

epman100 avatar May 02 '21 18:05 epman100

@ epman100 Thanks for pointing me in the right direction. I never use "secure boot" so TESTSIGNING ON works fine here. But this is a good info. Was able to update the ASIO component to ver 8 from a ASRock driver. Much appreciated!

@pal1000 Your latest driver 6.0.9155.1 is causing some headaches here.

First of all the actual drivers are not in folder Codec_8924 but in folder UpdatedCodec. They seem not to be installed but have to manually copied over, right? Why not putting the actual drives in the right folder (e.g. Codec_9155.1). Or even better why dont you just use a folder called Codec so you don't have to use a folder for updates? I manually copied the newest driver files (RTKVHD64,sys beeing 6.0.9155) and they run fine. Nonetheless the driverversion states 6.0.8924.1. I dont understand this...

SharedScreenshot

Why is your script setting a restore point and therefore bloating up windows? I find this useless.

Thanks!

githubbapoopa avatar May 14 '21 10:05 githubbapoopa

Your latest driver 6.0.9155.1 is causing some headaches here.

First of all the actual drivers are not in folder Codec_8924 but in folder UpdatedCodec. They seem not to be installed but have to manually copied over, right? Why not putting the actual drives in the right folder (e.g. Codec_9155.1). Or even better why dont you just use a folder called Codec so you don't have to use a folder for updates? I manually copied the newest driver files (RTKVHD64,sys beeing 6.0.9155) and they run fine. Nonetheless the driverversion states 6.0.8924.1. I dont understand this...

The reason for all of this is WHQL validation. We don't have access to generic INF and CAT files for current driver anymore so it's necessary to install the newest driver that did first, then overwrite it. That's why there are 2 codec folders and that's why driver appear as 6.0.8924.1 in device manager.

pal1000 avatar May 14 '21 14:05 pal1000

Thanks for your explanation. I'm learning a lot here

Well in that case I got a ThinkPad Realtek UAD driver with .inf and .cat files for you to play around.

https://pcsupport.lenovo.com/de/de/products/laptops-and-netbooks/thinkpad-x-series-laptops/thinkpad-x1-carbon-9th-gen-type-20xw-20xx/downloads/driver-list/component?name=Audio

Choose extract > choose a folder > make a subfolder > extract in that subfolder

The files are .inf and .cat. format. I suppose I can edit

HDX_LenovoExt_DOLBY_Wrap_NoCapture.inf just the same (as described above) with my

VEN_10EC&DEV_0285&SUBSYS_17AA2259

?

githubbapoopa avatar May 14 '21 20:05 githubbapoopa

I looked at CAT files. They lack hashes for HDXRT.inf, HDXRTSST.inf and HDX_GenericExt_RTK. So it doesn't help.

pal1000 avatar May 15 '21 07:05 pal1000

The owner can make his own certification and regenerate all the cat file and then sign them, however this requires end users to trust owner's certification and disable secure boot which is unlikely possible...

eebssk1 avatar Aug 08 '21 13:08 eebssk1

Already added https://github.com/shiyu1314/Realtek-UAD-generic-ASIO/releases

shiyu1314 avatar Apr 25 '22 00:04 shiyu1314