Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Audio and Bluetooth #10

Open
ghost opened this issue Mar 6, 2016 · 22 comments
Open

Audio and Bluetooth #10

ghost opened this issue Mar 6, 2016 · 22 comments

Comments

@ghost
Copy link

ghost commented Mar 6, 2016

Audio don't work in internal speaker or headphone. All the settings panel are ok and functionnal. No option missing. But no sound...

Bluetooth was working in the beginning (network bluetooth tether, audio bluetooth), but suddenly i have the "No bluetooth available" in the menu.

@syscl
Copy link
Owner

syscl commented Mar 6, 2016

About no audio output, try fully sleep(sleep for more than 1 min/ power led fades away). The CodecCommander.kext will update the Configdata/pathmap for AppleHDA.kext.

Which version of OS X do you use(including minor version)?

@ghost
Copy link
Author

ghost commented Mar 6, 2016

Thanks

I have tried this and everything (reboot, shutdowns, delete the system networkconfiguration.plist), etc...

I think it happened when i deleted the Bluetooth PAN connection in network setting for the appstore working but not sure.

Audio is really not working. I am ready to erase all and restart from scratch but maybe i will wait a little. Don't know.

But i have a MacBook Pro Retina 15 16go 256SSD, and the M3800 outperform easyli this one....

@syscl
Copy link
Owner

syscl commented Mar 6, 2016

Ok, I'm refining the script.

////

@ghost
Copy link
Author

ghost commented Mar 6, 2016

Sorry forgot to copy/paste iOS version

I use the version 10.11.3. The latest public ElCapitan release.

@syscl
Copy link
Owner

syscl commented Mar 6, 2016

Not a problem, lol. I've just found a new way to detect/calculate native resolution thanks to the definition of EDID.

@ghost
Copy link
Author

ghost commented Mar 7, 2016

I still don't understand why it worked a few hours after using your script, then, after I have tried to link a logitech bluetooth mouse (3 failures) bluetooth stopped working. I have removed pref files for bluetooth.
Very strange....

@ghost
Copy link
Author

ghost commented Mar 7, 2016

And for audio on internal speaker or headphone, it's don't work but i can't see clear message in my Console. (or maybe i don't know what message give an indication...)

@syscl
Copy link
Owner

syscl commented Mar 7, 2016

Try remove the patch about Bluetooth and Wifi under config.plist as well as FakePCIID_Broadcom_WiFi.kext under CLOVER/kexts/.

Do you replace the AC 7260 with BCM4352z? Maybe that's the reason causes your problem
.

@ghost
Copy link
Author

ghost commented Mar 7, 2016

I just ordered this http://goo.gl/Zaf1nY (Broadcom bcm94352z m.2). I think it should do the job.
I tryed last night a bluetooth dongle (http://goo.gl/vo9i4h) and it worked automatically and gave me bluetooth fully functionnal.

When I will have the Wifi ok with the Broadcom, I will just have the Sound problem.

If you have any idea to reactivate audio on my M3800 it will be perfect.

At this time, even without Wifi, the M3800 is better than my MacBook Pro 2015 i7 / 256 / 16 that have unsuportable wifi problems. Apple don't care about that.... I will sell it after
Regards

@syscl
Copy link
Owner

syscl commented Mar 7, 2016

OK, now, I'm generating a new config.plist for you.

@syscl
Copy link
Owner

syscl commented Mar 7, 2016

Hola, I've just uploaded the first version 3840x2160_config.plist for your model, try this config.plist.

Note: Do not run ./deploy.sh! Just replace the old config.plist (located in /Volumes/EFI/EFI/CLOVER/config.plist) with the 3840x2160_config.plist and reboot your system.

@syscl
Copy link
Owner

syscl commented Mar 10, 2016

Now, I've updated the deploy.sh, try to run it and see what's the change:)

@ghost
Copy link
Author

ghost commented Mar 11, 2016

Amazing work. I am in stand by until I receive my Wifi/Bluetooth car DW 1560 from germany. I am currently with a Wifi Adapter (Realtek) and a Bluetooth adapter (both USB). They work better than my MacBook Pro (especially Wifi. Never Drop). But I think there is problem for Sleep / Wake when i have those USB adapter plugged (event after your latest patch).

What I think you should work is the Touchpad responsiveness. You mention you was about to work on it and it should be a good idea

The sound is still not functionnal with Internal Speaker (work with Bluetooth). I don't know if it works with your M3800. But here not.

Thanks again a lot

@syscl
Copy link
Owner

syscl commented Mar 11, 2016

Congratulations!

I strongly recommend you to remove USB adapter because that's really easily cause various sleep problem(so many people have reported that on their laptop/PC)

