Ok, I had another bash at it, found a small typo in my patch (missing comma) and reinstalled my custom kernel.
It seems to put the g25 on event3.
richie@richie-desktop:~/ff-utils$ sudo ./ffcfstress -d /dev/input/event3
ERROR: device (or driver) has no force feedback support [ffcfstress.c:165]
Debug info:
Code:
custom g25 kernel:
richie@richie-desktop:~/ff-utils$ uname -a
Linux richie-desktop 2.6.27-g25 #2 SMP Sun Oct 19 14:56:05 BST 2008 i686 GNU/Linux
richie@richie-desktop:~/ff-utils$
Code:
richie@richie-desktop:~/usbtool-0.1$ sudo ./dowheel
./dowheel: line 3: cd: usbtool-0.1: No such file or directory
/home/richie/usbtool-0.1/libusb.py:7: RuntimeWarning: Python C API version mismatch for module _libusb: This Python has API version 1012, module _libusb has version 1013.
import _libusb
/home/richie/usbtool-0.1/libusb.py:7: RuntimeWarning: Python C API version mismatch for module swig_runtime_data3: This Python has API version 1012, module swig_runtime_data3 has version 1013.
import _libusb
046d:c294:0 Device G25 (normal mode) found!
turning on wheel functions
/home/richie/usbtool-0.1/libusb.py:7: RuntimeWarning: Python C API version mismatch for module _libusb: This Python has API version 1012, module _libusb has version 1013.
import _libusb
/home/richie/usbtool-0.1/libusb.py:7: RuntimeWarning: Python C API version mismatch for module swig_runtime_data3: This Python has API version 1012, module swig_runtime_data3 has version 1013.
import _libusb
alt setting 0
/home/richie/usbtool-0.1/libusb.py:7: RuntimeWarning: Python C API version mismatch for module _libusb: This Python has API version 1012, module _libusb has version 1013.
import _libusb
/home/richie/usbtool-0.1/libusb.py:7: RuntimeWarning: Python C API version mismatch for module swig_runtime_data3: This Python has API version 1012, module swig_runtime_data3 has version 1013.
import _libusb
046d:c299:0 Device G25 (extended mode) found!
turning on 900 degrees
/home/richie/usbtool-0.1/libusb.py:7: RuntimeWarning: Python C API version mismatch for module _libusb: This Python has API version 1012, module _libusb has version 1013.
import _libusb
/home/richie/usbtool-0.1/libusb.py:7: RuntimeWarning: Python C API version mismatch for module swig_runtime_data3: This Python has API version 1012, module swig_runtime_data3 has version 1013.
import _libusb
alt setting 0
/home/richie/usbtool-0.1/libusb.py:7: RuntimeWarning: Python C API version mismatch for module _libusb: This Python has API version 1012, module _libusb has version 1013.
import _libusb
/home/richie/usbtool-0.1/libusb.py:7: RuntimeWarning: Python C API version mismatch for module swig_runtime_data3: This Python has API version 1012, module swig_runtime_data3 has version 1013.
import _libusb
redetecting js0
ls: cannot access /dev/input/js0: No such file or directory
crw-rw---- 1 root plugdev 13, 0 2008-10-19 20:18 /dev/input/js0
fixing event3 permissions
crw-rw---- 1 root root 13, 67 2008-10-19 20:18 /dev/input/event3
crw-rw---- 1 root games 13, 67 2008-10-19 20:18 /dev/input/event3
done
richie@richie-desktop:~/usbtool-0.1$
Code:
richie@richie-desktop:~/ff-utils$ jstest /dev/input/js0
Driver version is 2.1.0.
Joystick (G25 Racing Wheel) has 6 axes (X, Y, Z, Rz, Hat0X, Hat0Y)
and 19 buttons (Trigger, ThumbBtn, ThumbBtn2, TopBtn, TopBtn2, PinkieBtn, BaseBtn, BaseBtn2, BaseBtn3, BaseBtn4, BaseBtn5, BaseBtn6, BtnDead, BtnA, BtnB, BtnC, BtnX, BtnY, BtnZ).
Testing ... (interrupt to exit)
Axes: 0: 0 1: 0 2: 0 3: 0 4: 0 5: 0 Buttons: 0:off 1:off 2:off 3:off 4:off 5:off 6:off 7:off 8:off 9:off 10:off 11:off 1
Code:
richie@richie-desktop:~/ff-utils$ ./ffcfstress -d /dev/input/event3
ERROR: can not open /dev/input/event3 (Permission denied) [ffcfstress.c:110]
[b]richie@richie-desktop:~/ff-utils$ sudo ./ffcfstress -d /dev/input/event3
ERROR: device (or driver) has no force feedback support [ffcfstress.c:165][/b]
richie@richie-desktop:~/ff-utils$ sudo ./ffcfstress -d /dev/input/js0
ERROR: can not get key bits (Invalid argument) [ffcfstress.c:118]
richie@richie-desktop:~/ff-utils$ sudo ./ffcfstress -d /dev/input/event1
ERROR: no suitable x-axis found [ffcfstress.c:144]
richie@richie-desktop:~/ff-utils$ sudo ./ffcfstress -d /dev/input/event2
ERROR: no suitable x-axis found [ffcfstress.c:144]
richie@richie-desktop:~/ff-utils$ sudo ./ffcfstress -d /dev/input/event4
ERROR: no suitable x-axis found [ffcfstress.c:144]
richie@richie-desktop:~/ff-utils$ sudo ./ffcfstress -d /dev/input/event5
ERROR: no suitable x-axis found [ffcfstress.c:144]
richie@richie-desktop:~/ff-utils$ sudo ./ffcfstress -d /dev/input/event6
ERROR: no suitable x-axis found [ffcfstress.c:144]
richie@richie-desktop:~/ff-utils$ sudo ./ffcfstress -d /dev/input/event7
ERROR: no suitable x-axis found [ffcfstress.c:144]
richie@richie-desktop:~/ff-utils$ sudo ./ffcfstress -d /dev/input/event8
ERROR: can not open /dev/input/event8 (No such file or directory) [ffcfstress.c:110]
Code:
richie@richie-desktop:~/ff-utils$ ./fftest /dev/input/event3
Force feedback test program.
HOLD FIRMLY YOUR WHEEL OR JOYSTICK TO PREVENT DAMAGES
Open device file: Permission denied
richie@richie-desktop:~/ff-utils$ sudo ./fftest /dev/input/event3
Force feedback test program.
HOLD FIRMLY YOUR WHEEL OR JOYSTICK TO PREVENT DAMAGES
Device /dev/input/event3 opened
Axes query:
Effects:
Number of simultaneous effects: 0
Upload effects[0]: Function not implemented
Upload effects[1]: Function not implemented
Upload effects[2]: Function not implemented
Upload effects[3]: Function not implemented
Upload effects[4]: Function not implemented
Upload effects[5]: Function not implemented
Enter effect number, -1 to exit
0
Now Playing: Sine vibration
Enter effect number, -1 to exit
1
Now Playing: Constant Force
Enter effect number, -1 to exit
^C
richie@richie-desktop:~/ff-utils$
Code:
richie@richie-desktop:~/ff-utils$ ls -l /dev/input
total 0
drwxr-xr-x 2 root root 140 2008-10-19 20:18 by-id
drwxr-xr-x 2 root root 160 2008-10-19 20:18 by-path
crw-rw---- 1 root root 13, 64 2008-10-19 20:02 event0
crw-rw---- 1 root root 13, 65 2008-10-19 20:18 event1
crw-rw---- 1 root root 13, 66 2008-10-19 20:18 event2
crw-rw---- 1 root games 13, 67 2008-10-19 20:18 event3
crw-rw---- 1 root root 13, 68 2008-10-19 20:02 event4
crw-rw---- 1 root root 13, 69 2008-10-19 20:02 event5
crw-rw---- 1 root root 13, 70 2008-10-19 20:02 event6
crw-rw---- 1 root root 13, 71 2008-10-19 20:02 event7
crw-rw---- 1 root plugdev 13, 0 2008-10-19 20:18 js0
crw-rw---- 1 root root 13, 63 2008-10-19 21:02 mice
crw-rw---- 1 root root 13, 32 2008-10-19 21:02 mouse0
crw-rw---- 1 root root 13, 33 2008-10-19 20:18 mouse1
richie@richie-desktop:~/ff-utils$
Code:
richie@richie-desktop:~/ff-utils$ lsusb
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 002: ID 050d:0131 Belkin Components Bluetooth Device with trace filter
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 002: ID 046d:c513 Logitech, Inc. MX3000 Cordless Desktop Receiver
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 003: ID 046d:c299 Logitech, Inc.
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
richie@richie-desktop:~/ff-utils$