From mboxrd@z Thu Jan 1 00:00:00 1970 From: Delan Azabani Subject: hwmon directory structure bug Date: Sat, 06 Nov 2010 08:34:27 +0800 Message-ID: <4CD4A293.5030502@azabani.com> Reply-To: delan-Boohn7ZbvbpBDgjK7y7TUQ@public.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: nouveau-bounces+gcfxn-nouveau=m.gmane.org-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org Errors-To: nouveau-bounces+gcfxn-nouveau=m.gmane.org-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org List-Id: nouveau.vger.kernel.org The sensors implementation of nouveau has a bug where the name file is not in hwmonX/device, but in the root of the hwmonX directory. Normally, the name file (contains driver name) of a sensor is placed: /sys/class/hwmon/hwmon/device/name This holds true for coretemp, it8718 and all other sensors I've encountered. Currently, with the latest nouveau from git, the name file is placed as /sys/class/hwmon/hwmon/name This is incorrect and goes against the convention for hwmon directory structure. Not a major bug, but a fix would be very helpful.