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: "bill.whiteley" <>
Date: Wed, 28 Jan 2009 15:37:44 -0000
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? 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?

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! 

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.

:root# lsmod
Module                  Size  Used by
zd1211rw               49956  0 
firmware_class          7904  1 zd1211rw
ieee80211softmac       27648  1 zd1211rw
ieee80211              29924  2 zd1211rw,ieee80211softmac
ieee80211_crypt         4992  1 ieee80211
mvsata                 73064  0 
vfat                   10816  0 
fat                    48380  1 vfat
xpad                    6852  0 
joydev                  8832  0 
usbhid                 15140  0 
sd_mod                 15792  0 
usb_storage            25796  0 
scsi_mod               87460  3 mvsata,sd_mod,usb_storage
libusual               14096  1 usb_storage
tsuart7800              2716  0 
tsuart1                13772  1 tsuart7800
tssdcard               32160  2 
ehci_hcd               33580  0 
ts7800                  3584  0 
usbcore               115968  7
zd1211rw,xpad,usbhid,usb_storage,libusual,ehci_hcd


dmesg output when xbox 360 (wired type) is connected:

:root# dmesg | tail
usb 1-1: new full speed USB device using mv5182_ehci and address 4
usb 1-1: configuration #1 chosen from 1 choice


dmesg output when other usb joystick connected:

:root# dmesg | tail
usb 1-1: new low speed USB device using mv5182_ehci and address 3
usb 1-1: configuration #1 chosen from 1 choice


:root# locate joydev
/home/eclipse/joydev.ko
/lib/modules/2.6.21-ts/kernel/drivers/usb/input/joydev.ko
/sys/module/joydev
/sys/module/joydev/holders
/sys/module/joydev/initstate
/sys/module/joydev/refcnt
/sys/module/joydev/sections
/sys/module/joydev/sections/.bss
/sys/module/joydev/sections/.data
/sys/module/joydev/sections/.exit.text
/sys/module/joydev/sections/.gnu.linkonce.this_module
/sys/module/joydev/sections/.init.text
/sys/module/joydev/sections/.rodata
/sys/module/joydev/sections/.rodata.str1.4
/sys/module/joydev/sections/.strtab
/sys/module/joydev/sections/.symtab
/sys/module/joydev/sections/.text



:root# locate xpad
/home/eclipse/xpad.h
/home/eclipse/xpad.ko
/lib/modules/2.6.21-ts/kernel/drivers/usb/input/xpad.ko
/lib/xpad.ko
/sys/bus/usb/drivers/xpad
/sys/bus/usb/drivers/xpad/bind
/sys/bus/usb/drivers/xpad/module
/sys/bus/usb/drivers/xpad/new_id
/sys/bus/usb/drivers/xpad/unbind
/sys/module/usbcore/holders/xpad
/sys/module/xpad
/sys/module/xpad/drivers
/sys/module/xpad/drivers/usb:xpad
/sys/module/xpad/holders
/sys/module/xpad/initstate
/sys/module/xpad/parameters
/sys/module/xpad/parameters/dpad_to_buttons
/sys/module/xpad/refcnt
/sys/module/xpad/sections
/sys/module/xpad/sections/.bss
/sys/module/xpad/sections/.data
/sys/module/xpad/sections/.exit.text
/sys/module/xpad/sections/.gnu.linkonce.this_module
/sys/module/xpad/sections/.init.text
/sys/module/xpad/sections/.rodata
/sys/module/xpad/sections/.rodata.str1.4
/sys/module/xpad/sections/.strtab
/sys/module/xpad/sections/.symtab
/sys/module/xpad/sections/.text
/sys/module/xpad/sections/__param
/usr/include/linux/xpad.h


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