All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Revert "ALSA: usb-audio: Disable Lenovo P620 Rear line-in volume control"
@ 2020-09-15 10:39 ` Kai-Heng Feng
  0 siblings, 0 replies; 8+ messages in thread
From: Kai-Heng Feng @ 2020-09-15 10:39 UTC (permalink / raw)
  To: tiwai
  Cc: Kai-Heng Feng, Jaroslav Kysela, Alexander A. Klimov,
	Andrew Oakley, Chris Boyle, moderated list:SOUND, open list

This reverts commit 34dedd2a83b241ba6aeb290260313c65dc58660e.

According to Realtek, volume FU works for line-in.

I can confirm volume control works after device firmware is updated.

Signed-off-by: Kai-Heng Feng <kai.heng.feng@canonical.com>
---
 sound/usb/mixer_maps.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/sound/usb/mixer_maps.c b/sound/usb/mixer_maps.c
index 5b43e9e40e49..c369c81e74c4 100644
--- a/sound/usb/mixer_maps.c
+++ b/sound/usb/mixer_maps.c
@@ -371,7 +371,6 @@ static const struct usbmix_name_map asus_rog_map[] = {
 };
 
 static const struct usbmix_name_map lenovo_p620_rear_map[] = {
-	{ 19, NULL, 2 }, /* FU, Volume */
 	{ 19, NULL, 12 }, /* FU, Input Gain Pad */
 	{}
 };
-- 
2.17.1


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

* [PATCH] Revert "ALSA: usb-audio: Disable Lenovo P620 Rear line-in volume control"
@ 2020-09-15 10:39 ` Kai-Heng Feng
  0 siblings, 0 replies; 8+ messages in thread
From: Kai-Heng Feng @ 2020-09-15 10:39 UTC (permalink / raw)
  To: tiwai
  Cc: moderated list:SOUND, Andrew Oakley, open list, Chris Boyle,
	Kai-Heng Feng, Alexander A. Klimov

This reverts commit 34dedd2a83b241ba6aeb290260313c65dc58660e.

According to Realtek, volume FU works for line-in.

I can confirm volume control works after device firmware is updated.

Signed-off-by: Kai-Heng Feng <kai.heng.feng@canonical.com>
---
 sound/usb/mixer_maps.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/sound/usb/mixer_maps.c b/sound/usb/mixer_maps.c
index 5b43e9e40e49..c369c81e74c4 100644
--- a/sound/usb/mixer_maps.c
+++ b/sound/usb/mixer_maps.c
@@ -371,7 +371,6 @@ static const struct usbmix_name_map asus_rog_map[] = {
 };
 
 static const struct usbmix_name_map lenovo_p620_rear_map[] = {
-	{ 19, NULL, 2 }, /* FU, Volume */
 	{ 19, NULL, 12 }, /* FU, Input Gain Pad */
 	{}
 };
-- 
2.17.1


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

* Re: [PATCH] Revert "ALSA: usb-audio: Disable Lenovo P620 Rear line-in volume control"
  2020-09-15 10:39 ` Kai-Heng Feng
@ 2020-09-21  8:40   ` Takashi Iwai
  -1 siblings, 0 replies; 8+ messages in thread
From: Takashi Iwai @ 2020-09-21  8:40 UTC (permalink / raw)
  To: Kai-Heng Feng
  Cc: tiwai, Jaroslav Kysela, Alexander A. Klimov, Andrew Oakley,
	Chris Boyle, moderated list:SOUND, open list

On Tue, 15 Sep 2020 12:39:23 +0200,
Kai-Heng Feng wrote:
> 
> This reverts commit 34dedd2a83b241ba6aeb290260313c65dc58660e.
> 
> According to Realtek, volume FU works for line-in.
> 
> I can confirm volume control works after device firmware is updated.

A slight concern is what happens if you apply this change to the
device before the firmware update.

Also, after this revert, does the mixer control appear properly?


thanks,

Takashi

> 
> Signed-off-by: Kai-Heng Feng <kai.heng.feng@canonical.com>
> ---
>  sound/usb/mixer_maps.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/sound/usb/mixer_maps.c b/sound/usb/mixer_maps.c
> index 5b43e9e40e49..c369c81e74c4 100644
> --- a/sound/usb/mixer_maps.c
> +++ b/sound/usb/mixer_maps.c
> @@ -371,7 +371,6 @@ static const struct usbmix_name_map asus_rog_map[] = {
>  };
>  
>  static const struct usbmix_name_map lenovo_p620_rear_map[] = {
> -	{ 19, NULL, 2 }, /* FU, Volume */
>  	{ 19, NULL, 12 }, /* FU, Input Gain Pad */
>  	{}
>  };
> -- 
> 2.17.1
> 

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

