Jump to content

cyber4o

Members
  • Content Count

    9
  • Joined

  • Last visited

About cyber4o

  • Rank
    InsanelyMac Protégé
  1. And a final update how to make it work in mac os, such an easy fix 1. Enable it in AppleALC (osy's section) diff --git a/Resources/ALC700/Platforms11.xml b/Resources/ALC700/Platforms11.xml index 0254db5..32453fb 100755 --- a/Resources/ALC700/Platforms11.xml +++ b/Resources/ALC700/Platforms11.xml @@ -213,12 +213,10 @@ </dict> </array> </array> - <!-- - <array> Rear SPDIF Output (NOT WORKING) + + <array> <!-- Rear SPDIF Output --> <array> <dict> - <key>DetectDelegate</key> - <integer>xx</integer> <key>NodeID</key> <integer>30</integer> </dict> @@ -228,7 +226,6 @@ </dict> </array> </array> - --> </array> </array> <key>PathMapID</key> 2. Disable the ResetHDA in config.plist <key>ResetHDA</key> <false/> Reboot and you have Digital Out (no headphone output anymore) + 2 microphones. Cheers
  2. Some more testing on this, turns out this is not exactly the cause of the issue. The good news is there is no firmware involved, it is just the widget capabilities setting set wrongly by the bios. I needed a small patch on the kernel src to fix it, basically what needs to be done is change wcaps to 0x611 on nid 0x6. The default is 0x411 which recognises the port as analog. --- sound/pci/hda/patch_realtek.c 2019-08-29 07:30:28.000000000 +0100 +++ ../../linux-5.2.11/sound/pci/hda/patch_realtek.c 2019-09-08 08:50:18.139434482 +0100 @@ -4054,6 +4054,14 @@ } } +static void alc700_fixup_nuc_spdif(struct hda_codec *codec, + const struct hda_fixup *fix, int action) +{ + snd_hda_override_wcaps(codec, 0x6, 0x611); +} + /* Line2 = mic mute hotkey * GPIO2 = mic mute LED */ @@ -5751,6 +5759,7 @@ ALC256_FIXUP_DELL_XPS_13_HEADPHONE_NOISE, ALC293_FIXUP_LENOVO_SPK_NOISE, ALC233_FIXUP_LENOVO_LINE2_MIC_HOTKEY, + ALC700_FIXUP_NUC_SPDIF, ALC255_FIXUP_DELL_SPK_NOISE, ALC225_FIXUP_DISABLE_MIC_VREF, ALC225_FIXUP_DELL1_MIC_NO_PRESENCE, @@ -6473,6 +6482,10 @@ .chained = true, .chain_id = ALC269_FIXUP_THINKPAD_ACPI }, + [ALC700_FIXUP_NUC_SPDIF] = { + .type = HDA_FIXUP_FUNC, + .v.func = alc700_fixup_nuc_spdif, + }, [ALC233_FIXUP_LENOVO_LINE2_MIC_HOTKEY] = { .type = HDA_FIXUP_FUNC, .v.func = alc233_fixup_lenovo_line2_mic_hotkey, @@ -7020,6 +7033,7 @@ SND_PCI_QUIRK(0x10cf, 0x1629, "Lifebook U7x7", ALC255_FIXUP_LIFEBOOK_U7x7_HEADSET_MIC), SND_PCI_QUIRK(0x10cf, 0x1845, "Lifebook U904", ALC269_FIXUP_LIFEBOOK_EXTMIC), SND_PCI_QUIRK(0x10ec, 0x10f2, "Intel Reference board", ALC700_FIXUP_INTEL_REFERENCE), + SND_PCI_QUIRK(0x10ec, 0x2073, "Intel NUC Hades Canyon SPDIF", ALC700_FIXUP_NUC_SPDIF), SND_PCI_QUIRK(0x10f7, 0x8338, "Panasonic CF-SZ6", ALC269_FIXUP_HEADSET_MODE), SND_PCI_QUIRK(0x144d, 0xc109, "Samsung Ativ book 9 (NP900X3G)", ALC269_FIXUP_INV_DMIC), SND_PCI_QUIRK(0x144d, 0xc740, "Samsung Ativ book 8 (NP870Z5G)", ALC269_FIXUP_ATIV_BOOK_8), @@ -7181,6 +7195,7 @@ {.id = ALC292_FIXUP_TPT460, .name = "tpt460"}, {.id = ALC298_FIXUP_TPT470_DOCK, .name = "tpt470-dock"}, {.id = ALC233_FIXUP_LENOVO_MULTI_CODECS, .name = "dual-codecs"}, + {.id = ALC700_FIXUP_NUC_SPDIF, .name = "nuc-hc"}, {.id = ALC700_FIXUP_INTEL_REFERENCE, .name = "alc700-ref"}, {.id = ALC269_FIXUP_SONY_VAIO, .name = "vaio"}, {.id = ALC269_FIXUP_DELL_M101Z, .name = "dell-m101z"}, will see if I can find something in the bios
  3. @osy It took me 2 days but i made the S/PDIF to work in ubuntu, you need windows as well as it is similar to the bluetooth - it is loading a firmware which enables the spdif, (in linux the bios setting is with disabled flag) here are the steps to enable it: 1. In linux (ubuntu in my case) do: echo "options snd-hda-intel patch=nuc.patch" >> /etc/modprobe.d/alsa-base.conf cat > /lib/firmware/nuc.patch << _EOF_ [codec] 0x10ec0700 0x80862073 0 [pincfg] 0x1e 0x03441060 _EOF_ 2. Boot into windows, where you have the realtek drivers and you can hear audio through spdif 3. Boot back in ubuntu (without shutdown to keep the firmware in) and voila you have spdif Now do some magic and enable the spdif pin in osx the default disabled one is 0x1e 0x03441160 for reference and changing it to 0x1e 0x03441060 is enabling it We will also need a dump of that firmware not to require windows every time Cheers
  4. cyber4o

    10.9 GM on P8Z77-V Pro e GTX 690

    if you have dual boot with windows, boot to windows and then without shutdown, but only reset or restart boot into osx
  5. cyber4o

    [Asus U36SD] - a few dsdt questions

    Hi guys, After 1 day fighting with the Bluetooth on our laptops I finally made it work on startup and after wake up from sleep. I'm attaching a file containing all you need and here is how to install it: su - or sudo -i cd / tar xzvf /location/of/bluetooth.tar.gz then execute: launchctl load /System/Library/LaunchDaemons/org.ath.plist launchctl load /System/Library/LaunchDaemons/org.sleepwatcher.plist and you have fully functional bluetooth after you reboot or wake up cheers bluetooth.tar.gz
  6. cyber4o

    [Asus U36SD] - a few dsdt questions

    Hi Claudio, and thanks for the hints! 1. after appying speedstepper I was able to boot without NullCPUPowerManagement 2. when the rest of the kexts were moved to s/l/e they we not loaded 3. when I build the mkext with the command kextcache -v 1 -a i386 -a x86_64 -m /System/Library/Caches/com.apple.kext.caches/Startup/Extensions.mkext /System/Library/Extensions and boot the box was not able to mount root so I booted with the installer and removed /System/Library/Caches/com.apple.kext.caches/Startup/Extensions.mkext in order to boot properly. do you have any hints about points 2 and 3? Thanks in advance I managed to fix points 2/3 by editting /usr/standalone/bootcaches.plist to set MKext2 and set nothing in Chammeleon config the kexd then made its own mkext and booted properly, the thread I used for that is http://www.insanelymac.com/forum/index.php?showtopic=270355
  7. cyber4o

    [Asus U36SD] - a few dsdt questions

    Hi, I'm having u36sd rx261d with updated bios version 206 and triple boot. I used the DTSD from alianyn patched with the battery diff from 18seven and got the time remaining working, the percentage however remains to 0%. It also detects when laptop is charging or not charging. I see everywhere that you are having problems with the shutdown and sleep which for me is not a problem. The shutdown is working since the begining and the sleep after installing the following kext: http://www.osx86.net/downloads.php?do=file&id=1948 Had some problems with the iGain - on each reboot the mic was screeming through my speakers until I set the Monitor option in /System/Library/Extensions/VoodooHDA.kext/Contents/Info.plist: <dict> <key>iGain</key> <string>0</string> <key>iMix</key> <string>0</string> <key>Monitor</key> <string>0</string> </dict> Here is what I use in Extra: drwxrwxrwx@ 1 _unknown _unknown 1024 Oct 1 19:53 AnyCardReader.kext drwxrwxrwx@ 1 _unknown _unknown 1024 Dec 22 10:17 AppleSmartBatteryManager.kext drwxrwxrwx@ 1 _unknown _unknown 1024 Dec 20 12:01 AtherosL1cEthernet.kext drwxrwxrwx 1 _unknown _unknown 512 Dec 19 23:31 FakeSMC.kext drwxrwxrwx 1 _unknown _unknown 512 Dec 19 23:31 NullCPUPowerManagement.kext drwxrwxrwx@ 1 _unknown _unknown 1024 Dec 22 06:38 SleepEnabler.kext I'm glad all of you keep updating this thread as it makes this laptop a macbook pro
×