ts-7000
[Top] [All Lists]

[ts-7000] Re: Getting xpad module to work on TS7800 (XBox Controller)

To:
Subject: [ts-7000] Re: Getting xpad module to work on TS7800 (XBox Controller)
From: "charliem_1216" <>
Date: Thu, 29 Jan 2009 03:00:07 -0000
--- In  "bill.whiteley" <> wrote:
>
> Thanks for the response Charlie. So I went back and with make
> menuconfig and included joydev and some others. A few excerpts from
> .config:
> 
> CONFIG_INPUT_JOYDEV=m
> ...
> CONFIG_INPUT_JOYSTICK=y
> ...
> CONFIG_USB_XPAD=m
> CONFIG_USB_HID=m
> 
> -Then I complied the kernel (nearly certain I am doing this right)
> -I then copied the kernel to the 512 MB SD card using:
> 
>  sudo dd if=linux-2.6.21-ts-src-oct102008/arch/arm/boot/zImage
> of=/dev/sdb2
> 
> Is this all I have to do? 

Are you sure you are running the new kernel? (cat /proc/version ..)
Do you need module ohci-hcd for low speed or full speed devices?  

> What about the modules? Where and how do I
> copy them to the SD Card? I manually copied the xpad.ko and joydev.ko,
> but shouldn't there be a step where I copy the new filesystem or
> modules or something?

Sorry, I don't know anything about the TS7800 build system, but I'm
sure it's all outlined in the manual.  With vanilla kernels I use
'make modules_install'.
 
> Anyway, after copying the kernel to the second partition and
> downloading the xpad and joydev modules to the board over ftp and
> placing them in the right spot, the xpad still doesn't work, BUT other
> usb joysticks do! 

So this is an improvement, right?

> I also added xpad and joydev to /etc/modules so they are loaded
> automatically. 
> 
> Can anyone tell me what I am missing? I have included below some
> hopefully helpful outputs. Thanks for the assistance.

One other thing you could try would be to build most everything
related to USB, xpad, joysticks, etc. into the kernel rather than
loadable modules.  Especially if it is something you want to use all
the time.  Then be sure you are running the new kernel ... 

> :root# locate joydev
> /home/eclipse/joydev.ko

[OT] You know that the locate command uses a database that's updated
nightly, right?  (At least on my system).  So 'touch a_new_joydev;
locate joydev' won't find the new file until the db is updated.
[/OT]

regards, ......... Charlie

> 
> Thanks again.
> 
> Bill
>



------------------------------------

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