Linux Sound subsystem development
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: Guillermo Guzman <chemoskabron@gmail.com>
Cc: linux-sound@vger.kernel.org, tiwai@suse.de
Subject: Re: [REGRESSION] snd-usb-audio: Creative Sound Blaster X4 (041e:3278) probe hangs after hot-replug on 7.3.6; works on 6.18.65-1 LTS version
Date: Fri, 04 Dec 2026 10:31:48 +0100	[thread overview]
Message-ID: <87h5gttmrf.wl-tiwai@suse.de> (raw)
In-Reply-To: <CAO1WSxYWkO0cjVddbt8mfk4pZH1wq3BKX_6iS3UFEmuWbvxyDQ@mail.gmail.com>

On Wed, 02 Dec 2026 23:57:19 +0100,
Guillermo Guzman wrote:
> 
> 
> Hello,
> 
> After hot-replugging my Creative Sound Blaster X4, snd-usb-audio's
> probe hangs for minutes, blocking other USB audio probes and
> eventually hanging system shutdown. The same device works when connected
> at boot, and hot-plug works normally on the 6.18.65-1 LTS version (linux-cachyos-lts).
> It worked on an earlier kernel (exact version unknown) and also noticed the usb plug/unplug notification is gone (on LTS kernel, the notification appears as usual).
> 
> Device: Creative Sound Blaster X4, USB ID 041e:3278, bcdDevice 10.60
> Enumerates as full-speed (12M) on the xHCI controller <1022:43d5 from lspci>
> Bad kernel:  7.3.6-3-cachyos
> Good kernel: 6.18.65-1 LTS version
> 
> Steps:
> 1. Boot with the X4 connected: works.
> 2. Unplug and replug the X4 (tried 3 different cables, 3 different ports
>    incl. USB 2.0 and 3.0, and with the monitor's USB hub disconnected).
> 3. The card never appears; System Settings freezes; reboot hangs.
> ModemManager is not running.
> 
> dmesg after replug:
> usb 1-1: parse_audio_format_rates_v2v3(): unable to retrieve number of sample rates (clock 35)
> usb 1-1: 12:3: failed to get current value for ch 0 (-110)
> usb 1-1: 12:3: cannot get min/max values for control 2 (id 12)
> usb 1-1: Warning! Unlikely small volume range (=1), linear volume or custom curve?
> usb 1-1: [12] FU [IEC958 In Playback Volume] ch = 2, val = 0/1/1
> usb 1-1: 13:3: failed to get current value for ch 0 (-110)
> 
> Stuck tasks (D state), from /proc/<pid>/stack:
>  kworker/14:2+usb_hub_wq:
>   usb_start_wait_urb -> usb_control_msg -> snd_usb_ctl_msg
>   -> snd_usb_mixer_set_ctl_value -> get_min_max_with_quirks
>   -> __build_feature_ctl -> parse_audio_unit -> snd_usb_create_mixer
>   -> usb_audio_probe -> usb_probe_interface -> ... -> hub_event


Hmm, here something going nut: I don't see how __build_feature_ctl()
would jump to parse_audio_unit() ->  snd_usb_create_mixer() ->
usb_audio_probe()...

It's probably some wrong quirk chain, but currently no idea yet.

>  kworker/15:0+usb_hub_wq (hung-task warning after 122 s):
>   __mutex_lock -> usb_audio_probe -> ... -> hub_event
>   (appears to wait on a mutex held by the probe above)
> 
> lsusb -v -d 041e:3278 output is attached below (captured on the working
> kernel).
> 
> Happy to test patches or bisect if useful.

Yes, please go ahead with bisection.  We need to narrow down to get a
rough idea at first.


thanks,

Takashi

           reply	other threads:[~2026-12-04  9:31 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <CAO1WSxYWkO0cjVddbt8mfk4pZH1wq3BKX_6iS3UFEmuWbvxyDQ@mail.gmail.com>]

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=87h5gttmrf.wl-tiwai@suse.de \
    --to=tiwai@suse.de \
    --cc=chemoskabron@gmail.com \
    --cc=linux-sound@vger.kernel.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox