Giter VIP home page Giter VIP logo

Comments (14)

scarburato avatar scarburato commented on May 27, 2024

Just test it. The hid branch may support the shifter lever

from t150_driver.

vayerx avatar vayerx commented on May 27, 2024

Hi there,

There is a huge deadzone when using hid branch. evdev-joystick / jscal didn't help.

master is fine.

from t150_driver.

scarburato avatar scarburato commented on May 27, 2024

which firmware is installed?

from t150_driver.

vayerx avatar vayerx commented on May 27, 2024

21. I don't have Windows so I'm bound to this version until firmware update is available on Linux (forever?...).

from t150_driver.

isopix avatar isopix commented on May 27, 2024

from t150_driver.

scarburato avatar scarburato commented on May 27, 2024

Which kernel are you using?

from t150_driver.

vayerx avatar vayerx commented on May 27, 2024

5.14.10. Gentoo Linux.

from t150_driver.

Totten98 avatar Totten98 commented on May 27, 2024

Hello,
I've managed to solve the issue on #22 by using the hid branch.
Now FFB works ok.
Now I'm stuck with this "center deadzone" issue described on this issue. I noticed that changing the ATTR{range}="1000" to something smaller like 270 for example makes this center deadzone also smaller if this can help in some way :)
I'm really wishing to use my steering wheel but it feel closer but still far xD
I'm on Ubuntu 21.10, Kernel version: 5.13.0-22, Firmware version of T150: 35
I hope someone can fix this issue :P

Thanks, Totten98

from t150_driver.

Totten98 avatar Totten98 commented on May 27, 2024

Update: so I've been trying to make this thing work and even if on ETS2 native on Linux I get this center deadzone and it's aweful to play.
So out of ideas I tried to run ETS2 via Proton 6.3-8 and it works both the steering wheel and FFB flawlessly :D
I hope this can help someone.

Totten98

from t150_driver.

albfan avatar albfan commented on May 27, 2024

Probably worth to mention hid branch is merged on master, and hid_tminit is merged into kernel since 5.13 (see #35)

Using hid_thrustmaster all looks fine (you can even feel the force feedback) but oversteer gets wheel and pedals wrong See (berarma/oversteer#131)

Is there any progress to get t150 integrated into hid_thrustmaster? or force feedback will be always a different driver?

from t150_driver.

albfan avatar albfan commented on May 27, 2024

I found there's a hid_tmff, for force feedback on thrustmaster, will this driver integrate with that at some point? is that the main goal?

from t150_driver.

albfan avatar albfan commented on May 27, 2024

In this driver README it says:

for example if you see input: Thrustmaster T150 steering wheel as /devices/pci0000:00/0000:00:14.0/usb1/1-1/input/input27
then the attributes will be located at sys/devices/pci0000:00/0000:00:14.0/usb1/1-1/input/input27/device/.

but with hid_thrustmaster and hid_t150 working the path for this property files is different:

I get this path:

/sys/devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.0/0003:044F:B677.0291/input/input696

but

/sys/devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.0/0003:044F:B677.0291/input/input696/device

points to

/sys/devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.0/0003:044F:B677.0291

and there, there are no such files

Searching with fd I found gain in

$ fd gain /sys/devices/
/sys/devices/pci0000:00/0000:00:14.0/usb1/1-6/gain

looking at that path I found all the expected files:

$ ls -1 /sys/devices/pci0000:00/0000:00:14.0/usb1/1-6/
1-6:1.0
authorized
autocenter
avoid_reset_quirk
bcdDevice
bConfigurationValue
bDeviceClass
bDeviceProtocol
bDeviceSubClass
bmAttributes
bMaxPacketSize0
bMaxPower
bNumConfigurations
bNumInterfaces
busnum
configuration
descriptors
dev
devnum
devpath
driver
enable_autocenter
ep_00
firmware_node
firmware_version
gain
idProduct
idVendor
ltm_capable
manufacturer
maxchild
physical_location
port
power
product
quirks
range
removable
remove
rx_lanes
speed
subsystem
tx_lanes
uevent
urbnum
version

I'm unsure how this path is configured, but looks like it do not match the README expectation. I can try any tentative PR if needed

from t150_driver.

albfan avatar albfan commented on May 27, 2024

After c217c77

axis names are provided by device itself, this conflicts with existing tools like oversteer:

berarma/oversteer#131

not sure if any remapping option is available in this driver, or if there's a standard for wheel, accel, brake and clutch, any info to understand what code needs fixes?

from t150_driver.

albfan avatar albfan commented on May 27, 2024

With latest version, hid report comes from hardware, and path for driver files (gain, autocenter, etc...) is in correct place. See d8ca058

There're things to fix or add, but not specifically to T150 pro. T150 pro behaves the same as T150 so I suggest to close this issue and work on next improvements in driver in general, without specific device

from t150_driver.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.