ГРУППА STEAM
Linux Force Feedback LinuxFF
ГРУППА STEAM
Linux Force Feedback LinuxFF
6
В ИГРЕ
34
В СЕТИ
Создана
12 декабря 2015 г.
Язык
английский
Все обсуждения > Общие обсуждения > Подробности темы
Driver package for Logitech Wheels
Today I took some time to provide a "least effort" method to build the new and experimental drivers for all Logitech force feedback wheels. Since I personally don't really like distributing Linux kernel modules, I created a source archive that should build with a single command. The advantage of this is that it should work on most Linux distributions. However, if you try it on kernels before 4.2, some changes to the code may be needed. There is also at least one change needed for later kernels, but I'll deal with that if it is needed.

You can download the drivers here:

https://www.dropbox.com/s/n4bmw631d4t1m0t/LogitechFFDrivers.zip?dl=0


Read the README carefully and report any problems you may have.


Update 29 Feb 2016:
Added ff-memless to modules load
Added conditional changes for kernel 4.4 and later

Update 22 Aug 2016:
Changed Makefile to remove the hid-logitech module again after loading usbhid loads the wrong one.
Fixed bug causing the wheel to turn right on Intertia/Friction effects for all wheels except G920.
Отредактировано Edwin; 22 авг. 2016 г. в 13:31
< >
Сообщения 106120 из 151
First, thank you Edwin for the drivers. It works but it seems that the force balance is not correct yet. Wheel keeps turning to the left. Is bug fix from 22 Aug 2016 included in listed Dropbox link?

My system:
- Logitech G25, H-shifter and pedals
- Linux Mint 18.2 Sonya, kernel: 4.11.0-14-generic x86_64 (64 bit). For successful build I had to add #include <linux/sched/signal.h> in hid-debug.c and in hidraw.c.
I, too, get this problem sometimes, though it seems to vanish whenever the truck passes 70 km/h.
All updates are included in the dropbox link. I've now observer the left turn as well. Haven't had that before. I wonder if ETS2 changed something. I'll see if I can free up some time too have a more in depth look at it.
Thanks a ton for this, Edwin! I just bought ETS and find it to be a great way to relax, just listening to the radio and driving around, but not having FF was pretty frustrating. :( Just today I updated to the 4.14.8 kernel and there are new changes needed again. The following functions have been moved from hid/hid.h and needed to be implemented in hid-core.c:

hid_hw_start
hid_hw_stop
hid_hw_open
hid_hw_close

I also had to change the DRIVER_ATTR macro to DRIVER_ATTR_WO and rename the store_new_id function to new_id_store because DRIVER_ATTR_WO wanted that. Any chance you could upload this to GitHub so we could all help out and keep it up to date and working across as many kernels as possible? :)
Thanks for the heads up. I'll have to take a look at all the things they changed.
Some time ago I made a fork in gitlab for kernel 4.11.0. I also commented out almost all debug,info and warn messages because it was flooding my kern.log. Changes are in git history. https://gitlab.com/janezka/LogitechFFDrivers.git
I'm trying to install it on arch linux kernel 4.14. When I run make, I get the following error:

[nicholas@nicholas-pc hid-logitech]$ make
make -C /lib/modules/4.14.8-1-ARCH/build M=/home/nicholas/Downloads/LogitechFFDrivers/hid-logitech
make[1]: Entering directory '/usr/lib/modules/4.14.8-1-ARCH/build'
make[1]: *** No targets specified and no makefile found. Stop.
make[1]: Leaving directory '/usr/lib/modules/4.14.8-1-ARCH/build'
make: *** [Makefile:16: default] Error 2
Автор сообщения: Lollypop (SLO)
Some time ago I made a fork in gitlab for kernel 4.11.0. I also commented out almost all debug,info and warn messages because it was flooding my kern.log. Changes are in git history. https://gitlab.com/janezka/LogitechFFDrivers.git

I just forked your fork and submitted a merge request with my changes. It should compile on all >= 4.11 versions, and probably all >= 4.2 too.

[HOONIGAN] Pistol Puma:

You can't be in the hid-logitech folder when doing this, you need to be in the root folder where the Makefile is. You will also need my updated hid driver code to compile this for the 4.14 kernel.
Отредактировано MsChievous; 24 дек. 2017 г. в 2:50
Just a short heads up: there's a now also a "semi-official" solution for FFB and ATS/ETS2:

https://playingtux.com/articles/euro-truck-simulator-2-american-truck-simulator-finally-force-feedback-logitech-wheels
Отредактировано linear_control; 25 дек. 2017 г. в 12:28
Автор сообщения: linear_control
Just a short heads up: there's a now also a "semi-official" solution for FFB and ATS/ETS2:

https://playingtux.com/articles/euro-truck-simulator-2-american-truck-simulator-finally-force-feedback-logitech-wheels
It works fine with my Driving Force GT. Thanks a lot
Hi there i'm having trouble to get the g920 to work.I'm on mint 18.3 with Kernel 4.10.0-38.
lsusb says

ID 046d:c261 Logitech, Inc.

i used

sudo usb_modeswitch -v 046d -p c261 -P c262 -m 01 -r 01 -M 0f00010142
to switch to pc mode (the shorter version posted on the first page didn't work)

lsusb then says

ID 046d:c262 Logitech, Inc.

But the wheel still doesn't work

dmesg ouput:

[ 1113.841060] usb 8-1.2: USB disconnect, device number 4 [ 1116.765339] usb 8-1.2: new full-speed USB device number 5 using xhci_hcd [ 1116.874690] usb 8-1.2: New USB device found, idVendor=046d, idProduct=c261 [ 1116.874694] usb 8-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 1116.874697] usb 8-1.2: Product: G920 Driving Force Racing Wheel for Xbox One [ 1116.874700] usb 8-1.2: Manufacturer: Logitech [ 1116.874702] usb 8-1.2: SerialNumber: 000040a4bc4ad01a [ 1188.120137] usb 8-1.2: USB disconnect, device number 5 [ 1188.450442] usb 8-1.2: new full-speed USB device number 6 using xhci_hcd [ 1188.559897] usb 8-1.2: New USB device found, idVendor=046d, idProduct=c262 [ 1188.559901] usb 8-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 1188.559904] usb 8-1.2: Product: G920 Driving Force Racing Wheel for Xbox One [ 1188.559907] usb 8-1.2: Manufacturer: Logitech [ 1188.559909] usb 8-1.2: SerialNumber: 000040a4bc4ad01a [ 1188.571386] input: Logitech G920 Driving Force Racing Wheel for Xbox One as /devices/pci0000:00/0000:00:04.0/0000:02:00.0/usb8/8-1/8-1.2/8-1.2:1.0/0003:046D:C262.0008/input/input19 [ 1188.571763] logitech-hidpp-device 0003:046D:C262.0008: input,hiddev0,hidraw6: USB HID v1.11 Joystick [Logitech G920 Driving Force Racing Wheel for Xbox One] on usb-0000:02:00.0-1.2/input0 [ 1193.810836] logitech-hidpp-device 0003:046D:C262.0008: Device not connected

cat /proc/bus/input/devices
Doesn't list the wheel. input19 doesn't exist and input0 as shown in dmesg is listed as power-button

lsmod | grep hid
id_logitech_hidpp 28672 0 mac_hid 16384 0 hid_generic 16384 0 usbhid 53248 0 hid 118784 3 hid_generic,usbhid,hid_logitech_hidpp

EDIT: Installing of a newer version of modeswitch didn't work either.
Отредактировано 400g; 24 фев. 2018 г. в 18:21
Автор сообщения: 400g
EDIT: Installing of a newer version of modeswitch didn't work either.

Did you install the modeswitch packages I gave in post #89?

With the instructions in post #89 it works fine for me in Mint.

cat /proc/bus/input/devices shows:

I: Bus=0003 Vendor=046d Product=c262 Version=0111 N: Name="Logitech G920 Driving Force Racing Wheel" P: Phys=usb-0000:00:14.0-9/input0 S: Sysfs=/devices/pci0000:00/0000:00:14.0/usb3/3-9/3-9:1.0/0003:046D:C262.0004/input/input3 U: Uniq=00007b0a78bf2c3c H: Handlers=event3 js0 B: PROP=0 B: EV=20001b B: KEY=3 0 0 0 0 0 0 ffff00000000 0 0 0 0 B: ABS=30027 B: MSC=10 B: FF=31f2f0000 0


Автор сообщения: mstrobl2
Автор сообщения: 400g
EDIT: Installing of a newer version of modeswitch didn't work either.

Did you install the modeswitch packages I gave in post #89?
More or less. Version 2.4 isn't available anymore, i installed 2.52 and modeswitch data 20170806 instead.
Отредактировано 400g; 24 фев. 2018 г. в 21:10
Hi Edwin, I don't know if you can take a look on this post of rFactor 2 forums:

https://forum.studio-397.com/index.php?threads/linux.61014/#post-958655

@Edwin, Your work may become more important than ever:

https://github.com/ValveSoftware/Proton/issues/908#issuecomment-422164419

A lot of games that works with Wine-Proton have problems with Force Feedback in Logitech Wheels....not only ETS2, (Project Cars 2, rFactor 2, Automobilista....). You know that play a simulator without Force Feedback is a bad thing
< >
Сообщения 106120 из 151
Показывать на странице: 1530 50

Все обсуждения > Общие обсуждения > Подробности темы