On Mon, 17 Nov 2003 22:10:00 -0500 [EMAIL PROTECTED] wrote:

| Hi,
| 
| I am using RH8.0, the kernel should 2.4. I want to generate the module 
| for my gamepad and then load it.

RH 8.0 shipped with 2.4.18 plus some vendor modifications/patches.
Maybe someone who is using RH 8.0 can test this and answer you better
than I can.

| I use "make menuconfig" to compile linux kernel.If I used "BuildIn" 
| option,the joydev.o will be generated under linux/drivers/input. If I 
| used "Module" option, there is no joydev.o generated. I just wonder 
| the compiler may put it somewhere else.  

No, the compiler wouldn't put it somewhere else.

For linux-2.4.18 from kernel.org, with CONFIG_INPUT_JOYDEV=m,
drivers/input/joydev.o is generated as expected:

[EMAIL PROTECTED] linux-2418]$ ll -tr drivers/input/joydev*
-rw-r--r--    1 rddunlap rddunlap    14353 Sep 30  2001 drivers/input/joydev.c
-rw-r--r--    1 rddunlap rddunlap     9508 Nov 17 20:23 drivers/input/joydev.o

| In addition, I generated the joydev.o using "BuildIn" option. However 
| it doesn't work when I copied it to /lib/modules. Is there any command
| for Linux to recognize the new module I build?

After 'make modules' in the linux/ directory, use 'make modules_install'
to copy the modules to /lib/modules/<version>.

--
~Randy


-------------------------------------------------------
This SF. Net email is sponsored by: GoToMyPC
GoToMyPC is the fast, easy and secure way to access your computer from
any Web browser or wireless device. Click here to Try it Free!
https://www.gotomypc.com/tr/OSDN/AW/Q4_2003/t/g22lp?Target=mm/g22lp.tmpl
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to