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
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.
'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
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/packageshttp://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 [off-list ref]
--
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.
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.
Thanks again, Simon.
So, since this wheel works on your system, can you tell me your kernel
version number? That'll help me to decide to which kernel version should I
upgrade to.
I too was thinking of getting a "pre-compiled" kernel version 3.2, and directly
booting from it (on Suse 12.1). Not sure if it makes sense.
Thanks again.
-Anisha