Okay guys, I have managed to fix the audio on my HP Notebook 17 which was using ALC282. I couldn't fix it with the normal AppleALC layout IDs. This is what you have to do.
Google for 'Mini Guide for AMD AppleLAC.kext custom builds' which is written by Gigamaxx.
You'll have to get a copy of IORegistryExplorer as well as Headkaze's Pin Configurator and Hackintool app.
You should also have access to a copy of your BIOS DSDT.aml, using MaciASL to check for the values.
So you follow the instructions to obtain and open the codec. You edit the list and remove any non-working pinouts, making sure the settings below matches your Codec address from the DSDT. Then you select Get ConfigData and copy the verb instructions and save into a new Info.plist in to your AppleALC.kext (for me I just wrote over Mirone's Realtek ALC282 v1 configdata). You then reboot, run Pin Configurator, IORegistryExplorer and Hackintool again. In Pin Configurator you import from IORegistryExplorer (to see if you get any values) and repeat the process of Generate Configdata and saving your verb instructions to the configdata in Info.plist in AppleALC.kext. Now if you DON'T get any values or pinouts from the import in Pin Configurator, you'll need to refer to your IORegistryExplorer, search for HDEF and see if you see any values appearing on the right. Then you scroll down and look for the layout-id and device-d. Mine was '07 00 00 00' for layout and device-id was '70 a1 00 00'. I then added these to the Clover Configurator in the Devices/Properties section for the ALC282 which came under PciRoot(0x0)/Pci(0x1F,0x3) and wrote them as '03000000' and '70A10000' with layout-id of 3. That worked for me.