* Re: fftest: Force feedback doesn't work in native mode
@ 2012-01-18 7:58 Anisha Kaul
2012-01-18 16:39 ` simon
0 siblings, 1 reply; 10+ messages in thread
From: Anisha Kaul @ 2012-01-18 7:58 UTC (permalink / raw)
To: simon; +Cc: linux-input
On 18 January 2012 03:58, <simon@mungewell.org> wrote:
> Do you have the appropriate FF module built and loading in your kernel, it
> was recently moved to be enabled with 'LOGIWHEELS_FF' and is supported by
> the code in 'drivers/hid/hid-lg4ff.c'
And also, I don't have "hid-lg4ff.c" in this
"linux-dopx:/usr/src/linux-2.6.34-12/drivers/hid" path. I have
"hid-lg3ff.c" etc.
Is it responsible for the force feedback not working in the native mode?
Will I have to compile the kernel or something? :( :(
Ah, or simply download that file and put its name in the respective
Makefile? Not sure.
-Anisha
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: fftest: Force feedback doesn't work in native mode
2012-01-18 7:58 fftest: Force feedback doesn't work in native mode Anisha Kaul
@ 2012-01-18 16:39 ` simon
2012-01-19 6:27 ` Anisha Kaul
0 siblings, 1 reply; 10+ messages in thread
From: simon @ 2012-01-18 16:39 UTC (permalink / raw)
To: Anisha Kaul; +Cc: linux-input
> On 18 January 2012 03:58, <simon@mungewell.org> wrote:
>> Do you have the appropriate FF module built and loading in your kernel,
>> it
>> was recently moved to be enabled with 'LOGIWHEELS_FF' and is supported
>> by
>> the code in 'drivers/hid/hid-lg4ff.c'
>
> And also, I don't have "hid-lg4ff.c" in this
> "linux-dopx:/usr/src/linux-2.6.34-12/drivers/hid" path. I have
> "hid-lg3ff.c" etc.
> Is it responsible for the force feedback not working in the native mode?
> Will I have to compile the kernel or something? :( :(
>
> Ah, or simply download that file and put its name in the respective
> Makefile? Not sure.
If you don't have it then it is probably easiest grabbing a more recent
pre-built kernel from your distribution. I suspect that SuSE has somewhere
for getting 'leading edge' kernels.
'hid-lg4ff' was improved by Michal back in August to include support for
all Logitech wheel and run them in the native mode (to get 900' rotation
etc).
A change log is here:
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=history;f=drivers/hid/hid-lg4ff.c;h=6ecc9e2204409c1451e90086a4edd7f0639cdb01;hb=ccb19d263fd1c9e34948e2158c53eacbff369344
Simon
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: fftest: Force feedback doesn't work in native mode
2012-01-18 16:39 ` simon
@ 2012-01-19 6:27 ` Anisha Kaul
2012-01-19 7:29 ` simon
0 siblings, 1 reply; 10+ messages in thread
From: Anisha Kaul @ 2012-01-19 6:27 UTC (permalink / raw)
To: simon; +Cc: linux-input
On 18 January 2012 22:09, <simon@mungewell.org> wrote:
> 'hid-lg4ff' was improved by Michal back in August to include support for
> all Logitech wheel and run them in the native mode (to get 900' rotation
> etc).
Thanks for the reply, Simon.
So, today I installed OpenSuse 12.1 which has the kernel version 3.1.0.
Thankfully the file hid-lg4ff "is" present there in the hid directoy.
I saw the same file with extended code here:
http://lingrok.org/source/xref/linux-2.6-linus/drivers/hid/hid-lg4ff.c
The above linked 'hid-lg4ff' file does contain the function for the
native mode etc. and is lengthy too.
I was very much surprised on noticing that the 'hid-lg4ff' file
present in kernel version 3.1.0 of Suse 12.1 is quite small and does
NOT seem to have any function for native mode etc!
Sorry, I don't know how to use that git link which you gave. I'll try
to figure that out.
-Anisha
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: fftest: Force feedback doesn't work in native mode
2012-01-19 6:27 ` Anisha Kaul
@ 2012-01-19 7:29 ` simon
2012-01-19 7:47 ` Anisha Kaul
0 siblings, 1 reply; 10+ messages in thread
From: simon @ 2012-01-19 7:29 UTC (permalink / raw)
To: Anisha Kaul; +Cc: linux-input
> Sorry, I don't know how to use that git link which you gave. I'll try
> to figure that out.
It was just a web link to a gitweb page, which will give you some
information on how the file has changed over time.
Regarding SuSE's kernel, I'm not sure which version Michal changes got
into the mainline. It could be that you're looking at the early version of
'hid-lg4ff' which only supported the Logitech Wii Speedforce Wireless.
There are some 'bleeding edge' kernels packages here:
http://kernel.opensuse.org/packages
http://download.opensuse.org/repositories/Kernel:/HEAD/standard/i586/
Anyhow you caught me sitting next to my wheel.... the device will be
recognised when plug it in.
--
simon@drifter:~$ tail -f /var/log/syslog
Jan 19 00:09:27 drifter kernel: [ 9540.968028] usb 5-1: new low speed USB
device number 7 using uhci_hcd
Jan 19 00:09:27 drifter kernel: [ 9541.178081] logitech
0003:046D:C298.0006: fixing up Logitech Driving Force Pro report
descriptor
Jan 19 00:09:27 drifter kernel: [ 9541.179191] input: Logitech Logitech
Driving Force Pro as
/devices/pci0000:00/0000:00:1d.3/usb5/5-1/5-1:1.0/input/input9
Jan 19 00:09:27 drifter kernel: [ 9541.179530] logitech
0003:046D:C298.0006: input,hidraw0: USB HID v1.00 Joystick [Logitech
Logitech Driving Force Pro] on usb-0000:00:1d.3-1/input0
Jan 19 00:09:27 drifter kernel: [ 9541.179557] logitech
0003:046D:C298.0006: Force feedback for Logitech Speed Force Wireless by
Simon Wood <simon@mungewell.org>
--
And does it's turn to left/turn to right dance. Both LEDs will be lit and
it will have 900' rotation.
You can also affect the rotation range with (change ID for your USB device)
--
simon@drifter:~$ echo '450' >
/sys/bus/hid/devices/0003\:046D\:C298.0006/range
--
--
simon@drifter:~$ ffcfstress -d /dev/input/event4
position center force
<----------*|-----------> <-----------|******----->
<-----------|******+---->^C
--
Simon.
^ permalink raw reply [flat|nested] 10+ messages in thread
* fftest: Force feedback doesn't work in native mode
@ 2012-01-18 7:32 Anisha Kaul
0 siblings, 0 replies; 10+ messages in thread
From: Anisha Kaul @ 2012-01-18 7:32 UTC (permalink / raw)
To: linux-input; +Cc: Simon Wood
Greetz,
The wheel: Logitech Driving Force GT (DFGT)
fftest "does" help in applying the "constant effect" in the default mode.
As soon as I shift the wheel to "native mode" through the LtWheelConf
software, the fftest starts complaining
with " Function not implemented" message.
linux-dopx:/ # fftest /dev/input/event4
Force feedback test program.
HOLD FIRMLY YOUR WHEEL OR JOYSTICK TO PREVENT DAMAGES
Device /dev/input/event4 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
The platform:
linux-dopx:/ # cat /etc/issue && uname -a
Welcome to openSUSE 11.3 "Teal" - Kernel \r (\l).
Linux linux-dopx 2.6.34-12-desktop #1 SMP PREEMPT 2010-06-29 02:39:08
+0200 x86_64 x86_64 x86_64 GNU/Linux
Please guide.
-Anisha
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2012-01-24 12:38 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-18 7:58 fftest: Force feedback doesn't work in native mode Anisha Kaul
2012-01-18 16:39 ` simon
2012-01-19 6:27 ` Anisha Kaul
2012-01-19 7:29 ` simon
2012-01-19 7:47 ` Anisha Kaul
[not found] ` <747fc1e52c224cb3cc1c4b37c9de9bb7.squirrel@mungewell.org>
2012-01-20 6:29 ` Anisha Kaul
2012-01-20 18:50 ` simon
2012-01-21 8:09 ` Anisha Kaul
2012-01-24 12:38 ` Anisha Kaul
-- strict thread matches above, loose matches on Subject: below --
2012-01-18 7:32 Anisha Kaul
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).