All of lore.kernel.org
 help / color / mirror / Atom feed
* ECS K7VTA3:  Mixer channels reversed
@ 2008-06-23 23:15 walt
  2008-06-25 15:49 ` Takashi Iwai
  0 siblings, 1 reply; 6+ messages in thread
From: walt @ 2008-06-23 23:15 UTC (permalink / raw)
  To: alsa-devel

Hi list,

I just replaced a mobo with an ECS K7VTA3 and I find that the
Headphones control is now controlling the master channel and the
Master control does nothing.

I tried 'modprobe via82xx ac97_quirk=hp_only' but that makes the
audio device unusable (although alsamixer still seems happy to set
the individual channels).  Any other quirks I should try?

Here is some hardware info:

ALSA sound/pci/via82xx.c:2409: via82xx: DXS white list for ESC K8 found

00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235/8237 AC97 Audio Controller (rev 50)
         Subsystem: Elitegroup Computer Systems Unknown device 1841
         Control: I/O+ Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
         Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
         Interrupt: pin C routed to IRQ 5
         Region 0: I/O ports at dc00 [size=256]
         Capabilities: [c0] Power Management version 2
                 Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
                 Status: D0 PME-Enable- DSel=0 DScale=0 PME-
         Kernel driver in use: VIA 82xx Audio
         Kernel modules: snd-via82xx

I'm running Linus' git kernel, current as of today, and alsa 1.0.16.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: ECS K7VTA3:  Mixer channels reversed
  2008-06-23 23:15 ECS K7VTA3: Mixer channels reversed walt
@ 2008-06-25 15:49 ` Takashi Iwai
  2008-06-26  0:08   ` walt
  0 siblings, 1 reply; 6+ messages in thread
From: Takashi Iwai @ 2008-06-25 15:49 UTC (permalink / raw)
  To: walt; +Cc: alsa-devel

At Mon, 23 Jun 2008 16:15:05 -0700,
walt wrote:
> 
> Hi list,
> 
> I just replaced a mobo with an ECS K7VTA3 and I find that the
> Headphones control is now controlling the master channel and the
> Master control does nothing.
> 
> I tried 'modprobe via82xx ac97_quirk=hp_only' but that makes the
> audio device unusable (although alsamixer still seems happy to set
> the individual channels).

You mean that you don't hear any outputs?  Which I/O (HP out,
line-out, etc) are you testing?

>  Any other quirks I should try?

Usually hp_only is the right choice.  Check alsa-info.sh script
outputs for both cases with and without ac97_quirk option.


Takashi

> Here is some hardware info:
> 
> ALSA sound/pci/via82xx.c:2409: via82xx: DXS white list for ESC K8 found
> 
> 00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235/8237 AC97 Audio Controller (rev 50)
>          Subsystem: Elitegroup Computer Systems Unknown device 1841
>          Control: I/O+ Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
>          Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
>          Interrupt: pin C routed to IRQ 5
>          Region 0: I/O ports at dc00 [size=256]
>          Capabilities: [c0] Power Management version 2
>                  Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
>                  Status: D0 PME-Enable- DSel=0 DScale=0 PME-
>          Kernel driver in use: VIA 82xx Audio
>          Kernel modules: snd-via82xx
> 
> I'm running Linus' git kernel, current as of today, and alsa 1.0.16.
> 
> _______________________________________________
> Alsa-devel mailing list
> Alsa-devel@alsa-project.org
> http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
> 

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: ECS K7VTA3:  Mixer channels reversed
  2008-06-25 15:49 ` Takashi Iwai
@ 2008-06-26  0:08   ` walt
  2008-06-26  5:50     ` Takashi Iwai
  0 siblings, 1 reply; 6+ messages in thread
From: walt @ 2008-06-26  0:08 UTC (permalink / raw)
  To: alsa-devel

Takashi Iwai wrote:
> At Mon, 23 Jun 2008 16:15:05 -0700,
> walt wrote:
>> Hi list,
>>
>> I just replaced a mobo with an ECS K7VTA3 and I find that the
>> Headphones control is now controlling the master channel and the
>> Master control does nothing.
>>
>> I tried 'modprobe via82xx ac97_quirk=hp_only' but that makes the
>> audio device unusable (although alsamixer still seems happy to set
>> the individual channels).
>
> You mean that you don't hear any outputs?  Which I/O (HP out,
> line-out, etc) are you testing?

Sorry, I forgot to mention that RealAudio player complains that it
"cannot open the audio device. Another application may be using it."

However, I just tried mplayer, which *does* work normally and the
master channel also works properly again.

So it seems that hp_only works, but only partly.  Any idea why
RealPlayer is complaining?


>>   Any other quirks I should try?
>
> Usually hp_only is the right choice.  Check alsa-info.sh script
> outputs for both cases with and without ac97_quirk option.

Most of that info means nothing to me, so all I can do is point you
the results, sorry:

without hp_only
http://pastebin.ca/1056077

and with hp_only:
http://pastebin.ca/1056088

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: ECS K7VTA3:  Mixer channels reversed
  2008-06-26  0:08   ` walt
@ 2008-06-26  5:50     ` Takashi Iwai
  2008-06-26 12:47       ` ECS K7VTA3: Mixer channels reversed [PATCH] walt
  0 siblings, 1 reply; 6+ messages in thread
From: Takashi Iwai @ 2008-06-26  5:50 UTC (permalink / raw)
  To: walt; +Cc: alsa-devel

At Wed, 25 Jun 2008 17:08:02 -0700,
walt wrote:
> 
> Takashi Iwai wrote:
> > At Mon, 23 Jun 2008 16:15:05 -0700,
> > walt wrote:
> >> Hi list,
> >>
> >> I just replaced a mobo with an ECS K7VTA3 and I find that the
> >> Headphones control is now controlling the master channel and the
> >> Master control does nothing.
> >>
> >> I tried 'modprobe via82xx ac97_quirk=hp_only' but that makes the
> >> audio device unusable (although alsamixer still seems happy to set
> >> the individual channels).
> >
> > You mean that you don't hear any outputs?  Which I/O (HP out,
> > line-out, etc) are you testing?
> 
> Sorry, I forgot to mention that RealAudio player complains that it
> "cannot open the audio device. Another application may be using it."
> 
> However, I just tried mplayer, which *does* work normally and the
> master channel also works properly again.
> 
> So it seems that hp_only works, but only partly.  Any idea why
> RealPlayer is complaining?

Hard to believe that the error of RealPlayer comes from ac97_quirk
option.  It's likely a coincidence.  Please double-check.


Takashi

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: ECS K7VTA3:  Mixer channels reversed [PATCH]
  2008-06-26  5:50     ` Takashi Iwai
@ 2008-06-26 12:47       ` walt
  2008-06-26 13:59         ` Takashi Iwai
  0 siblings, 1 reply; 6+ messages in thread
From: walt @ 2008-06-26 12:47 UTC (permalink / raw)
  To: alsa-devel

Takashi Iwai wrote:
> At Wed, 25 Jun 2008 17:08:02 -0700,
> walt wrote:
>> Takashi Iwai wrote:
>>> At Mon, 23 Jun 2008 16:15:05 -0700,
>>> walt wrote:
>>>> Hi list,
>>>>
>>>> I just replaced a mobo with an ECS K7VTA3 and I find that the
>>>> Headphones control is now controlling the master channel and the
>>>> Master control does nothing.
>>>>
>>>> I tried 'modprobe via82xx ac97_quirk=hp_only' but that makes the
>>>> audio device unusable (although alsamixer still seems happy to set
>>>> the individual channels).
>>> You mean that you don't hear any outputs?  Which I/O (HP out,
>>> line-out, etc) are you testing?
>> Sorry, I forgot to mention that RealAudio player complains that it
>> "cannot open the audio device. Another application may be using it."
>>
>> However, I just tried mplayer, which *does* work normally and the
>> master channel also works properly again.
>>
>> So it seems that hp_only works, but only partly.  Any idea why
>> RealPlayer is complaining?
>
> Hard to believe that the error of RealPlayer comes from ac97_quirk
> option.  It's likely a coincidence.  Please double-check.

Okay, this patch seems to make everything work correctly, but lspci
still reports "unknown device" in spite of it.

diff --git a/sound/pci/via82xx.c b/sound/pci/via82xx.c
index b585cc3..aa5c2e0 100644
--- a/sound/pci/via82xx.c
+++ b/sound/pci/via82xx.c
@@ -1746,6 +1746,12 @@ static struct ac97_quirk ac97_quirks[] = {
         },
         {
                 .subvendor = 0x1019,
+               .subdevice = 0x1841,
+               .name = "ECS K7VTA3",
+               .type = AC97_TUNE_HP_ONLY
+       },
+       {
+               .subvendor = 0x1019,
                 .subdevice = 0x0a81,
                 .name = "ECS K7VTA3",
                 .type = AC97_TUNE_HP_ONLY

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: ECS K7VTA3:  Mixer channels reversed [PATCH]
  2008-06-26 12:47       ` ECS K7VTA3: Mixer channels reversed [PATCH] walt
@ 2008-06-26 13:59         ` Takashi Iwai
  0 siblings, 0 replies; 6+ messages in thread
From: Takashi Iwai @ 2008-06-26 13:59 UTC (permalink / raw)
  To: walt; +Cc: alsa-devel

At Thu, 26 Jun 2008 05:47:18 -0700,
walt wrote:
> 
> Takashi Iwai wrote:
> > At Wed, 25 Jun 2008 17:08:02 -0700,
> > walt wrote:
> >> Takashi Iwai wrote:
> >>> At Mon, 23 Jun 2008 16:15:05 -0700,
> >>> walt wrote:
> >>>> Hi list,
> >>>>
> >>>> I just replaced a mobo with an ECS K7VTA3 and I find that the
> >>>> Headphones control is now controlling the master channel and the
> >>>> Master control does nothing.
> >>>>
> >>>> I tried 'modprobe via82xx ac97_quirk=hp_only' but that makes the
> >>>> audio device unusable (although alsamixer still seems happy to set
> >>>> the individual channels).
> >>> You mean that you don't hear any outputs?  Which I/O (HP out,
> >>> line-out, etc) are you testing?
> >> Sorry, I forgot to mention that RealAudio player complains that it
> >> "cannot open the audio device. Another application may be using it."
> >>
> >> However, I just tried mplayer, which *does* work normally and the
> >> master channel also works properly again.
> >>
> >> So it seems that hp_only works, but only partly.  Any idea why
> >> RealPlayer is complaining?
> >
> > Hard to believe that the error of RealPlayer comes from ac97_quirk
> > option.  It's likely a coincidence.  Please double-check.
> 
> Okay, this patch seems to make everything work correctly, but lspci
> still reports "unknown device" in spite of it.

lspci doesn't know anything about the driver, so don't worry about
it.

The patch looks good to me.  Could you give your sign-off so that it's
merged to the upstream?  See $LINUX/Documentation/SubmittingPatches
for details.


thanks,

Takashi

> 
> diff --git a/sound/pci/via82xx.c b/sound/pci/via82xx.c
> index b585cc3..aa5c2e0 100644
> --- a/sound/pci/via82xx.c
> +++ b/sound/pci/via82xx.c
> @@ -1746,6 +1746,12 @@ static struct ac97_quirk ac97_quirks[] = {
>          },
>          {
>                  .subvendor = 0x1019,
> +               .subdevice = 0x1841,
> +               .name = "ECS K7VTA3",
> +               .type = AC97_TUNE_HP_ONLY
> +       },
> +       {
> +               .subvendor = 0x1019,
>                  .subdevice = 0x0a81,
>                  .name = "ECS K7VTA3",
>                  .type = AC97_TUNE_HP_ONLY
> 
> 
> _______________________________________________
> Alsa-devel mailing list
> Alsa-devel@alsa-project.org
> http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
> 

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2008-06-26 13:59 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-23 23:15 ECS K7VTA3: Mixer channels reversed walt
2008-06-25 15:49 ` Takashi Iwai
2008-06-26  0:08   ` walt
2008-06-26  5:50     ` Takashi Iwai
2008-06-26 12:47       ` ECS K7VTA3: Mixer channels reversed [PATCH] walt
2008-06-26 13:59         ` Takashi Iwai

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.