Comment 1 for bug 637947

Revision history for this message
Emmet Hikory (persia) wrote :

I believe the correct way to fix this is by creating a board-specific driver that will indicate the wire layout from the codec (which driver exists) to the ports on specific boards. Failing this, there may be ways to hardcode the wire layout either (incorrectly) in the codec driver, or (less bad) by setting quirks based on some other discoverable factor about the board.

If no kernelspace solution is available, a hardcoded asound.conf in a separate package (or created by jasper) is is very heavy-handed and inflexible way to address the issue, and has significant potential to break other audio paths (e.g. USB audio). Much better would be to add codec-specific initialisation into a configuration fragment in the /usr/share/alsa/ distributor configuration directory. I'm not deeply familiar with this, but I believe that adding a /usr/share/alsa/init/omap4 or similar would be appropriate as a fallback for buggy kernel drivers (with appropriate conditional inclusion from 00main).