Skip to contentSkip to conversation

add device/name to /sys/class/hwmon/hwmonX/ to better follow hwmon practices

Bug 85476 [email protected] 1 participant 6 messages Oct 26, 2014 – Nov 19, 2019 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=85476

Alex Deucher <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

          Component|Other                       |DRM/Radeon
           Assignee|[email protected]. |[email protected]
                   |org                         |.org
            Product|Mesa                        |DRI

--- Comment #1 from Alex Deucher <[email protected]> ---
It does provide a name via /sys/class/hwmon/hwmonX/name. The driver calls hwmon_device_register_with_groups() and passes the name to hwmon.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#2 lore raw
In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=85476

--- Comment #2 from Henrik Asp <[email protected]> --- Oh yeah, it does, didnt notice that. That'll work =)

None of my other devices do though. They all place name in the device folder.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#3 lore raw
In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=85476

--- Comment #3 from Alex Deucher <[email protected]> --- Created attachment 108466
--> https://bugs.freedesktop.org/attachment.cgi?id=108466&action=edit
possible fix

(In reply to Henrik Asp from comment #2)

Quoted 3 lines

Oh yeah, it does, didnt notice that. That'll work =)

None of my other devices do though. They all place name in the device folder.

I'm not entirely sure how that's done off hand. I guess it may take the name from the device structure passed in. Does the attached patch fix it?

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#4 lore raw
In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=85476

--- Comment #4 from Henrik Asp <[email protected]> --- Doesnt seem to have made any difference.

Since i had to recompile i also upgraded from linux 3.16 to 3.17, and it seems fam15h_power moved hwmonX/device/name to hwmonX/name. dunno what to make of that...

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#5 lore raw
In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=85476

--- Comment #5 from Alex Deucher <[email protected]> ---
Might be worth asking the hwmon people. I'm not sure how hwmon decides where to hang the name element in the sysfs tree.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#6 lore raw
In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=85476

Martin Peres <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|---                         |MOVED

--- Comment #6 from Martin Peres <[email protected]> --- -- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/drm/amd/issues/552.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel