2010-08-25 21:45, Keith Chew skrev: > Hi > > I have a small-form factor PC (KingYoung brand, model S645), which has > 3 jacks connected to a Realtek ALC888 chipset. I have confirmed with > the manufacturers the pin outs: > 1) The front panel left side phone jack : Codec Line2-L & Line2-R (pin > 14 & pin 15) > 2) The front panel right side phone jack : Codec Mic2-L & Mic2-R (pin > 16 & pin 17) > 3) The back panel phone jack : Codec Front-L & Front-R (pin 35 & pin 36) > > I would like to update patch_realtek.c in alsa-drivers, to output 5.1 > surround using these 3 jacks. > > Can someone give me some guidance on how I can do this? I have looked > and studied patch_realtek as much as I can, I just need some help in > getting started. My first approach to that problem would be to try to tweak user_pin_configs, assuming that the generic parser (model=auto) is used. See sections 4.3 and 4.4 on this document for how to do that: http://mirror.leaseweb.com/kernel/people/tiwai/docs/HD-Audio.html That way you won't have to update the kernel code at all. To figure out the values of user_pin_configs, you'll need to know the pin widget NIDs (see your /proc/asound/card*/codec* file for that) and pin values (see official Intel HDA documentation, or read hda_proc.c). -- David Henningsson, Canonical Ltd. http://launchpad.net/~diwic _______________________________________________ Alsa-devel mailing list Alsa-devel@xxxxxxxxxxxxxxxx http://mailman.alsa-project.org/mailman/listinfo/alsa-devel