mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 06:39:11 +00:00
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
This commit is contained in:
parent
a425dda9bd
commit
8ffe650561
@ -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.
|
||||
|
@ -68,17 +68,34 @@ Now we need to uncomment some lines to enable all of our devices.
|
||||
...<br>
|
||||
</code><br>
|
||||
Remove the <b>/*</b> and <b>*/</b> of your devices and save the file.
|
||||
<code><br>
|
||||
<br>
|
||||
<code>
|
||||
# cd /usr/src/linux<br>
|
||||
# make modules<br>
|
||||
...</code> This may take a while. Go read a book, have lunch or ...<br><br>
|
||||
<table border=1><tr><td>
|
||||
If you have a less powerfull machine like the ARM-Based NSLU2 then it is sufficient to only build the required module:<br>
|
||||
<code># mv Module.symvers Module.symvers.notneeded<br>
|
||||
</code>
|
||||
Now you have 3 choices:<br>
|
||||
<table border=1>
|
||||
<tr><td>
|
||||
<code>
|
||||
# mv Module.symvers Module.symvers.notneeded<br>
|
||||
# make M=drivers/usb/serial</code>
|
||||
</td></tr></table><br>
|
||||
|
||||
|
||||
<td>
|
||||
... to build the modules for all of <i>usb serial</i>.<br>
|
||||
If you have a less powerfull machine like the ARM-Based NSLU2 then it is sufficient to only build the required module.
|
||||
</td></tr>
|
||||
<td><code>
|
||||
# make modules</code>
|
||||
</td><td>
|
||||
... to build all modules (takes a long time).
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
<code>
|
||||
# make driver/usb/serial/ftdi_sio.ko
|
||||
</code>
|
||||
</td><td>
|
||||
... to build just the <i>ftdi_sio.ko</i> module. However, this does not seem to be working always.
|
||||
</td></tr>
|
||||
</table>
|
||||
Once you have the module:<br>
|
||||
<code><br>
|
||||
# cd /lib/modules/<i>yourKernelVerion</i>/kernel/drivers/usb/serial<br>
|
||||
# cp ftdi_sio.ko ftdi_sio.ko_backup<br>
|
||||
|
Loading…
Reference in New Issue
Block a user