ts-7000
[Top] [All Lists]

[ts-7000] Re: Help with a USB gamepad

To:
Subject: [ts-7000] Re: Help with a USB gamepad
From: "Yan Seiner" <>
Date: Thu, 30 Nov 2006 20:27:02 -0000
--- In  "gamehoser" <> wrote:
>
> Ok, so after further investigation it seems like the default kernel is
> not built with the joydev.o module support or with it compiled in. 
> I've rebuilt the kernel with CONFIG_INPUT_JOYDEV=m and built the
> joydev.o module, but when I try to load it, I get an error stating
> that the module doesn't match the version of kernel I'm running.  Does
> anyone with more linux kernel experience than me have any idea what
> I'm doing wrong?

Obvious check:  Does the kernel source match the running kernel?

You can also try insmod -f to force the insertion, but this is not
recommended for production....  How are you running the kernel?  I do
all my development loading the kernel with tftp and booting from NFS;
this makes it much easier to replace the whole kernel.

> 
> I am compiling the kernel in a cross compiler in cygwin and it seems
> like there's a depmod call that fails at the very end of the
> build(after the compile is done).  I'm guessing that this is because
> it's a cross compile, but I'm truly puzzled why I can't load the
> module I built when the kernel is clearly loading and all the OLD
> modules on the system(which I didn't rebuild) still load.
> 
> Also, the device seems to be /dev/input/js0, but MAKEDEV tells me it
> sees a DevFS filesystem and bails.  I've even hacked that check out of
> makedev to go ahead and make the device(or made it manually with
> mknod), but the device seems to not be attached even when I build the
> kernel with CONFIG_INPUT_JOYDEV=y.
>


It really seems like the kernel source is at odds with the running kernel.

What does uname -a say?

--Yan



 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/ts-7000/join
    (Yahoo! ID required)

<*> To change settings via email:
     
    

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU