Should sensors-detect be merged with Hotplug or Discover
I realise that some sensors are difficult to detect, but in the cases where detection is very reliable should not sensors-detect be merged into Hotplug or Discover (probably Discover as I am not aware of sensors which come and go, although with the hotpluging of memory modules which themselves might have sensors built in this may arrive) so that it all happens automatically without a separate sensors-detect stage?
David
Quoted 7 lines
I realise that some sensors are difficult to detect, but in the cases where detection is very reliable should not sensors-detect be merged into Hotplug or Discover (probably Discover as I am not aware of sensors which come and go, although with the hotpluging of memory modules which themselves might have sensors built in this may arrive) so that it all happens automatically without a separate sensors-detect stage?
I didn't know Discover. Looks like an interesting project.
However, as you mentioned, detecting sensor devices is hard and sometimes highly unreliable. There are no standard identifiers such as for other busses (PCI etc...). This will make things harder.
In any case, sensors-detect as it exists today is half-broken. The script started its life 5 years ago, at a time where something like half a dozen bus drivers and 4 or 5 chip drivers existed. It's architecture isn't adapted to the high number of chips it now knows of. So if someone is to add support for sensors to Discover, I'd recommend not using sensors-detect as a starting point.
If someone wants to give it a try, why not. If the Discover folks need assistance in doing it, we'll help. But I don't feel an immediate need and this is too much work for me at the moment. There are higher priority points to be worked on before.
Signature · 2 lines
Jean Delvare http://khali.linux-fr.org/
Quoted 6 lines · David Goodenough
I realise that some sensors are difficult to detect, but in the cases where detection is very reliable should not sensors-detect be merged into Hotplug or Discover (probably Discover as I am not aware of sensors which come and go, although with the hotpluging of memory modules which themselves might have sensors built in this may arrive) so that it all happens automatically without a separate sensors-detect stage?
The hotplug merge is on my todo list for the 2.7 kernel. We need to change the format of the drivers and some other kernel code for it to even start to work.
And yes, it will not be as reliable as other systems, but it will be a good start...
thanks,
greg k-h