Re: [Alsa-user] problem width audio out front panel
Brought to you by:
perex
From: Takashi I. <ti...@su...> - 2005-10-13 10:02:46
|
At Tue, 11 Oct 2005 23:05:28 -0700 (PDT), Bill Unruh wrote: > > On Wed, 12 Oct 2005, Luca wrote: > > > Hi, I have a problem with the audio out front panel: > > the phone and microfono are inverted..when I use the phone I put the jack in > > the place of microphone and the same when I use mic... > > > > Why this problem? Is a problem of the kernel? Or is a problem of Alsa driver? > > It is a hardware problem. Your manufacturer ran the wrong wire to the > jacks. > > There is no way software could make an input into an output. Well, it's not true for the case of HD-audio. HD-audio has "widget node" trees to represent the topology of mixer elements like USB-audio. On most codecs, the connection is fairly flexible, so that pins can be assigned to either input or output freely. The topology information is taken from the codec _dynamically_. For the driver, the most important is to know which pin widget corresponds to what role (e.g. line-out, headphone, mic, etc). This information is retrieved from the "default pin configuration" set up, which is supposed to be initialized at boot time by BIOS. So, if the BIOS sets it up properly, the driver can gracefully parse the routing and the assignment. However, many h/w manufacturos are too lazy to do this, unfortunately. As a workaround, we have to set it up manually in the driver itself using a static table to look up the PCI SSID. This is why hda-intel driver has a module optoin "model". It allows you to choose the manual set-up method. See ALSA-Configuration.txt for details. As found in the OP's kernel message, the driver tried to find the BIOS setup, failed, and chose the standard "3stack" model. And it doesn't match with the actual configuration. First, he can try the different model types. If none of them matches to the actual configuration, we have to create another new one... Takashi |