* VIA VT1708 bugs
@ 2011-01-04 6:46 David Henningsson
2011-01-04 7:43 ` Raymond Yau
0 siblings, 1 reply; 6+ messages in thread
From: David Henningsson @ 2011-01-04 6:46 UTC (permalink / raw)
To: ALSA Development Mailing List
Hi,
the state of VIA VT1708 in the current kernel is far from optimal. It
would be good to improve the situation, at least for 2.6.38. On the
machine here, I experience at least these bugs:
1) "Jack detect" switch has no function:
* When turning "Jack detect" off, quitting alsamixer, then restarting
it, "Jack detect" is still on.
* When turning "Jack detect" off, then turning it on again, alsamixer
crashes with the message "alsamixer: hcontrol.c:764:
snd_hctl_handle_event: Assertion `elem' failed."
2) Plugging headphones in toggles "Front" switch control
* This should probably just be removed, especially with the latest
opinion from Takashi of what "Front" really means. The problem is
worsened by that PulseAudio seems to pick it up in some circumstances
and thinks that it should mute everything.
3) Several users report headphones output being broken
* Symptoms vary a little and some might be due to bug 2), but some
however report the headphones volume being "grayed out" in alsamixer. I
haven't seen that in particular on the hardware here.
4) All these extra controls - "Independent HP", "Jack Detect", "Smart 5.1"
I assume they are meant to add extra functionality, and of course I
don't mind that, but the problem is that since these are not very well
described (or am I missing documentation somewhere?) it's difficult to
know the exact intended functionality of these, and without knowing
that, it's even more difficult to fix it when it's broken (or even
knowing if it is broken or not!).
Any ideas and/or opinions? Should we talk to VIA about it, after all
they seem to have written a lot of the code here? Or can someone here
cast some light on these issues?
--
David Henningsson, Canonical Ltd.
http://launchpad.net/~diwic
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: VIA VT1708 bugs
2011-01-04 6:46 VIA VT1708 bugs David Henningsson
@ 2011-01-04 7:43 ` Raymond Yau
2011-01-04 9:21 ` David Henningsson
0 siblings, 1 reply; 6+ messages in thread
From: Raymond Yau @ 2011-01-04 7:43 UTC (permalink / raw)
To: ALSA Development Mailing List
2011/1/4 David Henningsson <david.henningsson@canonical.com>
> Hi,
>
> the state of VIA VT1708 in the current kernel is far from optimal. It
> would be good to improve the situation, at least for 2.6.38. On the
> machine here, I experience at least these bugs:
> 3) Several users report headphones output being broken
>
> * Symptoms vary a little and some might be due to bug 2), but some
> however report the headphones volume being "grayed out" in alsamixer. I
> haven't seen that in particular on the hardware here.
>
> 4) All these extra controls - "Independent HP", "Jack Detect", "Smart 5.1"
>
Independent headphone
http://www.viaarena.com/forums/showthread.php?t=41015
"Smart 5.1" similar to switch "channel mode" from 2 to 6 in intedl
desktop motherboard with 3 audio jacks in rear panel
"Independent Headphome" similar to "Multistreaming" playback in those two videos
http://www.intel.com/support/motherboards/desktop/sb/cs-020642.htm
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: VIA VT1708 bugs
2011-01-04 7:43 ` Raymond Yau
@ 2011-01-04 9:21 ` David Henningsson
2011-01-04 14:15 ` Raymond Yau
2011-01-04 23:32 ` Raymond Yau
0 siblings, 2 replies; 6+ messages in thread
From: David Henningsson @ 2011-01-04 9:21 UTC (permalink / raw)
To: alsa-devel
On 2011-01-04 08:43, Raymond Yau wrote:
> 2011/1/4 David Henningsson<david.henningsson@canonical.com>
>
>> Hi,
>>
>> the state of VIA VT1708 in the current kernel is far from optimal. It
>> would be good to improve the situation, at least for 2.6.38. On the
>> machine here, I experience at least these bugs:
>> 3) Several users report headphones output being broken
>>
>> * Symptoms vary a little and some might be due to bug 2), but some
>> however report the headphones volume being "grayed out" in alsamixer. I
>> haven't seen that in particular on the hardware here.
>>
>> 4) All these extra controls - "Independent HP", "Jack Detect", "Smart 5.1"
>>
>
> Independent headphone
>
> http://www.viaarena.com/forums/showthread.php?t=41015
Ok, that makes some sense. It translates to me as
* With independent HP turned off - activates auto-mute between
speaker-out/line-out and headphone out. Note the difference between VIA
and Realtek/Sigmatel here as line-out are auto-muted as well.
* With independent HP turned on - headphone out and speaker-out/line-out
should take output from different PCM subdevices.
> "Smart 5.1" similar to switch "channel mode" from 2 to 6 in intedl
> desktop motherboard with 3 audio jacks in rear panel
But does turning "Smart 5.1" on, mean that mic-in and line-in are always
turned into C/LFE and Back L/R jacks, or is it trying to do some kind of
autodetection of the current thing plugged in?
Also, it is not obvious to me how "Jack detect" comes into this equation
and how they affect the two parameters above...?
--
David Henningsson, Canonical Ltd.
http://launchpad.net/~diwic
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: VIA VT1708 bugs
2011-01-04 9:21 ` David Henningsson
@ 2011-01-04 14:15 ` Raymond Yau
2011-01-04 23:32 ` Raymond Yau
1 sibling, 0 replies; 6+ messages in thread
From: Raymond Yau @ 2011-01-04 14:15 UTC (permalink / raw)
To: ALSA Development Mailing List
2011/1/4 David Henningsson <david.henningsson@canonical.com>
> On 2011-01-04 08:43, Raymond Yau wrote:
> > 2011/1/4 David Henningsson<david.henningsson@canonical.com>
> >
> >> Hi,
> >>
> >> the state of VIA VT1708 in the current kernel is far from optimal. It
> >> would be good to improve the situation, at least for 2.6.38. On the
> >> machine here, I experience at least these bugs:
> >> 3) Several users report headphones output being broken
> >>
> >> * Symptoms vary a little and some might be due to bug 2), but some
> >> however report the headphones volume being "grayed out" in alsamixer. I
> >> haven't seen that in particular on the hardware here.
> >>
> >> 4) All these extra controls - "Independent HP", "Jack Detect", "Smart
> 5.1"
> >>
> >
> > Independent headphone
> >
> > http://www.viaarena.com/forums/showthread.php?t=41015
>
> Ok, that makes some sense. It translates to me as
> * With independent HP turned off - activates auto-mute between
> speaker-out/line-out and headphone out. Note the difference between VIA
> and Realtek/Sigmatel here as line-out are auto-muted as well.
>
Those video about realtek and IDT codec are all Intel DESKTOP motherboard
line out does not auto mute because of multi streaming playback
For example, you can listen to one audio source through the back panel
speakers and a second audio source through front panel headphones or
speakers.
> * With independent HP turned on - headphone out and speaker-out/line-out
> should take output from different PCM subdevices.
>
> > "Smart 5.1" similar to switch "channel mode" from 2 to 6 in intedl
> > desktop motherboard with 3 audio jacks in rear panel
>
> But does turning "Smart 5.1" on, mean that mic-in and line-in are always
> turned into C/LFE and Back L/R jacks, or is it trying to do some kind of
> autodetection of the current thing plugged in?
>
"Smart 5.1" is not specific to VIA HDA codec, it first appear in those
onboard ac97 motherboard
http://www.viaarena.com/via-mainboards-smart-51.aspx?ID=76&MCatID=1
smart 5.1
http://git.alsa-project.org/?p=alsa-kernel.git;a=commit;h=1564b2878f5cf160f60af99d4dbca1dd7809ee8a
http://www.via.com.tw/en/products/audio/codecs/vt1708b/index.jsp
To support 7.1 using 8 channels dac require retask headphone as side (I
guess the motherboard only has 5 audio jacks in rear panel )
Jack detect
http://git.alsa-project.org/?p=alsa-kernel.git;a=commit;h=1f2e99febd5dd0c91f0d0752674029a4376649e5
I think the default value of "smart5.1" switch should be :"no" instead of
"Yes"
This mean that the driver should not create "smart5.1" for those 10 channels
dac hda codec
May be the best way is "Gnome Sound Preference" should check whether the
user can select surround 51 profile if rear mic/line is selected as input
source whenever the sound card has "Smart5.1" switch or "channel mode"
switch and vice versa
All those micro ATX size motherboard has only 3 audio jacks in the rear
panel
on-board sound drivers use ac97 codec (e.g ATIIXP, ICH, ICH4 , VIA8233,
VIA8233A , VIA8237 , NFORCE ) have the "channel mode" switch in surround40
or surround51
http://git.alsa-project.org/?p=alsa-lib.git;a=blob;f=src/conf/cards/<http://git.alsa-project.org/?p=alsa-lib.git;a=blob;f=src/conf/cards/ATIIXP.con>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: VIA VT1708 bugs
2011-01-04 9:21 ` David Henningsson
2011-01-04 14:15 ` Raymond Yau
@ 2011-01-04 23:32 ` Raymond Yau
1 sibling, 0 replies; 6+ messages in thread
From: Raymond Yau @ 2011-01-04 23:32 UTC (permalink / raw)
To: ALSA Development Mailing List
2011/1/4 David Henningsson <david.henningsson@canonical.com>
>
>
> Ok, that makes some sense. It translates to me as
> * With independent HP turned off - activates auto-mute between
> speaker-out/line-out and headphone out. Note the difference between VIA
> and Realtek/Sigmatel here as line-out are auto-muted as well.
>
The point is using ac97 front panel connector does not allow you to know
whether the headphone plugged in , the presence of headphone is only know
when you are using HDA front panel and HDA codec. so line-out of a desktop
is usually not auto muted
http://www.intel.com/support/motherboards/desktop/sb/cs-020642.htm
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: VIA VT1708 bugs
@ 2011-03-21 6:56 Raymond Yau
0 siblings, 0 replies; 6+ messages in thread
From: Raymond Yau @ 2011-03-21 6:56 UTC (permalink / raw)
To: ALSA Development Mailing List
>> *Independent* headphone
>>
>> http://www.viaarena.com/forums/showthread.p*hp*?t=41015 <http://www.viaarena.com/forums/showthread.php?t=41015>
>Ok, that makes some sense. It translates to me as
>* With *independent* *HP* turned off - activates auto-mute between
>speaker-out/line-out and headphone out. Note the difference between VIA
>and Realtek/Sigmatel here as line-out are auto-muted as well.
>* With *independent* *HP* turned on - headphone out and speaker-out/line-out
>should take output from different PCM subdevices.
Practically, it is more complex than the above since the desktop
motherboard can have 3 , 5 or 6 audio jacks at rear panel
since those hda codecs only have 8 channels instead of 10
Enable Independent HP on a 6stack model should decrease
spec->mult_out.max_channels from 8 to 6 for subdevice 0
For 5 jacks model , the driver need to retask blue jack as side only
when independent HP switch is off
To support 8 channels for a 3stack model need to retask the front HP as side
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2011-03-21 6:56 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-04 6:46 VIA VT1708 bugs David Henningsson
2011-01-04 7:43 ` Raymond Yau
2011-01-04 9:21 ` David Henningsson
2011-01-04 14:15 ` Raymond Yau
2011-01-04 23:32 ` Raymond Yau
-- strict thread matches above, loose matches on Subject: below --
2011-03-21 6:56 Raymond Yau
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).