You are not logged in.
Edit i believe the issue has been resolved, go to bottom for resolution.
i am trying to make a stable link to read t-sensor
ACTION=="add", SUBSYSTEM=="hwmon", KERNEL=="hwmon*", ENV{HWMON_NAME}=="asusec", SYMLINK+="t_sensor_temp", RUN+="/bin/sh -c 'ln -s /sys/class/hwmon/%k/temp2_input /dev/t_sensor_temp'"i reload udev rules
sudo udevadm control --reload-rules
sudo udevadm triggerand reboot but still have no symlink in /udev
$ cat /sys/class/hwmon/hwmon4/name
asuseci've made similar rules for gpu and cpu and they are both present as a link so its pretty frustrating that the same is not working with asusec t-sensor, any help would be massively appreciated
Edit: resolution.
ACTION=="add", SUBSYSTEM=="hwmon", ATTRS{name}=="asusec", SYMLINK+="t_sensor_temp", RUN+="/bin/sh -c 'ln -s /sys/class/hwmon/%k/temp2_input /dev/t_sensor_temp'" sudo udevadm trigger --action=add --subsystem-match=hwmon --attr-match=name=asusec once a hardware change happens ill have a better idea if this is working. if someone could explain why im havfing this strange issue that would also be appreciate.
Last edited by squid23 (2024-03-08 20:20:09)
Offline