* Re: [PATCH] Revert "ALSA: usb-audio: Disable Lenovo P620 Rear line-in volume control"
@ 2020-09-21  8:40   ` Takashi Iwai
  0 siblings, 0 replies; 8+ messages in thread
From: Takashi Iwai @ 2020-09-21  8:40 UTC (permalink / raw)
  To: Kai-Heng Feng
  Cc: moderated list:SOUND, Andrew Oakley, open list, Chris Boyle,
	tiwai, Alexander A. Klimov

On Tue, 15 Sep 2020 12:39:23 +0200,
Kai-Heng Feng wrote:
> 
> This reverts commit 34dedd2a83b241ba6aeb290260313c65dc58660e.
> 
> According to Realtek, volume FU works for line-in.
> 
> I can confirm volume control works after device firmware is updated.

A slight concern is what happens if you apply this change to the
device before the firmware update.

Also, after this revert, does the mixer control appear properly?


thanks,

Takashi

> 
> Signed-off-by: Kai-Heng Feng <kai.heng.feng@canonical.com>
> ---
>  sound/usb/mixer_maps.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/sound/usb/mixer_maps.c b/sound/usb/mixer_maps.c
> index 5b43e9e40e49..c369c81e74c4 100644
> --- a/sound/usb/mixer_maps.c
> +++ b/sound/usb/mixer_maps.c
> @@ -371,7 +371,6 @@ static const struct usbmix_name_map asus_rog_map[] = {
>  };
>  
>  static const struct usbmix_name_map lenovo_p620_rear_map[] = {
> -	{ 19, NULL, 2 }, /* FU, Volume */
>  	{ 19, NULL, 12 }, /* FU, Input Gain Pad */
>  	{}
>  };
> -- 
> 2.17.1
> 

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

* Re: [PATCH] Revert "ALSA: usb-audio: Disable Lenovo P620 Rear line-in volume control"
  2020-09-21  8:40   ` Takashi Iwai
@ 2020-09-22 15:13     ` Kai-Heng Feng
  -1 siblings, 0 replies; 8+ messages in thread
From: Kai-Heng Feng @ 2020-09-22 15:13 UTC (permalink / raw)
  To: Takashi Iwai
  Cc: tiwai, Jaroslav Kysela, Alexander A. Klimov, Andrew Oakley,
	Chris Boyle, moderated list:SOUND, open list


> On Sep 21, 2020, at 16:40, Takashi Iwai <tiwai@suse.de> wrote:
> 
> On Tue, 15 Sep 2020 12:39:23 +0200,
> Kai-Heng Feng wrote:
>> 
>> This reverts commit 34dedd2a83b241ba6aeb290260313c65dc58660e.
>> 
>> According to Realtek, volume FU works for line-in.
>> 
>> I can confirm volume control works after device firmware is updated.
> 
> A slight concern is what happens if you apply this change to the
> device before the firmware update.

The desktop that equips with the USB audio device hasn't released to the market yet, so I am not really worried about this.

> 
> Also, after this revert, does the mixer control appear properly?

Yes it does.

Kai-Heng

> 
> 
> thanks,
> 
> Takashi
> 
>> 
>> Signed-off-by: Kai-Heng Feng <kai.heng.feng@canonical.com>
>> ---
>> sound/usb/mixer_maps.c | 1 -
>> 1 file changed, 1 deletion(-)
>> 
>> diff --git a/sound/usb/mixer_maps.c b/sound/usb/mixer_maps.c
>> index 5b43e9e40e49..c369c81e74c4 100644
>> --- a/sound/usb/mixer_maps.c
>> +++ b/sound/usb/mixer_maps.c
>> @@ -371,7 +371,6 @@ static const struct usbmix_name_map asus_rog_map[] = {
>> };
>> 
>> static const struct usbmix_name_map lenovo_p620_rear_map[] = {
>> -	{ 19, NULL, 2 }, /* FU, Volume */
>> 	{ 19, NULL, 12 }, /* FU, Input Gain Pad */
>> 	{}
>> };
>> -- 
>> 2.17.1
>> 


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

* Re: [PATCH] Revert "ALSA: usb-audio: Disable Lenovo P620 Rear line-in volume control"
@ 2020-09-22 15:13     ` Kai-Heng Feng
  0 siblings, 0 replies; 8+ messages in thread
From: Kai-Heng Feng @ 2020-09-22 15:13 UTC (permalink / raw)
  To: Takashi Iwai
  Cc: moderated list:SOUND, Andrew Oakley, open list, Chris Boyle,
	tiwai, Alexander A. Klimov


> On Sep 21, 2020, at 16:40, Takashi Iwai <tiwai@suse.de> wrote:
> 
> On Tue, 15 Sep 2020 12:39:23 +0200,
> Kai-Heng Feng wrote:
>> 
>> This reverts commit 34dedd2a83b241ba6aeb290260313c65dc58660e.
>> 
>> According to Realtek, volume FU works for line-in.
>> 
>> I can confirm volume control works after device firmware is updated.
> 
> A slight concern is what happens if you apply this change to the
> device before the firmware update.

