miliuco Posted April 27 Author Share Posted April 27 @jlrycm I don't know why it's not starting on your PC with Sparkle Updater enabled. The bug report you posted refers to that component. In my case, it seems to work fine, both for updating to a previous version and for detecting that you're on the latest one. The missing Audio tab isn't related to Sparkle; for some reason, it doesn't detect that you have getdump or VoodooHDA installed, and in that case, it removes that tab. This confirms my suspicion that this Audio tab, outside of the typical AppleALC scenario, is difficult to develop. 1 Link to comment https://www.insanelymac.com/forum/topic/362585-about-this-hack-2009-nissan-cube-version-migrated-to-swiftui/page/5/#findComment-2849577 Share on other sites More sharing options...
jlrycm Posted April 27 Share Posted April 27 52 minutes ago, miliuco said: @jlrycm I don't know why it's not starting on your PC with Sparkle Updater enabled. The bug report you posted refers to that component. In my case, it seems to work fine, both for updating to a previous version and for detecting that you're on the latest one. The missing Audio tab isn't related to Sparkle; for some reason, it doesn't detect that you have getdump or VoodooHDA installed, and in that case, it removes that tab. This confirms my suspicion that this Audio tab, outside of the typical AppleALC scenario, is difficult to develop. @miliuco The audio tab showed up for me prior to the update where you introduced the getdump verification. Maybe there’s something wrong with how getdump is executed in my system. Where am I supposed to see an output of getdump - in terminal or in an output file? Maybe it’s not wrong at your end and it’s my system that is not getting a getdump output as expected. 1 Link to comment https://www.insanelymac.com/forum/topic/362585-about-this-hack-2009-nissan-cube-version-migrated-to-swiftui/page/5/#findComment-2849581 Share on other sites More sharing options...
Max.1974 Posted April 27 Share Posted April 27 (edited) All fine here Edited April 27 by Max.1974 3 Link to comment https://www.insanelymac.com/forum/topic/362585-about-this-hack-2009-nissan-cube-version-migrated-to-swiftui/page/5/#findComment-2849583 Share on other sites More sharing options...
Thebes Knossos Posted April 28 Share Posted April 28 (edited) 14 hours ago, miliuco said: @Thebes Knossos Yes, for now, this app looks for the motherboard audio in IOReg. USB audio in IOReg relies on a USB port and requires a different approach. You need to look for the AppleUSBAudioEngine component within the sound device settings. I'll see what can be done about it. Reveal hidden contents Thanks to everyone for the feedback! Yep, solution is perhaps in hackintool source code? My IOregistry: Hackintool: Edited April 28 by Thebes Knossos 2 Link to comment https://www.insanelymac.com/forum/topic/362585-about-this-hack-2009-nissan-cube-version-migrated-to-swiftui/page/5/#findComment-2849591 Share on other sites More sharing options...
miliuco Posted April 28 Author Share Posted April 28 (edited) @Thebes Knossos I've looked at Hackintool's code before, but the problem is it's Objective-C and C++, and I have very little knowledge of either language (almost none in C++). I'm trying to find a way to search IOReg for AppleUSBAudio or usbaudio keys, or similar, see which USB port it's connected to, and then find the manufacturer (KT Micro in your case) and the device. However, there are some things I still don't understand. In your IOReg screenshot, the vendor ID for KT Micro is 12d1, but in the USB audio device vendor ID database, I see it as 31b2. It would be safer to directly search for the manufacturer's name, which is listed as USB Vendor Name, and the device name, which is listed as USB Product Name. As you can see, I'm still not very experienced with this. I'll have to use Copilot for help 🤔 @jlrycm Running getdump in Terminal yo must get a large output, the very first lines are the most important with device id and other data. ATH looks here for the VoodooHDA data. If you don't get any output running getdump, there is something wrong, it's a very simple tool, VoodooHDA companion, doesn't need any special settings to be run. Edited April 28 by miliuco Typo Link to comment https://www.insanelymac.com/forum/topic/362585-about-this-hack-2009-nissan-cube-version-migrated-to-swiftui/page/5/#findComment-2849592 Share on other sites More sharing options...
miliuco Posted April 28 Author Share Posted April 28 Girls and boys, I've asked this before but I'm asking again, I need people who have more than one monitor connected to the Hack or Mac and can test if the app shows all monitors or just the main one. 1 Link to comment https://www.insanelymac.com/forum/topic/362585-about-this-hack-2009-nissan-cube-version-migrated-to-swiftui/page/5/#findComment-2849593 Share on other sites More sharing options...
kaoskinkae Posted April 28 Share Posted April 28 6 minutes ago, miliuco said: Chicas y chicos, ya lo he preguntado antes, pero lo vuelvo a preguntar: necesito gente que tenga más de un monitor conectado al Hackintosh o al Mac y que pueda comprobar si la aplicación muestra todos los monitores o solo el principal. in NEW: 2 Link to comment https://www.insanelymac.com/forum/topic/362585-about-this-hack-2009-nissan-cube-version-migrated-to-swiftui/page/5/#findComment-2849594 Share on other sites More sharing options...
Alpha22 Posted April 28 Share Posted April 28 18 hours ago, miliuco said: @Alpha22 I see that when you have VoodooHDA, it collects the audio codec from the AMD card. Anyway, adding the Audio tab is proving more difficult than I thought. If you have AppleALC, it works fine, although it doesn't display the AMD graphics card's audio (the tab only shows one audio codec). If you have VoodooHDA, it works well sometimes; for example, in my case, it looks fine, but there are variations that make it difficult to get the correct result. The easy solution is to remove the Audio tab or leave it only for AppleALC, but I'd like to refine it. However, I lack the necessary knowledge. No problem, you're doing a brilliant job 2 Link to comment https://www.insanelymac.com/forum/topic/362585-about-this-hack-2009-nissan-cube-version-migrated-to-swiftui/page/5/#findComment-2849598 Share on other sites More sharing options...
Thebes Knossos Posted April 28 Share Posted April 28 I've try it on my real MacBook laptop, I get an app crash Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Termination Reason: Namespace DYLD, Code 1 Library missing Library not loaded: @rpath/Sparkle.framework/Versions/B/Sparkle Referenced from: <24944369-C564-3F1C-8421-DEE94CCB00E1> /Applications/About This Hack.app/Contents/MacOS/About This Hack Seems somthing is missing on it. Link to comment https://www.insanelymac.com/forum/topic/362585-about-this-hack-2009-nissan-cube-version-migrated-to-swiftui/page/5/#findComment-2849606 Share on other sites More sharing options...
miliuco Posted April 29 Author Share Posted April 29 @Slice I managed to get a long HDMI cable to connect the TV to the hack, in addition to the usual monitor. ATH shows both displays. @kaoskinkae recently posted a screenshot where 2 monitors are also visible. If you try the release from your own repo or the original author's 2009-Nissan-Cube, do you see more than one monitor on your system? Spoiler Link to comment https://www.insanelymac.com/forum/topic/362585-about-this-hack-2009-nissan-cube-version-migrated-to-swiftui/page/5/#findComment-2849624 Share on other sites More sharing options...
kaoskinkae Posted April 29 Share Posted April 29 (edited) 42 minutes ago, miliuco said: @Rebanada Logré conseguir un cable HDMI largo para conectar el televisor al dispositivo, además del monitor habitual. ATH muestra ambas pantallas.@kaoskinkaeRecientemente publicó una captura de pantalla donde también se ven dos monitores. Si prueba la versión desde su propio repositorio o desde el repositorio 2009-Nissan-Cube del autor original , ¿ve más de un monitor en su sistema? Revelar contenido oculto in NEW: in NEW: Edited April 29 by kaoskinkae 2 Link to comment https://www.insanelymac.com/forum/topic/362585-about-this-hack-2009-nissan-cube-version-migrated-to-swiftui/page/5/#findComment-2849627 Share on other sites More sharing options...
miliuco Posted April 29 Author Share Posted April 29 @Thebes Knossos I'm working on changes in the way Sparkle is bundled into the project. I'll send to you a release (when ready) to try in your Hack and Mac. Thank you so much for the feedback! 1 Link to comment https://www.insanelymac.com/forum/topic/362585-about-this-hack-2009-nissan-cube-version-migrated-to-swiftui/page/5/#findComment-2849629 Share on other sites More sharing options...
Thebes Knossos Posted April 29 Share Posted April 29 Great! 1 Link to comment https://www.insanelymac.com/forum/topic/362585-about-this-hack-2009-nissan-cube-version-migrated-to-swiftui/page/5/#findComment-2849638 Share on other sites More sharing options...
Slice Posted April 29 Share Posted April 29 8 hours ago, miliuco said: @Slice I managed to get a long HDMI cable to connect the TV to the hack, in addition to the usual monitor. ATH shows both displays. @kaoskinkae recently posted a screenshot where 2 monitors are also visible. If you try the release from your own repo or the original author's 2009-Nissan-Cube, do you see more than one monitor on your system? Reveal hidden contents Yes, with my version also one monitor. 2 Link to comment https://www.insanelymac.com/forum/topic/362585-about-this-hack-2009-nissan-cube-version-migrated-to-swiftui/page/5/#findComment-2849642 Share on other sites More sharing options...
miliuco Posted April 29 Author Share Posted April 29 (edited) @Thebes Knossos Please test this app, main change is the replacement of Sparkle by a simple and native GitHub updater. Tell me if the crash persists. EDIT: I have issues uploading the zip file, I'll try later. EDIT 2: still upload error, this is the GitHub release link: https://github.com/perez987/About-This-Hack/releases/tag/4.2.4 Edited April 30 by miliuco Upload error 1 1 Link to comment https://www.insanelymac.com/forum/topic/362585-about-this-hack-2009-nissan-cube-version-migrated-to-swiftui/page/5/#findComment-2849652 Share on other sites More sharing options...
Thebes Knossos Posted April 30 Share Posted April 30 (edited) Il y a 19 heures, miliuco a dit : @Thebes Knossos Veuillez tester cette application ; le principal changement est le remplacement de Sparkle par un système de mise à jour GitHub simple et natif. Dites-moi si le problème persiste. EDIT : J'ai des problèmes pour télécharger le fichier zip, je réessayerai plus tard. MISE À JOUR 2 : toujours une erreur de chargement, voici le lien de la version GitHub : https://github.com/perez987/About-This-Hack/releases/tag/4.2.4 Works! Audio is not detected, I think it's normal, same for Hackintool on this Macbook Pro from 2018. Edited April 30 by Thebes Knossos 2 Link to comment https://www.insanelymac.com/forum/topic/362585-about-this-hack-2009-nissan-cube-version-migrated-to-swiftui/page/5/#findComment-2849671 Share on other sites More sharing options...
miliuco Posted April 30 Author Share Posted April 30 @Thebes Knossos Thanks for your help. Audio tab is not displayed in real Macs by design. These machines expose audio data in a different way. On Hacks, Audio tab must be displayed when AppleALC or VoodooHDA (plus getdump) are in use. When using AppleALC, it works fine. When VoodooHDA, sometimes doesn't. I'm working on the USB audio, still far from the success. What is your default audio output in the Hack? Link to comment https://www.insanelymac.com/forum/topic/362585-about-this-hack-2009-nissan-cube-version-migrated-to-swiftui/page/5/#findComment-2849673 Share on other sites More sharing options...
MacNB Posted April 30 Share Posted April 30 (edited) 23 minutes ago, miliuco said: Audio tab is not displayed in real Macs by design. These machines expose audio data in a different way. Interesting. On my real rMBP10,1 I see: I guess this is classed as a "hackintosh" now since it's "hacked" by OCLP to enable 15.7.5 to run. Edited April 30 by MacNB typo 1 Link to comment https://www.insanelymac.com/forum/topic/362585-about-this-hack-2009-nissan-cube-version-migrated-to-swiftui/page/5/#findComment-2849674 Share on other sites More sharing options...
miliuco Posted April 30 Author Share Posted April 30 (edited) @MacNB I didn't explain myself well in my previous post addressed to @Thebes Knossos. The app considers a Mac without OCLP or OpenCore to be a "real Mac". If OCLP/OpenCore is detected, the app treats it as a Hackintosh with respect to the Audio tab. Edited April 30 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/5/#findComment-2849678 Share on other sites More sharing options...
miliuco Posted April 30 Author Share Posted April 30 (edited) Initial USB audio support The app now detects if the default output device is USB, in which case it enables the Audio tab. The information displayed differs from that seen in AppleALC or VoodooHDA; for USB audio, there are only three rows: Class (always USB), Manufacturer, and Product. Some USB audio devices expose little information to the system; in these cases, the product is listed as "USB Audio Device." The manufacturer is generally clearly indicated. Users with USB audio: please try, any feedback is very welcome. https://github.com/perez987/About-This-Hack/releases TODO: Now is the time of the HDMI audio from the graphics card. Spoiler Spoiler Edited April 30 by miliuco Add link 2 Link to comment https://www.insanelymac.com/forum/topic/362585-about-this-hack-2009-nissan-cube-version-migrated-to-swiftui/page/5/#findComment-2849681 Share on other sites More sharing options...
Thebes Knossos Posted May 1 Share Posted May 1 Il y a 12 heures, miliuco a dit : Prise en charge audio USB initiale L'application détecte désormais si le périphérique de sortie par défaut est l'USB, auquel cas elle active l'onglet Audio. Les informations affichées diffèrent de celles d'AppleALC ou de VoodooHDA ; pour l'audio USB, il n'y a que trois lignes : Classe (toujours USB), Fabricant et Produit. Certains périphériques audio USB fournissent peu d'informations au système ; dans ce cas, le produit est désigné comme « Périphérique audio USB ». Le fabricant est généralement clairement indiqué. Utilisateurs de périphériques audio USB : veuillez essayer, tout commentaire est le bienvenu. https://github.com/perez987/About-This-Hack/releases À FAIRE : C'est le moment de gérer le son HDMI provenant de la carte graphique. Révéler le contenu caché Révéler le contenu caché Yep works, welldone ! 1 Link to comment https://www.insanelymac.com/forum/topic/362585-about-this-hack-2009-nissan-cube-version-migrated-to-swiftui/page/5/#findComment-2849698 Share on other sites More sharing options...
miliuco Posted May 2 Author Share Posted May 2 (edited) Initial HDMI audio support The app now detects if the default output device is transported by HDMI, in which case it enables the Audio tab. The information displayed differs from that seen in AppleALC or VoodooHDA; for HDMI audio, there are only three rows: Class (always HDMI), Manufacturer, and Product. Users with HDMI audio: please try, any feedback is very welcome. https://github.com/perez987/About-This-Hack/releases Spoiler Edited May 2 by miliuco Fix typo 2 Link to comment https://www.insanelymac.com/forum/topic/362585-about-this-hack-2009-nissan-cube-version-migrated-to-swiftui/page/5/#findComment-2849749 Share on other sites More sharing options...
kgp Posted May 2 Share Posted May 2 (edited) 1 hour ago, miliuco said: Initial HDMI audio support The app now detects if the default output device is transported by HDMI, in which case it enables the Audio tab. The information displayed differs from that seen in AppleALC or VoodooHDA; for HDMI audio, there are only three rows: Class (always HDMI), Manufacturer, and Product. Users with HDMI audio: please try, any feedback is very welcome. https://github.com/perez987/About-This-Hack/releases Reveal hidden contents @miliuco, could you please bring back the Sparkle Updater? I am using HDEF (AppleALC) and HDAU (HDMI), but displayed is HDEF only. 😉 Edited May 2 by kgp 1 Link to comment https://www.insanelymac.com/forum/topic/362585-about-this-hack-2009-nissan-cube-version-migrated-to-swiftui/page/5/#findComment-2849752 Share on other sites More sharing options...
miliuco Posted May 2 Author Share Posted May 2 @kgp The Audio tab only shows one audio device. If someone has more than one, it looks for the one the system detects as "audio output device." I see that it's not a reliable system because there are many variables and it's very difficult to cover them all. I've attached a version from just before Sparkle was retired for you to test. Do it under the same conditions you used to test the app today and tell me what you see in the Audio tab. This functionality of also displaying audio is proving more complex than I thought when I started working on it. If I had seen the future, I probably wouldn't have started 😂 With AppleALC it seems to work well (it's relatively simple logic). With VoodooHDA it doesn't always work. I hope it will with USB audio because the logic is very simple. With HDMI, I don't yet know if it will be stable enough; I tested it with the Radeon 6600 XT connected to the monitor and it works well, but it's still too new to consider it a fully mature option. In short, what seemed relatively simple to me is turning out to be quite complex. Try the attached app and let me know the result. Anyway, thank you for the feedback. https://fromsmash.com/About-This-Hack (Smash link, still I can't upload files to the forum). 3 Link to comment https://www.insanelymac.com/forum/topic/362585-about-this-hack-2009-nissan-cube-version-migrated-to-swiftui/page/5/#findComment-2849755 Share on other sites More sharing options...
kgp Posted May 3 Share Posted May 3 (edited) 14 hours ago, miliuco said: @kgp The Audio tab only shows one audio device. If someone has more than one, it looks for the one the system detects as "audio output device." I see that it's not a reliable system because there are many variables and it's very difficult to cover them all. I've attached a version from just before Sparkle was retired for you to test. Do it under the same conditions you used to test the app today and tell me what you see in the Audio tab. This functionality of also displaying audio is proving more complex than I thought when I started working on it. If I had seen the future, I probably wouldn't have started 😂 With AppleALC it seems to work well (it's relatively simple logic). With VoodooHDA it doesn't always work. I hope it will with USB audio because the logic is very simple. With HDMI, I don't yet know if it will be stable enough; I tested it with the Radeon 6600 XT connected to the monitor and it works well, but it's still too new to consider it a fully mature option. In short, what seemed relatively simple to me is turning out to be quite complex. Try the attached app and let me know the result. Anyway, thank you for the feedback. https://fromsmash.com/About-This-Hack (Smash link, still I can't upload files to the forum). @miliuco, the image below probably says more than a thousand words. 😉 The Sparkle updater used to work reliably. The update issue started with version 4.2.2. With version 4.2.6, users are now forced to manually download the app from GitHub and run xattr -cr ./About\ This\ Hack.app afterward. Here are the audio results for 4.2.6: Regarding my S1220A 7.1 setup, please see: And yes… with the Audio tab you’ve opened Pandora’s box.. Edited May 3 by kgp 2 Link to comment https://www.insanelymac.com/forum/topic/362585-about-this-hack-2009-nissan-cube-version-migrated-to-swiftui/page/5/#findComment-2849757 Share on other sites More sharing options...
Recommended Posts