All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 216558] New: Astro A20 audio headset require module unload/reload
@ 2022-10-08 16:06 bugzilla-daemon
  2022-10-12 11:22 ` [Bug 216558] " bugzilla-daemon
  0 siblings, 1 reply; 2+ messages in thread
From: bugzilla-daemon @ 2022-10-08 16:06 UTC (permalink / raw)
  To: linux-usb

https://bugzilla.kernel.org/show_bug.cgi?id=216558

            Bug ID: 216558
           Summary: Astro A20 audio headset require module unload/reload
           Product: Drivers
           Version: 2.5
    Kernel Version: 6.0.0
          Hardware: All
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: USB
          Assignee: drivers_usb@kernel-bugs.kernel.org
          Reporter: x@vierclau.de
        Regression: No

When plugging the Astro A20 USB audio headset, the audio output is not
recognized and dmesg is filled with "usb_set_interface failed" error message.
The headset has 2 mode, PS4 and PC that can be changed by pushing on a button
on the USB key (only when the key is plugged). If I unload the snd_usb_audio
module, I can change the mode on the USB key to "computer mode", then I can
reload the the snd_sub_audio module and the headset is correctly recognized and
works as expected.


$ dmesg --since '5 minutes ago'
[ 1350.840642] usb 3-2: new full-speed USB device number 4 using xhci_hcd
[ 1350.993528] usb 3-2: config 1 interface 2 altsetting 1 has 1 endpoint
descriptor, different from the interface descriptor's value: 2
[ 1351.002511] usb 3-2: New USB device found, idVendor=9886, idProduct=0047,
bcdDevice= 0.00
[ 1351.002521] usb 3-2: New USB device strings: Mfr=1, Product=2,
SerialNumber=0
[ 1351.002524] usb 3-2: Product: Astro A20
[ 1351.002527] usb 3-2: Manufacturer: Astro Gaming
[ 1356.285604] usb 3-2: 2:1: usb_set_interface failed (-110)
[ 1356.939691] audit: type=1101 audit(1665244597.030:106): pid=2836 uid=1000
auid=1000 ses=3 msg='op=PAM:accounting grantors=pam_unix,pam_permit,pam_time
acct="xavier" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/1
res=success'
[ 1356.940904] audit: type=1110 audit(1665244597.033:107): pid=2836 uid=1000
auid=1000 ses=3 msg='op=PAM:setcred
grantors=pam_faillock,pam_permit,pam_env,pam_faillock acct="root"
exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/1 res=success'
[ 1356.941031] audit: type=1105 audit(1665244597.033:108): pid=2836 uid=1000
auid=1000 ses=3 msg='op=PAM:session_open
grantors=pam_systemd_home,pam_limits,pam_unix,pam_permit acct="root"
exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/1 res=success'
[ 1356.962881] audit: type=1106 audit(1665244597.053:109): pid=2836 uid=1000
auid=1000 ses=3 msg='op=PAM:session_close
grantors=pam_systemd_home,pam_limits,pam_unix,pam_permit acct="root"
exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/1 res=success'
[ 1356.962954] audit: type=1104 audit(1665244597.053:110): pid=2836 uid=1000
auid=1000 ses=3 msg='op=PAM:setcred
grantors=pam_faillock,pam_permit,pam_env,pam_faillock acct="root"
exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/1 res=success'
[ 1361.403694] usb 3-2: 2:0: usb_set_interface failed (-110)
[ 1361.405725] usb 3-2: 2:0: usb_set_interface failed (-71)
[ 1361.411710] usb 3-2: 2:1: usb_set_interface failed (-71)
[ 1361.413755] usb 3-2: 2:0: usb_set_interface failed (-71)
[ 1361.416721] usb 3-2: 2:0: usb_set_interface failed (-71)
[ 1361.422673] usb 3-2: 2:1: usb_set_interface failed (-71)
[ 1361.424730] usb 3-2: 2:0: usb_set_interface failed (-71)
[ 1361.427732] usb 3-2: 2:0: usb_set_interface failed (-71)
[ 1361.433797] usb 3-2: 2:1: usb_set_interface failed (-71)

After a modprobe -r snd-usb-audio

$ sudo dmesg --since '1 minute ago' 
[ 1808.052627] perf: interrupt took too long (2528 > 2500), lowering
kernel.perf_event_max_sample_rate to 78900
[ 1820.610504] usb 3-2: new full-speed USB device number 8 using xhci_hcd
[ 1820.767162] usb 3-2: config 1 interface 2 altsetting 1 has 1 endpoint
descriptor, different from the interface descriptor's value: 2
[ 1820.776149] usb 3-2: New USB device found, idVendor=9886, idProduct=0047,
bcdDevice= 0.00
[ 1820.776162] usb 3-2: New USB device strings: Mfr=1, Product=2,
SerialNumber=0
[ 1820.776166] usb 3-2: Product: Astro A20
[ 1820.776169] usb 3-2: Manufacturer: Astro Gaming
[ 1822.838124] usb 3-2: USB disconnect, device number 8
[ 1823.160213] usb 3-2: new full-speed USB device number 9 using xhci_hcd
[ 1823.325908] usb 3-2: New USB device found, idVendor=9886, idProduct=0045,
bcdDevice= 0.00
[ 1823.325918] usb 3-2: New USB device strings: Mfr=1, Product=2,
SerialNumber=0
[ 1823.325920] usb 3-2: Product: Astro A20
[ 1823.325922] usb 3-2: Manufacturer: Astro Gaming
[ 1823.344218] hid-generic 0003:9886:0045.0004: hiddev96,hidraw1: USB HID v1.00
Device [Astro Gaming Astro A20] on usb-0000:04:00.4-2/input5

I can then reload the snd-usb-audio module and the headset is working.

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

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

* [Bug 216558] Astro A20 audio headset require module unload/reload
  2022-10-08 16:06 [Bug 216558] New: Astro A20 audio headset require module unload/reload bugzilla-daemon
@ 2022-10-12 11:22 ` bugzilla-daemon
  0 siblings, 0 replies; 2+ messages in thread
From: bugzilla-daemon @ 2022-10-12 11:22 UTC (permalink / raw)
  To: linux-usb

https://bugzilla.kernel.org/show_bug.cgi?id=216558

Paul Menzel (pmenzel+bugzilla.kernel.org@molgen.mpg.de) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pmenzel+bugzilla.kernel.org
                   |                            |@molgen.mpg.de

--- Comment #1 from Paul Menzel (pmenzel+bugzilla.kernel.org@molgen.mpg.de) ---
Thank you for your bug report. Please share the Linux kernel version – maybe
even attach the full output of `dmesg`.

Please contact the maintainers by sending an email to
alsa-devel@alsa-project.org and linux-usb@vger.kernel.org [1] with the summary
and a reference to the bug report.

[1]:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/MAINTAINERS

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

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

end of thread, other threads:[~2022-10-12 11:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-08 16:06 [Bug 216558] New: Astro A20 audio headset require module unload/reload bugzilla-daemon
2022-10-12 11:22 ` [Bug 216558] " bugzilla-daemon

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.