xpad drivers
meka <[email protected]> Thu, 3 Aug 2006 11:21:09 -0700 (PDT)
| Newsgroups | gmane.linux.ports.xbox.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi,
I have some troubles with xpad drivers
i got an "Intec"(NAKI) wireless xbox pad(not 360)
it works perfectly on windows computer with XBCB drivers but
i just can t get it to works on linux with xpad drivers.
here are the infos:
kernel
------
Linux meka 2.6.17.7 #3 PREEMPT Thu Aug 3 18:45:46 CEST 2006 x86_64 GNU/Linux
/proc/bus/usb/devices
---------------------
T: Bus=03 Lev=01 Prnt=01 Port=03 Cnt=01 Dev#= 2 Spd=12 MxCh= 3
D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=110b ProdID=8801 Rev= 0.01
S: Product=NAKI
C:* #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr= 64mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 1 Ivl=255ms
T: Bus=03 Lev=02 Prnt=02 Port=00 Cnt=01 Dev#= 3 Spd=12 MxCh= 0
D: Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=0c12 ProdID=0005 Rev= 0.01
C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=100mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=03(HID ) Sub=01 Prot=00 Driver=usbhid
E: Ad=82(I) Atr=03(Int.) MxPS= 8 Ivl=10ms
i ve added those ID to xpad, Vendor=0c12 ProdID=0005..i tried:
{ 0x0c12, 0x0005, 0, "Naki 2.4ghz Wireless Controller" }
and..
{ 0x110b, 0x8801, 0, "Naki 2.4ghz Wireless Controller ALT" }
(this 2 lines with xpad 0.1.6, note that i ve tried with diff xpad version
from 0.0.5)
i know about Driver=hub ..but i didn t know what else to test...
modprobe usbhid; modprobe evdev; modprobe xpad; modprobe joydev
---------------------------------------------------------------
Aug 3 19:15:42 meka kernel: usbcore: registered new driver hiddev
Aug 3 19:15:42 meka kernel: usbhid 3-4.1:1.0: usb_probe_interface
Aug 3 19:15:42 meka kernel: usbhid 3-4.1:1.0: usb_probe_interface - got id
Aug 3 19:15:43 meka kernel: input: HID 0c12:0005 as /class/input/input6
Aug 3 19:15:43 meka kernel: input: USB HID v1.10 Joystick [HID 0c12:0005]
on usb-0000:00:02.1-4.1
Aug 3 19:15:43 meka kernel: usbcore: registered new driver usbhid
Aug 3 19:15:43 meka kernel:
/mnt/hdc3/KERNEL/linux-2.6.17.7/drivers/usb/input/hid-core.c: v2.6:USB HID
core driver
Aug 3 19:15:43 meka kernel: usbcore: registered new driver xpad
Aug 3 19:15:43 meka kernel:
/mnt/hdc3/KERNEL/linux-2.6.17.7/drivers/usb/input/xpad.c: driver for Xbox
controllers v0.1.6
Aug 3 19:15:43 meka input.agent[3472]: joydev: loaded successfully
jstest /dev/js0
---------------
jstest /dev/js0
Driver version is 2.1.0.
Joystick (HID 0c12:0005) has 6 axes (X, Y, Z, Rz, Hat0X, Hat0Y)
and 12 buttons (Trigger, ThumbBtn, ThumbBtn2, TopBtn, TopBtn2, PinkieBtn,
BaseBtn, BaseBtn2, BaseBtn3, BaseBtn4, BaseBtn5, Ba
Testing ... (interrupt to exit)
Axes: 0:-32767 1:-32767 2:-32767 3:-32767 4: 0 5: 0 Buttons:
0:off 1:off 2:off 3:off 4:off 5:off 6:off
i can do whatever i want with the pad, jstest will not show anything...
now if i try "cat /dev/js0" i got ~2 or 3 lines of craps (not always the
same values) but nothing more when i play with the gamepad.
i need help, i dunno what else to try :/
(if this is not te right place to post this, just give me a link cauze i
didn t find any other appropriate place, many links about xpad are down...)
thx
--
View this message in context: http://www.nabble.com/xpad-drivers-tf2047245.html#a5637947
Sent from the xbox-linux-devel forum at Nabble.com.
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV