I am trying to get the XBox 360 controller to work with the TS7800
SBC. I have tried a number of things as I will detail below, but if
anyone has any ideas I would really like to hear them.
Basically what I did was build a new TS7800 kernel on my Linux laptop
cross compiled for the arm, and I had it configured through "make
menuconfig" to include the xpad module. I then copied just the xpad.h,
xpad.ko to the TS7800 and gave the command:
modprobe xpad
However, it doesn't appear in /dev/input like it should. Below I have
some diagnostic outputs that may help diagnose the problem
:root# uname -a
Linux ts7800 2.6.21-ts #4 PREEMPT Tue Jun 10 17:13:00 MST 2008
armv5tejl GNU/Linux
:root# lsmod
Module Size Used by
xpad 6852 0
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
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 6
xpad,zd1211rw,usb_storage,libusual,ehci_hcd
:root# lsusb
Bus 002 Device 004: ID 045e:028e Microsoft Corp.
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000
:root# dmesg | tail
ieee80211: Copyright (C) 2004-2005 Intel Corporation
<>
usbcore: registered new interface driver zd1211rw
usb 2-1: USB disconnect, address 2
usb 2-1: new full speed USB device using mv5182_ehci and address 3
usb 2-1: configuration #1 chosen from 1 choice
usbcore: registered new interface driver xpad
drivers/usb/input/xpad.c: X-Box pad driver:v0.0.6
usb 2-1: USB disconnect, address 3
usb 2-1: new full speed USB device using mv5182_ehci and address 4
usb 2-1: configuration #1 chosen from 1 choice
:root# locate xpad
/lib/modules/2.6.21-ts/kernel/drivers/usb/input/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/xpad.h
If anyone has any thoughts, I would really like to hear them.
Thanks,
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/
|