|
by Jack Dennon
Start ý Create
the Device Driver ý Create the Device
ý The Order of Things ý Load
the Device Driver ý Call the Test Program
ý Remove the Device Driver ý Sources
and PDF
REMOVE THE DEVICE DRIVER
To remove the device driver,
log in as root once more and use the command rmmod wtdio2_0.
The only time you need to remove the device driver is when you want
to replace it with a newer or modified version.
Linux is remarkably robust
and more bullet-proof than the proprietary systems that I have used
in the past. When working only on the user side of Linux, it is nearly
impossible to hang the system. But, when new code is introduced on
the kernel side, as is done when you install a device driver, you
can cause breakage.
Fortunately, Linux is distributed
in source-code form, so you can study the kernel itself to whatever
depth is necessary to get your own kernel code to work. For an introduction
to writing device driver modules, check out LINUX Kernel Module
Programming Guide by Ori Pomerantz. [1] Advanced information is
in the O'Reilly book LINUX Device Drivers by Alessandro Rubini.
[2] And, for a gradual introduction to C programming with Linux, check
out my book, Build Your Own LINUX C Toolbox. [3]
PREVIOUS
NEXT
Circuit Cellar provides up-to-date information for engineers. Visit
www.circuitcellar.com for
more information and additional articles.
For subscription information, call (860) 875-2199, subscribe@circuitcellar.com
or subscribe online.
ýCircuit Cellar, the Magazine for Computer Applications. Posted with
permission. |