From nobody Tue Jul 25 11:19:19 2023 X-Original-To: freebsd-stable@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4R9F112bm9z4p3ld for ; Tue, 25 Jul 2023 11:19:33 +0000 (UTC) (envelope-from haramrae@gmail.com) Received: from mail-ej1-x634.google.com (mail-ej1-x634.google.com [IPv6:2a00:1450:4864:20::634]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4R9F1046ghz3vQ0 for ; Tue, 25 Jul 2023 11:19:32 +0000 (UTC) (envelope-from haramrae@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20221208 header.b=oEINoSNr; spf=pass (mx1.freebsd.org: domain of haramrae@gmail.com designates 2a00:1450:4864:20::634 as permitted sender) smtp.mailfrom=haramrae@gmail.com; dmarc=pass (policy=none) header.from=gmail.com Received: by mail-ej1-x634.google.com with SMTP id a640c23a62f3a-98dfb3f9af6so919999066b.2 for ; Tue, 25 Jul 2023 04:19:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1690283971; x=1690888771; h=to:date:message-id:subject:mime-version:content-transfer-encoding :from:from:to:cc:subject:date:message-id:reply-to; bh=JTx2xBig/JHejLkSnMzWeMIqMmkIPMk+7UogPe+76Fs=; b=oEINoSNroLSqHy3xHDjPadkfjlCgzjpAC9Nti1VDOuuvCP/E0Q/FIYhqeOQCNlZrjZ IujGkXPlrPY429Kkwp/LvGIZc3V3lFPI9GgGAFBIEqyevSc8Tm1d6pfCm7uJVmXtHl96 UpbQfQPuwxECuc9kI/jUTM6FJhCR95LbkTqmFWzH0bUdV+B5pNAdrhaeNtqXG/LG3gYC QMoTuSP3CbFO5+MlnlBSiT53eM98+hYSEoEtxpHbQtSDOJGcaiWuFzuwy6m24wRVYjS6 3jIl3tY5F5i6b9a7ESPTOvL7KaDbHr+GHWXVWLvj0a9CACh0lO/snZ2LU7roN3kwD8gl hvkQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690283971; x=1690888771; h=to:date:message-id:subject:mime-version:content-transfer-encoding :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=JTx2xBig/JHejLkSnMzWeMIqMmkIPMk+7UogPe+76Fs=; b=D5XqMDgJSZXhjWBCRHqcroDSkH4k6WcxRGaFbUhqjEvqv62n++r4fHqNZJKCUkom96 wqR7RgeNuDvRAVBDL5kPorOSiJ/JoXbyF9rNXfWsOuOyBahQHQmDPMi31tXlxGr1Bq7V r0+l43d5Y5btgXr/Y+cimRMhFcZyxJVIMQeYE2MJQAopo8IHHA0noDX9ML8cOXtrrfX4 FE0lCvZbav52p2el4+uw8Wo4rI7C76St9b4IcU0TlZ94uioh2JNYFbB/nrYnGqGb6feS uOa3+kch/jD+Jq76Oq/gDR0zxiJAwfxWGv4xvFVrvr5BEmaESIoTgHwvY+w1VlDOHXP6 RRfA== X-Gm-Message-State: ABy/qLZmdZo7ZtgAoH7PZeZ+56HGRpxuR9V/7gsz/grwoKkfk2D63ro2 aeTbJcfgS8v13Li2DCQQ+Gp2FEpVN+o= X-Google-Smtp-Source: APBJJlElq3QXEH5NZTui+dbHRGSY7BFxaRkymOdEQ4bI53pn1S52RuHOlKf5WL87DnUXPY5n8Zx5vA== X-Received: by 2002:a17:907:7625:b0:99b:4d3c:d7e4 with SMTP id jy5-20020a170907762500b0099b4d3cd7e4mr12263597ejc.63.1690283970681; Tue, 25 Jul 2023 04:19:30 -0700 (PDT) Received: from smtpclient.apple (217-19-30-105.dsl.cambrium.nl. [217.19.30.105]) by smtp.gmail.com with ESMTPSA id q16-20020a170906b29000b00992316f0690sm8095490ejz.74.2023.07.25.04.19.29 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 25 Jul 2023 04:19:29 -0700 (PDT) From: Alban Hertroys Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable List-Id: Production branch of FreeBSD source code List-Archive: https://lists.freebsd.org/archives/freebsd-stable List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.500.231\)) Subject: USB audio stopped working between p7 and p8 Message-Id: <545BC192-8060-4172-A825-618DDB9E8722@gmail.com> Date: Tue, 25 Jul 2023 13:19:19 +0200 To: freebsd-stable@freebsd.org X-Mailer: Apple Mail (2.3731.500.231) X-Spamd-Result: default: False [-2.78 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-0.995]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; MV_CASE(0.50)[]; NEURAL_HAM_SHORT(-0.28)[-0.282]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20221208]; MIME_GOOD(-0.10)[text/plain]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-stable@freebsd.org]; ARC_NA(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; RCVD_TLS_LAST(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::634:from]; RCVD_COUNT_THREE(0.00)[3]; TO_DN_NONE(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; MID_RHS_MATCH_FROM(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; MIME_TRACE(0.00)[0:+]; FROM_EQ_ENVFROM(0.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; FREEMAIL_ENVFROM(0.00)[gmail.com]; MLMMJ_DEST(0.00)[freebsd-stable@freebsd.org] X-Rspamd-Queue-Id: 4R9F1046ghz3vQ0 X-Spamd-Bar: -- Hi list, I recently upgraded my home server with musicpd from 13.1-RELEASE-p7 to = 13.1-RELEASE-p8, and now USB audio stopped working. The USB DAC identifies the input as 44.1kHz PCM, which, with the = sysctl=E2=80=99s that I set really should have been 192kHz to begin = with, but there=E2=80=99s also no audio from it at all. I figure that if = I can get audio working at all again, even at 44.1 kHz, I can take it = from there again. To focus on the problem, I=E2=80=99ll leave musicpd = and virtual_oss out of the equation for now... For the upgrade, I used: freebsd-update fetch freebsd-update install Before the upgrade, the USB DAC registered as pcm0 while now it = registers as pcm2, so the sysctl=E2=80=99s applied to the device now = obviously go to another device (namely one of the HDMI outputs), but = even then I should get audio from it. I=E2=80=99m at a loss as to what=E2=80=99s the culprit here and am = starting to think that it=E2=80=99s a problem with the release or with = the newer GENERIC kernel. I=E2=80=99d appreciate help fixing this. Thanks in advance. Some context: # uname -a FreeBSD solfertje 13.1-RELEASE-p8 FreeBSD 13.1-RELEASE-p8 GENERIC amd64 # cat /var/run/dmesg.boot | grep uaudio uaudio0 on uhub3 uaudio0: on usbus1 uaudio0: Play[0]: 384000 Hz, 2 ch, 32-bit S-LE PCM format, 2x8ms buffer. uaudio0: Play[0]: 352800 Hz, 2 ch, 32-bit S-LE PCM format, 2x8ms buffer. uaudio0: Play[0]: 192000 Hz, 2 ch, 32-bit S-LE PCM format, 2x8ms buffer. uaudio0: Play[0]: 176400 Hz, 2 ch, 32-bit S-LE PCM format, 2x8ms buffer. uaudio0: Play[0]: 96000 Hz, 2 ch, 32-bit S-LE PCM format, 2x8ms buffer. uaudio0: Play[0]: 88200 Hz, 2 ch, 32-bit S-LE PCM format, 2x8ms buffer. uaudio0: Play[0]: 48000 Hz, 2 ch, 32-bit S-LE PCM format, 2x8ms buffer. uaudio0: Play[0]: 44100 Hz, 2 ch, 32-bit S-LE PCM format, 2x8ms buffer. uaudio0: No recording. uaudio0: No MIDI sequencer. pcm2: on uaudio0 uaudio0: No HID volume keys found. # sysctl dev.uaudio dev.uaudio.0.%parent: uhub3 dev.uaudio.0.%pnpinfo: vendor=3D0x152a product=3D0x8750 devclass=3D0xef = devsubclass=3D0x02 devproto=3D0x01 sernum=3D"" release=3D0x0188 = mode=3Dhost intclass=3D0x01 intsubclass=3D0x01 intprotocol=3D0x20 dev.uaudio.0.%location: bus=3D0 hubaddr=3D6 port=3D4 devaddr=3D7 = interface=3D0 ugen=3Dugen0.7 dev.uaudio.0.%driver: uaudio dev.uaudio.0.%desc: D90SE dev.uaudio.%parent:=20 # sysctl hw.snd hw.snd.maxautovchans: 0 hw.snd.default_unit: 2 hw.snd.version: 2009061500/amd64 hw.snd.default_auto: 2 hw.snd.verbose: 0 hw.snd.vpc_mixer_bypass: 1 hw.snd.feeder_rate_quality: 4 hw.snd.feeder_rate_round: 25 hw.snd.feeder_rate_max: 2016000 hw.snd.feeder_rate_min: 1 hw.snd.feeder_rate_polyphase_max: 183040 hw.snd.feeder_rate_presets: 100:8:0.85 100:36:0.92 100:164:0.97 hw.snd.feeder_eq_exact_rate: 0 hw.snd.feeder_eq_presets: = PEQ:16000,0.2500,62,0.2500:-9,9,1.0:44100,48000,88200,96000,176400,192000 hw.snd.basename_clone: 1 hw.snd.compat_linux_mmap: 0 hw.snd.syncdelay: -1 hw.snd.usefrags: 0 hw.snd.vpc_reset: 0 hw.snd.vpc_0db: 100 hw.snd.vpc_autoreset: 1 hw.snd.timeout: 5 hw.snd.latency_profile: 1 hw.snd.latency: 7 hw.snd.report_soft_matrix: 1 hw.snd.report_soft_formats: 1 # cat /dev/sndstat Installed devices: pcm0: (play) pcm1: (play) pcm2: (play) default No devices installed from userspace. # sysctl dev.pcm.2 dev.pcm.2.feedback_rate: 0 dev.pcm.2.mode: 3 dev.pcm.2.bitperfect: 0 dev.pcm.2.buffersize: 0 dev.pcm.2.play.vchans: 0 dev.pcm.2.hwvol_mixer: vol dev.pcm.2.hwvol_step: 5 dev.pcm.2.%parent: uaudio0 dev.pcm.2.%pnpinfo:=20 dev.pcm.2.%location:=20 dev.pcm.2.%driver: pcm dev.pcm.2.%desc: USB audio # mixer Mixer vol is currently set to 100:100 Mixer pcm is currently set to 100:100 Alban Hertroys -- There is always an exception to always.