From nobody Thu Feb 03 18:10:04 2022 X-Original-To: bugs@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 AE01119ACA06 for ; Thu, 3 Feb 2022 18:10:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JqRXX2z8Tz3rTn for ; Thu, 3 Feb 2022 18:10:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 3F1B01CC0D for ; Thu, 3 Feb 2022 18:10:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 213IA4b5015992 for ; Thu, 3 Feb 2022 18:10:04 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 213IA4bX015991 for bugs@FreeBSD.org; Thu, 3 Feb 2022 18:10:04 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 261692] /var/db/mixer[x]-state files are ignored Date: Thu, 03 Feb 2022 18:10:04 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: conf X-Bugzilla-Version: 13.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: stuartinhavana@yahoo.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1643911804; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=D7eKD/RrGD0ojhxCWHkrVsu9V9jvatgH6oc5aNmECXA=; b=ffoMBFxsBmRiY5EjOyxyz/4LFjy+xf+Dbs1Q+2Bwg0l3lENo6DHmJu/Nvvu/JO1T8jegmT zREzz5i9pOKcR4bFiS721d3PzIU/pkg/Hdh2DA+sGzOmgLjQgcU4MdgqELUntUx/WBiAGt GSfvOXcFfFdALierwok6QuRQYZ6NnNHb87Snlx3aZC4O6hJynKGAtWwgtsQf5PsydxBENu FD3SzcunwCxFtOaJmiOrU6j05HeykUCqYA/hjL3/Yj+xH5RYgDx+txpXJEF+Gk7mc/q6b1 J9WzDEHdIq2+3Ft8/4IuFg9ahkeQ8YHXSFwnsEpWhM5YSQD1vbcvHaSdgGyOWg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1643911804; a=rsa-sha256; cv=none; b=oaG4WOeyr6u9iR2eMJvgkLFfolerdWM+W0zSs/bY0Px2SUa8ezWWN+y+sd+LeTIPvP5ock gWPRAsvhKpZ7xjAvC32vaO0dUvmIYs+S+kitgB7XrJbHZMOXwD+hgSxE92CPYk2oUHdCsU odZ/QHr61s6aFwEi5NGyRe33L7RGJ3gj4XS9V+at/5QZon0YdIkrjXSh6tC/Ryt1TV7rQF nJ5eeaaSd5xVLCMLp1m3r+WQ3hprLeRPeUtKwDjOcFzAX53lKfcTD1okyvw69MzUeEGy39 Zfs1MxixG+Fr3dxUpMo8D/r5qRa+vr12oCaRVdmsOBflql4LQupz5/KKyl8PZQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D261692 Bug ID: 261692 Summary: /var/db/mixer[x]-state files are ignored Product: Base System Version: 13.0-STABLE Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: conf Assignee: bugs@FreeBSD.org Reporter: stuartinhavana@yahoo.com Expected behaviour: Adding values to a mixer state file such as this: $ cat /var/db/mixer4-state=20 vol 77:77 bass 50:50 treble 50:50 pcm 75:75 mic 68:68 =3Drec mic should result in those values being set after a reboot. Actual behaviour: Values in /var/db/mixer4-state are ignored. As a workaround I changed /etc/rc.d/mixer to have: # REQUIRE: FILESYSTEMS=20 to # REQUIRE: FILESYSTEMS ntpdate with that change present the values were picked up on reboot: $ mixer Mixer vol is currently set to 77:77 Mixer bass is currently set to 50:50 Mixer treble is currently set to 50:50 Mixer pcm is currently set to 75:75 Mixer mic is currently set to 68:68 Recording source: mic It seems that /etc/rc.d/mixer runs before the /dev/mixer* files exist. In my case the device is a usb one, but I don't think any of the others (eg built= in sound card) are present either. --=20 You are receiving this mail because: You are the assignee for the bug.=