miliuco Posted 21 hours ago Author Share Posted 21 hours ago Version 4.3.8: add HDAUniversal audio support. Any feedback is very welcome. https://github.com/perez987/About-This-Hack/releases/tag/4.3.8 1 Link to comment https://www.insanelymac.com/forum/topic/362585-about-this-hack-2009-nissan-cube-version-migrated-to-swiftui/page/9/#findComment-2851487 Share on other sites More sharing options...
jlrycm Posted 19 hours ago Share Posted 19 hours ago (edited) 2 hours ago, miliuco said: Version 4.3.8: add HDAUniversal audio support. Any feedback is very welcome. https://github.com/perez987/About-This-Hack/releases/tag/4.3.8 @miliuco I tested the new release and it worked for me. The audio tab shows up displaying the expected information, except for the layout ID which is defined as 69 in my config.plist but displayed as layout id 11. Need to investigate that further. Edited 19 hours ago by jlrycm 2 Link to comment https://www.insanelymac.com/forum/topic/362585-about-this-hack-2009-nissan-cube-version-migrated-to-swiftui/page/9/#findComment-2851491 Share on other sites More sharing options...
miliuco Posted 12 hours ago Author Share Posted 12 hours ago @jlrycm Anotado. I’ll check this issue. Link to comment https://www.insanelymac.com/forum/topic/362585-about-this-hack-2009-nissan-cube-version-migrated-to-swiftui/page/9/#findComment-2851507 Share on other sites More sharing options...
MaLd0n Posted 6 hours ago Share Posted 6 hours ago @miliucofor easy thing i created one full database audio codec audio-codecs-Release.zip Make the app always check against that database and filter the way you want. I create this for tool GlassFetch. A good idea is create one for lan too and check these databases everytime. Linux is always a good resource to consult. 1 Link to comment https://www.insanelymac.com/forum/topic/362585-about-this-hack-2009-nissan-cube-version-migrated-to-swiftui/page/9/#findComment-2851514 Share on other sites More sharing options...
miliuco Posted 5 hours ago Author Share Posted 5 hours ago (edited) @MaLd0n Thanks. I'll review the database. I've found where is the manufacturer in the output of the command ioreg -p IOService -r -w 0 -l -n HDAUniversalDevice It's the property "HDAUniversalEffectiveCodecID" = 283906592 283906592 is a decimal number for the hexadecimal 0x10EC1220, where 10EC corresponds to Realtek, as defined in the HCAudio.swift file of the project. So, I can extract the codec manufacturer from there. @jlrycm Please tell me the values you have in these 4 places in IOReg: /AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/HDEF@1F,3/HDAUniversalDevice IOAudioDeviceCanBeDefaults HDAUniversalEffectiveLayoutID IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/HDEF@1F,3 layout-id alc-layout-id To see if all keys have the same value or, if they are different, the keys that have your right layout-id. Edited 5 hours ago by miliuco Typo 2 Link to comment https://www.insanelymac.com/forum/topic/362585-about-this-hack-2009-nissan-cube-version-migrated-to-swiftui/page/9/#findComment-2851516 Share on other sites More sharing options...
miliuco Posted 5 hours ago Author Share Posted 5 hours ago @MaLd0n Manufacturer seems to be well identified. Feedback is very welcome. Now it's time to fix the layout-id, since it doesn't work for @jlrycm Spoiler 1 Link to comment https://www.insanelymac.com/forum/topic/362585-about-this-hack-2009-nissan-cube-version-migrated-to-swiftui/page/9/#findComment-2851517 Share on other sites More sharing options...
jlrycm Posted 3 hours ago Share Posted 3 hours ago (edited) 2 hours ago, miliuco said: @MaLd0n Spoiler Thanks. I'll review the database. I've found where is the manufacturer in the output of the command ioreg -p IOService -r -w 0 -l -n HDAUniversalDevice It's the property "HDAUniversalEffectiveCodecID" = 283906592 283906592 is a decimal number for the hexadecimal 0x10EC1220, where 10EC corresponds to Realtek, as defined in the HCAudio.swift file of the project. So, I can extract the codec manufacturer from there. @jlrycm Please tell me the values you have in these 4 places in IOReg: /AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/HDEF@1F,3/HDAUniversalDevice IOAudioDeviceCanBeDefaults HDAUniversalEffectiveLayoutID IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/HDEF@1F,3 layout-id alc-layout-id To see if all keys have the same value or, if they are different, the keys that have your right layout-id. @miliuco please see in the screenshots the requested information Spoiler Spoiler Edited 3 hours ago by jlrycm Link to comment https://www.insanelymac.com/forum/topic/362585-about-this-hack-2009-nissan-cube-version-migrated-to-swiftui/page/9/#findComment-2851521 Share on other sites More sharing options...
surenmunoo Posted 3 hours ago Share Posted 3 hours ago Looks amazing, thanks 1 Link to comment https://www.insanelymac.com/forum/topic/362585-about-this-hack-2009-nissan-cube-version-migrated-to-swiftui/page/9/#findComment-2851522 Share on other sites More sharing options...
miliuco Posted 2 hours ago Author Share Posted 2 hours ago @jlrycm Thanks. How do you inject the layout-id? alcid=69 in boot args or layout-id=45 in DeviceProperties? Your codec admits layouts 11, 12, 13, 21, 22, 23, 31, 66, 69, 77, 98 and 99, so 69 is okay. In the pics that you uploaded, I see the possible issue. You have this key: HDAUniversalEffectiveLayoutID = 0x45 0x45 hexadecimal is 69 in decimal, it's as it should, but it must be converted from hex to decimal. The app was looking for the layout-id in the places where AppleALC usually looks for them: layout-id and alc-layout-id. But HDAUniversalEffectiveLayoutID is the key included in the HDAUniversal block, so I'll change the layout-id source to this. And I'll add the conversion. I'll send it to you when done, to test it. Link to comment https://www.insanelymac.com/forum/topic/362585-about-this-hack-2009-nissan-cube-version-migrated-to-swiftui/page/9/#findComment-2851523 Share on other sites More sharing options...
jlrycm Posted 2 hours ago Share Posted 2 hours ago (edited) 10 minutes ago, miliuco said: Thanks. How do you inject the layout-id? alcid=69 in boot args or layout-id=45 in DeviceProperties? Your codec admits layouts 11, 12, 13, 21, 22, 23, 31, 66, 69, 77, 98 and 99, so 69 is okay. @miliuco I was injecting the layout id in Device Properties in hexadecimal format. Spoiler Edited 2 hours ago by jlrycm 1 Link to comment https://www.insanelymac.com/forum/topic/362585-about-this-hack-2009-nissan-cube-version-migrated-to-swiftui/page/9/#findComment-2851524 Share on other sites More sharing options...
miliuco Posted 2 hours ago Author Share Posted 2 hours ago 21 minutes ago, surenmunoo said: Looks amazing, thanks You are very welcome. Link to comment https://www.insanelymac.com/forum/topic/362585-about-this-hack-2009-nissan-cube-version-migrated-to-swiftui/page/9/#findComment-2851525 Share on other sites More sharing options...
Alpha22 Posted 1 hour ago Share Posted 1 hour ago @miliuco perfect 1 Link to comment https://www.insanelymac.com/forum/topic/362585-about-this-hack-2009-nissan-cube-version-migrated-to-swiftui/page/9/#findComment-2851527 Share on other sites More sharing options...
miliuco Posted 1 hour ago Author Share Posted 1 hour ago (edited) @Alpha22 Please test this version and comment, it has fixed the Produttore field, Realtek in ALC1220. Thanks. @jlrycm Asking to you too, test this version and tell me if the layout-id is well displayed. https://github.com/perez987/About-This-Hack/blob/main/Audio-tab-WIP/About This Hack.zip EDIT: still can't upload files to the forum, sorry. Edited 1 hour ago by miliuco Upload dail Link to comment https://www.insanelymac.com/forum/topic/362585-about-this-hack-2009-nissan-cube-version-migrated-to-swiftui/page/9/#findComment-2851529 Share on other sites More sharing options...
Alpha22 Posted 1 hour ago Share Posted 1 hour ago 8 minutes ago, miliuco said: @Alpha22 Please test this version and comment, it has fixed the Produttore field, Realtek in ALC1220. Thanks. https://github.com/perez987/About-This-Hack/blob/main/Audio-tab-WIP/About This Hack.zip Link to comment https://www.insanelymac.com/forum/topic/362585-about-this-hack-2009-nissan-cube-version-migrated-to-swiftui/page/9/#findComment-2851530 Share on other sites More sharing options...
jlrycm Posted 1 hour ago Share Posted 1 hour ago (edited) 30 minutes ago, miliuco said: @jlrycm Asking to you too, test this version and tell me if the layout-id is well displayed. https://github.com/perez987/About-This-Hack/blob/main/Audio-tab-WIP/About This Hack.zip EDIT: still can't upload files to the forum, sorry. @miliuco Here is the screenshot showing what I see in the audio tab. The layout id displayed is now 105, still no 69. I believe the app is reading 69 as hexadecimal which in decimal is 105. The hexadecimal for 69 is 0x45, right? Spoiler Edited 1 hour ago by jlrycm Link to comment https://www.insanelymac.com/forum/topic/362585-about-this-hack-2009-nissan-cube-version-migrated-to-swiftui/page/9/#findComment-2851532 Share on other sites More sharing options...
Recommended Posts