Re: Getting Sound to work

2023-12-27 Thread Oleksandr Kryvulia

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,0x9f80-0x9f8f 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,0x9f80-0x9f8f at device 31.3 on pci0
hdac0: PCI card vendor: 0x8086, device: 0x7270
hdac0: HDA Driver Revision: 20120126_0002
hdac0: Config options: on=0x off=0x
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,0x9f80-0x9f8f 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.




Re: Adding my FreeBSD to a Cisco VPN

2023-10-09 Thread Oleksandr Kryvulia

10.10.23 01:38, Ricardo Albarracin B.:


Good afternoon everyone: Could someone guide me to connect to a Cisco 
VPN with two-factor authentication from FreeBSD-13.2? On Linux I use 
Cisco's anyconnect and it has worked, but I wanted to use my machine 
with FreeBSD and I couldn't connect, I tried openvpn, but in the end I 
couldn't, I keep trying. Does anyone know of any tutorial or 
documentation that allows me to resolve my connection? Thank you in 
advance for your time.




I am using security/openconnect to connect a Cisco ASA but no two-factor 
authentication there.