linux-on-mac / mbpfan

A simple daemon to control fan speed on all MacBook/MacBook Pros (probably all Apple computers) for Linux Kernel 3 and newer
https://ineed.coffee/projects/mbpfan
GNU General Public License v3.0
895 stars 139 forks source link

Unable to load applesmc on a Macmini8,1 (A1993) for fan control #256

Open katbyte opened 1 year ago

katbyte commented 1 year ago

I was following the instructions on the readme and get this error when trying to load applesmc

[18:17:35] root@mini:~# modprobe applesmc
modprobe: ERROR: could not insert 'applesmc': Input/output error

dmesg:

[   61.148266] applesmc: probe of applesmc.768 failed with error -5
[  118.852271] applesmc: driver init failed (ret=-5)!

Linux version: Linux version 5.19.7-2-pve (build@proxmox) (gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2) #1 SMP PREEMPT_DYNAMIC PVE 5.19.7-2 (Tue, 04 Oct 2022 17:18:40 +

Any ideas of what could be causing this/how I can fix it? I have reset SMC (hold cmd+opt+r+p till 2nd chime)

barzag commented 1 year ago

a beautiful project in the yard. compiling pve kernel with t2 patches :) https://github.com/AdityaGarg8/pve-edge-kernel-t2