alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
* Re: Realtek ALC286 SONY Vaio Pro 13 Ubuntu 13.10
       [not found] <524652C0.5040207@uwo.ca>
@ 2013-09-30  7:50 ` David Henningsson
       [not found]   ` <524A67F1.5020300@uwo.ca>
  0 siblings, 1 reply; 5+ messages in thread
From: David Henningsson @ 2013-09-30  7:50 UTC (permalink / raw)
  To: Yuval Levy, Kailang, David Chen, Takashi Iwai,
	alsa-devel@alsa-project.org

(Adding alsa-devel to CC)

On 09/28/2013 05:53 AM, Yuval Levy wrote:
> Sirs:
> 
> I have been pointed to your patch to implement headset jack
> functionality for some Dell hw [1] after reporting and investigating
> soud support issues [2] with a SONY Vaio Pro 13 (Realtek ALC286).

This different headset mode support is likely unrelated to your problem.
And they don't cover your codec (ALC286), so you would need another set
of verbs too, things that only Realtek knows.

> Output to internal loudspeakers and HDMI works as expected, but neither
> internal microphone nor the headset work (and they do work in Windows,
> so it is not a hardware issue).

An important distinction is here: to they work in Windows without
specific Realtek drivers installed, or do you require Realtek's Windows
drivers for this support?

Second, to do some actual triaging. I see you have been running
hda-jack-sense-test. Could you run it all three scenarios:
 1) nothing connected
 2) headphone (without mic) connected
 3) headset (heaphone + mic combo) connected

...and submit the result? In ideal circumstances, 0x21 should report
"Yes" in scenario 2 and 3, and 0x18 should only report yes in scenario
3. If this is not the result you get, try using hda-jack-retask to turn
off the jack detection: in Ubuntu 13.10 just install the alsa-tools-gui
package (no need to use my ppa). Click "advanced override", find pins
0x18 or 0x21, change "jack detection" from "yes" to "no" and click
apply. Now you should be able to manually choose between internal and
external microphone, as well as between headphones as speakers. See if
this helps.

> As you can see in the bug thread, I have been helped in the diagnosis by
> a very friendly expert, but it seems that we have reached the limit and
> without support from Realtek or Sony the issue will go unresolved.

I'm afraid Sony is not a company that actively supports Linux for the
desktop machines, sorry. Canonical, which seems to have the most
contracts for preloading Linux these days, has a list of certified
hardware here: http://www.ubuntu.com/certification/

> Would you kindly help me find out what need to be done for the Realtek
> ALC286 in the SONY Vaio Pro 13 to be supported in Ubuntu Linux?
> 
> Many thanks,
> Yuv
> 
> [1]
> <https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/commit/sound/pci/hda/patch_realtek.c?id=73bdd597823e2231dc882577dbbaf8df92fe1775>
> [2] <https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1228689>
> 



-- 
David Henningsson, Canonical Ltd.
https://launchpad.net/~diwic

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

* Re: Realtek ALC286 SONY Vaio Pro 13 Ubuntu 13.10
       [not found]   ` <524A67F1.5020300@uwo.ca>
@ 2013-10-01  6:28     ` David Henningsson
       [not found]       ` <524B8139.2040309@uwo.ca>
  0 siblings, 1 reply; 5+ messages in thread
From: David Henningsson @ 2013-10-01  6:28 UTC (permalink / raw)
  To: Yuval Levy, Kailang, David Chen, Takashi Iwai,
	alsa-devel@alsa-project.org

On 10/01/2013 08:13 AM, Yuval Levy wrote:
> Thank you for the quick reply.
> 
> On 09/30/2013 03:50 AM, David Henningsson wrote:
>> An important distinction is here: to they work in Windows without
>> specific Realtek drivers installed, or do you require Realtek's Windows
>> drivers for this support?
> 
> I am 99% certain that yes.  I am no Windows expert.  After taking
> delivery of the laptop and ascertaining that the functionality that I
> need works, I have backed up SONY's original stuff and stored it away.
> Far away.  I have reformatted the SDD, leaving 30 GB for a Windows
> install (because unfortunately, the law school's exam system requires
> either Windows or Mac).  I reinstalled Windows from Microsoft's media.
> I have not installed any other driver myself, but I am not sure if
> Windows downloads drivers from the internet.  It definitely did download
> drivers for my Brother printer, automatically and without asking for
> permission, after it discovered it on the network.  I booted into
> Windows before writing this email and looked in the Control Panel.  It
> says the driver for the two microsoft and for the loudspeakers is Microsoft.

Ok. If things work without extra drivers from Sony or Realtek, then it
should be possible to get things working in Linux too without extra
information from these parties...

>> Second, to do some actual triaging. I see you have been running
>> hda-jack-sense-test. Could you run it all three scenarios:
>>  1) nothing connected
>>  2) headphone (without mic) connected
>>  3) headset (heaphone + mic combo) connected
> 
> Done and added to the bug report. 0x21 works as you expected.  0x18 not.
> 
> As you suggested I installed alsa-tools-gui and did the advance override
> with hdajackretask:
> * selected codec Realtek ALC286
> * clicked Advance override in the Options on the right hand side
> * clicked Override under pins 0x18 and 0x21
> * changed Jack detection from Present to Not present for both pins

Ok - given that 0x21 works as expected you should only need to do this
for pin 0x18.

> * clicked Apply now
> 
> An error message appeared: Failed to create file
> '/home/yuv/.pulse/client.conf.3K083W': No such file or directory
> 
> maybe it should save to /home/yuv/.config/pulse/client.conf.3K083W?
>                                    ^^^^^^^
> I am sorry I do not know how to fix this, can you help?

Oh. That's fixed upstream [1], but apparently not in Ubuntu yet.

Any of these workarounds should do it:

 1) use the "boot override" instead (and reboot your computer to test)
 2) create a symlink from .pulse to .config/pulse
 3) or copy everything from .config/pulse to .pulse (but then you have
to restart your computer afterwards, so PulseAudio will look in .pulse
instead).


-- 
David Henningsson, Canonical Ltd.
https://launchpad.net/~diwic

[1]
http://git.alsa-project.org/?p=alsa-tools.git;a=commitdiff;h=772fbde91c00c8f9517e67e2f5401d28e9aa88d4

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

* Re: Realtek ALC286 SONY Vaio Pro 13 Ubuntu 13.10
       [not found]       ` <524B8139.2040309@uwo.ca>
@ 2013-10-02  4:51         ` David Henningsson
  2013-10-02  5:09           ` Raymond Yau
  0 siblings, 1 reply; 5+ messages in thread
From: David Henningsson @ 2013-10-02  4:51 UTC (permalink / raw)
  To: Yuval Levy, Kailang, David Chen, Takashi Iwai,
	alsa-devel@alsa-project.org, 1228689

On 10/02/2013 04:13 AM, Yuval Levy wrote:
> On 10/01/2013 02:28 AM, David Henningsson wrote:
>> Ok. If things work without extra drivers from Sony or Realtek, then it
>> should be possible to get things working in Linux too without extra
>> information from these parties...
> 
> I have added this information to the bug report
> <https://bugs.launchpad.net/bugs/1228689>
> where I also post my comments so that they are more persistent and
> available to other users with similar issues.
> 
> 
>> Ok - given that 0x21 works as expected you should only need to do this
>> for pin 0x18.
> 
> All my testing was with doing this for both pins.  I only noticed now
> that I do not need to do this for pin 0x18.  I will try to o this only
> for pin 0x21 and reboot tomorrow.

Ok, cool. Notice that I wrote "do this for pin 0x18 only, not for pin
0x21", where as you replied "I'll do this for pin 0x21 only, not for pin
0x18".

0x18 is for input switching, 0x21 is for output switching. If you remove
jack detection, like you did, you will need to do this switching
manually, e g in pavucontrol or gnome sound settings. That is, when you
plug your headphone in, you need to manually select "Headphone" too, if
you don't, the result will probably be that you hear sound in both
headphones and speakers.

Anyway, let's guess that the high pitched sound, as well as the lack of
headset microphone input, is because your headset is OMTP and that the
Vaio only supports CTIA. That's my *guess*, but it could be wrong, and
it would be good to have this confirmed with a CTIA headset.


-- 
David Henningsson, Canonical Ltd.
https://launchpad.net/~diwic

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

* Re: Realtek ALC286 SONY Vaio Pro 13 Ubuntu 13.10
  2013-10-02  4:51         ` David Henningsson
@ 2013-10-02  5:09           ` Raymond Yau
  2013-10-02  6:17             ` David Henningsson
  0 siblings, 1 reply; 5+ messages in thread
From: Raymond Yau @ 2013-10-02  5:09 UTC (permalink / raw)
  To: David Henningsson
  Cc: alsa-devel, Kailang, Yuval Levy, Takashi Iwai, 1228689,
	David Chen

> >
> > I have added this information to the bug report
> > <https://bugs.launchpad.net/bugs/1228689>
> > where I also post my comments so that they are more persistent and
> > available to other users with similar issues.
> >

http://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/commit/?id=abdd8f510686da0a58e475bc0143d1069e5f53da

ALSA: hda - Apply ALC269 VAIO fix-up to all Sony laptops with ALC269
We've applied a fix-up for ALC269 VAIO only for two models.  But all Sony
VAIO models with ALC269 codec seem to require the similar fix.
Let's apply it with vendor-id mask.

Does it mean that the Fixup need to check whether node 0x19 must be valid
Mic pin if Sony Vaio pro 13 alc286 does not use node  0x19?

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

* Re: Realtek ALC286 SONY Vaio Pro 13 Ubuntu 13.10
  2013-10-02  5:09           ` Raymond Yau
@ 2013-10-02  6:17             ` David Henningsson
  0 siblings, 0 replies; 5+ messages in thread
From: David Henningsson @ 2013-10-02  6:17 UTC (permalink / raw)
  To: Raymond Yau
  Cc: alsa-devel, Kailang, Yuval Levy, Takashi Iwai, 1228689,
	David Chen

On 10/02/2013 07:09 AM, Raymond Yau wrote:
>>>
>>> I have added this information to the bug report
>>> <https://bugs.launchpad.net/bugs/1228689>
>>> where I also post my comments so that they are more persistent and
>>> available to other users with similar issues.
>>>
> 
> http://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/commit/?id=abdd8f510686da0a58e475bc0143d1069e5f53da
> 
> ALSA: hda - Apply ALC269 VAIO fix-up to all Sony laptops with ALC269
> We've applied a fix-up for ALC269 VAIO only for two models.  But all Sony
> VAIO models with ALC269 codec seem to require the similar fix.
> Let's apply it with vendor-id mask.
> 
> Does it mean that the Fixup need to check whether node 0x19 must be valid
> Mic pin if Sony Vaio pro 13 alc286 does not use node  0x19?

Yeah, that's a valid point - we should try different vref values for pin
0x18 to see if any of them works to enable headset mic (and possibly
also get rid of the noise in headphones).


-- 
David Henningsson, Canonical Ltd.
https://launchpad.net/~diwic

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

end of thread, other threads:[~2013-10-02  6:17 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <524652C0.5040207@uwo.ca>
2013-09-30  7:50 ` Realtek ALC286 SONY Vaio Pro 13 Ubuntu 13.10 David Henningsson
     [not found]   ` <524A67F1.5020300@uwo.ca>
2013-10-01  6:28     ` David Henningsson
     [not found]       ` <524B8139.2040309@uwo.ca>
2013-10-02  4:51         ` David Henningsson
2013-10-02  5:09           ` Raymond Yau
2013-10-02  6:17             ` David Henningsson

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).