lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:   Fri, 5 Jul 2019 03:50:04 +0000
From:   "He, Bo" <bo.he@...el.com>
To:     Kailang <kailang@...ltek.com>,
        "alsa-devel@...a-project.org" <alsa-devel@...a-project.org>,
        "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
CC:     "perex@...ex.cz" <perex@...ex.cz>,
        "tiwai@...e.com" <tiwai@...e.com>,
        "jian-hong@...lessm.com" <jian-hong@...lessm.com>,
        "drake@...lessm.com" <drake@...lessm.com>,
        "chiu@...lessm.com" <chiu@...lessm.com>,
        "hui.wang@...onical.com" <hui.wang@...onical.com>
Subject: RE: audio lost from speaker after reboot from windows on the device
 ALC295

Hi, Kailiang:
Thanks for your tools, here are the two enclosed alsa-info with and without sound.

-----Original Message-----
From: Kailang <kailang@...ltek.com> 
Sent: Friday, July 5, 2019 10:42 AM
To: He, Bo <bo.he@...el.com>; alsa-devel@...a-project.org; linux-kernel@...r.kernel.org
Cc: perex@...ex.cz; tiwai@...e.com; jian-hong@...lessm.com; drake@...lessm.com; chiu@...lessm.com; hui.wang@...onical.com
Subject: RE: audio lost from speaker after reboot from windows on the device ALC295

Sorry!!
Forgot attach file.

> -----Original Message-----
> From: Kailang
> Sent: Friday, July 5, 2019 10:41 AM
> To: 'He, Bo' <bo.he@...el.com>; alsa-devel@...a-project.org; 
> linux-kernel@...r.kernel.org
> Cc: perex@...ex.cz; tiwai@...e.com; jian-hong@...lessm.com; 
> drake@...lessm.com; chiu@...lessm.com; hui.wang@...onical.com
> Subject: RE: audio lost from speaker after reboot from windows on the 
> device
> ALC295
> 
> Hi Bo He,
> 
> Could you help to dump info for us?
> Please use attach file to get results.
> 
> ./alsa-info.sh --no-upload
> 
> You will find dump file in folder /tmp/alsa-info.txt-????????.
> 
> Please run one time in normal state and one time in fail state.
> Please send two result files to me.
> 
> BR,
> Kailang
> 
> > -----Original Message-----
> > From: He, Bo <bo.he@...el.com>
> > Sent: Thursday, July 4, 2019 8:02 PM
> > To: Kailang <kailang@...ltek.com>; alsa-devel@...a-project.org; 
> > linux-kernel@...r.kernel.org
> > Cc: perex@...ex.cz; tiwai@...e.com; jian-hong@...lessm.com; 
> > drake@...lessm.com; chiu@...lessm.com; hui.wang@...onical.com
> > Subject: audio lost from speaker after reboot from windows on the 
> > device
> > ALC295
> >
> > Hi, patch_realtek.c maintainer:
> > 	I see one issue that reboot from windows and boot to ubuntu, the 
> > audio lost from speaker, I suspect there are some bugs in 
> > patch_realtek.c drivers, the device is ALC295 and the device id is
> 0x10ec0295.
> >
> > I have done the below experiments:
> > 1. reboot from windows to windows, the audio is persist .
> > 2. reboot from windows to ubuntu, the audio lost from speaker, but 
> > can hear if I hotplug one earphone.
> > 3. if the issue reproduce after reboot from windows, reboot the 
> > ubuntu can't restore the audio, I suspect it's warm reset.
> > 4. if I write the port 0xcf9 with 0xe to do cold reset, the audio can restore.
> > 5. if I do suspend/resume, the audio can restore, I suspect do cold 
> > boot and suspend will trigger the platform reset to reset the ALC295.
> > 6. if I do double function reset (write the verb 0x7ff in alc_init), 
> > the audio is still can't restore.
> > snd_hda_codec_write(codec, 0x01, 0, AC_VERB_SET_CODEC_RESET, 0); /* 
> > Function reset */ snd_hda_codec_write(codec, 0x01, 0, 
> > AC_VERB_SET_CODEC_RESET, 0); /* double Function reset */ 7. the 
> > issue is first found on kernel 4.19.50, I still see the issue with 
> > the latest kernel 5.2-rc2, is it possible windows change some 
> > default registers, but ALC295 don't initialize the register?
> >
> > ------Please consider the environment before printing this e-mail.

View attachment "alsa-info_without_sound.txt" of type "text/plain" (42987 bytes)

View attachment "also-info_with_sound.txt" of type "text/plain" (42836 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