Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't play 44100hz, 88200hz files Natively. #313

Open
RenEH01 opened this issue May 11, 2023 · 13 comments
Open

Can't play 44100hz, 88200hz files Natively. #313

RenEH01 opened this issue May 11, 2023 · 13 comments

Comments

@RenEH01
Copy link

RenEH01 commented May 11, 2023

Can't play audio files at native sample rate. Everything using the Hifi 2.0 output configuration forces a sample rate of 48000hz. When I switch to the Pro Audio driver under pavucontrol, 44100 hz can play natively. Is there a forced resampling occuring in the UCM2 driver?

@perexg
Copy link
Member

perexg commented May 11, 2023

Which hardware are you using?

@RenEH01
Copy link
Author

RenEH01 commented May 11, 2023

Sorry, I should have mentioned it earlier. Realtek 4080 on the MSI b650 Mortar Wi-Fi board.

@perexg
Copy link
Member

perexg commented May 11, 2023

There is no forced rate or resamling specificed in the configuration file for this hw - https://github.com/alsa-project/alsa-ucm-conf/blob/master/ucm2/USB-Audio/Realtek/ALC4080-HiFi.conf . We had some issues in the USB driver (rate lock when the first device is opened for the given USB sound card), but they should be fixed in the latest kernels. Maybe there's something left. Does "Pro Audio" open only the playback device ? You may check this in procfs - cat /proc/asound/card*/pcm*/sub0/*. Also, which kernel version are you using?

@tiwai : FYI...

@RenEH01
Copy link
Author

RenEH01 commented May 11, 2023

Thanks, I am on 6.1.26-1-MANJARO.

I'm not too sure what you mean, but please see below for cat /proc/asound/card*/pcm*/sub0/* when Pro Audio is selected under pavucontrol.

closed
card: 0
device: 3
subdevice: 0
stream: PLAYBACK
id: HDMI 0
name: HDMI 0
subname: subdevice #0
class: 0
subclass: 0
subdevices_count: 1
subdevices_avail: 1
0
32768
closed
closed
closed
card: 0
device: 7
subdevice: 0
stream: PLAYBACK
id: HDMI 1
name: HDMI 1
subname: subdevice #0
class: 0
subclass: 0
subdevices_count: 1
subdevices_avail: 1
0
32768
closed
closed
closed
card: 0
device: 8
subdevice: 0
stream: PLAYBACK
id: HDMI 2
name: HDMI 2
subname: subdevice #0
class: 0
subclass: 0
subdevices_count: 1
subdevices_avail: 1
0
32768
closed
closed
closed
card: 0
device: 9
subdevice: 0
stream: PLAYBACK
id: HDMI 3
name: HDMI 3
subname: subdevice #0
class: 0
subclass: 0
subdevices_count: 1
subdevices_avail: 1
0
32768
closed
closed
access: MMAP_INTERLEAVED
format: S16_LE
subformat: STD
channels: 2
rate: 16000 (16000/1)
period_size: 512
buffer_size: 32000
card: 2
device: 0
subdevice: 0
stream: CAPTURE
id: USB Audio
name: USB Audio
subname: subdevice #0
class: 0
subclass: 0
subdevices_count: 1
subdevices_avail: 0
state: RUNNING
owner_pid   : 1553
trigger_time: 3500.293964674
tstamp      : 3546.346349508
delay       : 659
avail       : 659
avail_max   : 1084
-----
hw_ptr      : 736671
appl_ptr    : 736012
tstamp_mode: ENABLE
period_step: 1
avail_min: 512
start_threshold: 9223372036854775807
stop_threshold: 32000
silence_threshold: 0
silence_size: 0
boundary: 9007199254740992000
access: MMAP_INTERLEAVED
format: S24_3LE
subformat: STD
channels: 2
rate: 44100 (44100/1)
period_size: 512
buffer_size: 32768
card: 3
device: 0
subdevice: 0
stream: CAPTURE
id: USB Audio
name: USB Audio
subname: subdevice #0
class: 0
subclass: 0
subdevices_count: 1
subdevices_avail: 0
state: RUNNING
owner_pid   : 1553
trigger_time: 3533.971205011
tstamp      : 3546.346384157
delay       : 828
avail       : 828
avail_max   : 1594
-----
hw_ptr      : 545596
appl_ptr    : 544768
tstamp_mode: ENABLE
period_step: 1
avail_min: 512
start_threshold: 9223372036854775807
stop_threshold: 32768
silence_threshold: 0
silence_size: 0
boundary: 4611686018427387904
access: MMAP_INTERLEAVED
format: S32_LE
subformat: STD
channels: 8
rate: 44100 (44100/1)
period_size: 512
buffer_size: 32768
card: 3
device: 0
subdevice: 0
stream: PLAYBACK
id: USB Audio
name: USB Audio
subname: subdevice #0
class: 0
subclass: 0
subdevices_count: 1
subdevices_avail: 0
state: RUNNING
owner_pid   : 1553
trigger_time: 3516.582237525
tstamp      : 3546.346417097
delay       : 2896
avail       : 30379
avail_max   : 31237
-----
hw_ptr      : 1312939
appl_ptr    : 1315328
tstamp_mode: ENABLE
period_step: 1
avail_min: 512
start_threshold: 9223372036854775807
stop_threshold: 32768
silence_threshold: 0
silence_size: 0
boundary: 4611686018427387904
access: MMAP_INTERLEAVED
format: S24_3LE
subformat: STD
channels: 2
rate: 44100 (44100/1)
period_size: 512
buffer_size: 32768
card: 3
device: 1
subdevice: 0
stream: CAPTURE
id: USB Audio
name: USB Audio #1
subname: subdevice #0
class: 0
subclass: 0
subdevices_count: 1
subdevices_avail: 0
state: RUNNING
owner_pid   : 1553
trigger_time: 3533.995174743
tstamp      : 3546.346445607
delay       : 838
avail       : 794
avail_max   : 1594
-----
hw_ptr      : 544538
appl_ptr    : 543744
tstamp_mode: ENABLE
period_step: 1
avail_min: 512
start_threshold: 9223372036854775807
stop_threshold: 32768
silence_threshold: 0
silence_size: 0
boundary: 4611686018427387904
access: MMAP_INTERLEAVED
format: S32_LE
subformat: STD
channels: 2
rate: 44100 (44100/1)
period_size: 512
buffer_size: 32768
card: 3
device: 1
subdevice: 0
stream: PLAYBACK
id: USB Audio
name: USB Audio #1
subname: subdevice #0
class: 0
subclass: 0
subdevices_count: 1
subdevices_avail: 0
state: RUNNING
owner_pid   : 1553
trigger_time: 3533.948309829
tstamp      : 3546.346474226
delay       : 2768
avail       : 30551
avail_max   : 31579
-----
hw_ptr      : 547159
appl_ptr    : 549376
tstamp_mode: ENABLE
period_step: 1
avail_min: 512
start_threshold: 9223372036854775807
stop_threshold: 32768
silence_threshold: 0
silence_size: 0
boundary: 4611686018427387904
access: MMAP_INTERLEAVED
format: S24_3LE
subformat: STD
channels: 2
rate: 44100 (44100/1)
period_size: 512
buffer_size: 32768
card: 3
device: 2
subdevice: 0
stream: CAPTURE
id: USB Audio
name: USB Audio #2
subname: subdevice #0
class: 0
subclass: 0
subdevices_count: 1
subdevices_avail: 0
state: RUNNING
owner_pid   : 1553
trigger_time: 3534.016081456
tstamp      : 3546.346508036
delay       : 932
avail       : 888
avail_max   : 1595
-----
hw_ptr      : 543608
appl_ptr    : 542720
tstamp_mode: ENABLE
period_step: 1
avail_min: 512
start_threshold: 9223372036854775807
stop_threshold: 32768
silence_threshold: 0
silence_size: 0
boundary: 4611686018427387904
access: MMAP_INTERLEAVED
format: S24_3LE
subformat: STD
channels: 2
rate: 44100 (44100/1)
period_size: 512
buffer_size: 32768
card: 3
device: 2
subdevice: 0
stream: PLAYBACK
id: USB Audio
name: USB Audio #2
subname: subdevice #0
class: 0
subclass: 0
subdevices_count: 1
subdevices_avail: 0
state: RUNNING
owner_pid   : 1553
trigger_time: 3516.675683040
tstamp      : 3546.346537246
delay       : 4944
avail       : 28331
avail_max   : 31748
-----
hw_ptr      : 1308843
appl_ptr    : 1313280
tstamp_mode: ENABLE
period_step: 1
avail_min: 512
start_threshold: 9223372036854775807
stop_threshold: 32768
silence_threshold: 0
silence_size: 0
boundary: 4611686018427387904
closed
card: 3
device: 3
subdevice: 0
stream: PLAYBACK
id: USB Audio
name: USB Audio #3
subname: subdevice #0
class: 0
subclass: 0
subdevices_count: 1
subdevices_avail: 1
closed
closed



