[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Dazuko-help] dazuko loading
From: |
John Ogness |
Subject: |
Re: [Dazuko-help] dazuko loading |
Date: |
Fri, 17 Sep 2004 20:06:41 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040113 |
shaun wrote:
I have loaded dazuko on a redhat kernel 2.4.
I check devices and and dazuko displays there. I test with example_c and
everything works when i restart the pc I get a message that dazuko needs me
to insmod. When I check devices again then dazuko does not appear. What do I
need to do to solve this.
Hi,
Probably the easiest way is to copy "dazuko.o" to the kernel modules directory:
# cp dazuko.o /lib/modules/`uname -r`/kernel/drivers
Then update the module dependencies:
# depmod -a
Now you can load Dazuko at any time by using:
# modprobe dazuko
(Both depmod and modprobe are in the /sbin directory, in case it is not
already in your PATH.)
If you want Dazuko to automatically whenever some application tries to use
it, then you can create the following entry in /etc/modules.conf:
alias char-major-254 dazuko
This assumes that Dazuko uses device major 254. You can `cat /proc/devices`
to see which is used.
John Ogness
--
Dazuko Maintainer