[MS-7A40, Realtek ALC887-VD, Green Headphone Out, Front] fails if headphone not plugged in on bootl

Bug #1893566 reported by sixfold fable
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
alsa-driver (Ubuntu)
New
Undecided
Unassigned

Bug Description

[MS-7A40, Realtek ALC887-VD, Green Headphone Out, Front] fails if headphone is not plugged in on boot.

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: alsa-base 1.0.25+dfsg-0ubuntu5
ProcVersionSignature: Ubuntu 5.4.0-42.46-generic 5.4.44
Uname: Linux 5.4.0-42-generic x86_64
NonfreeKernelModules: lkp_Ubuntu_5_4_0_42_46_generic_70 nvidia_modeset nvidia
ApportVersion: 2.20.11-0ubuntu27.8
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC1: mea 1935 F.... pulseaudio
 /dev/snd/pcmC1D0c: mea 1935 F...m pulseaudio
 /dev/snd/controlC0: mea 1935 F.... pulseaudio
 /dev/snd/controlC2: mea 1935 F.... pulseaudio
CasperMD5CheckResult: skip
CurrentDesktop: ubuntu:GNOME
Date: Sun Aug 30 12:29:20 2020
InstallationDate: Installed on 2020-07-17 (44 days ago)
InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423)
PackageArchitecture: all
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: alsa-driver
Symptom: audio
Symptom_Card: Starship/Matisse HD Audio Controller - HD-Audio Generic
Symptom_Jack: Green Headphone Out, Front
Symptom_PulseAudioLog: Aug 30 11:07:51 mea-MS-7A40 dbus-daemon[908]: [system] Activating via systemd: service name='org.freedesktop.RealtimeKit1' unit='rtkit-daemon.service' requested by ':1.28' (uid=125 pid=1178 comm="/usr/bin/pulseaudio --daemonize=no --log-target=jo" label="unconfined")
Symptom_Type: Sound works for a while, then breaks
Title: [MS-7A40, Realtek ALC887-VD, Green Headphone Out, Front] fails after a while
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 11/12/2019
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: A.B0
dmi.board.asset.tag: To be filled by O.E.M.
dmi.board.name: B450I GAMING PLUS AC (MS-7A40)
dmi.board.vendor: Micro-Star International Co., Ltd.
dmi.board.version: 2.0
dmi.chassis.asset.tag: To be filled by O.E.M.
dmi.chassis.type: 3
dmi.chassis.vendor: Micro-Star International Co., Ltd.
dmi.chassis.version: 2.0
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrA.B0:bd11/12/2019:svnMicro-StarInternationalCo.,Ltd.:pnMS-7A40:pvr2.0:rvnMicro-StarInternationalCo.,Ltd.:rnB450IGAMINGPLUSAC(MS-7A40):rvr2.0:cvnMicro-StarInternationalCo.,Ltd.:ct3:cvr2.0:
dmi.product.family: To be filled by O.E.M.
dmi.product.name: MS-7A40
dmi.product.sku: To be filled by O.E.M.
dmi.product.version: 2.0
dmi.sys.vendor: Micro-Star International Co., Ltd.

Revision history for this message
sixfold fable (sixfoldfable) wrote :
Revision history for this message
Hui Wang (hui.wang) wrote :

Please plug in the headphone, then run alsa-info.sh and upload the alsa-info.txt

BTW, what do you mean "Sound works for a while, then breaks"?

Revision history for this message
sixfold fable (sixfoldfable) wrote :

Sorry for the poor description.

Basically, if my headphones are not plugged pre-boot I cannot get them to register (I think I got them to work post boot by reinstalling pulseaudio and trashing the config but not am not certain).

Here is the alsa-info.txt when they are plugged in pre-boot:

http://alsa-project.org/db/?f=86bf2f9c23ca1a730c413524ec17ea7b05f19766

Revision history for this message
sixfold fable (sixfoldfable) wrote :

Here is the alsa-info.txt when they are NOT plugged in pre-boot and do not show up in the settings:

http://alsa-project.org/db/?f=afd99b1656c7317e16fbc52b460299f7ec484195

Revision history for this message
sixfold fable (sixfoldfable) wrote :

Logging in and out works. So I imagine the headphones just need to be plugged in pre login.

Revision history for this message
sixfold fable (sixfoldfable) wrote :

Here is a diff working vs non-working:

https://www.diffchecker.com/WW0VL687

Revision history for this message
Hui Wang (hui.wang) wrote :

Weird, even you plug the headphone before booting, the headphone is still not recognized. I don't know why your headphone could work in this situation.

this is from #3:
 control.11 {
  iface MIXER
  name 'Headphone Playback Switch'
  value.0 false
  value.1 false
  comment {
   access 'read write'
   type BOOLEAN
   count 2
  }
 }

So, maybe the front headphone jack routes to usb sound card?

Revision history for this message
Hui Wang (hui.wang) wrote :

And could you please test this kernel: https://people.canonical.com/~hwang4/testdetect/

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.