From nobody Thu Dec 28 07:48:09 2023 X-Original-To: freebsd-desktop@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 4T10xK0GJ0z55Hy7 for ; Thu, 28 Dec 2023 07:48:21 +0000 (UTC) (envelope-from shuriku@shurik.kiev.ua) Received: from mail.flex-it.com.ua (mail.flex-it.com.ua [193.239.74.7]) (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 mx1.freebsd.org (Postfix) with ESMTPS id 4T10xH6sXXz3DtK for ; Thu, 28 Dec 2023 07:48:19 +0000 (UTC) (envelope-from shuriku@shurik.kiev.ua) Authentication-Results: mx1.freebsd.org; dkim=none; spf=pass (mx1.freebsd.org: domain of shuriku@shurik.kiev.ua designates 193.239.74.7 as permitted sender) smtp.mailfrom=shuriku@shurik.kiev.ua; dmarc=none Received: from 93.183.208.50.ipv4.datagroup.ua ([93.183.208.50] helo=[192.168.200.105]) by mail.flex-it.com.ua with esmtpsa (TLS1.3) tls TLS_AES_128_GCM_SHA256 (Exim 4.96.2 (FreeBSD)) (envelope-from ) id 1rIl7h-000Hac-33 for freebsd-desktop@freebsd.org; Thu, 28 Dec 2023 09:48:10 +0200 Message-ID: <1c231a4e-e83a-4425-b955-38fca36a5c6d@shurik.kiev.ua> Date: Thu, 28 Dec 2023 09:48:09 +0200 List-Id: Using and improving FreeBSD on the desktop List-Archive: https://lists.freebsd.org/archives/freebsd-desktop List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-desktop@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Getting Sound to work Content-Language: uk-UA To: freebsd-desktop@freebsd.org References: From: Oleksandr Kryvulia In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-ACL-Warn: SPF failed. 93.183.208.50 is not allowed to send mail from shurik.kiev.ua. X-Spamd-Result: default: False [-3.29 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[text/plain]; XM_UA_NO_VERSION(0.01)[]; MLMMJ_DEST(0.00)[freebsd-desktop@freebsd.org]; RCVD_COUNT_ONE(0.00)[1]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:35297, ipnet:193.239.72.0/22, country:UA]; MIME_TRACE(0.00)[0:+]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; RCVD_TLS_ALL(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DMARC_NA(0.00)[shurik.kiev.ua]; TO_DN_NONE(0.00)[]; MID_RHS_MATCH_FROM(0.00)[] X-Rspamd-Queue-Id: 4T10xH6sXXz3DtK X-Spamd-Bar: --- 27.12.23 23:20, Joe B: > Hello, > > I know this is impossible but this list is my last resort. IF it doesn't > work i have another laptop that works out of the box but i really like > this > laptop (Chromebook Hp x360 14c) > > Everything works except sound that does work when connected to HDMI. Here > is what I have to work with. > > Sndstat > > cat /dev/sndstat > Installed devices: > pcm0: (play) default > > Verbose Boot > > hdac0: mem > 0x9f914000-0x9f917fff,0x9f800000-0x9f8fffff at device 31.3 on pci0 > hdacc0: at cad 2 on hdac0 > hdaa0: at nid 1 on hdacc0 > pcm0: at nid 3 on hdaa0 > hdac0: mem > 0x9f914000-0x9f917fff,0x9f800000-0x9f8fffff at device 31.3 on pci0 > hdac0: PCI card vendor: 0x8086, device: 0x7270 > hdac0: HDA Driver Revision: 20120126_0002 > hdac0: Config options: on=0x00000000 off=0x00000000 > hdac0: Caps: OSS 9, ISS 7, BSS 0, NSDO 1, 64bit, CORB 256, RIRB 256 > hdac0: attempting to allocate 1 MSI vectors (1 supported) > hdac0: using IRQ 130 for MSI > hdacc0: at cad 2 on hdac0 > hdaa0: at nid 1 on hdacc0 > hdaa0: Subsystem ID: 0x80860101 > hdaa0: NumGPIO=0 NumGPO=0 NumGPI=0 GPIWake=0 GPIUnsol=0 > hdaa0: Original pins configuration: > hdaa0: nid   0x    as seq device       conn  jack    loc  color   misc > hdaa0:  3 18560010 1  0  Digital-out   Jack  Digital 0x18 Unknown 0 > hdaa0: Patched pins configuration: > hdaa0: nid   0x    as seq device       conn  jack    loc  color   misc > hdaa0:  3 18560010 1  0  Digital-out   Jack  Digital 0x18 Unknown 0 > hdaa0: 1 associations found: > hdaa0: Association 0 (1) out: > hdaa0:  Pin nid=3 seq=0 > hdaa0: Tracing association 0 (1) > hdaa0:  Pin 3 traced to DAC 2 > hdaa0: Association 0 (1) trace succeeded > hdaa0: Looking for additional DAC for association 0 (1) > hdaa0: Tracing input monitor > hdaa0: Tracing other input monitors > hdaa0: Tracing beeper > hdaa0: FG config/quirks: forcestereo ivref50 ivref80 ivref100 ivref > pcm0: at nid 3 on hdaa0 > > sysctl -a |grep hda > > hdac0: mem > 0x9f914000-0x9f917fff,0x9f800000-0x9f8fffff at device 31.3 on pci0 > hdacc0: at cad 2 on hdac0 > hdaa0: at nid 1 on hdacc0 > pcm0: at nid 3 on hdaa0 > device snd_hda > irq130: hdac0:263 @cpu0(domain0): 7 > dev.pcm.0.%parent: hdaa0 > devhdaa.0.init_clear: 0 > dev.hdaa.0.reconfig: 0 > dev.hdaa.0.gpo_config: > dev.hdaa.0.gpo_state: > dev.hdaa.0.gpio_config: > dev.hdaa.0.gpio_state: > dev.hdaa.0.gpi_state: > dev.hdaa.0.config: forcestereo,ivref50,ivref80,ivref100,ivref,vref > dev.hdaa.0.nid3_original: 0x18560010 as=1 seq=0 device=Digital-out > conn=Jack ctype=Digital loc=0x18 color=Unknown misc=0 > dev.hdaa.0.nid3_config: 0x18560010 as=1 seq=0 device=Digital-out > conn=Jack ctype=Digital loc=0x18 color=Unknown misc=0 > dev.hdaa.0.nid3: pin: Digital-out (Jack) > dev.hdaa.0.nid2: audio output > dev.hdaa.0.%parent: hdacc0 > dev.hdaa.0.%pnpinfo: type=0x01 subsystem=0x80860101 > dev.hdaa.0.%location: nid=1 > dev.hdaa.0.%driver: hdaa > dev.hdaa.0.%desc: Intel Kaby Lake Audio Function Group > dev.hdaa.%parent: > dev.hdacc.0.%parent: hdac0 > dev.hdacc.0.%pnpinfo: vendor=0x8086 device=0x280b revision=0x00 > stepping=0x00 > dev.hdacc.0.%location: cad=2 > dev.hdacc.0.%driver: hdacc > dev.hdacc.0.%desc: Intel Kaby Lake HDA CODEC > dev.hdacc.%parent: > dev.hdac.0.polling: 0 > dev.hdac.0.pindump: 0 > dev.hdac.0.%parent: pci0 > dev.hdac.0.%pnpinfo: vendor=0x8086 device=0x02c8 subvendor=0x8086 > subdevice=0x7270 class=0x040100 > dev.hdac.0.%location: slot=31 function=3 dbsf=pci0:0:31:3 > handle=\_SB_.PCI0.HDAS > dev.hdac.0.%driver: hdac > dev.hdac.0.%desc: Intel Comet Lake-LP HDA Controller > dev.hdac.%parent: > > Here is a thread with the exact same issue that didn't get resolved > > https://forums.freebsd.org/threads/no-sound-with-sound-card-intel-comet-lake-pch-lp-cavs.87085/ > > Like I said it's probably impossible but I'm ready for that. I was > advised here that since there are no other nids or pcm's that they > can't do anything > > https://forums.freebsd.org/threads/trying-to-get-headphones-working-on-a-laptop.91214/#post-630964 > > Thanks for looking at it > > ~ Joe B pcm0: is HDMI output and looks like you do not have any other sound adapter in a system. Does your speakers work in Linux as expected? Also please provide us  an output from pciconf -lv command.