From owner-freebsd-questions@freebsd.org Thu Jul 15 09:44:18 2021 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 88DE8662C66 for ; Thu, 15 Jul 2021 09:44:18 +0000 (UTC) (envelope-from tomek@cedro.info) Received: from mail-wm1-x334.google.com (mail-wm1-x334.google.com [IPv6:2a00:1450:4864:20::334]) (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 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GQTwd5q8wz4SnD for ; Thu, 15 Jul 2021 09:44:17 +0000 (UTC) (envelope-from tomek@cedro.info) Received: by mail-wm1-x334.google.com with SMTP id u8-20020a7bcb080000b02901e44e9caa2aso3187258wmj.4 for ; Thu, 15 Jul 2021 02:44:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cedro.info; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=fkD+SZIm5CUATjFEU7zBq+vuxz3jfk1emUq6FPkwo2g=; b=TbV83BNCn7Wv1rg1oBS+vaSoEoESoNg886E2wK1ogFFPcj24Hfse6FlTHsXwq7+xhq Ww8EVpTE4LYd7O/KOTao3VYWdd1v5nn4pGJ7ZasXRXrML2VoLD3c5vH7dfD6UPmyZPpF szg/Gopk0rOQvTOGl1/Ztk3rUZ5gluRvRYQlpeeG2J9684NlUJSbCj5XVcKkM5nAWe5I naOjnW92fjfFOAoFkiIS8BAZ57Ada48USLOWWbLUW1tVypWp257KbSJ7fTbRmZyxfXuK R2bsHkh4Cof+KANhlyMRcgFFEK8dguo1KDmLKLN5VRncdXpPqKXaIwCOuy492wCKTCzP lNsw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=fkD+SZIm5CUATjFEU7zBq+vuxz3jfk1emUq6FPkwo2g=; b=EAn/DpHDapUgCvFeAuGftjQYzdIX/7IfKrvIXdVP8+U+BIdRaJMtb8NgoZ50oOtpKJ 0tbhU1KYEoHbZZAWMj2OIDQ4K7c+ML6/3QlW0XVyj9nh1xJPfkYMb0nxL/RhkggUcFsu Nz/gB220SHybDbNWzSbTBNrm1miz5uRkQdMOHddOgstFdXpKbBF5WYO3mlA51yatAqBL wMZ1Zdwk5Rju3vXyLcZW1aEOBncEkR3Pp69aRVwQQMUijjXQElJMXvi6XS4fAJYnW+K2 gHACl9I7wJtMy6z6fpXuKfuQufBfNx8LPmfZV53+HI7BqCmTHCf/OrqztuWNvCaI4wdc gV6w== X-Gm-Message-State: AOAM530e6I9fDHW+iwzBECrJtlyl83m0EGWExHvAj7w0QCLiMeBBR8yB xNkVeQvvRAxT07d4gvAYH/mIeMMsSeSCq1UWIHFJNw== X-Google-Smtp-Source: ABdhPJzQ2lHh+z5aeR4UD9Lab6e6KMhhbF/tM2H3KPL/2JmqhYLH8mhhsATeXYGpbZZqty96XyaU795urhnNrO1oGaw= X-Received: by 2002:a05:600c:2197:: with SMTP id e23mr3532356wme.101.1626342256216; Thu, 15 Jul 2021 02:44:16 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Tomasz CEDRO Date: Thu, 15 Jul 2021 11:44:05 +0200 Message-ID: Subject: Re: How to turn HDMI video off but keep audio on (slightly OT?) To: Aryeh Friedman Cc: freebsd-multimedia@freebsd.org, FreeBSD Mailing List X-Rspamd-Queue-Id: 4GQTwd5q8wz4SnD X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=cedro.info header.s=google header.b=TbV83BNC; dmarc=none; spf=none (mx1.freebsd.org: domain of tomek@cedro.info has no SPF policy when checking 2a00:1450:4864:20::334) smtp.mailfrom=tomek@cedro.info X-Spamd-Result: default: False [-2.30 / 15.00]; TO_DN_SOME(0.00)[]; URI_COUNT_ODD(1.00)[1]; DKIM_TRACE(0.00)[cedro.info:+]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RBL_DBL_DONT_QUERY_IPS(0.00)[2a00:1450:4864:20::334:from]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; SUBJECT_HAS_QUESTION(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.998]; R_DKIM_ALLOW(-0.20)[cedro.info:s=google]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_HAM_LONG(-1.00)[-1.000]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; DMARC_NA(0.00)[cedro.info]; SPAMHAUS_ZRD(0.00)[2a00:1450:4864:20::334:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::334:from]; R_SPF_NA(0.00)[no SPF record]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-questions] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.34 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Jul 2021 09:44:18 -0000 On Thu, Jul 15, 2021, 10:40 Tomasz CEDRO wrote: > On Thu, Jul 15, 2021, 10:21 Aryeh Friedman wrote: > >> >> On Thu, Jul 15, 2021 at 4:09 AM Tomasz CEDRO wrote: >> >>> there is /dev/dsp for each audio sink. have you tried cat /dev/random >>> >/dev/dspN for N=0,1,.. and check wherher noise is produced over hdmi when >>> monitor is enabled/disabled in/without WM? >>> >> >> Already tried that (should of mentioned it in the original post) >> > > then you may try to put monitor into some sort of dpms sleep mode (see > xset s and xset dpms), so it does not power off, just keep audio out, that > may depend on the particular device how it has power management implemented. > > this may contain some hints: > https://unix.stackexchange.com/questions/52263/how-can-i-put-my-hdmi-display-into-and-out-of-power-save-mode > Audio and Video on HDMI are tied together. I would check if the monitor itself has no power saving enabled on its own that may shut it down after some (inactivity) time. If this is the only HDMI output on the card I would simply increase dpms power off time for instance to 4 hours of inactivity while keeping screen saver/lock around 10/15 minutes. If you have another HDMI output then you can buy HDMI to audio cable/adapter they start at $2.5 at ebay and you stay independent of display. The best way imo is to connect external USB Audio Card and stay independent of HDMI at all. That assumes you have no audio card available already, or no card with optical channel that you could connect directly to home cinema audio instead using monitor output - most motherboards now provide audio card even with spdif output :-) -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info >