E-TARD wrote:so do i have to edit this or what im sry if what im asking is dumb or some thing but its the only way i will find out
Do this:
Code: Select all
cd /usr/src/linux/
make menuconfig
Then select
Device Drivers --->:
Code: Select all
Linux Kernel v2.6.16.16 Configuration
──────────────────────────────────────────────────────────────────────────────────────────────────────
┌────────────────────────────────── Linux Kernel Configuration ───────────────────────────────────┐
│ Arrow keys navigate the menu. <Enter> selects submenus --->. Highlighted letters are │
│ hotkeys. Pressing <Y> includes, <N> excludes, <M> modularizes features. Press <Esc><Esc> to │
│ exit, <?> for Help, </> for Search. Legend: [*] built-in [ ] excluded <M> module < > │
│ module capable │
│ ┌─^(-)────────────────────────────────────────────────────────────────────────────────────────┐ │
│ │ Block layer ---> │ │
│ │ Processor type and features ---> │ │
│ │ Power management options (ACPI, APM) ---> │ │
│ │ Bus options (PCI, PCMCIA, EISA, MCA, ISA) ---> │ │
│ │ Executable file formats ---> │ │
│ │ Networking ---> │ │
│ │ Device Drivers ---> │ │
│ │ File systems ---> │ │
│ │ Instrumentation Support ---> │ │
│ │ Kernel hacking ---> │ │
│ │ Security options ---> │ │
│ │ Cryptographic options ---> │ │
│ │ Library routines ---> │ │
│ └─┴(+)────────────────────────────────────────────────────────────────────────────────────────┘ │
├─────────────────────────────────────────────────────────────────────────────────────────────────┤
│ <Select> < Exit > < Help > │
└─────────────────────────────────────────────────────────────────────────────────────────────────┘
Then select
I2C support --->:
Code: Select all
Linux Kernel v2.6.16.16 Configuration
──────────────────────────────────────────────────────────────────────────────────────────────────────
┌──────────────────────────────────────── Device Drivers ─────────────────────────────────────────┐
│ Arrow keys navigate the menu. <Enter> selects submenus --->. Highlighted letters are │
│ hotkeys. Pressing <Y> includes, <N> excludes, <M> modularizes features. Press <Esc><Esc> to │
│ exit, <?> for Help, </> for Search. Legend: [*] built-in [ ] excluded <M> module < > │
│ module capable │
│ ┌─^(-)────────────────────────────────────────────────────────────────────────────────────────┐ │
│ │ I2O device support ---> │ │
│ │ Network device support ---> │ │
│ │ ISDN subsystem ---> │ │
│ │ Telephony Support ---> │ │
│ │ Input device support ---> │ │
│ │ Character devices ---> │ │
│ │ I2C support ---> │ │
│ │ SPI support ---> │ │
│ │ Dallas's 1-wire bus ---> │ │
│ │ Hardware Monitoring support ---> │ │
│ │ Misc devices ---> │ │
│ │ Multimedia Capabilities Port drivers ---> │ │
│ │ Multimedia devices ---> │ │
│ └─┴(+)────────────────────────────────────────────────────────────────────────────────────────┘ │
├─────────────────────────────────────────────────────────────────────────────────────────────────┤
│ <Select> < Exit > < Help > │
└─────────────────────────────────────────────────────────────────────────────────────────────────┘
And then select the modules you need (I have selected):
Code: Select all
Linux Kernel v2.6.16.16 Configuration
──────────────────────────────────────────────────────────────────────────────────────────────────────
┌────────────────────────────────────────── I2C support ──────────────────────────────────────────┐
│ Arrow keys navigate the menu. <Enter> selects submenus --->. Highlighted letters are │
│ hotkeys. Pressing <Y> includes, <N> excludes, <M> modularizes features. Press <Esc><Esc> to │
│ exit, <?> for Help, </> for Search. Legend: [*] built-in [ ] excluded <M> module < > │
│ module capable │
│ ┌─────────────────────────────────────────────────────────────────────────────────────────────┐ │
│ │ <M> I2C support │ │
│ │ <M> I2C device interface │ │
│ │ I2C Algorithms ---> │ │
│ │ I2C Hardware Bus support ---> │ │
│ │ Miscellaneous I2C Chip support ---> │ │
│ │ [ ] I2C Core debugging messages │ │
│ │ [ ] I2C Algorithm debugging messages │ │
│ │ [ ] I2C Bus debugging messages │ │
│ │ [ ] I2C Chip debugging messages │ │
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
│ └─────────────────────────────────────────────────────────────────────────────────────────────┘ │
├─────────────────────────────────────────────────────────────────────────────────────────────────┤
│ <Select> < Exit > < Help > │
└─────────────────────────────────────────────────────────────────────────────────────────────────┘
Linux Kernel v2.6.16.16 Configuration
──────────────────────────────────────────────────────────────────────────────────────────────────────
┌──────────────────────────────────────── I2C Algorithms ─────────────────────────────────────────┐
│ Arrow keys navigate the menu. <Enter> selects submenus --->. Highlighted letters are │
│ hotkeys. Pressing <Y> includes, <N> excludes, <M> modularizes features. Press <Esc><Esc> to │
│ exit, <?> for Help, </> for Search. Legend: [*] built-in [ ] excluded <M> module < > │
│ module capable │
│ ┌─────────────────────────────────────────────────────────────────────────────────────────────┐ │
│ │ --- I2C bit-banging interfaces │ │
│ │ <M> I2C PCF 8584 interfaces │ │
│ │ <M> I2C PCA 9564 interfaces │ │
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
│ └─────────────────────────────────────────────────────────────────────────────────────────────┘ │
├─────────────────────────────────────────────────────────────────────────────────────────────────┤
│ <Select> < Exit > < Help > │
└─────────────────────────────────────────────────────────────────────────────────────────────────┘
Linux Kernel v2.6.16.16 Configuration
──────────────────────────────────────────────────────────────────────────────────────────────────────
┌─────────────────────────────────── I2C Hardware Bus support ────────────────────────────────────┐
│ Arrow keys navigate the menu. <Enter> selects submenus --->. Highlighted letters are │
│ hotkeys. Pressing <Y> includes, <N> excludes, <M> modularizes features. Press <Esc><Esc> to │
│ exit, <?> for Help, </> for Search. Legend: [*] built-in [ ] excluded <M> module < > │
│ module capable │
│ ┌─^(-)────────────────────────────────────────────────────────────────────────────────────────┐ │
│ │ < > Intel PIIX4 │ │
│ │ <M> Nvidia nForce2, nForce3 and nForce4 │ │
│ │ <M> Parallel port adapter │ │
│ │ < > Parallel port adapter (light) │ │
│ │ < > S3/VIA (Pro)Savage │ │
│ │ < > S3 Savage 4 │ │
│ │ < > NatSemi SCx200 ACCESS.bus │ │
│ │ < > SiS 5595 │ │
│ │ < > SiS 630/730 │ │
│ │ < > SiS 96x │ │
│ │ < > I2C/SMBus Test Stub │ │
│ │ <M> VIA 82C586B │ │
│ │ <M> VIA 82C596/82C686/823x │ │
│ └─┴(+)────────────────────────────────────────────────────────────────────────────────────────┘ │
├─────────────────────────────────────────────────────────────────────────────────────────────────┤
│ <Select> < Exit > < Help > │
└─────────────────────────────────────────────────────────────────────────────────────────────────┘
Linux Kernel v2.6.16.16 Configuration
──────────────────────────────────────────────────────────────────────────────────────────────────────
┌──────────────────────────────── Miscellaneous I2C Chip support ─────────────────────────────────┐
│ Arrow keys navigate the menu. <Enter> selects submenus --->. Highlighted letters are │
│ hotkeys. Pressing <Y> includes, <N> excludes, <M> modularizes features. Press <Esc><Esc> to │
│ exit, <?> for Help, </> for Search. Legend: [*] built-in [ ] excluded <M> module < > │
│ module capable │
│ ┌─────────────────────────────────────────────────────────────────────────────────────────────┐ │
│ │ < > Dallas Semiconductor DS1337 and DS1339 Real Time Clock │ │
│ │ < > Maxim/Dallas Semiconductor DS1374 Real Time Clock │ │
│ │ <M> EEPROM reader │ │
│ │ <M> Philips PCF8574 and PCF8574A │ │
│ │ <M> Philips PCA9539 16-bit I/O port │ │
│ │ <M> Philips PCF8591 │ │
│ │ <M> Epson 8564 RTC chip │ │
│ │ < > Maxim MAX6875 Power supply supervisor │ │
│ │ < > Xicor X1205 RTC chip │ │
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
│ └─────────────────────────────────────────────────────────────────────────────────────────────┘ │
├─────────────────────────────────────────────────────────────────────────────────────────────────┤
│ <Select> < Exit > < Help > │
└─────────────────────────────────────────────────────────────────────────────────────────────────┘
After that save your kernel configuration and build your new kernel and install it. After a reboot, you should be able to install lm_sensors.
cheers
SteveB