closed
card: 0
device: 3
subdevice: 0
stream: PLAYBACK
id: HDMI 0
name: HDMI 0
subname: subdevice #0
class: 0
subclass: 0
subdevices_count: 1
subdevices_avail: 1
0
32768
closed
closed
closed
card: 0
device: 7
subdevice: 0
stream: PLAYBACK
id: HDMI 1
name: HDMI 1
subname: subdevice #0
class: 0
subclass: 0
subdevices_count: 1
subdevices_avail: 1
0
32768
closed
closed
closed
card: 0
device: 8
subdevice: 0
stream: PLAYBACK
id: HDMI 2
name: HDMI 2
subname: subdevice #0
class: 0
subclass: 0
subdevices_count: 1
subdevices_avail: 1
0
32768
closed
closed
closed
card: 0
device: 9
subdevice: 0
stream: PLAYBACK
id: HDMI 3
name: HDMI 3
subname: subdevice #0
class: 0
subclass: 0
subdevices_count: 1
subdevices_avail: 1
0
32768
closed
closed
closed
card: 2
device: 0
subdevice: 0
stream: CAPTURE
id: USB Audio
name: USB Audio
subname: subdevice #0
class: 0
subclass: 0
subdevices_count: 1
subdevices_avail: 1
closed
closed
closed
card: 3
device: 0
subdevice: 0
stream: CAPTURE
id: USB Audio
name: USB Audio
subname: subdevice #0
class: 0
subclass: 0
subdevices_count: 1
subdevices_avail: 1
closed
closed
closed
card: 3
device: 0
subdevice: 0
stream: PLAYBACK
id: USB Audio
name: USB Audio
subname: subdevice #0
class: 0
subclass: 0
subdevices_count: 1
subdevices_avail: 1
closed
closed
closed
card: 3
device: 1
subdevice: 0
stream: CAPTURE
id: USB Audio
name: USB Audio #1
subname: subdevice #0
class: 0
subclass: 0
subdevices_count: 1
subdevices_avail: 1
closed
closed
closed
card: 3
device: 1
subdevice: 0
stream: PLAYBACK
id: USB Audio
name: USB Audio #1
subname: subdevice #0
class: 0
subclass: 0
subdevices_count: 1
subdevices_avail: 1
closed
closed
closed
card: 3
device: 2
subdevice: 0
stream: CAPTURE
id: USB Audio
name: USB Audio #2
subname: subdevice #0
class: 0
subclass: 0
subdevices_count: 1
subdevices_avail: 1
closed
closed
closed
card: 3
device: 2
subdevice: 0
stream: PLAYBACK
id: USB Audio
name: USB Audio #2
subname: subdevice #0
class: 0
subclass: 0
subdevices_count: 1
subdevices_avail: 1
closed
closed
access: MMAP_INTERLEAVED
format: S16_LE
subformat: STD
channels: 2
rate: 44100 (44100/1)
period_size: 512
buffer_size: 32768
card: 3
device: 3
subdevice: 0
stream: PLAYBACK
id: USB Audio
name: USB Audio #3
subname: subdevice #0
class: 0
subclass: 0
subdevices_count: 1
subdevices_avail: 0
state: RUNNING
owner_pid   : 1553
trigger_time: 2399.039880204
tstamp      : 3300.869843572
delay       : 5158
avail       : 28162
avail_max   : 31237
-----
hw_ptr      : 39771138
appl_ptr    : 39775744
tstamp_mode: ENABLE
period_step: 1
avail_min: 512
start_threshold: 9223372036854775807
stop_threshold: 32768
silence_threshold: 0
silence_size: 0
boundary: 4611686018427387904

I don't know if this is helpful. but when Hifi 2.0 is selected in pavucontrol this is listed by the same command as above. 

closed
card: 0
device: 3
subdevice: 0
stream: PLAYBACK
id: HDMI 0
name: HDMI 0
subname: subdevice #0
class: 0
subclass: 0
subdevices_count: 1
subdevices_avail: 1
0
32768
closed
closed
closed
card: 0
device: 7
subdevice: 0
stream: PLAYBACK
id: HDMI 1
name: HDMI 1
subname: subdevice #0
class: 0
subclass: 0
subdevices_count: 1
subdevices_avail: 1
0
32768
closed
closed
closed
card: 0
device: 8
subdevice: 0
stream: PLAYBACK
id: HDMI 2
name: HDMI 2
subname: subdevice #0
class: 0
subclass: 0
subdevices_count: 1
subdevices_avail: 1
0
32768
closed
closed
closed
card: 0
device: 9
subdevice: 0
stream: PLAYBACK
id: HDMI 3
name: HDMI 3
subname: subdevice #0
class: 0
subclass: 0
subdevices_count: 1
subdevices_avail: 1
0
32768
closed
closed
access: MMAP_INTERLEAVED
format: S16_LE
subformat: STD
channels: 2
rate: 16000 (16000/1)
period_size: 512
buffer_size: 32000
card: 2
device: 0
subdevice: 0
stream: CAPTURE
id: USB Audio
name: USB Audio
subname: subdevice #0
class: 0
subclass: 0
subdevices_count: 1
subdevices_avail: 0
state: RUNNING
owner_pid   : 1553
trigger_time: 3500.293964674
tstamp      : 3671.985431387
delay       : 592
avail       : 592
avail_max   : 897
-----
hw_ptr      : 2746895
appl_ptr    : 2746303
tstamp_mode: ENABLE
period_step: 1
avail_min: 512
start_threshold: 9223372036854775807
stop_threshold: 32000
silence_threshold: 0
silence_size: 0
boundary: 9007199254740992000
closed
card: 3
device: 0
subdevice: 0
stream: CAPTURE
id: USB Audio
name: USB Audio
subname: subdevice #0
class: 0
subclass: 0
subdevices_count: 1
subdevices_avail: 1
closed
closed
closed
card: 3
device: 0
subdevice: 0
stream: PLAYBACK
id: USB Audio
name: USB Audio
subname: subdevice #0
class: 0
subclass: 0
subdevices_count: 1
subdevices_avail: 1
closed
closed
closed
card: 3
device: 1
subdevice: 0
stream: CAPTURE
id: USB Audio
name: USB Audio #1
subname: subdevice #0
class: 0
subclass: 0
subdevices_count: 1
subdevices_avail: 1
closed
closed
closed
card: 3
device: 1
subdevice: 0
stream: PLAYBACK
id: USB Audio
name: USB Audio #1
subname: subdevice #0
class: 0
subclass: 0
subdevices_count: 1
subdevices_avail: 1
closed
closed
closed
card: 3
device: 2
subdevice: 0
stream: CAPTURE
id: USB Audio
name: USB Audio #2
subname: subdevice #0
class: 0
subclass: 0
subdevices_count: 1
subdevices_avail: 1
closed
closed
closed
card: 3
device: 2
subdevice: 0
stream: PLAYBACK
id: USB Audio
name: USB Audio #2
subname: subdevice #0
class: 0
subclass: 0
subdevices_count: 1
subdevices_avail: 1
closed
closed
access: MMAP_INTERLEAVED
format: S16_LE
subformat: STD
channels: 2
rate: 44100 (44100/1)
period_size: 512
buffer_size: 32768
card: 3
device: 3
subdevice: 0
stream: PLAYBACK
id: USB Audio
name: USB Audio #3
subname: subdevice #0
class: 0
subclass: 0
subdevices_count: 1
subdevices_avail: 0
state: RUNNING
owner_pid   : 1553
trigger_time: 3645.029724962
tstamp      : 3671.985974241
delay       : 2808
avail       : 30550
avail_max   : 31408
-----
hw_ptr      : 1189206
appl_ptr    : 1191424
tstamp_mode: ENABLE
period_step: 1
avail_min: 512
start_threshold: 9223372036854775807
stop_threshold: 32768
silence_threshold: 0
silence_size: 0
boundary: 4611686018427387904

@perexg
Copy link
Member

perexg commented May 11, 2023

I see 44100Hz in both outputs. You can filter the output only for the problematic card - use aplay -l to list cards and devices eventually cat /proc/asound/cards will work.

@RenEH01
Copy link
Author

RenEH01 commented May 11, 2023

I see 44100 as well, but my DAC displays the current sample rate and selecting Hifi 2.0 puts out only 48000hz to the DAC.

@perexg
Copy link
Member

perexg commented May 12, 2023

It's weird, but it looks like an issue somewhere else (maybe the USB card does some hidden resampling?). The alsa-lib/ucm does not hardcode the rate for this device. The procfs values are from the driver, so the user space sets the rate correctly.

