USB sound card failure on attempt to start audacity (usb 1-1.4.4: 1:0: usb_set_interface failed (-110))

Open
#6,376 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
c, linux, raspberry-pi

Research direction

The report provides no source file or test; begin by reproducing the failure on the Raspberry Pi 4 with the CX31993 card and kernel version 6.6.47+rpt-rpi-v8, then inspect the dmesg USB audio errors. Done means Audacity starts with the card connected and the repeated usb_set_interface, clock validity, and frequency errors no longer occur.

Written by the indexing model from the issue text.

Description

Describe the bug

After two latest apt upgrade I'm unable to start audacity, it waiting in dead loop with splash screen and there is sound card error in the log:

[   49.117626] usb 1-1.4.4: 1:0: usb_set_interface failed (-110)

When I disconnect USB sound card (CX31993) audacity starts ok.

Before apt upgrade audacity worked ok.

Steps to reproduce the behaviour
  1. connect USB sound card CX31993
  2. reboot
  3. start audacity
  4. check dmesg

Expected result: audacity works ok, no sound card error

Actual result: audacity don't start and sound card error in the log

Device (s)

Raspberry Pi 4 Mod. B

System
Raspberry Pi reference 2023-09-22
Generated using pi-gen, https://github.com/RPi-Distro/pi-gen, 40f37458ae7cadea1aec913ae10b5e7008ebce0a, stage4
Aug 30 2024 19:17:39 
Copyright (c) 2012 Broadcom
version 2808975b80149bbfe86844655fe45c7de66fc078 (clean) (release) (start)
Linux raspi 6.6.47+rpt-rpi-v8 #1 SMP PREEMPT Debian 1:6.6.47-1+rpt1 (2024-09-02) aarch64 GNU/Linux
Logs
[   49.117626] usb 1-1.4.4: 1:0: usb_set_interface failed (-110)
[   54.237582] usb 1-1.4.4: 2:0: usb_set_interface failed (-110)
[   59.357563] usb 1-1.4.4: 1:0: usb_set_interface failed (-110)
[   64.477280] usb 1-1.4.4: uac_clock_source_is_valid(): cannot get clock validity for id 9
[   64.477308] usb 1-1.4.4: clock source 9 is not valid, cannot use
[   69.597214] usb 1-1.4.4: 1:3: cannot get freq (v2/v3): err -110
[   74.717378] usb 1-1.4.4: 1:3: cannot set freq 48000 (v2/v3): err -110
[   79.837637] usb 1-1.4.4: 1:0: usb_set_interface failed (-110)
[   84.957947] usb 1-1.4.4: 1:0: usb_set_interface failed (-110)
[   90.077532] usb 1-1.4.4: uac_clock_source_is_valid(): cannot get clock validity for id 9
[   90.077548] usb 1-1.4.4: clock source 9 is not valid, cannot use
[   95.197608] usb 1-1.4.4: 1:3: cannot get freq (v2/v3): err -110
[  100.322037] usb 1-1.4.4: 1:3: cannot set freq 48000 (v2/v3): err -110
[  105.438101] usb 1-1.4.4: 1:0: usb_set_interface failed (-110)
[  110.562443] usb 1-1.4.4: 1:0: usb_set_interface failed (-110)
[  115.677647] usb 1-1.4.4: uac_clock_source_is_valid(): cannot get clock validity for id 9
[  115.677663] usb 1-1.4.4: clock source 9 is not valid, cannot use
[  120.797711] usb 1-1.4.4: 1:3: cannot get freq (v2/v3): err -110
[  125.917647] usb 1-1.4.4: 1:3: cannot set freq 48000 (v2/v3): err -110
[  131.294145] usb 1-1.4.4: 1:0: usb_set_interface failed (-110)
[  136.413870] usb 1-1.4.4: 1:0: usb_set_interface failed (-110)
[  141.533949] usb 1-1.4.4: uac_clock_source_is_valid(): cannot get clock validity for id 9
[  141.533966] usb 1-1.4.4: clock source 9 is not valid, cannot use
[  146.656940] usb 1-1.4.4: 1:3: cannot get freq (v2/v3): err -110
[  151.774573] usb 1-1.4.4: 1:3: cannot set freq 48000 (v2/v3): err -110
[  156.898721] usb 1-1.4.4: 1:0: usb_set_interface failed (-110)
[  162.018948] usb 1-1.4.4: 1:0: usb_set_interface failed (-110)
[  167.134983] usb 1-1.4.4: uac_clock_source_is_valid(): cannot get clock validity for id 9
[  167.135001] usb 1-1.4.4: clock source 9 is not valid, cannot use
[  172.254710] usb 1-1.4.4: 1:3: cannot get freq (v2/v3): err -110
[  177.374811] usb 1-1.4.4: 1:3: cannot set freq 48000 (v2/v3): err -110
[  182.495280] usb 1-1.4.4: 1:0: usb_set_interface failed (-110)
[  187.615267] usb 1-1.4.4: 1:0: usb_set_interface failed (-110)
[  192.734947] usb 1-1.4.4: uac_clock_source_is_valid(): cannot get clock validity for id 9
[  192.734963] usb 1-1.4.4: clock source 9 is not valid, cannot use
[  197.859117] usb 1-1.4.4: 1:3: cannot get freq (v2/v3): err -110
[  202.975187] usb 1-1.4.4: 1:3: cannot set freq 48000 (v2/v3): err -110
[  208.095608] usb 1-1.4.4: 1:0: usb_set_interface failed (-110)
[  213.219666] usb 1-1.4.4: 1:0: usb_set_interface failed (-110)
[  218.335266] usb 1-1.4.4: uac_clock_source_is_valid(): cannot get clock validity for id 9
[  218.335281] usb 1-1.4.4: clock source 9 is not valid, cannot use
[  223.455335] usb 1-1.4.4: 1:3: cannot get freq (v2/v3): err -110
[  228.575262] usb 1-1.4.4: 1:3: cannot set freq 48000 (v2/v3): err -110
[  233.696409] usb 1-1.4.4: 1:0: usb_set_interface failed (-110)
[  238.815681] usb 1-1.4.4: 1:0: usb_set_interface failed (-110)
[  243.935664] usb 1-1.4.4: uac_clock_source_is_valid(): cannot get clock validity for id 9
[  243.935680] usb 1-1.4.4: clock source 9 is not valid, cannot use
[  249.055378] usb 1-1.4.4: 1:3: cannot get freq (v2/v3): err -110
[  254.175490] usb 1-1.4.4: 1:3: cannot set freq 48000 (v2/v3): err -110
[  259.295864] usb 1-1.4.4: 1:0: usb_set_interface failed (-110)
[  264.415958] usb 1-1.4.4: 1:0: usb_set_interface failed (-110)
[  269.535883] usb 1-1.4.4: uac_clock_source_is_valid(): cannot get clock validity for id 9
[  269.535911] usb 1-1.4.4: clock source 9 is not valid, cannot use
[  274.656154] usb 1-1.4.4: 1:3: cannot get freq (v2/v3): err -110
[  279.776168] usb 1-1.4.4: 1:3: cannot set freq 48000 (v2/v3): err -110
[  284.896790] usb 1-1.4.4: 1:0: usb_set_interface failed (-110)
[  290.016932] usb 1-1.4.4: 1:0: usb_set_interface failed (-110)
[  295.136687] usb 1-1.4.4: uac_clock_source_is_valid(): cannot get clock validity for id 9
[  295.136706] usb 1-1.4.4: clock source 9 is not valid, cannot use
[  300.257016] usb 1-1.4.4: 1:3: cannot get freq (v2/v3): err -110
[  305.376885] usb 1-1.4.4: 1:3: cannot set freq 48000 (v2/v3): err -110
[  310.497511] usb 1-1.4.4: 1:0: usb_set_interface failed (-110)
[  315.617890] usb 1-1.4.4: 1:0: usb_set_interface failed (-110)
[  320.737439] usb 1-1.4.4: uac_clock_source_is_valid(): cannot get clock validity for id 9
[  320.737455] usb 1-1.4.4: clock source 9 is not valid, cannot use
[  325.857515] usb 1-1.4.4: 1:3: cannot get freq (v2/v3): err -110
[  330.977648] usb 1-1.4.4: 1:3: cannot set freq 48000 (v2/v3): err -110
[  336.098417] usb 1-1.4.4: 1:0: usb_set_interface failed (-110)
[  341.218366] usb 1-1.4.4: 1:0: usb_set_interface failed (-110)
[  346.338347] usb 1-1.4.4: uac_clock_source_is_valid(): cannot get clock validity for id 9
[  346.338393] usb 1-1.4.4: clock source 9 is not valid, cannot use
[  351.458084] usb 1-1.4.4: 1:3: cannot get freq (v2/v3): err -110
[  356.578131] usb 1-1.4.4: 1:3: cannot set freq 48000 (v2/v3): err -110
Additional context

No response

Dominant language
C
Stars
13.2k
Forks
5.5k
Avg merge
2d 21h
Merged PRs (30d)
21

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from raspberrypi/linux

All issues in raspberrypi/linux

Similar issues

More C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.