Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Hardware: simple utility for send hex commands to usb device
10-19-2008, 03:32 PM,
#28
 
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$
Reply


Messages In This Thread
[No subject] - by thelusiv - 12-30-2007, 05:05 AM
[No subject] - by avl - 12-30-2007, 06:14 AM
[No subject] - by thelusiv - 12-30-2007, 06:36 AM
[No subject] - by avl - 12-30-2007, 08:05 AM
[No subject] - by thelusiv - 12-31-2007, 08:14 AM
[No subject] - by avl - 12-31-2007, 08:44 AM
[No subject] - by thelusiv - 01-03-2008, 06:19 PM
[No subject] - by thelusiv - 02-09-2008, 05:58 AM
[No subject] - by thelusiv - 02-21-2008, 02:50 AM
[No subject] - by thelusiv - 02-21-2008, 04:29 AM
[No subject] - by thelusiv - 03-14-2008, 02:43 AM
[No subject] - by rm - 03-17-2008, 12:43 PM
[No subject] - by thelusiv - 03-17-2008, 01:12 PM
[No subject] - by rm - 03-17-2008, 02:03 PM
[No subject] - by thelusiv - 03-17-2008, 02:36 PM
[No subject] - by rm - 03-17-2008, 03:15 PM
[No subject] - by thelusiv - 03-17-2008, 06:10 PM
/dev/js0 disappeared - by tof8pool - 04-21-2008, 12:29 PM
[No subject] - by joevenzon_phpbb2_import3 - 09-28-2008, 08:02 PM
[No subject] - by bunder - 10-11-2008, 07:08 PM
[No subject] - by tof8pool - 10-12-2008, 05:47 AM
[No subject] - by bunder - 10-12-2008, 08:20 AM
[No subject] - by Rich43 - 10-18-2008, 10:41 PM
[No subject] - by bunder - 10-19-2008, 06:01 AM
[No subject] - by Rich43 - 10-19-2008, 03:32 PM
[No subject] - by tof8pool - 10-20-2008, 01:58 AM
[No subject] - by Rich43 - 10-20-2008, 11:32 AM
[No subject] - by tof8pool - 10-20-2008, 01:10 PM
[No subject] - by Rich43 - 10-21-2008, 03:22 PM
[No subject] - by Rich43 - 10-21-2008, 03:53 PM
[No subject] - by tof8pool - 10-22-2008, 02:10 AM
[No subject] - by Rich43 - 10-25-2008, 08:58 PM
[No subject] - by tof8pool - 10-26-2008, 01:16 PM
[No subject] - by joevenzon_phpbb2_import3 - 10-27-2008, 10:43 PM
[No subject] - by eXSs - 10-28-2008, 09:03 AM
[No subject] - by tof8pool - 11-02-2008, 06:09 AM
[No subject] - by cgaudry - 12-22-2008, 05:40 PM
[No subject] - by Simey - 03-11-2009, 06:50 AM
[No subject] - by joevenzon_phpbb2_import3 - 05-01-2009, 07:59 PM
[No subject] - by thelusiv - 05-01-2009, 08:21 PM
[No subject] - by cgaudry - 11-05-2009, 02:41 PM
[No subject] - by joevenzon_phpbb2_import3 - 11-06-2009, 01:51 AM
[No subject] - by cgaudry - 11-07-2009, 07:12 AM
[No subject] - by cgaudry - 11-13-2009, 04:02 PM
[No subject] - by joevenzon_phpbb2_import3 - 11-16-2009, 11:44 PM
[No subject] - by bopApocalypse - 11-17-2009, 11:53 PM
Automatic G25 recognition - by IvanVimes - 11-30-2009, 10:09 AM
[No subject] - by joevenzon_phpbb2_import3 - 12-01-2009, 12:06 AM
G25 udev rules - by tof8pool - 03-21-2010, 11:26 AM
[No subject] - by Blackylol - 05-10-2010, 04:53 PM
[No subject] - by joevenzon_phpbb2_import3 - 05-10-2010, 10:25 PM
[No subject] - by Metaphysicist - 11-22-2010, 04:21 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)