Re: Need testers for ALPHA RPi-5 fan control, GE NIC, WiFi drivers for FreeBSD-CURRENT

Mark Millard <[email protected]> Mon, 15 Jun 2026 19:28:31 -0700
Newsgroups gmane.os.freebsd.devel.arm
Message-ID <[email protected]>
On 5/29/26 17:42, Jeremy McMillan wrote:
> 
> 
> If anyone has a Raspberry Pi 5 that's not dedicated to anything
> important, I'd appreciate some help testing this:
> 
> https://github.com/aphor/FreeBSD15-RPi5-modules <https://github.com/
> aphor/FreeBSD15-RPi5-modules>
> 
> The README.md is up to date, but other docs in there might be stale.
> 
> IDK if I should try to implement Bluetooth yet. I haven't tried using
> FreeBSD bluetooth with working known-good drivers on supported hardware,
> but when this is relatively complete I'm planning to do some bug fixing
> and performance improvements where necessary in a BETA phase, then a
> rewrite from scratch for maintainability that can be submitted to
> FreeBSD-CURRENT. I know the repo says FreeBSD15, but I'm currently
> building against FreeBSD-16-CURRENT. I've had feedback that the fan
> control works fine on FreeBSD-15.
> 
> I also don't know what I should do about GPIO testing. I'd appreciate
> any pointers if other people work with RPi hardware and have any
> pointers for testing GPIO stuff. I think there's a few pins that can do
> DAC and ADC and others that can do PWM (like the ones used for the fan
> header) when programmed to different modes. I have an oscilloscope, but
> I'd like to automate testing as much as possible because my spare time
> is precious.
> 
> It seems like RPi-5 will be around for a while under the current market
> conditions for the semiconductor business, and it is my hope that
> FreeBSD can deserve and get more attention and support from Broadcom and
> Raspberry Pi. Also, I have my own projects :)
> 
> Thanks in advance for your attention!

https://github.com/aphor/FreeBSD15-RPi5-modules/blob/main/README.md reports:

QUOTE
w.rpi5.fan.rpm	RD uint	—	RP1 PWM1 offset 0x3C (CHAN2_PHASE);
firmware-preloaded static value — not live fan RPM
END QUOTE

However my basic tests show:

# sysctl hw.rpi5
hw.rpi5.fan.rpm: 9661
hw.rpi5.fan.current_state: 1
hw.rpi5.fan.cpu_temp: 46300
hw.rpi5.fan.speed3: 255
hw.rpi5.fan.speed2: 255
hw.rpi5.fan.speed1: 255
hw.rpi5.fan.speed0: 255
hw.rpi5.fan.temp3_hyst: 5000
hw.rpi5.fan.temp2_hyst: 5000
hw.rpi5.fan.temp1_hyst: 5000
hw.rpi5.fan.temp0_hyst: 5000
hw.rpi5.fan.temp3: 75000
hw.rpi5.fan.temp2: 67500
hw.rpi5.fan.temp1: 60000
hw.rpi5.fan.temp0: 0

vs.

# sysctl hw.rpi5
hw.rpi5.fan.rpm: 0
hw.rpi5.fan.current_state: 0
hw.rpi5.fan.cpu_temp: 47400
hw.rpi5.fan.speed3: 255
hw.rpi5.fan.speed2: 255
hw.rpi5.fan.speed1: 255
hw.rpi5.fan.speed0: 0
hw.rpi5.fan.temp3_hyst: 5000
hw.rpi5.fan.temp2_hyst: 5000
hw.rpi5.fan.temp1_hyst: 5000
hw.rpi5.fan.temp0_hyst: 5000
hw.rpi5.fan.temp3: 75000
hw.rpi5.fan.temp2: 67500
hw.rpi5.fan.temp1: 60000
hw.rpi5.fan.temp0: 50000

vs. even a spin up still in progress, not yet
having reached its final speed range:

# sysctl hw.rpi5
hw.rpi5.fan.rpm: 6380
hw.rpi5.fan.current_state: 1
hw.rpi5.fan.cpu_temp: 50150
hw.rpi5.fan.speed3: 255
hw.rpi5.fan.speed2: 255
hw.rpi5.fan.speed1: 255
hw.rpi5.fan.speed0: 0
hw.rpi5.fan.temp3_hyst: 5000
hw.rpi5.fan.temp2_hyst: 5000
hw.rpi5.fan.temp1_hyst: 5000
hw.rpi5.fan.temp0_hyst: 5000
hw.rpi5.fan.temp3: 75000
hw.rpi5.fan.temp2: 67500
hw.rpi5.fan.temp1: 60000
hw.rpi5.fan.temp0: 49601


Looks  to be working to me.


-- 
===
Mark Millard
marklmi at yahoo.com