Re: [PATCH v2] ALSA: hda: Continue to probe when codec probe fails

2020-12-21 Thread Kai-Heng Feng
On Tue, Dec 22, 2020 at 12:47 AM Takashi Iwai wrote: [snip] > But what happens if you plug the HDMI cable later and want to use the > HDMI audio? It won't work with your fix, right? No it won't. It's possible to fix from nouveau, but it's at the mercy of Nvidia to fix their proprietary driver, w

Re: [PATCH v2] ALSA: hda: Continue to probe when codec probe fails

2020-12-21 Thread Takashi Iwai
On Mon, 21 Dec 2020 17:33:20 +0100, Kai-Heng Feng wrote: > > [+Cc nouveau] > > On Fri, Dec 18, 2020 at 4:06 PM Takashi Iwai wrote: > [snip] > > > Quite possibly the system doesn't power up HDA controller when there's > > > no external monitor. > > > So when it's connected to external monitor, it

Re: [PATCH v2] ALSA: hda: Continue to probe when codec probe fails

2020-12-21 Thread Kai-Heng Feng
[+Cc nouveau] On Fri, Dec 18, 2020 at 4:06 PM Takashi Iwai wrote: [snip] > > Quite possibly the system doesn't power up HDA controller when there's > > no external monitor. > > So when it's connected to external monitor, it's still needed for HDMI > > audio. > > Let me ask the user to confirm th

Re: [PATCH v2] ALSA: hda: Continue to probe when codec probe fails

2020-12-18 Thread Takashi Iwai
On Fri, 18 Dec 2020 06:09:38 +0100, Kai-Heng Feng wrote: > > [+Cc Bjorn, Alan and linux-pci] > > On Thu, Dec 17, 2020 at 12:57 AM Takashi Iwai wrote: > > > > On Wed, 16 Dec 2020 17:22:17 +0100, > > Takashi Iwai wrote: > > > > > > On Wed, 16 Dec 2020 17:07:45 +0100, > > > Kai-Heng Feng wrote: > >

Re: [PATCH v2] ALSA: hda: Continue to probe when codec probe fails

2020-12-17 Thread Kai-Heng Feng
[+Cc Bjorn, Alan and linux-pci] On Thu, Dec 17, 2020 at 12:57 AM Takashi Iwai wrote: > > On Wed, 16 Dec 2020 17:22:17 +0100, > Takashi Iwai wrote: > > > > On Wed, 16 Dec 2020 17:07:45 +0100, > > Kai-Heng Feng wrote: > > > > > > On Wed, Dec 16, 2020 at 11:58 PM Takashi Iwai wrote: > > > > > > > >

Re: [PATCH v2] ALSA: hda: Continue to probe when codec probe fails

2020-12-16 Thread Takashi Iwai
On Wed, 16 Dec 2020 17:22:17 +0100, Takashi Iwai wrote: > > On Wed, 16 Dec 2020 17:07:45 +0100, > Kai-Heng Feng wrote: > > > > On Wed, Dec 16, 2020 at 11:58 PM Takashi Iwai wrote: > > > > > > On Wed, 16 Dec 2020 16:50:20 +0100, > > > Kai-Heng Feng wrote: > > > > > > > > On Wed, Dec 16, 2020 at 1

Re: [PATCH v2] ALSA: hda: Continue to probe when codec probe fails

2020-12-16 Thread Takashi Iwai
On Wed, 16 Dec 2020 17:07:45 +0100, Kai-Heng Feng wrote: > > On Wed, Dec 16, 2020 at 11:58 PM Takashi Iwai wrote: > > > > On Wed, 16 Dec 2020 16:50:20 +0100, > > Kai-Heng Feng wrote: > > > > > > On Wed, Dec 16, 2020 at 11:41 PM Takashi Iwai wrote: > > > > > > > > On Wed, 16 Dec 2020 13:47:24 +01

Re: [PATCH v2] ALSA: hda: Continue to probe when codec probe fails

2020-12-16 Thread Kai-Heng Feng
On Wed, Dec 16, 2020 at 11:58 PM Takashi Iwai wrote: > > On Wed, 16 Dec 2020 16:50:20 +0100, > Kai-Heng Feng wrote: > > > > On Wed, Dec 16, 2020 at 11:41 PM Takashi Iwai wrote: > > > > > > On Wed, 16 Dec 2020 13:47:24 +0100, > > > Kai-Heng Feng wrote: > > > > > > > > Similar to commit 9479e75fca3

Re: [PATCH v2] ALSA: hda: Continue to probe when codec probe fails

2020-12-16 Thread Takashi Iwai
On Wed, 16 Dec 2020 16:50:20 +0100, Kai-Heng Feng wrote: > > On Wed, Dec 16, 2020 at 11:41 PM Takashi Iwai wrote: > > > > On Wed, 16 Dec 2020 13:47:24 +0100, > > Kai-Heng Feng wrote: > > > > > > Similar to commit 9479e75fca37 ("ALSA: hda: Keep the controller > > > initialization even if no codecs

Re: [PATCH v2] ALSA: hda: Continue to probe when codec probe fails

2020-12-16 Thread Kai-Heng Feng
On Wed, Dec 16, 2020 at 11:41 PM Takashi Iwai wrote: > > On Wed, 16 Dec 2020 13:47:24 +0100, > Kai-Heng Feng wrote: > > > > Similar to commit 9479e75fca37 ("ALSA: hda: Keep the controller > > initialization even if no codecs found"), when codec probe fails, it > > doesn't enable runtime suspend, a

Re: [PATCH v2] ALSA: hda: Continue to probe when codec probe fails

2020-12-16 Thread Takashi Iwai
On Wed, 16 Dec 2020 13:47:24 +0100, Kai-Heng Feng wrote: > > Similar to commit 9479e75fca37 ("ALSA: hda: Keep the controller > initialization even if no codecs found"), when codec probe fails, it > doesn't enable runtime suspend, and can prevent graphics card from > getting powered down: > [4.