Skip to content

FROMGIT: arm64: defconfig: Enable configs for usb audio support#340

Open
akakum-qualcomm wants to merge 1 commit intoqualcomm-linux:qcom-6.18.yfrom
akakum-qualcomm:usbaudio
Open

FROMGIT: arm64: defconfig: Enable configs for usb audio support#340
akakum-qualcomm wants to merge 1 commit intoqualcomm-linux:qcom-6.18.yfrom
akakum-qualcomm:usbaudio

Conversation

@akakum-qualcomm
Copy link

Enable the USB Audio driver (CONFIG_SND_USB_AUDIO) as a module in the arm64 defconfig. This provides support for USB audio devices (e.g., headsets, speakers)

Validation on a Qualcomm platform with a USB headset shows the device being successfully registered and the creation of the expected sound nodes:

[ 77.269175][ T8] usb 1-1: new full-speed USB device number 2 using xhci-hcd
[ 77.439881][ T8] input: bestechnic Samsung USB C Earphone as /devices/platform/soc@0/a600000.usb/xhci-hcd.4.auto/usb1/1-1/1-1:1.3/0003:04E8:A04F.0001/input/input4
[ 77.511389][ T8] hid-generic 0003:04E8:A04F.0001: input: USB HID v1.11 Device [bestechnic Samsung USB C Earphone] on usb-xhci-hcd.4.auto-1/input3
[ 77.654797][ T552] usbcore: registered new interface driver snd-usb-audio

lsusb
001 Device 001: ID 1d6b:0002 Linux 6.18.7-g0f5a62955ab3-dirty xhci-hcd xHCI Host Controller Bus 001 Device 002: ID 04e8:a04f bestechnic Samsung USB C Earphone Bus 002 Device 001: ID 1d6b:0003 Linux 6.18.7-g0f5a62955ab3-dirty xhci-hcd xHCI Host Controller

ls /dev/snd/
by-id by-path controlC0 controlC1 pcmC0D0p pcmC0D1c pcmC1D0c pcmC1D0p timer root@qcom-armv8a:#
root@qcom-armv8a:
# [ 100.907973][ T8] usb 1-1: USB disconnect, device number 2
[ 100.979000][ T9] xhci-hcd xhci-hcd.4.auto: remove, state 4
[ 100.985197][ T9] usb usb2: USB disconnect, device number 1
[ 101.001629][ T9] xhci-hcd xhci-hcd.4.auto: USB bus 2 deregistered
[ 101.008592][ T9] xhci-hcd xhci-hcd.4.auto: remove, state 1
[ 101.014740][ T9] usb usb1: USB disconnect, device number 1
[ 101.034740][ T9] xhci-hcd xhci-hcd.4.auto: USB bus 1 deregistered

ls /dev/snd/
by-path controlC0 pcmC0D0p pcmC0D1c timer

Link: https://lore.kernel.org/r/20251014-arm64-defconfig-fp345-v1-1-53fe1eeb598d@fairphone.com

CRs-Fixed: 4456453

Enable the USB Audio driver (CONFIG_SND_USB_AUDIO) as a module
in the arm64 defconfig. This provides support for USB audio devices
(e.g., headsets, speakers)

Validation on a Qualcomm platform with a USB headset shows the
device being successfully registered and the creation of the
expected sound nodes:

[   77.269175][    T8] usb 1-1: new full-speed USB device number 2 using xhci-hcd
[   77.439881][    T8] input: bestechnic Samsung USB C Earphone as /devices/platform/soc@0/a600000.usb/xhci-hcd.4.auto/usb1/1-1/1-1:1.3/0003:04E8:A04F.0001/input/input4
[   77.511389][    T8] hid-generic 0003:04E8:A04F.0001: input: USB HID v1.11 Device [bestechnic Samsung USB C Earphone] on usb-xhci-hcd.4.auto-1/input3
[   77.654797][  T552] usbcore: registered new interface driver snd-usb-audio

lsusb
001 Device 001: ID 1d6b:0002 Linux 6.18.7-g0f5a62955ab3-dirty xhci-hcd xHCI Host Controller
Bus 001 Device 002: ID 04e8:a04f bestechnic Samsung USB C Earphone
Bus 002 Device 001: ID 1d6b:0003 Linux 6.18.7-g0f5a62955ab3-dirty xhci-hcd xHCI Host Controller

ls /dev/snd/
by-id  by-path  controlC0  controlC1  pcmC0D0p  pcmC0D1c  pcmC1D0c  pcmC1D0p  timer
root@qcom-armv8a:~#
root@qcom-armv8a:~# [  100.907973][    T8] usb 1-1: USB disconnect, device number 2
[  100.979000][    T9] xhci-hcd xhci-hcd.4.auto: remove, state 4
[  100.985197][    T9] usb usb2: USB disconnect, device number 1
[  101.001629][    T9] xhci-hcd xhci-hcd.4.auto: USB bus 2 deregistered
[  101.008592][    T9] xhci-hcd xhci-hcd.4.auto: remove, state 1
[  101.014740][    T9] usb usb1: USB disconnect, device number 1
[  101.034740][    T9] xhci-hcd xhci-hcd.4.auto: USB bus 1 deregistered

ls /dev/snd/
by-path  controlC0  pcmC0D0p  pcmC0D1c  timer

Link: https://lore.kernel.org/r/20251014-arm64-defconfig-fp345-v1-1-53fe1eeb598d@fairphone.com

Signed-off-by: Akash Kumar <akakum@qti.qualcomm.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants