* Re: [lm-sensors] #2361: i2c and lm_sensors do not work on Slackware 12.1 with kernel 2.6.27.6 [not found] ` <049.52c5d9ff015802332972920378e356e9@lm-sensors.org> @ 2008-11-18 11:17 ` Robert Delahunt [not found] ` <200811182017.43109.twinreverb-v3ax9e/3W6w7GzjB842lBqxOck334EZe@public.gmane.org> 2008-11-18 16:02 ` Jean Delvare 0 siblings, 2 replies; 3+ messages in thread From: Robert Delahunt @ 2008-11-18 11:17 UTC (permalink / raw) To: linux-i2c; +Cc: linux-acpi How is it fixed? ACPI and sensors should be able to live together. If I can't have one without the other, in my opinion, this is a blind spot for both projects. Has anyone brought this up to the kernel ACPI developers to see if they can "unhide" or "expose" the hardware monitoring? As for this laptop, thermal regulating is actually controlled in the hardware: neither ACPI nor sensors/i2c is needed to regulate temperature in the OS level. I just find it odd that i2c/lm_sensors claims to support this chipset yet the answer I get is that the kernel ACPI "hides" them. I'll bring this up to the kernel ACPI developers, but I would like to see this issue resolved. Again, I am willing to test out whatever code necessary to help this process. On Tuesday 18 November 2008 06:20:48 pm lm-sensors wrote: > #2361: i2c and lm_sensors do not work on Slackware 12.1 with kernel > 2.6.27.6 > ----------------------+---------------------------------------------------- >- Reporter: ticket | Owner: somebody > Type: defect | Status: closed > Priority: major | Milestone: > Component: sensors | Version: 3.0.3 > Resolution: fixed | Keywords: > ----------------------+---------------------------------------------------- >- Changes (by khali): > > * cc: twinreverb@puresimplicity.net. (added) > * status: new => closed > * resolution: => fixed > * milestone: 3.0.4 => > > Comment: > > I don't see anything wrong here. Most laptops do not have (exposed) > hardware monitoring chips. Thermal regulation is handled by ACPI. -- Very respectfully, Robert Delahunt ------------------------------------------------------------------- Ezekiel 11:19 New King James Version Then I will give them one heart, and I will put a new spirit within them, and take the stony heart out of their flesh, and give them a heart of flesh.... ^ permalink raw reply [flat|nested] 3+ messages in thread
[parent not found: <200811182017.43109.twinreverb-v3ax9e/3W6w7GzjB842lBqxOck334EZe@public.gmane.org>]
* Re: [lm-sensors] #2361: i2c and lm_sensors do not work on Slackware 12.1 with kernel 2.6.27.6 [not found] ` <200811182017.43109.twinreverb-v3ax9e/3W6w7GzjB842lBqxOck334EZe@public.gmane.org> @ 2008-11-18 11:42 ` Matthew Garrett 0 siblings, 0 replies; 3+ messages in thread From: Matthew Garrett @ 2008-11-18 11:42 UTC (permalink / raw) To: Robert Delahunt Cc: linux-i2c-u79uwXL29TY76Z2rM5mHXA, linux-acpi-u79uwXL29TY76Z2rM5mHXA On Tue, Nov 18, 2008 at 08:17:42PM +0900, Robert Delahunt wrote: > How is it fixed? ACPI and sensors should be able to live together. If I > can't have one without the other, in my opinion, this is a blind spot for > both projects. Has anyone brought this up to the kernel ACPI developers to > see if they can "unhide" or "expose" the hardware monitoring? Hitting thermal regulation hardware directly can cause problems if you're also using ACPI, since there's no way of implementing locking between the firmware and the operating system in this case. Since most thermal monitoring hardware is accessed using indexed registers, having two pieces of code trying to access the hardware simultaneously will give bogus values and potentially result in hardware damage. Many laptops therefore hide the smbus from the operating system. While it's possible to unhide them, it's not a good idea. -- Matthew Garrett | mjg59-1xO5oi07KQx4cg9Nei1l7Q@public.gmane.org ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: #2361: i2c and lm_sensors do not work on Slackware 12.1 with kernel 2.6.27.6 2008-11-18 11:17 ` [lm-sensors] #2361: i2c and lm_sensors do not work on Slackware 12.1 with kernel 2.6.27.6 Robert Delahunt [not found] ` <200811182017.43109.twinreverb-v3ax9e/3W6w7GzjB842lBqxOck334EZe@public.gmane.org> @ 2008-11-18 16:02 ` Jean Delvare 1 sibling, 0 replies; 3+ messages in thread From: Jean Delvare @ 2008-11-18 16:02 UTC (permalink / raw) To: twinreverb; +Cc: linux-i2c, linux-acpi Hi Robert, On Tue, 18 Nov 2008 20:17:42 +0900, Robert Delahunt wrote: > How is it fixed? ACPI and sensors should be able to live together. Playing the devil's advocate for a minute: why? ACPI and lm-sensors are ways to achieve something, and at some level they are different ways to achieve the same thing. Having both working together is not a goal per se. The two real goals are: 1* let the user obtain information about his/her hardware (temperature in particular) and 2* make sure we do not crash the system. The former may be obtained without getting ACPI and lm-sensors to work at the same time, and for the latter, ACPI and lm-sensors generally must NOT be used at the same time. Now, in practice ACPI is often getting way less out of the hardware than lm-sensors would do and I definitely agree that this is frustrating. But as responsible developers we have to first guarantee that the user's system is safe, before looking at how to expose more features. > (...) If I > can't have one without the other, in my opinion, this is a blind spot for > both projects. Has anyone brought this up to the kernel ACPI developers to > see if they can "unhide" or "expose" the hardware monitoring? > > As for this laptop, thermal regulating is actually controlled in the hardware: > neither ACPI nor sensors/i2c is needed to regulate temperature in the OS > level. I just find it odd that i2c/lm_sensors claims to support this chipset > yet the answer I get is that the kernel ACPI "hides" them. I'm not sure which chipset exactly you refer to? The Intel 82801DB is a south bridge that doesn't include sensors. It includes an SMBus controller, behind which hardware monitoring chips can live, but it is disabled on your system. In most cases, this is an indication that ACPI wants the SMBus for itself so we better don't access it. We would need to look at the acpidump of this system to make sure. Anyway, even if your laptop had a hardware monitoring chips which is listed as supported by lm-sensors, but ACPI is using it, then you shouldn't be using the "native" driver for it. Just because we claim to support some device doesn't mean that loading the driver is the right thing to do on all systems (I really would like it to be the case, it would be much easier for everyone, but in the real world it isn't.) > I'll bring this up to the kernel ACPI developers, but I would like to see this > issue resolved. Again, I am willing to test out whatever code necessary to > help this process. Wait for APCI v4 maybe? Fundamentally this is a design flaw of ACPI to grab resources which the OS would also need without providing a way to synchronize access. -- Jean Delvare ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-11-18 16:02 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <040.878a61a6a191c2ece367aefb3b3bc643@lm-sensors.org>
[not found] ` <049.52c5d9ff015802332972920378e356e9@lm-sensors.org>
2008-11-18 11:17 ` [lm-sensors] #2361: i2c and lm_sensors do not work on Slackware 12.1 with kernel 2.6.27.6 Robert Delahunt
[not found] ` <200811182017.43109.twinreverb-v3ax9e/3W6w7GzjB842lBqxOck334EZe@public.gmane.org>
2008-11-18 11:42 ` Matthew Garrett
2008-11-18 16:02 ` Jean Delvare
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox