Ab2774 / Lenovo-IdeaPad-320-14-IKB-Hackintosh

A guide for installing macOS on Lenovo IdeaPad 320-14IKB (Kaby Lake-U)
54 stars 12 forks source link

No mic support on every browser except safari (Workaround) #3

Open Luka020 opened 4 years ago

Luka020 commented 4 years ago

Hi Ab2774,

I have no mic support on every browser except for safari there is a workaround to fix this issue temporally by turning off one mic channel thourgh the "Audio MIDI" app.

But this is only temporally because after a few moments it always comes as a suprise the mic audio channel wil reactivate. The application can not save this sate so that the mic channel wil not reactivate.

Before i think with Firefox 68/69 the mic works without the "Audio MIDI" app. With Chrome i think before version 70 or 68 will work without the Audio MIDI app

I wonder what the issue could be,

Can you test this out if you have the same issue?

Ab2774 commented 4 years ago

Hi, @Luka020 unfortunately, I've tested it and it also exists with me too, that's also could be because of poor development of the layout 20. I'm gonna try to rewrite the entire project and test all these issues because I want the laptop to be as perfect as possible. Gonna try it now and if I succeeded I'm gonna release an update immediately. Regards

Ab2774 commented 4 years ago

Hi I rewrite layout 20 and 13 from scratches (with fresh CodecDump) from Linux and the issues (mic and sleep) still exists, I thought that rewriting it will help but it ended with the same results, it's beyond my abilities, I'm gonna post these issues on insanely mac forum and hope that someone will help. Cheers

Luka020 commented 4 years ago

Hi Ab2774,

I installed Ubunut Linux, and the same mic problem excists there too so its not hackintosh mac only related issue. So no mic support on chrome and other browsers except when you turn off a channel be it 1 or 2 with pulse audio manager and after it will reactivate it self. It is worse in linux than it is on Hackintosh.

When in Ubuntu and in alsamixer it says: "generic realtek audio driver". It should say: "ALC230 audio driver."

if you have the time please check it to, with a live usb it should be done to.

Ab2774 commented 4 years ago

Hi Luka020, thanks for testing it on Ubuntu, now we know that the issue isn't from AppleALC which is good news, so we can wait till Lenovo drops a new BIOS update and see if it got fixed with the new update, can you test these issues (mic in a browser and no sound after sleep) on Windows too? I would really appreciate it, also I've tested it on Ubuntu and the results are the same as yours. Regards

Luka020 commented 4 years ago

Hi Ab2774,

On Windows everything works amazingly. No sleep or mic issues whatsoever i am using the latest bios update wich is 4WCN46WW.

You can get it here

https://pcsupport.lenovo.com/us/en/products/laptops-and-netbooks/300-series/320-14ikb/downloads/driver-list/component?name=BIOS%2FUEFI

Ab2774 commented 4 years ago

Hi I've already updated the BIOS since the update dropped, I'll keep working on it. Regards

Ab2774 commented 4 years ago

Hi @Luka020 I’ve literally tried everything and none of them worked, it’s something that I can fully understand, I’m gonna post this issue in some forums and hope someone can help. Thanks for your patience

maulaniad commented 4 years ago

on Linux i found out that, the recording channel should be Mono in order for the mic to work. by the default it's set to L R, but since ideapad 320 input hardware doesn't support that so it's impossible to use it unless we reconfigure it to mono. Windows probably reconfigure it automatically. other things like WebRTC mic input also doesn't support old devices to record input. app that uses WebRTC implementation such as Discord, Telegram might not work. which explains why it doesn't record input on browsers. source

what i said here might be pointless but i'm hoping this could help you and i want to try hackintosh. currently i'm too afraid and might mess things up since it's my only daily driver laptop.

Ab2774 commented 4 years ago

Hi I really appreciate you trying to help, we currently can't figure out what's causing the issue, I've got a CodecDump from ALC230 to help spot the cause, but currently, it's not my highest priority to fix that issue, I'm working on fixing the Fn keys, improving sleep, etc. if you want to install macOS in your laptop you must install it on an external hard drive to avoid messing things up, BIOS configurations are good with Windows and won't cause any errors, follow my guide and you won't get lost

Ab2774 commented 3 years ago

Hi @Luka020, I found a really interesting thing when using Line In in Chrome it works fine whatsoever, and I think that's because, in the original CodecDump, Line In node is 18 (0x12) not 25 (0x19), maybe switching them will fix all the issues? Btw, a PR is on the way so that ALCPlugFix and CodecComannder no longer needed for correcting audio after sleep (https://github.com/acidanthera/AppleALC/pull/618) Can you please test them without ALCPlugFix and CodecComannder to confirm it too? Thanks

LucasDondo commented 3 years ago

on Linux i found out that, the recording channel should be Mono in order for the mic to work. by the default it's set to L R, but since ideapad 320 input hardware doesn't support that so it's impossible to use it unless we reconfigure it to mono.

How can we do that?

Ab2774 commented 2 years ago

Hi, some good and bad news, the bad news is that I have no longer access to my laptop as it broke down and I'm not planning on fixing it, so the v1.1.7 may be the last release I'm gonna upload, in this case, if anyone wanna take over and continue updating and uploading new releases I would highly appreciate it, the good news is that in my new laptop with ALC236, the microphone works on every browser! I did a little investigation and found out that there's an additional patch in layout16.xml compared to layout20.xml which potentially can be the answer to fix this issue, as I mentioned, I don't have access to my laptop, so, if anyone is willing to troubleshoot I would also really appreciate it. The only problem that still exists is that using the microphone after sleep will result in the audio stopping for a while or until the output is switched then switched back as mentioned in issue https://github.com/Ab2774/Lenovo-IdeaPad-320-14-IKB-Hackintosh/issues/2, I can believe we can fix this problem as well if we can find a codec with this problem not present so we can try all of the patches in Info.plist in this codec till it gets fixed. Cheers