Re: why does # of temperature sensors decrease in 3.11 (thinkfan config related)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sunday, August 25, 2013 01:59:52 PM Jean Delvare wrote:
> Hi Rafael,
> 
> Thanks for the quick reply.
> 
> On Sun, 25 Aug 2013 03:54:08 +0200, Rafael J. Wysocki wrote:
> > On 8/24/2013 11:19 PM, Jean Delvare wrote:
> > > Bisection pointed to:
> > >
> > > commit ac212b6980d8d5eda705864fc5a8ecddc6d6eacc
> > > Author: Rafael J. Wysocki <rafael.j.wysocki@xxxxxxxxx>
> > > Date:   Fri May 3 00:26:22 2013 +0200
> > >
> > >      ACPI / processor: Use common hotplug infrastructure
> > >      
> > > Rafael, any hint as to why the auto-loading of driver coretemp would be
> > > broken by the aforementioned commit?
> > 
> > Essentially, that is a udev issue.
> > 
> > There is a line like this in the udev rules:
> > 
> > DRIVER!="?*", ENV{MODALIAS}=="?*", IMPORT{builtin}="kmod load 
> > $env{MODALIAS}"
> > 
> > which causes modalias to be matched only for devices that have no 
> > drivers (usually, that line is located in the 80-drivers.rules file 
> > under /lib/udev/rules.d/ or /usr/lib/udev/rules.d/).  After the commit 
> > above the CPU devices have a driver and the modalias matching is not 
> > used for them, unfortunately.
> > 
> > The easiest way to fix this is to remove the driver check from that line 
> > so that it looks like this:
> > 
> > ENV{MODALIAS}=="?*", IMPORT{builtin}="kmod load $env{MODALIAS}"
> > 
> > That change has been made in the upstream udev already as far as I can 
> > say, so it should propagate through updates.
> 
> Indeed it is:
> http://cgit.freedesktop.org/systemd/systemd/commit?id=bf7f800f2b3e93ccd1229d4717166f3a4d3af72f
> 
> I can confirm that this solved my issue. Toralf, please give it a try.
> If you don't want to touch udev rules files under /lib or /usr/lib, you
> can copy 80-drivers.rules to /etc/udev/rules.d and edit it there.
> 
> I'll try to get this change integrated into openSUSE 12.3.

That'd be great, thanks!


_______________________________________________
lm-sensors mailing list
lm-sensors@xxxxxxxxxxxxxx
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors




[Index of Archives]     [Linux Kernel]     [Linux Hardware Monitoring]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux