-
Notifications
You must be signed in to change notification settings - Fork 70
Help with getting COEF values for 10ec_0256 #4
Comments
CTIA and OMTP are two variants of 3.5mm wired headset connector. They have different pin definitions. |
Oh. Was wondering how the daemon is able to detect which type of headset it is? When you plug into the 3.5mm Combojack and you get the prompt on what device it is, I didn't know when you hit Headset, that is does another check if it's CTIA or OMTP. Was I on the right track that those are the COEF values that is used when you plug a wired headset in the Combojack to get LineIn to show and activate? It will be interesting to see if it will work without the daemon, but I guess we will see. Thanks again for your response. |
You can build debug version of VerbStub.kext if you want to know what verb command is invoked when plug in headset. |
OK thanks I got it after installing Combojack too and using the Console.app to capture the log. What is the difference between SendCommand: (w) and SendCommand (r)? Is one writing the command while the other reports the result? I just want to know if you need both sets of commands. |
WRITE_COEFEX and WRITE_COEF does read existing coef values and apply masks on them. |
Thanks again for explaining. The info you provided was enough. Wanted to ask another thing which is a slightly different issue. When I do use your Verbstub.kext and Combojack, I noticed after the codec goes into idle mode, you can hear a small pop through the headset. Is there a way to prevent this pop? It seems to happen within 30 seconds after I stop playing any sound. I heard about certain antipop solutions, but wanted to see if there is anything I can do that's more streamlined. Please let me know if you need anything else. |
Hi @Andrw0830 @maz-1 |
Hey man, I unfortunately don't know as not very good with programming and code so wanted to get @maz-1 feedback too. I have since moved my CodecCommander to OpenCore and have a SSDT-ALC256.aml that has been working pretty good. I've also looked at my verbs file that was generated from Linux and noticed the 0x21 device (Headphones) didn't have the following value '0xc0' added so I went into the hda-verb.m file for ComboJack and added this line to the ALC255_COMMON section "VerbCommand(HDA_VERB(0x21, AC_VERB_SET_PIN_WIDGET_CONTROL, 0xc0));" Adding that seemed to produce better audio quality. I am not on my Mac right now, but can certainly provide the files if you want them? I am using layout-id 16 as my Dell is a 2.1 laptop. Not sure if your CodecCommander is in the EFI folder or in /Library/Extensions, but me moving mine to EFI, seemed to fix issues like audio from sleep. |
Hello @maz-1 thanks again for your work on this Combojack and helping getting it to work for my Realtek ALC256 system! I was wondering if you could help. I was trying to see if we could get our codec to work without having to use Combojack + Verbstub. I've been talking with some developers that help submit changes for AppleALC and they mentioned if I could provide the exact COEF that our codec uses for the wired headset port to switch the headset mic to LineIn to make it work.
I looked through your hda_verb.m and found the following 3 sections regarding COEF for my particular 0x19 NID (I cut some lines to only show the 10ec0256 and to be better readable here)
"fprintf(stderr, "Jack Status: headset plugged in. Checking type...\n");
fprintf(stderr, "Jack Status: headset (CTIA/iPhone) plugged in.\n");
fprintf(stderr, "Jack Status: headset (OMTP/Nokia) plugged in.\n");
I was wondering if you could help me provide me exactly what coefficient that is provided to the codec and if possible the terminal commands (ex hda-verb) just so I could help provide that for them? I just don't know where else to go to grab this information.
I am just trying to make the whole process easier as I've noticed a lot of people use CodecCommander with AppleALC and want to make sure if this process is ever abandoned or not updated, that we will have another working solution for headset mic for our codecs.
Please let me know if you need anything and thanks again!
The text was updated successfully, but these errors were encountered: