/r/freebsd

Photograph via snooOG

Unofficial subreddit for the FreeBSD Project

Unofficial subreddit for the FreeBSD Project. Project goal:

… to provide a high-quality, open-source UNIX®-like operating system that excels in terms of performance, security, and stability.

Related:


Community highlights:

Other areas of interest:

Header image: adapted from wallpaper art by /u/atlas-ark


Formatting in Reddit:

– please note, indented code blocks are the only form that work on old Reddit; use indents for compatibility.

/r/freebsd

33,211 Subscribers

1

Has anyone successfully daily-driven FreeBSD on an X13 Gen 2 AMD?

Hi everyone,

I've been lurking here for a while and have always wanted to try FreeBSD on my X13 Gen 2 (AMD), but I've heard some concerns about Wi-Fi support.

Does anyone have experience with this setup? Specifically, I’d like to know:

  • How’s the Wi-Fi performance? I’m currently getting around 90 MB/s on Linux. Would FreeBSD match that, or are the speeds capped? I’ve heard about a max speed of ~5 MB/s without using a cable—can anyone confirm or debunk this
  • Does tp or auto-cpufreq work on FreeBSD? If not, are there alternative tools for power and CPU management?

I'd appreciate hearing your experiences or advice. Thanks in advance!

Edit: Forgot to mention, I have an AX200 Wi-Fi card.

4 Comments
2024/12/03
13:51 UTC

1

FreeBSD running in new Tongfang laptops

Hello there!

I'm a long-time Linux user and recently bought a Tongfang-based laptop with an AMD Ryzen 7 7735hs CPU and a RTX 3050 GPU and wanted to try if FreeBSD solves some problems that I'm facing with Linux, like random freezes and graphical glitches on certain DEs.

So, I'm wondering if my hardware is compatible with FreeBSD, I know that many manufacturers build laptops with the Tongfang hardware but I couldn't find any relevant info in the hardware compatibility page.

Thank you very much.

1 Comment
2024/12/03
13:37 UTC

1

Exploring FreeBSD for Minimal Setups

Hi guys,
I was a distro hopper for a year until I found my home with Arch Linux. Recently, I discovered an OS named FreeBSD. What I want to know is whether common Linux apps will work on it.

I have a very minimal setup with just 16 packages, and I’m using an old 2013 Intel ThinkPad. Is it worth trying FreeBSD in my case?

Thanks in advance!

19 Comments
2024/12/03
05:15 UTC

1

iwlwifi⋯: Not associated and the session protection is over already.

Spun off from https://discord.com/channels/727023752348434432/1304863728017080371 (2024-11-09)

iwlwifi0: Not associated and the session protection is over already.

Originally 14.1-release-p5, apparently reproduced with 14.2-BETA2.

During installation of 14.2-RELEASE:

Photograph (copied from Discord, cropped): symptoms whilst using the FreeBSD Installer

I could not find a perfect match in Bugzilla.

The reporter noted:

Windows 11 Device Manager sees it as Intel(R) Wi-Fi 6 AX201 160Mhz

1 Comment
2024/12/03
03:40 UTC

6

nvidia optimus laptop?

i have a system with an nvidia gpu and an integrated intel gpu, how would one use only the nvidia gpu in this case?

10 Comments
2024/12/02
18:50 UTC

38

FreeBSD users what's your opinion about NetBSD?

Other than FreeBSD which is my daily driver I have also used OpenBSD for a brief period. It wasn't bad but it ran a bit slower than FreeBSD on the same hardware.

I have never used NetBSD. I am deliberately asking this question here coz I want to know what FreeBSD users think of NetBD.

Have you used NetBSD? What's your opinion? Pros and cons?

75 Comments
2024/12/02
07:32 UTC

2

How to use Alternative Keyboard Layouts in FreeBSD

I know that you can select the Dvorak layout when installing FreeBSD, however I'm struggling to get it to work on an already working system.
I've tried adding "keymap="us.dvorakx.kbd"" to the rc.conf. That hasn't worked.
The system is running FreeBSD 14.1 with KDE5 Plasma.

Only when I use this command does it change to Dvorak.

setxkbmap -layout us -variant dvorak-alt-intl

But the change is not permanent. How do I make it permanent?

8 Comments
2024/12/01
06:11 UTC

2

Latency/lack of responsiveness Dell touch pad

It looks like I'm seeing the behaviour reported in this bugzilla for a Framework laptop, but in my case, on a Dell Latitude 7420 11th gen Intel i7.

Are others having issues with non-synaptics touchpads? Tap to click is very flaky, hard to aim and overall movement simply isn't smooth or responsive. The same libinput code and settings over on Linux are an entirely different story - smooth, precise, usable, which suggests this should be solvable.

Tested and seen the same behaviour on this laptop with 14.1, 14.2-RC1 and now 14.2-RELEASE (not expecting any differences, just being thorough with fresh, minimal, installs).

0 Comments
2024/12/01
04:53 UTC

5

Alderlake no HDMI audio i915kms

I have an N100 based mini PC https://www.bee-link.com/products/beelink-mini-s12-pro-n100

I installed drm-61-kmod via make install. While video works, I am unable to get audio over HDMI working. Apologies for the long post but any pointers welcome.

$ freebsd-version -ku
14.2-RC1
14.2-RC1

$ sysctl dev.hdaa.0
dev.hdaa.0.init_clear: 0
dev.hdaa.0.reconfig: 0
dev.hdaa.0.gpo_config:  
dev.hdaa.0.gpo_state:  
dev.hdaa.0.gpio_config: 0=keep 1=keep 2=keep 3=keep 4=keep
dev.hdaa.0.gpio_state: 0=disabled 1=disabled 2=disabled 3=disabled 4=disabled
dev.hdaa.0.gpi_state:  
dev.hdaa.0.config: forcestereo,ivref50,ivref80,ivref100,ivref,vref
dev.hdaa.0.nid38: audio mixer [DISABLED]
Widget cap: 0x0020010b STEREO
   Association: -2 (0x0000)
Input amp: 0x80000000 mute=1 step=0 size=0 offset=0 (0/0dB)
   Connections: 2
+ [DISABLED] <- nid=37 [audio output] [DISABLED]
+ [DISABLED] <- nid=11 [audio mixer]

dev.hdaa.0.nid37: audio output [DISABLED]
Widget cap: 0x0000041d PWR STEREO
Stream cap: 0x00000001 PCM
PCM cap: 0x000e0560 16 20 24 bits, 44 48 96 192 KHz
Output amp: 0x00025757 mute=0 step=87 size=2 offset=87 (-65/0dB)

dev.hdaa.0.nid36: vendor widget [DISABLED]
Widget cap: 0x00f00000

dev.hdaa.0.nid35: audio mixer
Widget cap: 0x0020010b STEREO
   Association: 2 (0x8001)
OSS: speaker, line, mic, mix
Input amp: 0x80000000 mute=1 step=0 size=0 offset=0 (0/0dB)
   Connections: 11
+ <- nid=24 [pin: Mic (Pink Jack)]
+ [DISABLED] <- nid=25 [pin: Mic (Pink Jack)]
+ <- nid=26 [pin: Line-in (Blue Jack)]
+ [DISABLED] <- nid=27 [pin: Headphones (Green Jack)]
+ [DISABLED] <- nid=28 [pin: Speaker (None)] [DISABLED]
+ <- nid=29 [beep widget]
+ [DISABLED] <- nid=20 [pin: Line-out (Green Jack)]
+ [DISABLED] <- nid=21 [pin: Speaker (None)] [DISABLED]
+ [DISABLED] <- nid=22 [pin: Speaker (None)] [DISABLED]
+ [DISABLED] <- nid=23 [pin: Speaker (None)] [DISABLED]
+ <- nid=11 [audio mixer]

dev.hdaa.0.nid34: audio mixer
Widget cap: 0x0020010b STEREO
   Association: 3 (0x0001)
OSS: speaker, monitor
Input amp: 0x80000000 mute=1 step=0 size=0 offset=0 (0/0dB)
   Connections: 12
+ [DISABLED] <- nid=24 [pin: Mic (Pink Jack)]
+ <- nid=25 [pin: Mic (Pink Jack)]
+ [DISABLED] <- nid=26 [pin: Line-in (Blue Jack)]
+ [DISABLED] <- nid=27 [pin: Headphones (Green Jack)]
+ [DISABLED] <- nid=28 [pin: Speaker (None)] [DISABLED]
+ <- nid=29 [beep widget]
+ [DISABLED] <- nid=20 [pin: Line-out (Green Jack)]
+ [DISABLED] <- nid=21 [pin: Speaker (None)] [DISABLED]
+ [DISABLED] <- nid=22 [pin: Speaker (None)] [DISABLED]
+ [DISABLED] <- nid=23 [pin: Speaker (None)] [DISABLED]
+ [DISABLED] <- nid=11 [audio mixer]
+ [DISABLED] <- nid=18 [pin: Speaker (None)] [DISABLED]

dev.hdaa.0.nid33: vendor widget [DISABLED]
Widget cap: 0x00f00000

dev.hdaa.0.nid32: vendor widget [DISABLED]
Widget cap: 0x00f00040 PROC

dev.hdaa.0.nid31_original: 0x411111f0 as=15 seq=0 device=Speaker conn=None ctype=1/8 loc=Rear co
lor=Black misc=1
dev.hdaa.0.nid31_config: 0x411111f0 as=15 seq=0 device=Speaker conn=None ctype=1/8 loc=Rear colo
r=Black misc=1
dev.hdaa.0.nid31: pin: Speaker (None) [DISABLED]
Widget cap: 0x00400681 PWR DIGITAL UNSOL STEREO
Pin cap: 0x00000020 IN
Pin config: 0x411111f0 as=15 seq=0 device=Speaker conn=None ctype=1/8 loc=Rear color=Black
misc=1
   Pin control: 0x00000020 IN

dev.hdaa.0.nid30_original: 0x411111f0 as=15 seq=0 device=Speaker conn=None ctype=1/8 loc=Rear co
lor=Black misc=1
dev.hdaa.0.nid30_config: 0x011111f0 as=15 seq=0 device=Speaker conn=Jack ctype=1/8 loc=Rear colo
r=Black misc=1
dev.hdaa.0.nid30: pin: Speaker (Black Jack)
Widget cap: 0x00400781 PWR DIGITAL UNSOL STEREO
   Association: 4 (0x0001)
Pin cap: 0x00000010 OUT
Pin config: 0x011111f0 as=15 seq=0 device=Speaker conn=Jack ctype=1/8 loc=Rear color=Black
misc=1
   Pin control: 0x00000040 OUT
   Connections: 1
+ <- nid=6 [audio output]

dev.hdaa.0.nid29_original: 0x4024c601 as=0 seq=1 device=Headphones conn=None ctype=RCA loc=0x00
color=Res.C misc=6
dev.hdaa.0.nid29_config: 0x4024c601 as=0 seq=1 device=Headphones conn=None ctype=RCA loc=0x00 co
lor=Res.C misc=6
dev.hdaa.0.nid29: beep widget
Widget cap: 0x00700400 PWR
   Association: -2 (0x0000)
OSS: speaker (speaker)
Pin cap: 0x00000020 IN
Pin config: 0x4024c601 as=0 seq=1 device=Headphones conn=None ctype=RCA loc=0x00 color=Res.
C misc=6
   Pin control: 0x00000020 IN

dev.hdaa.0.nid28_original: 0x411111f0 as=15 seq=0 device=Speaker conn=None ctype=1/8 loc=Rear co
lor=Black misc=1
dev.hdaa.0.nid28_config: 0x411111f0 as=15 seq=0 device=Speaker conn=None ctype=1/8 loc=Rear colo
r=Black misc=1
dev.hdaa.0.nid28: pin: Speaker (None) [DISABLED]
Widget cap: 0x00400481 PWR UNSOL STEREO
Pin cap: 0x00000020 IN
Pin config: 0x411111f0 as=15 seq=0 device=Speaker conn=None ctype=1/8 loc=Rear color=Black
misc=1
   Pin control: 0x00000020 IN

dev.hdaa.0.nid27_original: 0x02214020 as=2 seq=0 device=Headphones conn=Jack ctype=1/8 loc=Front
color=Green misc=0
dev.hdaa.0.nid27_config: 0x02214020 as=2 seq=0 device=Headphones conn=Jack ctype=1/8 loc=Front c
olor=Green misc=0
dev.hdaa.0.nid27: pin: Headphones (Green Jack)
Widget cap: 0x0040058f PWR UNSOL STEREO
   Association: 1 (0x0001)
