All of lore.kernel.org
 help / color / mirror / Atom feed
* [lm-sensors] ERROR: could not insert 'w83627ehf': Device or resource busy
@ 2012-03-14 13:44 David Kremer
  2012-03-14 13:55 ` Guenter Roeck
                   ` (13 more replies)
  0 siblings, 14 replies; 15+ messages in thread
From: David Kremer @ 2012-03-14 13:44 UTC (permalink / raw)
  To: lm-sensors

Hello, the problem is what is stated in the topic of this mail.

I try to load w83627ehf and the system complains that the device or the 
resource is busy.

Any idea of how to fix this ?

Thank you very much.



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

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

* Re: [lm-sensors] ERROR: could not insert 'w83627ehf': Device or resource busy
  2012-03-14 13:44 [lm-sensors] ERROR: could not insert 'w83627ehf': Device or resource busy David Kremer
@ 2012-03-14 13:55 ` Guenter Roeck
  2012-03-14 14:23 ` David Kremer
                   ` (12 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: Guenter Roeck @ 2012-03-14 13:55 UTC (permalink / raw)
  To: lm-sensors

On Wed, Mar 14, 2012 at 09:44:10AM -0400, David Kremer wrote:
> Hello, the problem is what is stated in the topic of this mail.
> 
> I try to load w83627ehf and the system complains that the device or the 
> resource is busy.
> 
> Any idea of how to fix this ?
> 
Most likely

http://www.lm-sensors.org/wiki/FAQ/Chapter3#Mysensorshavestoppedworkinginkernel2.6.31

-- 
Guenter Roeck
Distinguished Engineer
PDU IP Systems

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

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

* Re: [lm-sensors] ERROR: could not insert 'w83627ehf': Device or resource busy
  2012-03-14 13:44 [lm-sensors] ERROR: could not insert 'w83627ehf': Device or resource busy David Kremer
  2012-03-14 13:55 ` Guenter Roeck
