Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Hardware: simple utility for send hex commands to usb device
10-21-2008, 03:53 PM,
#33
 
still no luck.

I found this in linux-input mailing list
Code:
Not sure this will fix your issues, but ...

ff-utils original code has 2 flaws :
- it is NOT 64-bit compatible
- it was coded for 2.4.x kernels, and when you compile it, it does not use
the includes of your specific kernel, but those shipped with the sources
(see sub-folder "linux")

So I recommend you apply the patch that fixes this issues :
look on SourceForge libff patches page ...

https://sourceforge.net/tracker/?func=detail&atid=440671&aid=2098907&group_id=44724

Then, be sure to test FF with "ffcfstress" (only for Constant Force),
not only with "fftest" ;
the first one works very well with my Logitech G25,
whereas I not sure the second one does ... (the rendered Constant Force effect is so week, that it's not that clear ...).

Finally, you can try the FFConsoleDemo of the OIS library (get 1.2.0 sources,
and apply the recent "Linux FF 64bit port + Windows FF fixes + DemoFFTest" patch
https://sourceforge.net/tracker/?func=detail&atid=775955&aid=2087429&group_id=149835) ; it tests constant and periodic FF (Constant Force test is OK for my G25, not periodic).

im working on trying the above.

Code:
Works fine for me here on 64-bit, and uses standard headers. Maybe you
are using an old version?

The latest version is in linuxconsole SVN:
http://linuxconsole.svn.sourceforge.net/viewvc/linuxconsole/trunk/utils/
Downloadable with SVN command (on one line):
svn co
https://linuxconsole.svn.sourceforge.net/svnroot/linuxconsole/trunk/utils
input-utils
I tried that and I got the results below.
That is a newer version of the force feedback tools.

Code:
richie@richie-desktop:/root/utils$ sudo ./ffcfstress -d /dev/input/event3
ERROR: device (or driver) has no force feedback support [ffcfstress.c:165]

Code:
sudo modprobe ff_memless
root@richie-desktop:~/utils# lsmod |grep ff_memless
ff_memless             13320  0
root@richie-desktop:~/utils#


Code:
root@richie-desktop:~/utils# ./evtest /dev/input/event3
Input driver version is 1.0.0
Input device ID: bus 0x3 vendor 0x46d product 0xc299 version 0x111
Input device name: "G25 Racing Wheel"
Supported events:
  Event type 0 (Sync)
  Event type 1 (Key)
    Event code 288 (Trigger)
    Event code 289 (ThumbBtn)
    Event code 290 (ThumbBtn2)
    Event code 291 (TopBtn)
    Event code 292 (TopBtn2)
    Event code 293 (PinkieBtn)
    Event code 294 (BaseBtn)
    Event code 295 (BaseBtn2)
    Event code 296 (BaseBtn3)
    Event code 297 (BaseBtn4)
    Event code 298 (BaseBtn5)
    Event code 299 (BaseBtn6)
    Event code 300 (?)
    Event code 301 (?)
    Event code 302 (?)
    Event code 303 (BtnDead)
    Event code 304 (BtnA)
    Event code 305 (BtnB)
    Event code 306 (BtnC)
  Event type 3 (Absolute)
    Event code 0 (X)
      Value   8181
      Min        0
      Max    16383
      Fuzz      63
      Flat    1023
    Event code 1 (Y)
      Value    255
      Min        0
      Max      255
      Flat      15
    Event code 2 (Z)
      Value      0
      Min        0
      Max      255
      Flat      15
    Event code 5 (Rz)
      Value    255
      Min        0
      Max      255
      Flat      15
    Event code 16 (Hat0X)
      Value      0
      Min       -1
      Max        1
    Event code 17 (Hat0Y)
      Value      0
      Min       -1
      Max        1
  Event type 4 (Misc)
    Event code 4 (ScanCode)
Testing ... (interrupt to exit)
Event: time 1224618348.182780, type 3 (Absolute), code 0 (X), value 8171
Event: time 1224618348.182784, -------------- Report Sync ------------
Event: time 1224618348.190782, type 3 (Absolute), code 0 (X), value 8162
Event: time 1224618348.190785, -------------- Report Sync ------------
Event: time 1224618348.198784, type 3 (Absolute), code 0 (X), value 8154
Event: time 1224618348.198788, -------------- Report Sync ------------
Event: time 1224618348.206782, type 3 (Absolute), code 0 (X), value 8146
Event: time 1224618348.206786, -------------- Report Sync ------------
Event: time 1224618348.222788, type 3 (Absolute), code 0 (X), value 8137
Event: time 1224618348.222793, -------------- Report Sync ------------
Event: time 1224618348.230782, type 3 (Absolute), code 0 (X), value 8128
Event: time 1224618348.230786, -------------- Report Sync ------------
Event: time 1224618348.240782, type 3 (Absolute), code 0 (X), value 8120
Event: time 1224618348.240785, -------------- Report Sync ------------
Event: time 1224618348.248783, type 3 (Absolute), code 0 (X), value 8112
Event: time 1224618348.248788, -------------- Report Sync ------------
Event: time 1224618348.264785, type 3 (Absolute), code 0 (X), value 8102
Event: time 1224618348.264789, -------------- Report Sync ------------
Event: time 1224618348.270782, type 3 (Absolute), code 0 (X), value 8093
Event: time 1224618348.270786, -------------- Report Sync ------------
Event: time 1224618348.278784, type 3 (Absolute), code 0 (X), value 8085
Event: time 1224618348.278788, -------------- Report Sync ------------
Event: time 1224618348.290784, type 3 (Absolute), code 0 (X), value 8075
Event: time 1224618348.290788, -------------- Report Sync ------------
Event: time 1224618348.298780, type 3 (Absolute), code 0 (X), value 8066
Event: time 1224618348.298784, -------------- Report Sync ------------
Event: time 1224618348.304782, type 3 (Absolute), code 0 (X), value 8058
Event: time 1224618348.304786, -------------- Report Sync ------------
Event: time 1224618348.322786, type 3 (Absolute), code 0 (X), value 8048
Event: time 1224618348.322791, -------------- Report Sync ------------
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)