The desktop that equips with the USB audio device hasn't released to the market yet, so I am not really worried about this.

> 
> Also, after this revert, does the mixer control appear properly?

Yes it does.

Kai-Heng

> 
> 
> thanks,
> 
> Takashi
> 
>> 
>> Signed-off-by: Kai-Heng Feng <kai.heng.feng@canonical.com>
>> ---
>> sound/usb/mixer_maps.c | 1 -
>> 1 file changed, 1 deletion(-)
>> 
>> diff --git a/sound/usb/mixer_maps.c b/sound/usb/mixer_maps.c
>> index 5b43e9e40e49..c369c81e74c4 100644
>> --- a/sound/usb/mixer_maps.c
>> +++ b/sound/usb/mixer_maps.c
>> @@ -371,7 +371,6 @@ static const struct usbmix_name_map asus_rog_map[] = {
>> };
>> 
>> static const struct usbmix_name_map lenovo_p620_rear_map[] = {
>> -	{ 19, NULL, 2 }, /* FU, Volume */
>> 	{ 19, NULL, 12 }, /* FU, Input Gain Pad */
>> 	{}
>> };
>> -- 
>> 2.17.1
>> 


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

* Re: [PATCH] Revert "ALSA: usb-audio: Disable Lenovo P620 Rear line-in volume control"
  2020-09-22 15:13     ` Kai-Heng Feng
@ 2020-09-22 15:16       ` Takashi Iwai
  -1 siblings, 0 replies; 8+ messages in thread
From: Takashi Iwai @ 2020-09-22 15:16 UTC (permalink / raw)
  To: Kai-Heng Feng
  Cc: tiwai, Jaroslav Kysela, Alexander A. Klimov, Andrew Oakley,
	Chris Boyle, moderated list:SOUND, open list

On Tue, 22 Sep 2020 17:13:05 +0200,
Kai-Heng Feng wrote:
> 
> 
> > On Sep 21, 2020, at 16:40, Takashi Iwai <tiwai@suse.de> wrote:
> > 
> > On Tue, 15 Sep 2020 12:39:23 +0200,
> > Kai-Heng Feng wrote:
> >> 
> >> This reverts commit 34dedd2a83b241ba6aeb290260313c65dc58660e.
> >> 
> >> According to Realtek, volume FU works for line-in.
> >> 
> >> I can confirm volume control works after device firmware is updated.
> > 
> > A slight concern is what happens if you apply this change to the
> > device before the firmware update.
> 
> The desktop that equips with the USB audio device hasn't released to the market yet, so I am not really worried about this.
> 
> > 
> > Also, after this revert, does the mixer control appear properly?
> 
> Yes it does.

Alright, then let's take the patch.
Thanks for clarification.


Takashi

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

* Re: [PATCH] Revert "ALSA: usb-audio: Disable Lenovo P620 Rear line-in volume control"
@ 2020-09-22 15:16       ` Takashi Iwai
  0 siblings, 0 replies; 8+ messages in thread
From: Takashi Iwai @ 2020-09-22 15:16 UTC (permalink / raw)
  To: Kai-Heng Feng
  Cc: moderated list:SOUND, Andrew Oakley, open list, Chris Boyle,
	tiwai, Alexander A. Klimov

On Tue, 22 Sep 2020 17:13:05 +0200,
Kai-Heng Feng wrote:
> 
> 
> > On Sep 21, 2020, at 16:40, Takashi Iwai <tiwai@suse.de> wrote:
> > 
> > On Tue, 15 Sep 2020 12:39:23 +0200,
> > Kai-Heng Feng wrote:
> >> 
> >> This reverts commit 34dedd2a83b241ba6aeb290260313c65dc58660e.
> >> 
> >> According to Realtek, volume FU works for line-in.
> >> 
> >> I can confirm volume control works after device firmware is updated.
> > 
> > A slight concern is what happens if you apply this change to the
> > device before the firmware update.
> 
> The desktop that equips with the USB audio device hasn't released to the market yet, so I am not really worried about this.
> 
> > 
> > Also, after this revert, does the mixer control appear properly?
> 
> Yes it does.

Alright, then let's take the patch.
Thanks for clarification.


Takashi

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

end of thread, other threads:[~2020-09-22 15:17 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-15 10:39 [PATCH] Revert "ALSA: usb-audio: Disable Lenovo P620 Rear line-in volume control" Kai-Heng Feng
2020-09-15 10:39 ` Kai-Heng Feng
2020-09-21  8:40 ` Takashi Iwai
2020-09-21  8:40   ` Takashi Iwai
2020-09-22 15:13   ` Kai-Heng Feng
2020-09-22 15:13     ` Kai-Heng Feng
2020-09-22 15:16     ` Takashi Iwai
2020-09-22 15:16       ` Takashi Iwai

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.