[VGN-FS315B, Realtek ALC260, Green Line Out, Front] No sound at all - Sony Vaio

Bug #1564416 reported by paulosimones
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
alsa-driver (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

Release Ubuntu 16.04
Bug (probably) in Alsa package - unity-control-center 15.04.0+16.04.20160315-0ubuntu1
I expected to hear sound from the built-in sound device.
But there was no sound at all.

This bug is a sort of regression. The problem was happening before; some days ago it disappeared (probably it was fixed); and now happens again.

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: alsa-base 1.0.25+dfsg-0ubuntu5
ProcVersionSignature: Ubuntu 4.4.0-16.32-generic 4.4.6
Uname: Linux 4.4.0-16-generic i686
ApportVersion: 2.20-0ubuntu3
Architecture: i386
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: pablo 1790 F.... pulseaudio
CurrentDesktop: Unity
Date: Thu Mar 31 15:27:28 2016
InstallationDate: Installed on 2016-03-17 (14 days ago)
InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Alpha i386 (20160304)
PackageArchitecture: all
SourcePackage: alsa-driver
Symptom: audio
Symptom_AlsaPlaybackTest: ALSA playback test through plughw:Intel failed
Symptom_Card: Built-in Audio - HDA Intel
Symptom_DevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: pablo 1790 F.... pulseaudio
Symptom_Jack: Green Line Out, Front
Symptom_Type: No sound at all
Title: [VGN-FS315B, Realtek ALC260, Green Line Out, Front] No sound at all
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 07/10/2005
dmi.bios.vendor: Phoenix Technologies LTD
dmi.bios.version: R0080J1
dmi.chassis.asset.tag: Reserved
dmi.chassis.type: 10
dmi.chassis.vendor: Reserved
dmi.chassis.version: Reserved
dmi.modalias: dmi:bvnPhoenixTechnologiesLTD:bvrR0080J1:bd07/10/2005:svnSonyCorporation:pnVGN-FS315B:pvrC3LLQA01:cvnReserved:ct10:cvrReserved:
dmi.product.name: VGN-FS315B
dmi.product.version: C3LLQA01
dmi.sys.vendor: Sony Corporation

Revision history for this message
paulosimones (paulosimones) wrote :
Revision history for this message
Raymond (superquad-vortex2) wrote :

/sys/class/sound/hwC0D0/init_pin_configs: 0x0f 0x02014110 0x10 0x21011120 0x11 0x411111f0 0x12 0x02a15910 0x13 0x411111f0 0x14 0x21845120 0x15 0x411111f0 0x16 0x411111f0 0x17 0x99831140 0x18 0x21451130 0x19 0x411111f0

/sys/class/sound/hwC0D0/driver_pin_configs: 0x0f 0x01211020 0x10 0x0001003f 0x11 0x411111f0 0x12 0x01a15930 0x13 0x411111f0 0x14 0x411111f0 0x15 0x411111f0 0x16 0x411111f0 0x17 0x411111f0 0x18 0x411111f0 0x19 0x411111f0

You have to ask the author if it is a regression since this patch change pin default

https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/commit/sound/pci/hda/patch_realtek.c?id=d08c5ef2a039393eaf2ab2152db5f07790fa0f40

Revision history for this message
Raymond (superquad-vortex2) wrote :

Your original pin defaults are line out and dock line out but changed to hp and line out

Node 0x0f [Pin Complex] wcaps 0x40018d: Stereo Amp-Out Control: name="Headphone Playback Switch", index=0, device=0 ControlAmp: chs=3, dir=Out, idx=0, ofs=0 Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-Out vals: [0x80 0x80] Pincap 0x0001003f: IN OUT HP EAPD Detect Trigger ImpSense EAPD 0x2: EAPD Pin Default 0x02014110: [Jack] Line Out at Ext Front Conn = 1/8, Color = Green DefAssociation = 0x1, Sequence = 0x0 Misc = NO_PRESENCE Pin-ctls: 0xc0: OUT HP Unsolicited: tag=01, enabled=1 Connection: 1 0x08

Node 0x10 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out Control: name="Line Out Playback Switch", index=0, device=0 ControlAmp: chs=3, dir=Out, idx=0, ofs=0 Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-Out vals: [0x00 0x00] Pincap 0x0001003f: IN OUT HP EAPD Detect Trigger ImpSense EAPD 0x2: EAPD Pin Default 0x21011120: [Jack] Line Out at Sep Rear Conn = 1/8, Color = Black DefAssociation = 0x2, Sequence = 0x0 Misc = NO_PRESENCE Pin-ctls: 0xc0: OUT HP Unsolicited: tag=03, enabled=1 Connection: 1 0x09

Revision history for this message
Raymond (superquad-vortex2) wrote :

Both headphone and line out are not available

active profile: <output:analog-stereo+input:analog-stereo> sinks: alsa_output.pci-0000_00_1b.0.analog-stereo/#0: Built-in Audio Analog Stereo sources: alsa_output.pci-0000_00_1b.0.analog-stereo.monitor/#0: Monitor of Built-in Audio Analog Stereo alsa_input.pci-0000_00_1b.0.analog-stereo/#1: Built-in Audio Analog Stereo ports: analog-input-mic: Microphone (priority 8700, latency offset 0 usec, available: unknown) properties: device.icon_name = "audio-input-microphone" analog-output-lineout: Line Out (priority 9900, latency offset 0 usec, available: no) properties: analog-output-headphones: Headphones (priority 9000, latency offset 0 usec, available: no) properties: device.icon_name = "audio-headphones"

Revision history for this message
Raymond (superquad-vortex2) wrote :

control.14 { iface CARD name 'Line Out Jack' value false comment { access read type BOOLEAN count 1 } }

control.15 { iface CARD name 'Headphone Jack' value false comment { access read type BOOLEAN count 1 } }

Revision history for this message
paulosimones (paulosimones) wrote :

Comment by the author of the bug report:

Today, 4/4/16. Sound came alive all of a sudden while playing a short film on browser. I heard a a crackle from the built-in loudspeaker and sound started normal. Let's hope it doesn't go silent again!

Revision history for this message
Raymond (superquad-vortex2) wrote :

You must ask the author and reporter since the patch change the pin default as your vgn fs315 have same pci ssid 0x81bb as his sony laptop

Changed in alsa-driver (Ubuntu):
status: New → Incomplete
Revision history for this message
paulosimones (paulosimones) wrote :

Comment by the author of the bug report:

Today, 6/4/16. Upon ubuntu's notice of Linux Kernel 4.4.0-17 availability, I proceeded immediately to upgrade xenial. On restarting the computer the built-in sound device went anew mute. I do not know enough about the workings of alsa to give good advice, but I suspect the problem may lie with the kernel.

Revision history for this message
Raymond (superquad-vortex2) wrote :

The point is laptop should have speaker pin, line out at sep mean dock line out

Pulseaudio rely on the jack state of headphone to select active port and mute/unmute

You have to provide out put of

 hdajacksensetest -a

to find out which node is headphone

Revision history for this message
Raymond (superquad-vortex2) wrote :

https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/commit/sound/pci/hda?id=c3c2c9e7ff3e38bd9ff5b721b6ae8634fce42802

it worked in the previous basic model because the driver enable output on four pins,

- {0x15, AC_VERB_SET_PIN_WIDGET_CONTROL, PIN_OUT},
- /* select line-out */
- {0x0e, AC_VERB_SET_CONNECT_SEL, 0x00},
- /* LINE-OUT pin */
- {0x0f, AC_VERB_SET_PIN_WIDGET_CONTROL, PIN_OUT},
- /* enable HP */
- {0x10, AC_VERB_SET_PIN_WIDGET_CONTROL, PIN_HP},
- /* enable Mono */
- {0x11, AC_VERB_SET_PIN_WIDGET_CONTROL, PIN_OUT},

Revision history for this message
paulosimones (paulosimones) wrote :

Comment by the author of the bug report:

Built-in speaker never had problems with ubuntu 14.04.

Anyway, here is xenial's output for hdajacksensetest -a

pablo@pablo-VGN-FS315B:~$ sudo hdajacksensetest -a
Pin 0x0f (Black Headphone, Rear side): present = No
Pin 0x10 ( Line Out): present = No
Pin 0x11 (Not connected): present = No
Pin 0x12 (Red Mic, Rear side): present = No
Pin 0x13 (Not connected): present = Yes
Pin 0x14 (Not connected): present = No
Pin 0x15 (Not connected): present = Yes
Pin 0x16 (Not connected): present = No
Pin 0x17 (Not connected): present = No
Pin 0x18 (Not connected): present = Yes
Pin 0x19 (Not connected): present = Yes

Revision history for this message
Raymond (superquad-vortex2) wrote :

Which node change to No when you unplugged the headphone and mic jack

https://sourceforge.net/p/alsa/mailman/message/31661966/

Simple mixer control 'Headphone',0 Capabilities: pvolume pswitch Playback channels: Front Left - Front Right Limits: Playback 0 - 64 Mono: Front Left: Playback 0 [0%] [-64.00dB] [off] Front Right: Playback 0 [0%] [-64.00dB] [off]

 Simple mixer control 'Line Out',0 Capabilities: pvolume pswitch Playback channels: Front Left - Front Right Limits: Playback 0 - 64 Mono: Front Left: Playback 64 [100%] [0.00dB] [on] Front Right: Playback 64 [100%] [0.00dB] [on]

Revision history for this message
paulosimones (paulosimones) wrote :

Comment by the author of the bug report:

Plugging or unplugging the headphone does not change anything in the output of command hdajacksensetest -a. Neither there is any sound on the headphone nor on the built-in loudspeaker.

Revision history for this message
paulosimones (paulosimones) wrote :

Comment by the author of the bug report:

Taking cue from Raymond's comments I managed to get sound from the Realtek circuits. I used "sudo hdajackretask" to change the pins' assignments. The whole procedure is easy though a bit elaborate, but I do not know how to write a permanent programmatic fix. If xenial's developers do not manage to solve the problem in some weeks time and I find someone asking for help in askubuntu, I will post there my complete solution.

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for alsa-driver (Ubuntu) because there has been no activity for 60 days.]

Changed in alsa-driver (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.