quickstart

来自「I2C总线LINUX驱动程序」· 代码 · 共 32 行

TXT
32
字号
NOTE: PLEASE SKIM THE INSTALL DOCUMENT, OR BETTER YET READ IT CAREFULLY!The instructions in this document will only work if you have a standardsystem, and may cause problems.Quickstart for compiling outside the kernel.This is by far the EASIEST METHOD.Other methods are described in INSTALL.------------------------------------------  * Verify you are running a 2.4 kernel, 2.4.10 or later.  * It will not work, and is not needed, on 2.6 kernels.  * Make sure you have the kernel tree corresponding to your current    kernel in /lib/modules/(uname -r)/build.    Even if the source is there, it may not correspond to your running    kernel. If so, you will have to recompile your kernel.  * Do `lsmod'. If there are any old i2c or sensors modules loaded,    you MUST remove them (as root) with `rmmod'.  * Verify that your i2c support in the kernel is configured as    modules or is disabled. If it is compiled-in, you obviously    cannot replace it with modules in the next step.  * Do a `make' followed by a `make install'. The warnings about .d    files at the start are harmless.  * That's all (but you need client drivers from some other source to do     anything interesting - see the lm_sensors page:    http://secure.netroedge.com/~lm78/

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?