From nobody Wed Aug 02 21:32:57 2023 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 4RGQFB6j8fzZp7b for ; Wed, 2 Aug 2023 21:32:58 +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 4RGQF60ww1z3R3h for ; Wed, 2 Aug 2023 21:32:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1691011978; a=rsa-sha256; cv=none; b=S8CpZAhU5I2badV/iZ3pi4J+luzuBgHo2N7shBoV1TFHFHz9ZC2/1ZLPYMJHe1F5EWcMlX q6tYRGklwpFjhyxiA6v2otGKIZAzVyZQdepkOxVyYC8Y2ck8mcQg/vFpA4NcSDqV7JzJ15 PtCQ2qkbfejLwKhZSGg+tvTyQ+eanKtSpbRJJUrFKmq126zsiY0IkYT9nbFDGyuN6NKJ80 x+37x0X/C/6wFPxPPa1U26xMQcaUsfqMHsjtSODb7H3bCXwXPTVqqOGMFZ+MP/Mry3bENR VQlxbybVDV1TVBMWf2/xR/PAhAnwY30ohy4OVcqQcVMhiikhDFNEkOYoJ7TUwA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1691011978; 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=y4KuiMnWBgFKaLPWmZSZQTa47p38TqmSBVQ/SNa4kvU=; b=PtgpvRk5i/C9kd3WRLbO5g3MaYhgh/c79QcGwYDUe6j5ViAkiNVsbHeXLAiXErW7pInROf tWr8lNNwqmst+WgsjekLijg/dSxD1Z3549r3xbQ/KA5uVmwrGq95vRc958NAgRlrxCAebk /MyloJyD2qcLGxJ+wqHHa7sGRdqxrqQswfSUxDmw5lCChryTf59oujuEeCOmwcGRTe6x+W oKiGKU52WqEPQoS03ABDsrWmmXgPhBLJ+MpWU31Cc/GHxeVD903uLMeMnYmSRP7Wf/bpMd wbojiJj6Q3fNNT8K8pA/LbhdN5F7518S9qvdTnScJPUtKfsVf/de7DPMXQ+lfw== 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 4RGQF531ZSzb7T for ; Wed, 2 Aug 2023 21:32:57 +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 372LWvjQ020194 for ; Wed, 2 Aug 2023 21:32:57 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 372LWvdS020193 for bugs@FreeBSD.org; Wed, 2 Aug 2023 21:32:57 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 272901] [PATCH]I created DSD/DoP support patch and easy .dsf player command for USB Audio Interface, tested on FreeBSD 13.1 (amd64), iFi Uno and Audirect ATOM3 USB Type-C USB Audio Interface. Date: Wed, 02 Aug 2023 21:32:57 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 13.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: alumina@ceramix.compress.to 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 attachments.created 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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D272901 Bug ID: 272901 Summary: [PATCH]I created DSD/DoP support patch and easy .dsf player command for USB Audio Interface, tested on FreeBSD 13.1 (amd64), iFi Uno and Audirect ATOM3 USB Type-C USB Audio Interface. Product: Base System Version: 13.1-RELEASE Hardware: amd64 OS: Any Status: New Severity: Affects Some People Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: alumina@ceramix.compress.to Created attachment 243810 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D243810&action= =3Dedit easy .dsf player command source with FreeBSD-13.1 kernel patch archive. o easy .dsf player command (require modify for /usr/include/sys/soundcard.h) mkdir /tmp/dsfplay cd /tmp/dsfplay tar xzf dsfplay.tar.gz cd /usr/src/sys patch < /tmp/dsfplay/FreeBSD-13.1-dev.sound.diff cd amd64/conf config GENERIC cd ../compile/GENERIC make cleandepend && make depend && make && make install cp -f /usr/src/sys/sys/soundcard.h /usr/include/sys/ cd /tmp/dsfplay make all install reboot o for iFi Uno (DSD Native) sysctl dev.pcm.N.bitperfect=3D0 sysctl dev.pcm.N.dsd_to_dop=3D0 sysctl dev.pcm.N.play.vchanformat=3Ds32le:2.0 sysctl dev.pcm.N.play.vchanrate=3D384000 sysctl dev.pcm.N.play.vchans=3D3 sysctl hw.snd.default_unit=3DN mixer -f /dev/mixerN pcm 100 vol 100 (N is iFi Uno's PCM device number) o for Audirect ATOM3 USB Type-C (I don't know DSD Native control method for ATOM3, DoP mode) sysctl dev.pcm.N.bitperfect=3D0 sysctl dev.pcm.N.dsd_to_dop=3D1 sysctl dev.pcm.N.play.vchanformat=3Ds32le:2.0 sysctl dev.pcm.N.play.vchanrate=3D768000 sysctl dev.pcm.N.play.vchans=3D3 sysctl hw.snd.default_unit=3DN mixer -f /dev/mixerN pcm 100 vol 100 (N is Audirect ATOM3's PCM device number) dsfplay (.dsf file...) thanks. --=20 You are receiving this mail because: You are the assignee for the bug.=