Is it possible to hook up some more /sys/class locations
I wanted to use WSL 2 for developing in C++ on Windows 10. But I have found its not working like a full Linux Distro. I have upgraded to Ubuntu 19.10 server on WSL 2 but found it missing /sys/class folders.
I would like to be able to test and use "/sys/class/thermal/thermal_zone0/temp" to read the CPU temperature. I assumed WSL 2 would work exactly the same as Ubuntu 19.10.
Unfortunately it means I will need to use a real Linux box.
Hi @sfoxover
Did you find a way to do this?
This has not been fixed in WSL2, I am running Ubuntu 22.04 on WSL2 and do not have thermal_zone folders in /sys/class/thermal:

I'm running Debian (bullseye) on WSL2 and also do not have thermal_zone folders in sys/class/thermal :