[Bug 418246] Re: it87 (sensors) module broken, needs automatic adding of a kernel line during installation
Shambler0
sendmespam at bk.ru
Fri Mar 19 04:45:05 UTC 2010
niether "acpi_enforce_resources=lax" nor "acpi_enforce_resources=none"
work with kernel 2.6.31-20.57 generic (karmic). "acpi=off" does work,
but that disables soft-powerdown, Cool&Quiet, and more. That's better
than non-working PWM anyway.
"acpi_enforce_resources=lax" still works whenever I load kernel
2.6.31-14.48 generic or older (I haven't tried kernel versions between
31-14 and 31-20 yet)
I am sure I typed everything correctly because I verified grub.cfg, and
also because same kernel options shared between all my kernels.
asus_atk0110 loads, but lm-sensors 3.0.2-2ubuntu4 does not detect it (PLEASE add 3.1.1 to binary repositary!)
I haven't tested building 3.1.1 from source yet, because it is useless for me: that driver does not support PWMs, and my MB does not even have a built-in PWM control to rely on, like ASUS boards have.
M/B: EliteGroup, model "ECS NFORCE4-A939".
I have not yet observed any problems in having "acpi_enforce_resources=lax" on that board.
home ~ # sensors -s
home ~ # sensors
acpitz-virtual-0
Adapter: Virtual device
temp1: +32.0°C (crit = +70.0°C)
k8temp-pci-00c3
Adapter: PCI adapter
Core0 Temp: +30.0°C
home ~ # modprobe it87
FATAL: Error inserting it87 (/lib/modules/2.6.31-20-generic/kernel/drivers/hwmon/it87.ko): Device or resource busy
home ~ # dmesg | grep acpi_enforce
[ 0.000000] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-2.6.31-20-generic root=UUID=XXX ro acpi_enforce_resources=lax
home ~ # dmesg | grep it87
[ 3624.776062] it87: Found IT8712F chip at 0x290, revision 7
[ 3624.776074] it87: in3 is VCC (+5V)
[ 3624.776077] it87: in7 is VCCH (+5V Stand-By)
[ 3624.776140] ACPI: I/O resource it87 [0x295-0x296] conflicts with ACPI region IP__ [0x295-0x296]
================ TIP: If your sensors get mixed each time you reboot ================
If your sensor devices are switched / swapped / mixed / changed randomly
on every boot (hwmon0 <--> hwmon1), and disabling all but one of them is
not an option, try this workaround:
Run "ls -l /sys/bus/i2c/devices" -- you'll get a list of symlinks:
# ls -l /sys/bus/i2c/devices
lrwxrwxrwx 1 root root 0 2010-03-19 08:09 hwmon0 -> ../../../devices/virtual/hwmon/hwmon0
lrwxrwxrwx 1 root root 0 2010-03-19 05:10 hwmon1 -> ../../../devices/pci0000:00/0000:00:18.3/hwmon/hwmon1
Open /etc/fancontrol ("sudo gedit /etc/fancontrol")
Replace all symlink filenames (like "hwmon1/device/pwm1") with what symlinks actually point to, complete with "../../.."
So, for example, a line
hwmon1/device/pwm1=hwmon1/device/temp1_input
should become:
../../../devices/pci0000:00/0000:00:18.3/pwm1=../../../devices/pci0000:00/0000:00:18.3/temp1_input
It looks ugly, but it works....
Be sure NOT to insert "/hwmon/hwmon1/device/", so it should NOT look
like
"../../../devices/pci0000:00/0000:00:18.3/hwmon/hwmon1/device/temp1_input",
because that "/hwmon1/" part is still random.
This also does NOT work with virtual devices. I suggest writing a shell
script to create symlinks to them somewhere else.
--
it87 (sensors) module broken, needs automatic adding of a kernel line during installation
https://bugs.launchpad.net/bugs/418246
You received this bug notification because you are a member of Kernel
Bugs, which is subscribed to Linux.
More information about the kernel-bugs
mailing list