@ 2012-03-14 14:23 ` David Kremer
  2012-03-14 15:23 ` Guenter Roeck
                   ` (11 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: David Kremer @ 2012-03-14 14:23 UTC (permalink / raw)
  To: lm-sensors

On 14/03/2012 14:55, Guenter Roeck wrote:
> Most likely
>
> http://www.lm-sensors.org/wiki/FAQ/Chapter3#Mysensorshavestoppedworkinginkernel2.6.31
>
Thank you guenter.

However, there is no clear explanation of how to fix this.

Indeed, I load the linux module asus_atk0110 and ran again sensors-detect.

The script ended up saying that the following modules was needed :

Driver `w83627ehf':
   * ISA bus, address 0x290
     Chip `Nuvoton NCT6776F Super IO Sensors' (confidence: 9)

Driver `coretemp':
   * Chip `Intel digital thermal sensor' (confidence: 9)

However, there is still no way to load w83627ehf as I read your link.

What do you think of this ?

David

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

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

* Re: [lm-sensors] ERROR: could not insert 'w83627ehf': Device or resource busy
  2012-03-14 13:44 [lm-sensors] ERROR: could not insert 'w83627ehf': Device or resource busy David Kremer
  2012-03-14 13:55 ` Guenter Roeck
  2012-03-14 14:23 ` David Kremer
@ 2012-03-14 15:23 ` Guenter Roeck
  2012-03-14 15:32 ` David Kremer
                   ` (10 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: Guenter Roeck @ 2012-03-14 15:23 UTC (permalink / raw)
  To: lm-sensors

On Wed, 2012-03-14 at 10:23 -0400, David Kremer wrote:
> On 14/03/2012 14:55, Guenter Roeck wrote:
> > Most likely
> >
> > http://www.lm-sensors.org/wiki/FAQ/Chapter3#Mysensorshavestoppedworkinginkernel2.6.31
> >
> Thank you guenter.
> 
> However, there is no clear explanation of how to fix this.
> 
> Indeed, I load the linux module asus_atk0110 and ran again sensors-detect.
> 
Hi David,

Question is not what happens if you ran sensors-detect again; that is
not the point and has nothing to do with the ability to load the module
or not. 

Question is what you get when running the "sensors" command after
loading the asus_atk0110 module.

> The script ended up saying that the following modules was needed :
> 
> Driver `w83627ehf':
>    * ISA bus, address 0x290
>      Chip `Nuvoton NCT6776F Super IO Sensors' (confidence: 9)
> 
> Driver `coretemp':
>    * Chip `Intel digital thermal sensor' (confidence: 9)
> 
> However, there is still no way to load w83627ehf as I read your link.
> 
Did you get the acpi error message as described ?

If so, the link does provide the answer:

"If you want to restore the old behaviour (which might be dangerous)
add: "acpi_enforce_resources=lax" to the kernel cmdline when booting (or
add it in grub.conf to make this permanent)."

Just remember the "which might be dangerous". You might be better off
with asus_atk0100 if it works for you.

Guenter



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

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

* Re: [lm-sensors] ERROR: could not insert 'w83627ehf': Device or resource busy
  2012-03-14 13:44 [lm-sensors] ERROR: could not insert 'w83627ehf': Device or resource busy David Kremer
                   ` (2 preceding siblings ...)
  2012-03-14 15:23 ` Guenter Roeck
@ 2012-03-14 15:32 ` David Kremer
  2012-03-14 15:36 ` David Kremer
                   ` (9 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: David Kremer @ 2012-03-14 15:32 UTC (permalink / raw)
  To: lm-sensors

On 14/03/2012 16:23, Guenter Roeck wrote:
> On Wed, 2012-03-14 at 10:23 -0400, David Kremer wrote:
>> On 14/03/2012 14:55, Guenter Roeck wrote:
>>> Most likely
>>>
>>> http://www.lm-sensors.org/wiki/FAQ/Chapter3#Mysensorshavestoppedworkinginkernel2.6.31
>>>
>> Thank you guenter.
>>
>> However, there is no clear explanation of how to fix this.
>>
>> Indeed, I load the linux module asus_atk0110 and ran again sensors-detect.
>>
> Hi David,
>
> Question is not what happens if you ran sensors-detect again; that is
> not the point and has nothing to do with the ability to load the module
> or not.
>
> Question is what you get when running the "sensors" command after
> loading the asus_atk0110 module.
>
>> The script ended up saying that the following modules was needed :
>>
>> Driver `w83627ehf':
>>     * ISA bus, address 0x290
>>       Chip `Nuvoton NCT6776F Super IO Sensors' (confidence: 9)
>>
>> Driver `coretemp':
>>     * Chip `Intel digital thermal sensor' (confidence: 9)
>>
>> However, there is still no way to load w83627ehf as I read your link.
>>
> Did you get the acpi error message as described ?
>
> If so, the link does provide the answer:
>
> "If you want to restore the old behaviour (which might be dangerous)
> add: "acpi_enforce_resources=lax" to the kernel cmdline when booting (or
> add it in grub.conf to make this permanent)."
>
> Just remember the "which might be dangerous". You might be better off
> with asus_atk0100 if it works for you.
>
> Guenter
>
>
>
I loaded the asus_atk0110 module into the kernel :

$ lsmod |grep atk
asus_atk0110           10131  0

However the interface is still using the coretemp linux module, so the 
pwm config says me :

/usr/sbin/pwmconfig: There are no pwm-capable sensor modules installed

I guess the only way to have my fancontrol working properly is to 
enforce the old way with the kernel command line.

How do you plan to fix the situation in future releases ?



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

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

* Re: [lm-sensors] ERROR: could not insert 'w83627ehf': Device or resource busy
  2012-03-14 13:44 [lm-sensors] ERROR: could not insert 'w83627ehf': Device or resource busy David Kremer
                   ` (3 preceding siblings ...)
  2012-03-14 15:32 ` David Kremer
@ 2012-03-14 15:36 ` David Kremer
  2012-03-14 15:46 ` Guenter Roeck
                   ` (8 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: David Kremer @ 2012-03-14 15:36 UTC (permalink / raw)
  To: lm-sensors

I forgot to mention that your diagnostic is excellent.

The three last lines from dmesg are here :

[30023.283848] w83627ehf: Found NCT6776F chip at 0x290
[30023.283867] ACPI: resource w83627ehf [io  0x0295-0x0296] conflicts 
with ACPI region HWRE [io 0x290-0x299]
[30023.283869] ACPI: If an ACPI driver is available for this device, you 
should use it instead of the native driver


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

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

* Re: [lm-sensors] ERROR: could not insert 'w83627ehf': Device or resource busy
  2012-03-14 13:44 [lm-sensors] ERROR: could not insert 'w83627ehf': Device or resource busy David Kremer
                   ` (4 preceding siblings ...)
  2012-03-14 15:36 ` David Kremer
@ 2012-03-14 15:46 ` Guenter Roeck
  2012-03-14 15:57 ` Guenter Roeck
                   ` (7 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: Guenter Roeck @ 2012-03-14 15:46 UTC (permalink / raw)
  To: lm-sensors

On Wed, 2012-03-14 at 11:36 -0400, David Kremer wrote:
> I forgot to mention that your diagnostic is excellent.
> 
> The three last lines from dmesg are here :
> 
> [30023.283848] w83627ehf: Found NCT6776F chip at 0x290
> [30023.283867] ACPI: resource w83627ehf [io  0x0295-0x0296] conflicts 
> with ACPI region HWRE [io 0x290-0x299]
> [30023.283869] ACPI: If an ACPI driver is available for this device, you 
> should use it instead of the native driver

Not really ... we see this about once per week ;).

Guenter



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

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

* Re: [lm-sensors] ERROR: could not insert 'w83627ehf': Device or resource busy
  2012-03-14 13:44 [lm-sensors] ERROR: could not insert 'w83627ehf': Device or resource busy David Kremer
                   ` (5 preceding siblings ...)
  2012-03-14 15:46 ` Guenter Roeck
@ 2012-03-14 15:57 ` Guenter Roeck
  2012-03-14 16:19 ` David Kremer
                   ` (6 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: Guenter Roeck @ 2012-03-14 15:57 UTC (permalink / raw)
  To: lm-sensors

On Wed, 2012-03-14 at 11:32 -0400, David Kremer wrote:
> On 14/03/2012 16:23, Guenter Roeck wrote:
> > On Wed, 2012-03-14 at 10:23 -0400, David Kremer wrote:
> >> On 14/03/2012 14:55, Guenter Roeck wrote:
> >>> Most likely
> >>>
> >>> http://www.lm-sensors.org/wiki/FAQ/Chapter3#Mysensorshavestoppedworkinginkernel2.6.31
> >>>
> >> Thank you guenter.
> >>
> >> However, there is no clear explanation of how to fix this.
> >>
> >> Indeed, I load the linux module asus_atk0110 and ran again sensors-detect.
> >>
> > Hi David,
> >
> > Question is not what happens if you ran sensors-detect again; that is
> > not the point and has nothing to do with the ability to load the module
> > or not.
> >
> > Question is what you get when running the "sensors" command after
> > loading the asus_atk0110 module.
> >
> >> The script ended up saying that the following modules was needed :
> >>
> >> Driver `w83627ehf':
> >>     * ISA bus, address 0x290
> >>       Chip `Nuvoton NCT6776F Super IO Sensors' (confidence: 9)
> >>
> >> Driver `coretemp':
> >>     * Chip `Intel digital thermal sensor' (confidence: 9)
> >>
> >> However, there is still no way to load w83627ehf as I read your link.
> >>
> > Did you get the acpi error message as described ?
> >
> > If so, the link does provide the answer:
> >
> > "If you want to restore the old behaviour (which might be dangerous)
> > add: "acpi_enforce_resources=lax" to the kernel cmdline when booting (or
> > add it in grub.conf to make this permanent)."
> >
> > Just remember the "which might be dangerous". You might be better off
> > with asus_atk0100 if it works for you.
> >
> > Guenter
> >
> >
> >
> I loaded the asus_atk0110 module into the kernel :
> 
> $ lsmod |grep atk
> asus_atk0110           10131  0
> 
> However the interface is still using the coretemp linux module, so the 
> pwm config says me :
> 

David,

coretemp doesn't have anything to do with w83627ehf or asus_atk0110,
except that all are hwmon drivers. You are complaining that the
headlights of your car still work even after you tried to replace the
tail break lights.

> /usr/sbin/pwmconfig: There are no pwm-capable sensor modules installed
> 
> I guess the only way to have my fancontrol working properly is to 
> enforce the old way with the kernel command line.
> 
> How do you plan to fix the situation in future releases ?
> 
First question is if the asus_atk0110 module detects your board. You
would see that with the "sensors" command, not with pwmconfig (the asus
driver does not support manual fan control, so pwmconfig will not work).

Second question is if you actually _need_ manual fan control. The
automatic fan control implemented in NCT6776F is pretty good, and it
should be enabled by default. Do you have any problems with it ?

If you do have problems with automatic fan control, the only remedy I
can see would be for someone to implement manual fan control in
asus_atk0110. Not sure if that is even possible, though.

Guenter



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

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

* Re: [lm-sensors] ERROR: could not insert 'w83627ehf': Device or resource busy
  2012-03-14 13:44 [lm-sensors] ERROR: could not insert 'w83627ehf': Device or resource busy David Kremer
                   ` (6 preceding siblings ...)
  2012-03-14 15:57 ` Guenter Roeck
@ 2012-03-14 16:19 ` David Kremer
  2012-03-14 16:40 ` Guenter Roeck
                   ` (5 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: David Kremer @ 2012-03-14 16:19 UTC (permalink / raw)
  To: lm-sensors

T24gMTQvMDMvMjAxMiAxNjo1NywgR3VlbnRlciBSb2VjayB3cm90ZToKPiBGaXJzdCBxdWVzdGlv
biBpcyBpZiB0aGUgYXN1c19hdGswMTEwIG1vZHVsZSBkZXRlY3RzIHlvdXIgYm9hcmQuIFlvdQo+
IHdvdWxkIHNlZSB0aGF0IHdpdGggdGhlICJzZW5zb3JzIiBjb21tYW5kLCBub3Qgd2l0aCBwd21j
b25maWcgKHRoZSBhc3VzCj4gZHJpdmVyIGRvZXMgbm90IHN1cHBvcnQgbWFudWFsIGZhbiBjb250
cm9sLCBzbyBwd21jb25maWcgd2lsbCBub3Qgd29yaykuCj4KPiBTZWNvbmQgcXVlc3Rpb24gaXMg
aWYgeW91IGFjdHVhbGx5X25lZWRfICBtYW51YWwgZmFuIGNvbnRyb2wuIFRoZQo+IGF1dG9tYXRp
YyBmYW4gY29udHJvbCBpbXBsZW1lbnRlZCBpbiBOQ1Q2Nzc2RiBpcyBwcmV0dHkgZ29vZCwgYW5k
IGl0Cj4gc2hvdWxkIGJlIGVuYWJsZWQgYnkgZGVmYXVsdC4gRG8geW91IGhhdmUgYW55IHByb2Js
ZW1zIHdpdGggaXQgPwo+Cj4gSWYgeW91IGRvIGhhdmUgcHJvYmxlbXMgd2l0aCBhdXRvbWF0aWMg
ZmFuIGNvbnRyb2wsIHRoZSBvbmx5IHJ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wgYW5kIEkgYW0gCmZydXN0cmF0ZWQgdG8gYmUgdW5hYmxlIHRv
IHVzZSBteSB2ZW50aXJhZCBJIGJvdWdodCBpbiB0aGUgb3JkZXIgdG8gcnVuIAphIHNpbGVudCBj
b21wdXRlciB3aXRoIGl0cyBmdWxsIHBvdGVudGlhbC4gVGhpcyBpcyB2ZXJ5IG5vaXN5IGFuZCBJ
IGtub3cgCnRoYXQgSSBjb3VsZCBydW4gdW5kZXIgbXVjaCBiZXR0ZXIgY29uZGl0aW9ucy4KCkkg
YW0gbm90IHN1cmUgd2hhdCB5b3UgYXJlIHRhbGtpbmcgYWJvdXQgd2hlbiB5b3UgaW52b2tlIHRo
ZSBhdXRvbWF0aWMgCmZhbiBjb250cm9sIG9mIE5DVDY3NzZGLiBJcyBpdCBhdXRvbWF0aWMgaW4g
dGhlIGxpbnV4IGtlcm5lbCBvciBpbiB0aGUgCm1vdGhlcmJvYXJkLCB0aGUgYmlvcyBjb2RlLCBv
ciBzb21ldGhpbmcgZWxzZSA/CgpEYXZpZAoKCgpfX19fX19fX19fX19fX19fX19fX19fX19fX19f
X19fX19fX19fX19fX19fX19fXwpsbS1zZW5zb3JzIG1haWxpbmcgbGlzdApsbS1zZW5zb3JzQGxt
LXNlbnNvcnMub3JnCmh0dHA6Ly9saXN0cy5sbS1zZW5zb3JzLm9yZy9tYWlsbWFuL2xpc3RpbmZv
L2xtLXNlbnNvcnM

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

* Re: [lm-sensors] ERROR: could not insert 'w83627ehf': Device or resource busy
  2012-03-14 13:44 [lm-sensors] ERROR: could not insert 'w83627ehf': Device or resource busy David Kremer
                   ` (7 preceding siblings ...)
  2012-03-14 16:19 ` David Kremer
@ 2012-03-14 16:40 ` Guenter Roeck
  2012-03-14 18:53 ` David Kremer
                   ` (4 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: Guenter Roeck @ 2012-03-14 16:40 UTC (permalink / raw)
  To: lm-sensors

T24gV2VkLCA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UKY291bGQgZ2l2ZSBpdCBhIHRyeSBpZiB5b3UgbGlrZSAo
aHR0cHM6Ly9naXRodWIuY29tL2dyb2Vjay9uY3Q2Nzc1KS4KCkd1ZW50ZXIKCgoKX19fX19fX19f
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KbG0tc2Vuc29ycyBtYWlsaW5n
IGxpc3QKbG0tc2Vuc29yc0BsbS1zZW5zb3JzLm9yZwpodHRwOi8vbGlzdHMubG0tc2Vuc29ycy5v
cmcvbWFpbG1hbi9saXN0aW5mby9sbS1zZW5zb3Jz

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

* Re: [lm-sensors] ERROR: could not insert 'w83627ehf': Device or resource busy
  2012-03-14 13:44 [lm-sensors] ERROR: could not insert 'w83627ehf': Device or resource busy David Kremer
                   ` (8 preceding siblings ...)
  2012-03-14 16:40 ` Guenter Roeck
@ 2012-03-14 18:53 ` David Kremer
  2012-03-14 19:01 ` David Kremer
                   ` (3 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: David Kremer @ 2012-03-14 18:53 UTC (permalink / raw)
  To: lm-sensors

[-- Attachment #1: Type: text/plain, Size: 678 bytes --]


> The NCT chip supports it, and it works pretty well on my system (with
> NCT6775F). It is enabled if pwmX_enable is set to 5 after you
> force-loaded the w83627ehf module.
>
> I am working on an enhanced version of the nct6775/nct6776 driver which
> will let you configure automatic fan control. It is on github, so you
> could give it a try if you like (https://github.com/groeck/nct6775).
>
> Guenter
>
Thank you Guenter.

I slightly modified your makefile to make it suits the
archlinux installation.

See the attached patch.

Can you tell me if it's correct ?
<http://www.federationyoga.qc.ca/page-respiration.html>
<http://www.federationyoga.qc.ca/page-respiration.html>

[-- Attachment #2: patch-makefile.p0 --]
[-- Type: text/plain, Size: 845 bytes --]

diff --git a/Makefile b/Makefile
index f0f3bd5..8381f25 100644
--- a/Makefile
+++ b/Makefile
@@ -1,14 +1,14 @@
 # For building for the current running version of Linux
 TARGET		:= $(shell uname -r)
-HOME=$(shell pwd)
+HOME            := $(shell pwd)
 # Or for a specific version
 #TARGET		:= 2.6.33.5
 KERNEL_MODULES	:= /lib/modules/$(TARGET)
 # KERNEL_BUILD	:= $(KERNEL_MODULES)/build
-KERNEL_BUILD	:= /usr/src/linux-headers-$(TARGET)
+KERNEL_BUILD	:= /usr/src/linux-$(TARGET)
 
 #SYSTEM_MAP	:= $(KERNEL_BUILD)/System.map
-SYSTEM_MAP	:= /boot/System.map-$(TARGET)
+SYSTEM_MAP	:= /lib/modules/$(TARGET)/build/Module.symvers
 
 DRIVER := nct6775
 
@@ -33,4 +33,4 @@ install: modules_install
 
 modules_install:
 	cp $(DRIVER).ko $(KERNEL_MODULES)/kernel/$(MOD_SUBDIR)
-	depmod -a -F $(SYSTEM_MAP) $(TARGET)
+	depmod -a -E $(SYSTEM_MAP) $(TARGET)

[-- Attachment #3: Type: text/plain, Size: 153 bytes --]

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

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

* Re: [lm-sensors] ERROR: could not insert 'w83627ehf': Device or resource busy
  2012-03-14 13:44 [lm-sensors] ERROR: could not insert 'w83627ehf': Device or resource busy David Kremer
                   ` (9 preceding siblings ...)
  2012-03-14 18:53 ` David Kremer
@ 2012-03-14 19:01 ` David Kremer
  2012-03-14 19:11 ` Guenter Roeck
                   ` (2 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: David Kremer @ 2012-03-14 19:01 UTC (permalink / raw)
  To: lm-sensors

Guenter, I tested your module with the makefile I sent you.

Here is the result. I can't still load your module into my kernel.

  [42029.144832] nct6775: Found NCT6776F chip at 0x290
  [42029.144852] ACPI: resource nct6775 [io 0x0295-0x0296] conflicts 
with ACPI region HWRE [io 0x290-0x299]
  [42029.144853] ACPI: If an ACPI driver is available for this device, 
you should use it instead of the native driver

Tell me if you see something else than to force ACPI.

Do you suggest to try with a newer version of the kernel ? Mine is 
3.0.23-1-lts.
<http://www.federationyoga.qc.ca/page-respiration.html>

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

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

* Re: [lm-sensors] ERROR: could not insert 'w83627ehf': Device or resource busy
  2012-03-14 13:44 [lm-sensors] ERROR: could not insert 'w83627ehf': Device or resource busy David Kremer
                   ` (10 preceding siblings ...)
  2012-03-14 19:01 ` David Kremer
@ 2012-03-14 19:11 ` Guenter Roeck
  2012-03-14 20:57 ` David Kremer
  2012-03-14 23:06 ` Guenter Roeck
  13 siblings, 0 replies; 15+ messages in thread
From: Guenter Roeck @ 2012-03-14 19:11 UTC (permalink / raw)
  To: lm-sensors

On Wed, 2012-03-14 at 15:01 -0400, David Kremer wrote:
> Guenter, I tested your module with the makefile I sent you.
> 
> Here is the result. I can't still load your module into my kernel.
> 
>   [42029.144832] nct6775: Found NCT6776F chip at 0x290
>   [42029.144852] ACPI: resource nct6775 [io 0x0295-0x0296] conflicts 
> with ACPI region HWRE [io 0x290-0x299]
>   [42029.144853] ACPI: If an ACPI driver is available for this device, 
> you should use it instead of the native driver
> 
> Tell me if you see something else than to force ACPI.

David,

that driver will (and can) not solve the acpi resource problem, so you
will still have to force-load it. It can only help with automatic fan
control (which, after being configured, runs automatically in the NCT
chip).

The problem with acpi vs. driver access is that there is no
synchronization between acpi accesses (through the bios) and linux
driver accesses. If both are active, there are potential access
conflicts, with unpredictable results. There is really nothing we can do
about that.

Guenter



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

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

* Re: [lm-sensors] ERROR: could not insert 'w83627ehf': Device or resource busy
  2012-03-14 13:44 [lm-sensors] ERROR: could not insert 'w83627ehf': Device or resource busy David Kremer
                   ` (11 preceding siblings ...)
  2012-03-14 19:11 ` Guenter Roeck
@ 2012-03-14 20:57 ` David Kremer
  2012-03-14 23:06 ` Guenter Roeck
  13 siblings, 0 replies; 15+ messages in thread
From: David Kremer @ 2012-03-14 20:57 UTC (permalink / raw)
  To: lm-sensors

Thank you Guenter. I read your driver's README and I would like to thank 
you for that work.

What I wonder is, if there is actually an automatic mode and a 
temperature range that could be defined for the NCT6776F to stay in (so 
called "cruiser mode"), why this is not accessible from whithin the BIOS 
setting ?

David

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

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

* Re: [lm-sensors] ERROR: could not insert 'w83627ehf': Device or resource busy
  2012-03-14 13:44 [lm-sensors] ERROR: could not insert 'w83627ehf': Device or resource busy David Kremer
                   ` (12 preceding siblings ...)
  2012-03-14 20:57 ` David Kremer
@ 2012-03-14 23:06 ` Guenter Roeck
  13 siblings, 0 replies; 15+ messages in thread
From: Guenter Roeck @ 2012-03-14 23:06 UTC (permalink / raw)
  To: lm-sensors

On Wed, Mar 14, 2012 at 04:57:51PM -0400, David Kremer wrote:
> Thank you Guenter. I read your driver's README and I would like to thank 
> you for that work.
> 
> What I wonder is, if there is actually an automatic mode and a 
> temperature range that could be defined for the NCT6776F to stay in (so 
> called "cruiser mode"), why this is not accessible from whithin the BIOS 
> setting ?
> 
David,

that is really a question to ask the board vendor. NCT6776F actually has several
automatic modes - thermal cruise mode, fan speed cruise mode, and SmartFan IV mode.
In SmartFan IV mode, one can also enable an additional "weight" mode, in which
fan speed is controlled by two temperatures. This is configured on my Intel board
and works quite well. That mode can be configured with the various "weight" attributes
in the latest version of the nct6775 driver.

Guenter

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

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

end of thread, other threads:[~2012-03-14 23:06 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-14 13:44 [lm-sensors] ERROR: could not insert 'w83627ehf': Device or resource busy David Kremer
2012-03-14 13:55 ` Guenter Roeck
2012-03-14 14:23 ` David Kremer
2012-03-14 15:23 ` Guenter Roeck
2012-03-14 15:32 ` David Kremer
2012-03-14 15:36 ` David Kremer
2012-03-14 15:46 ` Guenter Roeck
2012-03-14 15:57 ` Guenter Roeck
2012-03-14 16:19 ` David Kremer
2012-03-14 16:40 ` Guenter Roeck
2012-03-14 18:53 ` David Kremer
2012-03-14 19:01 ` David Kremer
2012-03-14 19:11 ` Guenter Roeck
2012-03-14 20:57 ` David Kremer
2012-03-14 23:06 ` Guenter Roeck

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.