From nobody Sun May 5 21:51:19 2024 X-Original-To: freebsd-drivers@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 4VXdXW5F8Vz5KppY for ; Sun, 05 May 2024 21:51:23 +0000 (UTC) (envelope-from freebsdlouisville@gmail.com) Received: from mail-oo1-xc2a.google.com (mail-oo1-xc2a.google.com [IPv6:2607:f8b0:4864:20::c2a]) (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 4VXdXW10Sjz4lQt for ; Sun, 5 May 2024 21:51:23 +0000 (UTC) (envelope-from freebsdlouisville@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20230601 header.b=EkbSp94z; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of freebsdlouisville@gmail.com designates 2607:f8b0:4864:20::c2a as permitted sender) smtp.mailfrom=freebsdlouisville@gmail.com Received: by mail-oo1-xc2a.google.com with SMTP id 006d021491bc7-5b20d3ff05cso268384eaf.0 for ; Sun, 05 May 2024 14:51:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1714945881; x=1715550681; darn=freebsd.org; h=in-reply-to:to:references:content-language:subject:user-agent :mime-version:date:message-id:from:from:to:cc:subject:date :message-id:reply-to; bh=dHt6/Ws1reEurxTQmKnGHdy098NIl6ziRlpaYN4qkvE=; b=EkbSp94zT3h2NSuNy6zQPdYqljVyYdAitnufhfX8Ovc3zfTKNI6n00VrBEgvs01F9X 8trW9b+vUR7tq8c/npPqo9mEsNfoOLiOI9hmELgrBlDLft+Sq+Pme0suipBEHhaZ57/H qXFUUrVbJ0z7gRfVDsJOcGCDb0vOtgYN644VluUN23cfQu4aPRBIe8jNoSOGWv6VlkkS E3+wZUteCQ2FT8AMykElEcy+7mVzUVTRgoLonYNixTjlZHdw4kvvdk/c02ErMOrKWDsJ EV/z0lYmdg0pE7dM1tvoeLbUyv/TxDY5M8vIclKT3D5Ifb4UuBhMEw9O3YxM5jJ/083U e+8w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714945881; x=1715550681; h=in-reply-to:to:references:content-language:subject:user-agent :mime-version:date:message-id:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=dHt6/Ws1reEurxTQmKnGHdy098NIl6ziRlpaYN4qkvE=; b=SEAP/zYJ7rTEaoCbbG2HLgcpe9jxeZMK0x/3NdNTFGs/6hl7PsB5ow8t9FBIPGskiz MTV0hc32WcdD+3u53K1MpvVPFv4Nbw7hCOCFOQX3uYH91uxSXRtBkln6HSceW/RfLv5p 0Cpr1iirIlO+rt+ahfudP5o1rDR26Xia0OcGcx14rZSud7jtUTaIWd+ia2De18YIfK9/ xBQ7LMOzk9wuKLB/IQ2u6wFwZrHH/cPq+cM9nYwLzIwo9yR44TglF2elXt26Cqp7O7Np O1Pl+6n5/pf8z7EB1fj4AZ3UIG2nZfT3Tf/VYPzOLb5VnIHXix58iK7vNW/kTEmuVzec IwZQ== X-Gm-Message-State: AOJu0YzzxQinvkUqVk7Lc7+l8JUyRCJ6NPG5dEk1mhceb4FQiH1w9Vno zMDhVD11C1pdOl6mqQzIdWEc72dqaSS8t9ggs3xh2q2Mr+KWNtnnzsjAaQ== X-Google-Smtp-Source: AGHT+IE8g73O4I594vbSlRM4ZLeACirk2a+fGwqMUyXqrlTpjVuXujMpNf+kjaC5SzUSPDYmjN/1jQ== X-Received: by 2002:a4a:91d1:0:b0:5b2:bc0:f38e with SMTP id e17-20020a4a91d1000000b005b20bc0f38emr2059837ooh.9.1714945880942; Sun, 05 May 2024 14:51:20 -0700 (PDT) Received: from ?IPV6:2600:1015:a030:eb8:936f:aa:fe9d:34dd? ([2600:1015:a030:eb8:936f:aa:fe9d:34dd]) by smtp.gmail.com with ESMTPSA id bm24-20020a056820189800b005aa6c0a9b3csm1664305oob.30.2024.05.05.14.51.20 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 05 May 2024 14:51:20 -0700 (PDT) From: Steven Friedrich X-Google-Original-From: Steven Friedrich Content-Type: multipart/alternative; boundary="------------o2PNVwe6So9bQZUy0vPdrhqc" Message-ID: <9a1f9caa-5429-41a4-8926-305359b36e8a@gmail.com> Date: Sun, 5 May 2024 17:51:19 -0400 List-Id: Writing device drivers for FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-drivers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-drivers@FreeBSD.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Missing magic in i915kms.ko? Content-Language: en-US References: <76b7f66a-f6b9-4a79-825f-cec3c808a73c@gmail.com> To: FreeBSD Drivers In-Reply-To: <76b7f66a-f6b9-4a79-825f-cec3c808a73c@gmail.com> X-Forwarded-Message-Id: <76b7f66a-f6b9-4a79-825f-cec3c808a73c@gmail.com> X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.97 / 15.00]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.98)[-0.978]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20230601]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; XM_UA_NO_VERSION(0.01)[]; RCVD_TLS_LAST(0.00)[]; TO_DN_ALL(0.00)[]; ARC_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCPT_COUNT_ONE(0.00)[1]; FREEMAIL_ENVFROM(0.00)[gmail.com]; FREEMAIL_FROM(0.00)[gmail.com]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; PREVIOUSLY_DELIVERED(0.00)[freebsd-drivers@freebsd.org]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; MLMMJ_DEST(0.00)[freebsd-drivers@freebsd.org]; RCVD_VIA_SMTP_AUTH(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::c2a:from] X-Rspamd-Queue-Id: 4VXdXW10Sjz4lQt This is a multi-part message in MIME format. --------------o2PNVwe6So9bQZUy0vPdrhqc Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit I can use beep -d /dev/dsp0 or /dev/dsp1 and hear a sound at the rear or fron audio jacks. If I send the beep to /dev/dsp2, I hear nothing. I believe there is missing magic in i915kms.ko that routes audio from the video driver to the audio driver.  Or perhaps I need a hint in /boot/loader.conf or /boot/device.hints? I am using the snd_hda.ko driver in FreeBSD-14p6. I also have linuxkpi_hdmi.ko in kldstat. I can't find man pages describing these components.  There are man pages for drm and drm-kms, but they don't contain magic, like loader settings or device hints. I haven't been able to get sound from FreeBSD on this system for years.  Linux Mint, KDE Neon, and Ubuntu 24.04  DO deliver sound to the hdmi/dp port. --------------o2PNVwe6So9bQZUy0vPdrhqc Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit I can use beep -d /dev/dsp0 or /dev/dsp1 and hear a sound at the rear or fron audio jacks.

If I send the beep to /dev/dsp2, I hear nothing.

I believe there is missing magic in i915kms.ko that routes audio from the video driver to the audio driver.  Or perhaps I need a hint in /boot/loader.conf or /boot/device.hints?

I am using the snd_hda.ko driver in FreeBSD-14p6.

I also have linuxkpi_hdmi.ko in kldstat.

I can't find man pages describing these components.  There are man pages for drm and drm-kms, but they don't contain magic, like loader settings or device hints.

I haven't been able to get sound from FreeBSD on this system for years.  Linux Mint, KDE Neon, and Ubuntu 24.04  DO deliver sound to the hdmi/dp port.

--------------o2PNVwe6So9bQZUy0vPdrhqc--