From 8ffe65056172823fb6c68f32b12ade144c0b1202 Mon Sep 17 00:00:00 2001 From: pest <> Date: Sat, 24 Feb 2007 17:34:59 +0000 Subject: [PATCH] Pest, Sat Feb 24 18:30 MET 2007 doc/linux.html: Module build re-written. git-svn-id: https://svn.fhem.de/fhem/trunk@26 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/HISTORY | 3 +++ fhem/docs/linux.html | 35 ++++++++++++++++++++++++++--------- 2 files changed, 29 insertions(+), 9 deletions(-) diff --git a/fhem/HISTORY b/fhem/HISTORY index 954b29e40..3b916096f 100644 --- a/fhem/HISTORY +++ b/fhem/HISTORY @@ -17,3 +17,6 @@ - Martin Haas, Fri Feb 23 10:18 MET 2007 - ARM-Section (NSLU2) added to doc/linux.html + +- Pest, Sat Feb 24 18:30 MET 2007 + - doc/linux.html: Module build re-written. diff --git a/fhem/docs/linux.html b/fhem/docs/linux.html index 16e3b0447..cd49e6fd8 100644 --- a/fhem/docs/linux.html +++ b/fhem/docs/linux.html @@ -68,17 +68,34 @@ Now we need to uncomment some lines to enable all of our devices. ...

Remove the /* and */ of your devices and save the file. -
+
+ # cd /usr/src/linux
-# make modules
-...
This may take a while. Go read a book, have lunch or ...

- + + +
-If you have a less powerfull machine like the ARM-Based NSLU2 then it is sufficient to only build the required module:
-# mv Module.symvers Module.symvers.notneeded
+
+Now you have 3 choices:
+ +
+ +# mv Module.symvers Module.symvers.notneeded
# make M=drivers/usb/serial
-

- - +
+... to build the modules for all of usb serial.
+If you have a less powerfull machine like the ARM-Based NSLU2 then it is sufficient to only build the required module. +
+# make modules + +... to build all modules (takes a long time). +
+ +# make driver/usb/serial/ftdi_sio.ko + + +... to build just the ftdi_sio.ko module. However, this does not seem to be working always. +
+Once you have the module:

# cd /lib/modules/yourKernelVerion/kernel/drivers/usb/serial
# cp ftdi_sio.ko ftdi_sio.ko_backup