All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Shuming [范書銘]" <shumingf@realtek.com>
To: Jaroslav Kysela <perex@perex.cz>,
	"broonie@kernel.org" <broonie@kernel.org>,
	"tiwai@suse.de" <tiwai@suse.de>,
	"lgirdwood@gmail.com" <lgirdwood@gmail.com>
Cc: "Oder Chiou" <oder_chiou@realtek.com>,
	"Jack Yu" <jack.yu@realtek.com>,
	"alsa-devel@alsa-project.org" <alsa-devel@alsa-project.org>,
	"lars@metafoo.de" <lars@metafoo.de>,
	"Hui Wang" <hui.wang@canonical.com>,
	"Derek [方德義]" <derek.fang@realtek.com>,
	"Yijun.Shen@dell.com" <Yijun.Shen@dell.com>,
	"Flove(HsinFu)" <flove@realtek.com>
Subject: RE: [PATCH] ALSA: usb-audio: add the profile name of Dell desktop
Date: Thu, 11 Nov 2021 10:40:01 +0000	[thread overview]
Message-ID: <7be27e54d3ce41b2ade3e062c939ece2@realtek.com> (raw)
In-Reply-To: 3654e59d-52bd-5442-39d1-f017f5a14b2b@perex.cz

Hi Jaroslav,

> > >> Add the profile name to let userspace pick correct UCM profile
> > >
> > > It's no longer necessary to force the card names in the drivers. UCM
> > > can match the USB vendor / device IDs from the 'components' string, too.
> > >
> > > I think that we should abandon this way of the UCM configuration
> > > selection for new devices with device IDs. The kernel already
> > > exports necessary information to select the right UCM configuration
> > > in the user
> > space.
> >
> > Untested example:
> >
> >
> https://github.com/perexg/alsa-ucm-conf/commit/74ced65440b5011bbec1680
> > b2804c8a9c82b5152
> >
> > 					Jaroslav
> 
> Thanks a lot. I will take your example to test.

I had tested with USB-Audio.conf that the system seems not to apply the UCM config.

The related info of the test machine shows below.
root@Latitude-5410:/usr/share/alsa/ucm2/USB-Audio# cat /proc/asound/cards
 0 [PCH            ]: HDA-Intel - HDA Intel PCH
                      HDA Intel PCH at 0xcc338000 irq 153
 1 [Rear           ]: USB-Audio - USB audio Rear
                      Generic USB audio Rear at usb-0000:00:14.0-2.2, high speed
 2 [FRONT          ]: USB-Audio - USB audio FRONT
                      Generic USB audio FRONT at usb-0000:00:14.0-2.1, high speed

root@Latitude-5410:/usr/share/alsa/ucm2/USB-Audio# alsaucm --version
alsaucm: version 1.2.2

root@Latitude-5410:/usr/share/alsa/ucm2/USB-Audio# lsusb
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 002: ID 8564:4000 Transcend Information, Inc. RDF8
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 0a5c:5842 Broadcom Corp. 58200
Bus 001 Device 002: ID 0bda:5532 Realtek Semiconductor Corp. Integrated_Webcam_HD
Bus 001 Device 008: ID 04f3:0235 Elan Microelectronics Corp. Optical Mouse
Bus 001 Device 007: ID 1c4f:0002 SiGma Micro Keyboard TRACER Gamma Ivory
Bus 001 Device 006: ID 0bda:4c55 Realtek Semiconductor Corp. USB2.0 Hub
Bus 001 Device 009: ID 0bda:4c54 Realtek Semiconductor Corp.

May I ask you to give me some suggestions?



  parent reply	other threads:[~2021-11-11 10:41 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-11  9:19 [PATCH] ALSA: usb-audio: add the profile name of Dell desktop shumingf
2021-11-11  9:23 ` Takashi Iwai
2021-11-11  9:34 ` Jaroslav Kysela
2021-11-11  9:55   ` Jaroslav Kysela
2021-11-11  9:58     ` Shuming [范書銘]
2021-11-11 10:40     ` Shuming [范書銘] [this message]
2021-11-11 10:44       ` Hui Wang
2021-11-11 11:20         ` Jaroslav Kysela
2021-11-11 10:13   ` Takashi Iwai

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7be27e54d3ce41b2ade3e062c939ece2@realtek.com \
    --to=shumingf@realtek.com \
    --cc=Yijun.Shen@dell.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=broonie@kernel.org \
    --cc=derek.fang@realtek.com \
    --cc=flove@realtek.com \
    --cc=hui.wang@canonical.com \
    --cc=jack.yu@realtek.com \
    --cc=lars@metafoo.de \
    --cc=lgirdwood@gmail.com \
    --cc=oder_chiou@realtek.com \
    --cc=perex@perex.cz \
    --cc=tiwai@suse.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.