Pin cap: 0x0001373e TRQD PDC HP OUT IN VREF[ 50 80 100 GROUND HIZ ] EAPD
Pin config: 0x02214020 as=2 seq=0 device=Headphones conn=Jack ctype=1/8 loc=Front color=Gre
en misc=0
   Pin control: 0x000000e0 HP IN OUT
EAPD: 0x00000002 EAPD
Output amp: 0x80000000 mute=1 step=0 size=0 offset=0 (0/0dB)
Input amp: 0x00270300 mute=0 step=3 size=39 offset=0 (0/30dB)
   Connections: 5
+ [DISABLED] <- nid=12 [audio mixer]
+ <- nid=13 [audio mixer] (selected)
+ [DISABLED] <- nid=14 [audio mixer] [DISABLED]
+ [DISABLED] <- nid=15 [audio mixer] [DISABLED]
+ [DISABLED] <- nid=38 [audio mixer] [DISABLED]

dev.hdaa.0.nid26_original: 0x0181303f as=3 seq=15 device=Line-in conn=Jack ctype=1/8 loc=Rear co
lor=Blue misc=0
dev.hdaa.0.nid26_config: 0x0181303f as=3 seq=15 device=Line-in conn=Jack ctype=1/8 loc=Rear colo
r=Blue misc=0
dev.hdaa.0.nid26: pin: Line-in (Blue Jack)
Widget cap: 0x0040058f PWR UNSOL STEREO
   Association: 2 (0x8000)
OSS: line (line)
Pin cap: 0x00003736 TRQD PDC OUT IN VREF[ 50 80 100 GROUND HIZ ]
Pin config: 0x0181303f as=3 seq=15 device=Line-in conn=Jack ctype=1/8 loc=Rear color=Blue m
isc=0
   Pin control: 0x00000025 IN VREFs
Output amp: 0x80000000 mute=1 step=0 size=0 offset=0 (0/0dB)
Input amp: 0x00270300 mute=0 step=3 size=39 offset=0 (0/30dB)
   Connections: 5
+ [DISABLED] <- nid=12 [audio mixer] (selected)
+ [DISABLED] <- nid=13 [audio mixer]
+ [DISABLED] <- nid=14 [audio mixer] [DISABLED]
+ [DISABLED] <- nid=15 [audio mixer] [DISABLED]
+ [DISABLED] <- nid=38 [audio mixer] [DISABLED]

dev.hdaa.0.nid25_original: 0x02a19040 as=4 seq=0 device=Mic conn=Jack ctype=1/8 loc=Front color=
Pink misc=0
dev.hdaa.0.nid25_config: 0x02a19040 as=4 seq=0 device=Mic conn=Jack ctype=1/8 loc=Front color=Pi
nk misc=0
dev.hdaa.0.nid25: pin: Mic (Pink Jack)
Widget cap: 0x0040058f PWR UNSOL STEREO
   Association: 3 (0x0001)
OSS: monitor (monitor)
Pin cap: 0x0000373e TRQD PDC HP OUT IN VREF[ 50 80 100 GROUND HIZ ]
Pin config: 0x02a19040 as=4 seq=0 device=Mic conn=Jack ctype=1/8 loc=Front color=Pink misc=
0
   Pin control: 0x00000025 IN VREFs
Output amp: 0x80000000 mute=1 step=0 size=0 offset=0 (0/0dB)
Input amp: 0x00270300 mute=0 step=3 size=39 offset=0 (0/30dB)
   Connections: 5
+ [DISABLED] <- nid=12 [audio mixer] (selected)
+ [DISABLED] <- nid=13 [audio mixer]
+ [DISABLED] <- nid=14 [audio mixer] [DISABLED]
+ [DISABLED] <- nid=15 [audio mixer] [DISABLED]
+ [DISABLED] <- nid=38 [audio mixer] [DISABLED]

dev.hdaa.0.nid24_original: 0x01a19030 as=3 seq=0 device=Mic conn=Jack ctype=1/8 loc=Rear color=P
ink misc=0
dev.hdaa.0.nid24_config: 0x01a19030 as=3 seq=0 device=Mic conn=Jack ctype=1/8 loc=Rear color=Pin
k misc=0
dev.hdaa.0.nid24: pin: Mic (Pink Jack)
Widget cap: 0x0040058f PWR UNSOL STEREO
   Association: 2 (0x0001)
OSS: mic (mic)
Pin cap: 0x00003736 TRQD PDC OUT IN VREF[ 50 80 100 GROUND HIZ ]
Pin config: 0x01a19030 as=3 seq=0 device=Mic conn=Jack ctype=1/8 loc=Rear color=Pink misc=0
   Pin control: 0x00000025 IN VREFs
Output amp: 0x80000000 mute=1 step=0 size=0 offset=0 (0/0dB)
Input amp: 0x00270300 mute=0 step=3 size=39 offset=0 (0/30dB)
   Connections: 5
+ [DISABLED] <- nid=12 [audio mixer] (selected)
+ [DISABLED] <- nid=13 [audio mixer]
+ [DISABLED] <- nid=14 [audio mixer] [DISABLED]
+ [DISABLED] <- nid=15 [audio mixer] [DISABLED]
+ [DISABLED] <- nid=38 [audio mixer] [DISABLED]

dev.hdaa.0.nid23_original: 0x411111f0 as=15 seq=0 device=Speaker conn=None ctype=1/8 loc=Rear co
lor=Black misc=1
dev.hdaa.0.nid23_config: 0x411111f0 as=15 seq=0 device=Speaker conn=None ctype=1/8 loc=Rear colo
r=Black misc=1
dev.hdaa.0.nid23: pin: Speaker (None) [DISABLED]
Widget cap: 0x0040058d PWR UNSOL STEREO
Pin cap: 0x00000036 TRQD PDC OUT IN
Pin config: 0x411111f0 as=15 seq=0 device=Speaker conn=None ctype=1/8 loc=Rear color=Black
misc=1
   Pin control: 0x00000020 IN
Output amp: 0x80000000 mute=1 step=0 size=0 offset=0 (0/0dB)
   Connections: 1
+ [DISABLED] <- nid=15 [audio mixer] [DISABLED]

dev.hdaa.0.nid22_original: 0x411111f0 as=15 seq=0 device=Speaker conn=None ctype=1/8 loc=Rear co
lor=Black misc=1
dev.hdaa.0.nid22_config: 0x411111f0 as=15 seq=0 device=Speaker conn=None ctype=1/8 loc=Rear colo
r=Black misc=1
dev.hdaa.0.nid22: pin: Speaker (None) [DISABLED]
Widget cap: 0x0040058d PWR UNSOL STEREO
Pin cap: 0x00000036 TRQD PDC OUT IN
Pin config: 0x411111f0 as=15 seq=0 device=Speaker conn=None ctype=1/8 loc=Rear color=Black
misc=1
   Pin control: 0x00000020 IN
Output amp: 0x80000000 mute=1 step=0 size=0 offset=0 (0/0dB)
   Connections: 1
+ [DISABLED] <- nid=14 [audio mixer] [DISABLED]

dev.hdaa.0.nid21_original: 0x411111f0 as=15 seq=0 device=Speaker conn=None ctype=1/8 loc=Rear co
lor=Black misc=1
dev.hdaa.0.nid21_config: 0x411111f0 as=15 seq=0 device=Speaker conn=None ctype=1/8 loc=Rear colo
r=Black misc=1
dev.hdaa.0.nid21: pin: Speaker (None) [DISABLED]
Widget cap: 0x0040058d PWR UNSOL STEREO
Pin cap: 0x00000036 TRQD PDC OUT IN
Pin config: 0x411111f0 as=15 seq=0 device=Speaker conn=None ctype=1/8 loc=Rear color=Black
misc=1
   Pin control: 0x00000020 IN
Output amp: 0x80000000 mute=1 step=0 size=0 offset=0 (0/0dB)
   Connections: 1
+ [DISABLED] <- nid=13 [audio mixer]

dev.hdaa.0.nid20_original: 0x01014010 as=1 seq=0 device=Line-out conn=Jack ctype=1/8 loc=Rear co
lor=Green misc=0
dev.hdaa.0.nid20_config: 0x01014010 as=1 seq=0 device=Line-out conn=Jack ctype=1/8 loc=Rear colo
r=Green misc=0
dev.hdaa.0.nid20: pin: Line-out (Green Jack)
Widget cap: 0x0040058d PWR UNSOL STEREO
   Association: 0 (0x0001)
Pin cap: 0x0001003e TRQD PDC HP OUT IN EAPD
Pin config: 0x01014010 as=1 seq=0 device=Line-out conn=Jack ctype=1/8 loc=Rear color=Green
misc=0
   Pin control: 0x00000060 IN OUT
EAPD: 0x00000002 EAPD
Output amp: 0x80000000 mute=1 step=0 size=0 offset=0 (0/0dB)
   Connections: 1
+ <- nid=12 [audio mixer]

dev.hdaa.0.nid19: vendor widget [DISABLED]
Widget cap: 0x00f00000

dev.hdaa.0.nid18_original: 0x411111f0 as=15 seq=0 device=Speaker conn=None ctype=1/8 loc=Rear co
lor=Black misc=1
dev.hdaa.0.nid18_config: 0x411111f0 as=15 seq=0 device=Speaker conn=None ctype=1/8 loc=Rear colo
r=Black misc=1
dev.hdaa.0.nid18: pin: Speaker (None) [DISABLED]
Widget cap: 0x00400401 PWR STEREO
Pin cap: 0x00000020 IN
Pin config: 0x411111f0 as=15 seq=0 device=Speaker conn=None ctype=1/8 loc=Rear color=Black
misc=1
   Pin control: 0x00000000

dev.hdaa.0.nid17_original: 0x4017c040 as=4 seq=0 device=Speaker conn=None ctype=Analog loc=0x00
color=Res.C misc=0
dev.hdaa.0.nid17_config: 0x4017c040 as=4 seq=0 device=Speaker conn=None ctype=Analog loc=0x00 co
lor=Res.C misc=0
dev.hdaa.0.nid17: pin: Speaker (None) [DISABLED]
Widget cap: 0x00400781 PWR DIGITAL UNSOL STEREO
Pin cap: 0x00000010 OUT
Pin config: 0x4017c040 as=4 seq=0 device=Speaker conn=None ctype=Analog loc=0x00 color=Res.
C misc=0
   Pin control: 0x00000040 OUT
   Connections: 1
+ <- nid=16 [audio output] [DISABLED]

dev.hdaa.0.nid16: audio output [DISABLED]
Widget cap: 0x00000611 PWR DIGITAL STEREO
Stream cap: 0x00000001 PCM
PCM cap: 0x000e05f0 16 20 24 bits, 32 44 48 88 96 192 KHz

dev.hdaa.0.nid15: audio mixer [DISABLED]
Widget cap: 0x0020010b STEREO
   Association: -2 (0x0000)
Input amp: 0x80000000 mute=1 step=0 size=0 offset=0 (0/0dB)
   Connections: 2
+ [DISABLED] <- nid=5 [audio output] [DISABLED]
+ [DISABLED] <- nid=11 [audio mixer]

dev.hdaa.0.nid14: audio mixer [DISABLED]
Widget cap: 0x0020010b STEREO
   Association: -2 (0x0000)
Input amp: 0x80000000 mute=1 step=0 size=0 offset=0 (0/0dB)
   Connections: 2
+ [DISABLED] <- nid=4 [audio output] [DISABLED]
+ [DISABLED] <- nid=11 [audio mixer]

dev.hdaa.0.nid13: audio mixer
Widget cap: 0x0020010b STEREO
   Association: 1 (0x0001)
OSS: pcm, mix
Input amp: 0x80000000 mute=1 step=0 size=0 offset=0 (0/0dB)
   Connections: 2
+ <- nid=3 [audio output]
+ <- nid=11 [audio mixer]

dev.hdaa.0.nid12: audio mixer
Widget cap: 0x0020010b STEREO
   Association: 0 (0x0001)
OSS: pcm, mix
Input amp: 0x80000000 mute=1 step=0 size=0 offset=0 (0/0dB)
   Connections: 2
+ <- nid=2 [audio output]
+ <- nid=11 [audio mixer]

dev.hdaa.0.nid11: audio mixer
Widget cap: 0x0020010b STEREO
   Association: 2 (0x8001)
OSS: mix (mix)
Input amp: 0x80051f17 mute=1 step=31 size=5 offset=23 (-34/12dB)
   Connections: 10
+ <- nid=24 [pin: Mic (Pink Jack)]
+ [DISABLED] <- nid=25 [pin: Mic (Pink Jack)]
+ <- nid=26 [pin: Line-in (Blue Jack)]
+ [DISABLED] <- nid=27 [pin: Headphones (Green Jack)]
+ [DISABLED] <- nid=28 [pin: Speaker (None)] [DISABLED]
+ <- nid=29 [beep widget]
+ [DISABLED] <- nid=20 [pin: Line-out (Green Jack)]
+ [DISABLED] <- nid=21 [pin: Speaker (None)] [DISABLED]
+ [DISABLED] <- nid=22 [pin: Speaker (None)] [DISABLED]
+ [DISABLED] <- nid=23 [pin: Speaker (None)] [DISABLED]

dev.hdaa.0.nid10: audio input [DISABLED]
Widget cap: 0x00100711 PWR DIGITAL STEREO
Stream cap: 0x00000001 PCM
PCM cap: 0x000e0560 16 20 24 bits, 44 48 96 192 KHz
   Connections: 1
+ [DISABLED] <- nid=31 [pin: Speaker (None)] [DISABLED]

dev.hdaa.0.nid9: audio input
Widget cap: 0x0010051b PWR STEREO
   Association: 3 (0x0001)
Stream cap: 0x00000001 PCM
PCM cap: 0x000e0560 16 20 24 bits, 44 48 96 192 KHz
Input amp: 0x80023f17 mute=1 step=63 size=2 offset=23 (-17/30dB)
   Connections: 1
+ <- nid=34 [audio mixer]

dev.hdaa.0.nid8: audio input
Widget cap: 0x0010051b PWR STEREO
   Association: 2 (0x8001)
Stream cap: 0x00000001 PCM
PCM cap: 0x000e0560 16 20 24 bits, 44 48 96 192 KHz
Input amp: 0x80023f17 mute=1 step=63 size=2 offset=23 (-17/30dB)
   Connections: 1
+ <- nid=35 [audio mixer]

dev.hdaa.0.nid7: audio input [DISABLED]
Widget cap: 0x0010051b PWR STEREO
Stream cap: 0x00000001 PCM
PCM cap: 0x000e0560 16 20 24 bits, 44 48 96 192 KHz
Input amp: 0x80023f17 mute=1 step=63 size=2 offset=23 (-17/30dB)
   Connections: 1
+ [DISABLED] <- nid=18 [pin: Speaker (None)] [DISABLED]

dev.hdaa.0.nid6: audio output
Widget cap: 0x00000611 PWR DIGITAL STEREO
   Association: 4 (0x0001)
OSS: pcm (pcm)
Stream cap: 0x00000001 PCM
PCM cap: 0x000e05f0 16 20 24 bits, 32 44 48 88 96 192 KHz

dev.hdaa.0.nid5: audio output [DISABLED]
Widget cap: 0x0000041d PWR STEREO
Stream cap: 0x00000001 PCM
PCM cap: 0x000e0560 16 20 24 bits, 44 48 96 192 KHz
Output amp: 0x00025757 mute=0 step=87 size=2 offset=87 (-65/0dB)

dev.hdaa.0.nid4: audio output [DISABLED]
Widget cap: 0x0000041d PWR STEREO
Stream cap: 0x00000001 PCM
PCM cap: 0x000e0560 16 20 24 bits, 44 48 96 192 KHz
Output amp: 0x00025757 mute=0 step=87 size=2 offset=87 (-65/0dB)

dev.hdaa.0.nid3: audio output
Widget cap: 0x0000041d PWR STEREO
   Association: 1 (0x0001)
OSS: pcm (pcm)
Stream cap: 0x00000001 PCM
PCM cap: 0x000e0560 16 20 24 bits, 44 48 96 192 KHz
Output amp: 0x00025757 mute=0 step=87 size=2 offset=87 (-65/0dB)

dev.hdaa.0.nid2: audio output
Widget cap: 0x0000041d PWR STEREO
   Association: 0 (0x0001)
OSS: pcm (pcm)
Stream cap: 0x00000001 PCM
PCM cap: 0x000e0560 16 20 24 bits, 44 48 96 192 KHz
Output amp: 0x00025757 mute=0 step=87 size=2 offset=87 (-65/0dB)

dev.hdaa.0.%iommu:  
dev.hdaa.0.%parent: hdacc0
dev.hdaa.0.%pnpinfo: type=0x01 subsystem=0x10ec0000
dev.hdaa.0.%location: nid=1
dev.hdaa.0.%driver: hdaa
dev.hdaa.0.%desc: Realtek ALC897 Audio Function Group

$ dmesg | grep drm
[drm] Got Intel graphics stolen memory base 0x7c800000, size 0x3c00000
drmn0: <drmn> on vgapci0
vgapci0: child drmn0 requested pci_enable_io
vgapci0: child drmn0 requested pci_enable_io
drmn0: successfully loaded firmware image 'i915/adlp_dmc_ver2_16.bin'
lkpi_iic0: <LinuxKPI I2C> on drmn0
lkpi_iic1: <LinuxKPI I2C> on drmn0
lkpi_iic2: <LinuxKPI I2C> on drmn0
lkpi_iic3: <LinuxKPI I2C> on drmn0
lkpi_iic4: <LinuxKPI I2C> on drmn0
lkpi_iic5: <LinuxKPI I2C> on drmn0
lkpi_iic6: <LinuxKPI I2C> on drmn0
lkpi_iic7: <LinuxKPI I2C> on drmn0
lkpi_iic8: <LinuxKPI I2C> on drmn0
drmn0: [drm] Finished loading DMC firmware i915/adlp_dmc_ver2_16.bin (v2.16)
[drm] Initialized i915 1.6.0 20201103 for drmn0 on minor 0
VT: Replacing driver "efifb" with new "drmfb".
drmn0: [drm] Reducing the compressed framebuffer size. This may lead to less power savings than
a non-reduced-size. Try to increase stolen memory size if available in BIOS.
name=drmn0 id=i915drmfb flags=0x0 stride=13760
drmn0: [drm] *ERROR* Timed out waiting for DSB workload completion.

$ cat /dev/sndstat
Installed devices:
pcm0: <Realtek ALC897 (Rear Analog)> (play/rec) default
pcm1: <Realtek ALC897 (Front Analog)> (play/rec)
pcm2: <Realtek ALC897 (Rear Digital)> (play)
No devices installed from userspace.

$ pciconf -lv | more
hostb0@pci0:0:0:0:      class=0x060000 rev=0x00 hdr=0x00 vendor=0x8086 device=0x461c subvendor=0
x8086 subdevice=0x7270
   vendor     = 'Intel Corporation'
   class      = bridge
   subclass   = HOST-PCI
vgapci0@pci0:0:2:0:     class=0x030000 rev=0x00 hdr=0x00 vendor=0x8086 device=0x46d1 subvendor=0
x8086 subdevice=0x7270
   vendor     = 'Intel Corporation'
   device     = 'Alder Lake-N [UHD Graphics]'
   class      = display
   subclass   = VGA
xhci0@pci0:0:20:0:      class=0x0c0330 rev=0x00 hdr=0x00 vendor=0x8086 device=0x54ed subvendor=0
x8086 subdevice=0x7270
   vendor     = 'Intel Corporation'
   device     = 'Alder Lake-N PCH USB 3.2 xHCI Host Controller'
   class      = serial bus
   subclass   = USB
none0@pci0:0:20:2:      class=0x050000 rev=0x00 hdr=0x00 vendor=0x8086 device=0x54ef subvendor=0
x8086 subdevice=0x7270
   vendor     = 'Intel Corporation'
   device     = 'Alder Lake-N PCH Shared SRAM'
   class      = memory
   subclass   = RAM
iwlwifi0@pci0:0:20:3:   class=0x028000 rev=0x00 hdr=0x00 vendor=0x8086 device=0x54f0 subvendor=0
x8086 subdevice=0x0244
   vendor     = 'Intel Corporation'
   device     = 'CNVi: Wi-Fi'
   class      = network
ig4iic0@pci0:0:21:0:    class=0x0c8000 rev=0x00 hdr=0x00 vendor=0x8086 device=0x54e8 subvendor=0
x8086 subdevice=0x7270
   vendor     = 'Intel Corporation'
   class      = serial bus
ig4iic1@pci0:0:21:1:    class=0x0c8000 rev=0x00 hdr=0x00 vendor=0x8086 device=0x54e9 subvendor=0
x8086 subdevice=0x7270
   vendor     = 'Intel Corporation'
   class      = serial bus
none1@pci0:0:22:0:      class=0x078000 rev=0x00 hdr=0x00 vendor=0x8086 device=0x54e0 subvendor=0
x8086 subdevice=0x7270
   vendor     = 'Intel Corporation'
   device     = 'Alder Lake-N PCH HECI Controller'
   class      = simple comms
ig4iic2@pci0:0:25:0:    class=0x0c8000 rev=0x00 hdr=0x00 vendor=0x8086 device=0x54c5 subvendor=0
x8086 subdevice=0x7270
   vendor     = 'Intel Corporation'
   class      = serial bus
ig4iic3@pci0:0:25:1:    class=0x0c8000 rev=0x00 hdr=0x00 vendor=0x8086 device=0x54c6 subvendor=0
x8086 subdevice=0x7270
   vendor     = 'Intel Corporation'
   class      = serial bus
pcib1@pci0:0:28:0:      class=0x060400 rev=0x00 hdr=0x01 vendor=0x8086 device=0x54be subvendor=0
x8086 subdevice=0x7270
   vendor     = 'Intel Corporation'
   class      = bridge
   subclass   = PCI-PCI
pcib2@pci0:0:29:0:      class=0x060400 rev=0x00 hdr=0x01 vendor=0x8086 device=0x54b2 subvendor=0
x8086 subdevice=0x7270
   vendor     = 'Intel Corporation'
   device     = 'Alder Lake-N PCI Express Root Port'
   class      = bridge
   subclass   = PCI-PCI
none2@pci0:0:30:0:      class=0x078000 rev=0x00 hdr=0x00 vendor=0x8086 device=0x54a8 subvendor=0
x8086 subdevice=0x7270
   vendor     = 'Intel Corporation'
   device     = 'Alder Lake-N Serial IO UART Host Controller'
   class      = simple comms
none3@pci0:0:30:3:      class=0x0c8000 rev=0x00 hdr=0x00 vendor=0x8086 device=0x54ab subvendor=0
x8086 subdevice=0x7270
   vendor     = 'Intel Corporation'
   class      = serial bus
isab0@pci0:0:31:0:      class=0x060100 rev=0x00 hdr=0x00 vendor=0x8086 device=0x5481 subvendor=0
x8086 subdevice=0x7270
   vendor     = 'Intel Corporation'
   device     = 'Alder Lake-N PCH eSPI Controller'
   class      = bridge
   subclass   = PCI-ISA
hdac0@pci0:0:31:3:      class=0x040300 rev=0x00 hdr=0x00 vendor=0x8086 device=0x54c8 subvendor=0
x8086 subdevice=0x7270
   vendor     = 'Intel Corporation'
   device     = 'Alder Lake-N PCH High Definition Audio Controller'
   class      = multimedia
   subclass   = HDA
ichsmb0@pci0:0:31:4:    class=0x0c0500 rev=0x00 hdr=0x00 vendor=0x8086 device=0x54a3 subvendor=0
x8086 subdevice=0x7270
   vendor     = 'Intel Corporation'
   device     = 'Alder Lake-N SMBus'
   class      = serial bus
   subclass   = SMBus
none4@pci0:0:31:5:      class=0x0c8000 rev=0x00 hdr=0x00 vendor=0x8086 device=0x54a4 subvendor=0
x8086 subdevice=0x7270
   vendor     = 'Intel Corporation'
   device     = 'Alder Lake-N SPI (flash) Controller'
   class      = serial bus
re0@pci0:1:0:0: class=0x020000 rev=0x15 hdr=0x00 vendor=0x10ec device=0x8168 subvendor=0x10ec su
bdevice=0x0123
   vendor     = 'Realtek Semiconductor Co., Ltd.'
   device     = 'RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet Controller'
   class      = network
   subclass   = ethernet
nvme0@pci0:2:0:0:       class=0x010802 rev=0x01 hdr=0x00 vendor=0x1e4b device=0x1202 subvendor=0
x1e4b subdevice=0x1202
   vendor     = 'MAXIO Technology (Hangzhou) Ltd.'
   device     = 'NVMe SSD Controller MAP1202 (DRAM-less)'
   class      = mass storage
   subclass   = NVM

9 Comments
2024/11/30
18:23 UTC

4

No ACPI S0/S4 support, no S3 available. Options?

I have a Dell Latitude 7420, 11th gen Intel i7. The device supports S0, S4 and S5 - each are handled on Windows and Linux. S0 is a low power mode and while not as good as S3, and in practice on Linux has worked very well on this device.

0.169186] ACPI: PM: (supports S0 S4 S5)

On FreeBSD (14.1, 14.2-RC1) only S4 and S5 states show up as available:

hw.acpi.supported_sleep_state: S4 S5

S0 is notably absent, and S4 (hibernation), according to the Handbook, is not currently usable on today's FreeBSD.

Some notably large laptop makers have only been providing S0, S4, S5 support in recent years. With that backdrop, S0 support becomes rather important for mobile FreeBSD (and other OS) users.

Does anyone know if there is work to support S0 and, ideally also S4, as part of the recently announced laptop usability project?

9 Comments
2024/11/28
17:59 UTC

12

Installing packages with the installer for FreeBSD – November 2024

2 Comments
2024/11/28
01:59 UTC

5

can't partition drive.

i'm installing freebsd on an imac g4. the installation runs fine up until the point where i need to format my system drive. when i get to that point i have to choose APM because it's the only bootable partition scheme the mac can boot. the installer says that it doesn't have permission to select the partition scheme. how can i fix this?

6 Comments
2024/11/28
01:04 UTC

8

Intel® Wireless 7260

FreeBSD manual pages list three types:

  • Dual Band Wireless AC 7260
  • Dual Band Wireless N 7260
  • Wireless N 7260.

Early test results suggest that for mine to work with iwlwifi:

  1. if_iwm must be in the devmatch_blocklist
  2. if_iwlwifi should load automatically
  3. if_iwlwifimust not be the final module in kld_list.

Questions

Does any other user of a 7260 have it working with iwlwifi with a variation from points 1–3 above?

If so, please state:

  • the PCI ID, to help identify which of the three types is present
  • the exact version of FreeBSD
  • whether your port packages are from latest or quarterly

– and so on. Thanks.

References

iwlwifi(4) and iwm(4), CURRENT and RELEASE:

rc.conf(5)

sysrc(8)

My environment

HW probe of HP ZBook 17 G2 #c8d95da1f8

12 Comments
2024/11/26
06:59 UTC

1

Linux Flatpak Apps on FreeBSD

There is a software that is distributed only as a Linux flatpak, I could use linuxanlator but it doesn't support flatpaks, I cannot install it from pkg. All I want is the ability to run flatpaks on FreeBSD, i'm fine without the sandboxing and other things.

Is there any way for me to do this?

16 Comments
2024/11/25
21:59 UTC

6

Electron and related ports

Electron 32

devel/electron32

Ports that require version 32 include:

Please be patient whilst packages are built and made available in the Project's repositories.

For FreeBSD 15.0-CURRENT on AMD64: https://pkg-status.freebsd.org/beefy18/build.html?mastername=main-amd64-default&build=p6df70458f823_se0bf7bc3b2b is done, packaging of all three ports succeeded. And so on.

Electron 33

devel/electron33

6 Comments
2024/11/25
06:11 UTC

3

Intel Wifi Driver. Advice please.

Hello. I am trying to install FreeBSD on a laptop. I was able to easily install OpenBSD on the laptop. I have a simple installation of FreeBSD so far, with ZFS and Ethernet.

Round 1. I set up Wifi. The result would not pass DHCP, and yet prevented the Ethernet from working.

Round 2. I didn't set up Wifi, just Ethernet. I can ping bbc.co.uk. However, I am having difficulty setting up WiFi.

ifconfig                 # Ethernet, em0 and lo0, nothing else
pciconf -lbcev           # Centrino Advanced-N 6205 [Taylor Peak]
dmesg | grep Centrino    # the interface is iwn0
kldload if_iwn           # Module already loaded!

So the interface is iwn0, but this is not mentioned in ifconfig, and the module appears to already be loaded. Is this a driver problem ?

7 Comments
2024/11/24
22:09 UTC

0

FreeBSD ― ZFS ― performance

ZFS only. A seven-day poll, for people who do not use UFS.

Ignore the conventional wisdom, if you're willing …

vfs.read_max=0

– in /etc/sysctl.conf

Restart the OS. Let it all go – just use the OS as normal – for a few days.

For now, resist the temptation to measure or gather statistics.

Holistically, how did the OS feel?

View Poll

8 Comments
2024/11/24
07:46 UTC

8

Share your Experiences with FreeBSD

Hello everyone, i just wanted to open this thread to get some experience reports about FreeBSD For what did/do you use the OS? For how long did you use it? Did you encounter any difficulties? Any advantages / disadvantages over linux you noticed? Just share your thoughts and experiences, i am very curious

I myself have had quite good experiences with FreeBSD, but i want to widen my perspective about the whole Linux/BSD war

View Poll

46 Comments
2024/11/23
18:00 UTC

25

S.T.A.L.K.E.R. 2: Heart of Chornobyl » FreeBSD Wine Gaming

8 Comments
2024/11/23
13:06 UTC

187

FreeBSD on old Thinkpad

GhostBSD running on my old x230, love this laptop

24 Comments
2024/11/23
03:36 UTC

3

ADB server does not ACK if it is launched inside Linux chrooted / jailed / emulated with the Linuxulator

Hello to everyone.

I'm trying to connect to my mobile phone using adb over wifi using the Linuxulator because I want to install a specific java application that requires Linux to work. I have already used Linux virtualized with bhyve and it worked. But I prefer to save some memory trying to use the Linuxulator instead of starting a vm,if possible. I've already tried to run the app using java installed natively on FreeBSD,but it fails because it wasn't designed for this. So :

[root@noble /]==> adb connect 192.168.1.2:5555

* daemon not running. starting it now on port 5037 *
cannot bind 'tcp:5037'
ADB server didn't ACK
* failed to start daemon *
error: cannot connect to daemon

that's the error that I get. I'm not sure if I can use some trick or if there is anything that I can do because the Linuxulator does not support that in any way. Instead,if I launch it directly in FreeBSD,it works :

[root@marietto /home/marietto]==> adb connect 192.168.1.2:5555

* daemon not running; starting now at tcp:5037
* daemon started successfully
connected to 192.168.1.2:5555

The problem is that the java app does not recognizes that the adb server is working :

[root@noble /home/marietto/Desktop/Files/OS/Linux/Tools/DeskDockServer_1.3.0]==> java -jar DeskDockServer_1.3.0.jar

Program: DeskDockServer 1.3.0
System: Linux 5.15.0, amd64
JRE: 21.0.5+11-Ubuntu-1ubuntu124.04
AdbLocator: Found ADB in env PATH
class com.floriandraschbacher.deskdockserver.Main: 
Using ADB from /usr/bin/adb
ab@3f95b479: Error getting devices: 
ADB server didn't ACK
q$b@31524dfb: Error getting ADB devices: 
java.io.IOException: java.io.IOException: 
ADB server didn't ACK

but it is working :

[root@noble /home/marietto/Desktop/Files/OS/Linux/Tools/DeskDockServer_1.3.0]==> ps ax
      
  PID TTY      STAT   TIME COMMAND
 6089 pts/0    R+     0:00 ps ax
 5979 pts/0    S      0:00 adb -P 5037 fork-server server
 5952 pts/0    S      0:00 /bin/zsh

According with this thread :

Thread 'Make jail available to bind only certain ports'

this is what I tried to do :

nano /etc/pf.conf

nat on $ext_if from 127.0.0.0/24 to any -> 192.168.1.2
rdr on $ext_if proto tcp from any to any port 5037:5555 -> 127.0.0.255

root@noble:/home/marietto/Desktop/Files/OS/Linux/Tools/DeskDockServer_1.3.0# ./adb connect 

* daemon not running. starting it now on port 5037 *
* daemon started successfully *
** daemon still not running
error: cannot connect to daemon

root@noble:/home/marietto/Desktop/Files/OS/Linux/Tools/DeskDockServer_1.3.0# ps ax
  PID TTY      STAT   TIME COMMAND
 8759 pts/2    R+     0:00 ps ax
 8758 pts/2    S      0:00 adb -P 5037 fork-server server
 8739 pts/2    S      0:00 /bin/bash

but it didn't work :

root@noble:/home/marietto/Desktop/Files/OS/Linux/Tools/DeskDockServer_1.3.0# java -jar DeskDockServer_1.3.0.jar 

2024-11-22 17:33:02.348   Program: DeskDockServer 1.3.0
2024-11-22 17:33:02.348   System: Linux 5.15.0, amd64
2024-11-22 17:33:02.348   JRE: 21.0.5+11-Ubuntu-1ubuntu124.04
2024-11-22 17:33:02.469   AdbLocator: Found ADB in env PATH
2024-11-22 17:33:02.469   class com.floriandraschbacher.deskdockserver.Main: Using ADB from /usr/bin/adb
2024-11-22 17:33:02.508   ab@c703a44: Error getting devices: ADB server didn't ACK
2024-11-22 17:33:02.508   q$b@2b7d5ba: Error getting ADB devices: java.io.IOException: java.io.IOException: 
ADB server didn't ACK127.0.0.255192.168.1.2:5555
4 Comments
2024/11/21
17:46 UTC

4

Wazuh-4.7.5 and FreeBSD 4.0 and 4.1

  1. I know FreeBSD is not officially supported by Wazuh developers!
  2. I know about Alonso's great work at https://github.com/alonsobsd/wazuh-makejail

Facts: I used Wazuh 4.4.4 on FreeBSD 13.2 for two years (on a single machine with 10-15 agents, Wazuh managed to capture about 1.5 TB of data). No issues - that is FreeBSD. Set and forget! :)

According to our policy of not using end-of-life systems, I am trying to set up the latest available package, Wazuh-4.7.5, on FreeBSD 14.0 (14.1).

After a 3-day struggle, I encountered the following issues:

  1. Wazuh on FreeBSD cannot use TCP/1514 communication with agents.
  2. When using UDP/1514, the ossec.log file quickly fills with errors.

2024/11/15 14:33:03 wazuh-remoted: ERROR: socketerr (not available).

2024/11/15 14:33:03 wazuh-remoted: ERROR: (1210): Queue 'queue/sockets/queue' not accessible: 'Message too long'

2024/11/15 14:33:03 wazuh-remoted: ERROR: socketerr (not available).

2024/11/15 14:33:03 wazuh-remoted: ERROR: (1210): Queue 'queue/sockets/queue' not accessible: 'Bad file descriptor'

2024/11/15 14:33:03 wazuh-remoted: INFO: Successfully reconnected to 'queue/sockets/queue'

2024/11/15 14:33:03 wazuh-remoted: ERROR: socketerr (not available).

2024/11/15 14:33:03 wazuh-remoted: ERROR: (1210): Queue 'queue/sockets/queue' not accessible: 'Message too long'

2024/11/15 14:33:03 wazuh-remoted: ERROR: socketerr (not available).

2024/11/15 14:33:03 wazuh-remoted: ERROR: (1210): Queue 'queue/sockets/queue' not accessible: 'Bad file descriptor'

2024/11/15 14:33:03 wazuh-remoted: INFO: Successfully reconnected to 'queue/sockets/queue'

  1. Agents connect and work normally to the Wazuh server but disconnect after 10 minutes and never reconnect.

I have tried everything with ossec.conf (on Windows, FreeBSD, and Linux agents, as well as the server) and internal_options.conf without success. I also tried Alonso's https://github.com/alonsobsd/wazuh-makejail jail (Many, many thanks to José Alonso Cárdenas Márquez for his great work) with no success.

Any clue or advice on how to proceed will be appreciated.

Cheers

7 Comments
2024/11/21
17:07 UTC

3

HI can some one help me out with installing Whonix under bhyve on FreeBSD 14.1?

I'd like to install whonix on my freebsd using bhyve but i don´t have a clue how to do it.

2 Comments
2024/11/21
17:06 UTC

Back To Top