Responsiveness can be modified by "SysPref/TouchPad", don't worry, I'm still working on refining it. :)

About your sound problem, try to update the whole git by

git clone https://github.com/syscl/M3800
chmod +x ./M3800/deploy.sh
cd M3800
./deploy.sh

If it still not work, try this command lines under terminal as well:

sudo kextcache -system-prelinked-kernel
sudo kextcache -system-caches
sudo /usr/libexec/repair_packages --repair --standard-pkgs --volume /

and reboot.

Wait for your feedback!

@syscl
Copy link
Owner

syscl commented Mar 11, 2016

And also, thx for your reply the HDA problem, I am now mainly focusing on this issue since user of pmheart(see issue #9) always reported me that his/her PC(with GA B75, E3-1230 v2, ALC887-vd) has the same issue if he/she inject the configdata by injector under /L_/E_/AppleHDA_ALC668.kext.

I will try to modify it.

@froggr
Copy link

froggr commented Apr 16, 2016

Not sure if this should be its own issue, but having audio issues. Audio works through headphone only. When restoring from sleep, sound works for a brief moment (no more than a second) but stops. Console only mentions this regarding codec commander:

2016-04-15 8:16:35.000 PM kernel[0]: CodecCommander: Evaluating device "IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/HDAU@3" [8086:0c0c].
2016-04-15 8:16:35.000 PM kernel[0]: CodecCommander: stopping due to codec profile Disable flag

Any thoughts?

@syscl
Copy link
Owner

syscl commented Apr 17, 2016

@froggr I have moved CodecCommander.kext to /EFI/Clover/kexts/10.11, if you have that problem, try to install CodecCommander.kext to /Library/Extensions by following code in terminate:

sudo cp -R /Volumes/EFI/CLOVER/kexts/10.11/CodecCommnader.kext /Library/Extensions
sudo rm -R  /Volumes/EFI/CLOVER/kexts/10.11/CodecCommnader.kext
sudo touch /Library/Extensions && sudo kextcache -u /

Wait for your feedback.

@froggr
Copy link

froggr commented Apr 18, 2016

After moving CodecCommander.kext to /L/E, I'm no longer getting "stopping due to codec profile Disable flag..." however nothing has changes. Still experiencing sound only though headphone, and 1 second of sound from speaker after sleep. However, now I am noticing:

2016-04-17 8:14:01.000 PM kernel[0]: Sound assertion in AppleHDAController at line 5576

immediately after awaking from sleep

@froggr
Copy link

froggr commented Apr 18, 2016

I'm assuming sound assertion errors are trivial... I'll dig a bit deeper into the logs

I missed this before, but after moving to /L/E, I'm still getting the "CodecCommander: stopping due to codec profile Disable flag" message, however after that it seems as tho CodecCommander attempts to load.

2016-04-17 9:00:44.000 PM kernel[0]: CodecCommander: Evaluating device "IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/HDAU@3" [8086:0c0c].
2016-04-17 9:00:44.000 PM kernel[0]: CodecCommander: stopping due to codec profile Disable flag
2016-04-17 9:00:44.000 PM kernel[0]: CodecCommander: Version 2.5.1 starting on OS X Darwin 15.4.
2016-04-17 9:00:44.000 PM kernel[0]: CodecCommander: Evaluating device "IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/HDEF@1B" [8086:8c20].
2016-04-17 9:00:44.000 PM kernel[0]: CodecCommander: ....CodecVendor Id: 0x10ec0668
2016-04-17 9:00:44.000 PM kernel[0]: CodecCommander: ....Codec Address: 0
2016-04-17 9:00:44.000 PM kernel[0]: CodecCommander: ....Subsystem Id: 0x1028060d
2016-04-17 9:00:44.000 PM kernel[0]: CodecCommander: ....PCI Sub Id: 0x1028060d
2016-04-17 9:00:45.000 PM kernel[0]: CodecCommander: Node ID 0x14 supports EAPD, will update state after sleep.
2016-04-17 9:00:45.000 PM kernel[0]: CodecCommander: Node ID 0x15 supports EAPD, will update state after sleep.

@syscl
Copy link
Owner

syscl commented Apr 18, 2016

Try to update my git and use ./deploy.sh again.

Replaced config.plist with the latest one in my git.

I've just updated config.plist and some kexts.

If the problem still stays, upload your codec# files under Ubuntu/Linux.

@froggr
Copy link

froggr commented Apr 18, 2016

I've tried your latest update and the problem persists. I've wiped the machine and reinstalled and am encountering the same issue.

Can you clarify what you mean when you instruct to "upload your codec# files?" I'm not sure what you mean.

@syscl
Copy link
Owner

syscl commented Apr 18, 2016

@froggr I will see what issue you are having there separately.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants