All of lore.kernel.org
 help / color / mirror / Atom feed
* hwmon directory structure bug
@ 2010-11-06  0:34 Delan Azabani
       [not found] ` <4CD4A293.5030502-Boohn7ZbvbpBDgjK7y7TUQ@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: Delan Azabani @ 2010-11-06  0:34 UTC (permalink / raw)
  To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW

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<int>/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<int>/name

This is incorrect and goes against the convention for hwmon directory
structure. Not a major bug, but a fix would be very helpful.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: hwmon directory structure bug
       [not found] ` <4CD4A293.5030502-Boohn7ZbvbpBDgjK7y7TUQ@public.gmane.org>
@ 2010-11-06  2:32   ` Martin Peres
       [not found]     ` <4CD4BE30.4040409-GANU6spQydw@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: Martin Peres @ 2010-11-06  2:32 UTC (permalink / raw)
  To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW

Le 06/11/2010 01:34, Delan Azabani a écrit :
> 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<int>/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<int>/name
>
> This is incorrect and goes against the convention for hwmon directory
> structure. Not a major bug, but a fix would be very helpful.
oh, thanks for spotting this, I'll correct my mistake tomorrow.

Regards,

Martin

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: hwmon directory structure bug
       [not found]     ` <4CD4BE30.4040409-GANU6spQydw@public.gmane.org>
@ 2010-11-06  3:47       ` Delan Azabani
  0 siblings, 0 replies; 3+ messages in thread
From: Delan Azabani @ 2010-11-06  3:47 UTC (permalink / raw)
  To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW

On 06/11/10 10:32, Martin Peres wrote:
> Le 06/11/2010 01:34, Delan Azabani a écrit :
>> 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<int>/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<int>/name
>>
>> This is incorrect and goes against the convention for hwmon directory
>> structure. Not a major bug, but a fix would be very helpful.
> oh, thanks for spotting this, I'll correct my mistake tomorrow.
> 
> Regards,
> 
> Martin
> _______________________________________________
> Nouveau mailing list
> Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
> http://lists.freedesktop.org/mailman/listinfo/nouveau

No problem, happy to help.

Thanks and best regards,
Delan Azabani

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-11-06  3:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-06  0:34 hwmon directory structure bug Delan Azabani
     [not found] ` <4CD4A293.5030502-Boohn7ZbvbpBDgjK7y7TUQ@public.gmane.org>
2010-11-06  2:32   ` Martin Peres
     [not found]     ` <4CD4BE30.4040409-GANU6spQydw@public.gmane.org>
2010-11-06  3:47       ` Delan Azabani

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.