@RenEH01
Copy link
Author

RenEH01 commented May 12, 2023

This is a built in motherboard solution. If switching to pro audio fixes issue, I don’t think it’s a hardware thing. Could it be that in the driver somewhere it thinks the Realtek 4080 can’t do 44100hz?

@perexg
Copy link
Member

perexg commented May 12, 2023

If the 44100Hz is in procfs then the user space already sets to this rate and the driver should issue the USB rate command to the hardware with this settings. You may check the rate settings sent through USB using the dynamic debug for the snd-usb-audio kernel module (dyndbg=+p argument). Like:

echo "options snd-usb-audio dyndbg=+p" > /etc/modprobe.d/alsa-test.conf
# and reboot ...

Look to dmesg for the debug lines..

@RenEH01
Copy link
Author

RenEH01 commented May 26, 2023

My previous OS was a clean install of the latest Manjaro build and this issue was present. I now have a clean install of Ubuntu and 23.04 and the issue persists here as well. The pro audio work around does not work with this OS.

Sorry, I don't know what you mean to do with:

echo "options snd-usb-audio dyndbg=+p" > /etc/modprobe.d/alsa-test.conf

and reboot ...

Should I just cut and paste that in my terminal?

@geoffreybennett
Copy link

Hi @perexg,

I am having the same problem. I'm creating UCM2 profiles for the Focusrite USB interfaces. They support:

$ cat /proc/asound/Gen/stream0 
Focusrite Scarlett 4i4 4th Gen at usb-0000:00:14.0-6.4.1, high speed : USB Audio

Playback:
  Status: Running
    Interface = 1
    Altset = 1
    Packet Size = 216
    Momentary freq = 48000 Hz (0x6.0000)
  Interface 1
    Altset 1
    Format: S32_LE
    Channels: 6
    Endpoint: 0x01 (1 OUT) (SYNC)
    Rates: 44100, 48000, 88200, 96000, 176400, 192000
    Data packet interval: 125 us
    Bits: 24
    Channel map: FL FR FC LFE RL RR

Capture:
  Status: Running
    Interface = 2
    Altset = 1
    Packet Size = 216
    Momentary freq = 48000 Hz (0x6.0000)
  Interface 2
    Altset 1
    Format: S32_LE
    Channels: 6
    Endpoint: 0x81 (1 IN) (SYNC)
    Rates: 44100, 48000, 88200, 96000, 176400, 192000
    Data packet interval: 125 us
    Bits: 24
    Channel map: FL FR FC LFE RL RR

When I use my UCM2 profile that splits the inputs and outputs up, PipeWire will only select 48kHz. The Pro Audio and Direct profiles can use all the sample rates.

So I'm guessing it's an issue with what UCM2 advertises to PipeWire, or an issue with how PipeWire interprets what it reads from UCM2?

Switching profiles from Pro Audio to my "Default" UCM2 profile when playing audio at 192kHz, I see lots of these:

[122301.948893] usb 3-6.4.1: Stopping data EP 0x1 (running 1)
[122301.948907] usb 3-6.4.1: 1:1 Stop Playback PCM
[122301.948972] usb 3-6.4.1: Closing EP 0x1 (count 1)
[122301.948974] usb 3-6.4.1: Setting usb interface 1:0 for EP 0x1
[122301.949617] usb 3-6.4.1: EP 0x1 closed
[122301.951784] usb 3-6.4.1: Stopping data EP 0x81 (running 1)
[122301.951853] usb 3-6.4.1: 2:1 Stop Capture PCM
[122301.951898] usb 3-6.4.1: Closing EP 0x81 (count 1)
[122301.951901] usb 3-6.4.1: Setting usb interface 2:0 for EP 0x81
[122301.952547] usb 3-6.4.1: EP 0x81 closed
[122301.955679] usb 3-6.4.1: Open EP 0x1, iface=1:1, idx=0
[122301.955687] usb 3-6.4.1:   channels=6, rate=48000, format=S32_LE, period_bytes=11520, periods=50, implicit_fb=0
[122301.955696] usb 3-6.4.1: Setting params for data EP 0x1, pipe 0xb400
[122301.955707] usb 3-6.4.1: Set up 3 URBS, ret=0
[122301.955805] usb 3-6.4.1: 1:1 Set sample rate 48000, clock 40
[122302.277813] usb 3-6.4.1: Setting usb interface 1:1 for EP 0x1
[122302.291966] usb 3-6.4.1: Starting data EP 0x1 (running 0)
[122302.292145] usb 3-6.4.1: 3 URBs submitted for EP 0x1
[122302.292148] usb 3-6.4.1: 1:1 Start Playback PCM
[122302.292519] usb 3-6.4.1: Stopping data EP 0x1 (running 1)
[122302.292561] usb 3-6.4.1: 1:1 Stop Playback PCM
[122302.293934] usb 3-6.4.1: Closing EP 0x1 (count 1)
[122302.293942] usb 3-6.4.1: Setting usb interface 1:0 for EP 0x1
[122302.294703] usb 3-6.4.1: EP 0x1 closed
[122302.297159] usb 3-6.4.1: Open EP 0x1, iface=1:1, idx=0
[122302.297169] usb 3-6.4.1:   channels=6, rate=48000, format=S32_LE, period_bytes=11520, periods=50, implicit_fb=0
...

There's about 30 of those Start Capture PCM, Stop Capture PCM, Start Playback PCM, Stop Playback PCM on usb interface 1:1 and 2:1 continuing over about 10 secs until audio resumes (at 48kHz).

Then:

pw-metadata -n settings 0 clock.force-rate 96000

And I see:

[122536.455630] usb 3-6.4.1: Stopping data EP 0x81 (running 1)
[122536.455663] usb 3-6.4.1: 2:1 Stop Capture PCM
[122536.456760] usb 3-6.4.1: Closing EP 0x81 (count 1)
[122536.456763] usb 3-6.4.1: Setting usb interface 2:0 for EP 0x81
[122536.457368] usb 3-6.4.1: EP 0x81 closed
[122536.458530] usb 3-6.4.1: Stopping data EP 0x1 (running 1)
[122536.458546] usb 3-6.4.1: 1:1 Stop Playback PCM
[122536.460739] usb 3-6.4.1: Closing EP 0x1 (count 1)
[122536.460744] usb 3-6.4.1: Setting usb interface 1:0 for EP 0x1
[122536.461257] usb 3-6.4.1: EP 0x1 closed
[122536.471993] usb 3-6.4.1: Open EP 0x1, iface=1:1, idx=0
[122536.471998] usb 3-6.4.1:   channels=6, rate=48000, format=S32_LE, period_bytes=11520, periods=50, implicit_fb=0
[122536.472004] usb 3-6.4.1: Setting params for data EP 0x1, pipe 0xb400
[122536.472010] usb 3-6.4.1: Set up 3 URBS, ret=0
[122536.472069] usb 3-6.4.1: 1:1 Set sample rate 48000, clock 40
[122536.772702] usb 3-6.4.1: Setting usb interface 1:1 for EP 0x1
[122536.773726] usb 3-6.4.1: Starting data EP 0x1 (running 0)
[122536.773866] usb 3-6.4.1: 3 URBs submitted for EP 0x1
[122536.773868] usb 3-6.4.1: 1:1 Start Playback PCM
[122536.774987] usb 3-6.4.1: Open EP 0x81, iface=2:1, idx=0
[122536.774990] usb 3-6.4.1:   channels=6, rate=48000, format=S32_LE, period_bytes=11520, periods=50, implicit_fb=0
[122536.774994] usb 3-6.4.1: Setting params for data EP 0x81, pipe 0xb480
[122536.774997] usb 3-6.4.1: Set up 12 URBS, ret=0
[122536.775047] usb 3-6.4.1: Setting usb interface 2:1 for EP 0x81
[122536.776297] usb 3-6.4.1: Starting data EP 0x81 (running 0)
[122536.776434] usb 3-6.4.1: 12 URBs submitted for EP 0x81
[122536.776452] usb 3-6.4.1: 2:1 Start Capture PCM

I'm not sure where to look from here?

Thanks,
Geoffrey.

@geoffreybennett
Copy link

Sorry, I should have mentioned: Fedora 38 and:

$ rpm -q pipewire alsa-ucm
pipewire-1.0.3-1.fc38.x86_64
alsa-ucm-1.2.11-2.fc38.noarch
$ uname -r
6.8.0-rc7+

@perexg
Copy link
Member

perexg commented Mar 11, 2024

@geoffreybennett This bug is for ALC4080. For configurations using split macros, the default rate is hardcoded to 48kHz in the alsa-lib direct plugins. It would be better to create a bug in alsa-lib issue tracker.

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

No branches or pull requests

3 participants