Port-i386 archive

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

Re: Sensors on Asus P2B-F?



Mostly, you just have to know.

The iic manpage documents the I2C_SCAN option and tells you why we don't autoscan the i2c bus. Even scanning the bus simply tells you which addresses respond; there is in general no way to know for sure what is at each address. Not like PCI bus where there is a standardized Vendor and Product code.

Some addresses are 'reserved', such as 0x50 thru 0x57 for spdmem(4). But mostly you just have to know what device is where.



On Fri, 30 Oct 2009, Hauke Fath wrote:

At 10:35 Uhr -0700 30.10.2009, Paul Goyette wrote:
Once you've identified the sensors on your machine, you need to build custom kernel to include them. In your case, this would be an lm(4) device. You need to convert the i2c address to be "right-justified", so you'll need

        lm0 at iic? addr 0x2d

Thanks, Paul. Is there any obvious documentation that I overlooked, or do you just have to know?

I built a kernel from home, and booted it blindly, and the machine didn't come back. So that'll have to wait till Monday...

        hauke

--
    The ASCII Ribbon Campaign                    Hauke Fath
()     No HTML/RTF in email            Institut für Nachrichtentechnik
/\     No Word docs in email                     TU Darmstadt
    Respect for open standards              Ruf +49-6151-16-3281


-------------------------------------------------------------------------
|   Paul Goyette   | PGP DSS Key fingerprint: |  E-mail addresses:      |
| Customer Service | FA29 0E3B 35AF E8AE 6651 |  paul at whooppee.com   |
| Network Engineer | 0786 F758 55DE 53BA 7731 | pgoyette at juniper.net |
| Kernel Developer |                          | pgoyette at netbsd.org  |
-------------------------------------------------------------------------


Home | Main Index | Thread Index | Old Index