I have a ALC262 hda-intel card which doesn't function quite correctly. Details can be found at https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.20/+bug/110145
I got bored of waiting for it to be fixed, and had a go myself. My knowledge of ALSA is very limited, but nevertheless it was really simple to add my device ids to the quirks list in the patch_realtek.c file - eg:
... SND_PCI_QUIRK(0x104d, 0x900e, "Sony ASSAMD", ALC262_SONY_ASSAMD), SND_PCI_QUIRK(0x104d, 0x1f00, "Sony ASSAMD", ALC262_SONY_ASSAMD), /* My card... */ SND_PCI_QUIRK(0x104d, 0x820f, "Sony ASSAMD", ALC262_SONY_ASSAMD), ...
I found by trial and error that ALC262_SONY_ASSAMD almost works. Connecting headphones disables built-in speakers and unplugging them re-enables them.
However, something does not get initialised until this is done. That is, every bootup using ALC262_SONY_ASSAMD, I must plug in and remove my headphones before the device is initialised properly.
Until this is done, I get no sound and the little GUI mixer in XFCE doesn't show the list of supported outputs on the device.
I'm posting this to the devel list as I'm more interested the code side of things rather than actually having working sound :)
Thanks Andy.
___________________________________________________________ Yahoo! Mail is the world's favourite email. Don't settle for less, sign up for your free account today http://uk.rd.yahoo.com/evt=44106/*http://uk.docs.yahoo.com/mail/winter07.htm...