
Force Feedback support
Re: Force Feedback support
@Asfhy: check your PM 

Re: Force Feedback support
@50keda: I don't think he can. Not before a total post count of 5.
Re: Force Feedback support
I'd be very interested in testing this. G29 owner. Thanks!
Re: Force Feedback support
Hi, G29 user here.
would you mind me testing your plugin? I am running ETS2 Steam edition on Ubuntu 14.04 with kernel updated to 4.4.x
Double post merged.
Same here. Running ETS2 Steam edition and G29 on Ubuntu 14.04 with kernel updated to V4.4.X
I'd love to test your plugin, @50keda
would you mind me testing your plugin? I am running ETS2 Steam edition on Ubuntu 14.04 with kernel updated to 4.4.x
Double post merged.
Same here. Running ETS2 Steam edition and G29 on Ubuntu 14.04 with kernel updated to V4.4.X
I'd love to test your plugin, @50keda
Re: Force Feedback support
Works well from my initial testing. Needs a few config tweaks for the G29 deadzone (removal), and to make it feel like power steering. The LEDs don't work but other than that, very happy!
Any chance of putting it on github so I can see if I can get those LEDs working?
Any chance of putting it on github so I can see if I can get those LEDs working?
Re: Force Feedback support
Well as I am not the author of the mod I must respect Supric policy. He didn't share code publicly so can't I. Well if you have any tips or links on how to make LEDs working in linux, then just share it with me, I will try to incorporate it in the plugin.
Re: Force Feedback support
Supric say no to source sharing then? shame.
As for LEDs, I presume you're hitting the kernel/USB-HID directly so it's
static void lg4ff_set_leds(struct hid_device *hid, u8 leds)
https://github.com/torvalds/linux/blob/ ... ff.c#L1088
As for LEDs, I presume you're hitting the kernel/USB-HID directly so it's
static void lg4ff_set_leds(struct hid_device *hid, u8 leds)
https://github.com/torvalds/linux/blob/ ... ff.c#L1088
Re: Force Feedback support
Just playing with the LEDs a little via /sys. And it looks likes there's 5 LEDS to assign and the on/off is mirrored, eg. LED1 is the first green LED on both sides.
example code where I turn on all the LEDS to test functionality
I got the sys hid ID from dmesg
[ +0.012146] input: Logitech G29 Driving Force Racing Wheel as /devices/pci0000:00/0000:00:01.3/0000:03:00.2/0000:1d:04.0/0000:25:00.0/usb3/3-2/3-2:1.0/0003:046D:C24F.000D/input/input26
They don't however need to be lit in order or anything so you could just have LED3 on (first orange), or flash LED1 with your indicators etc. Or for fuel, you start with full lit and then turn of LED1 first and increment up to you're only left with red (and then flash it?).
Lastly, it looks like it's binary 0/1 for brightness as I couldn't pass in half brightness via the shell.
example code where I turn on all the LEDS to test functionality
Code: Select all
mudkip:/sys/bus/hid/devices/0003:046D:C24F.000D/leds # echo 1 > 0003\:046D\:C24F.000D\:\:RPM1/brightness
mudkip:/sys/bus/hid/devices/0003:046D:C24F.000D/leds # echo 1 > 0003\:046D\:C24F.000D\:\:RPM2/brightness
mudkip:/sys/bus/hid/devices/0003:046D:C24F.000D/leds # echo 1 > 0003\:046D\:C24F.000D\:\:RPM3/brightness
mudkip:/sys/bus/hid/devices/0003:046D:C24F.000D/leds # echo 1 > 0003\:046D\:C24F.000D\:\:RPM4/brightness
mudkip:/sys/bus/hid/devices/0003:046D:C24F.000D/leds # echo 1 > 0003\:046D\:C24F.000D\:\:RPM5/brightness
[ +0.012146] input: Logitech G29 Driving Force Racing Wheel as /devices/pci0000:00/0000:00:01.3/0000:03:00.2/0000:1d:04.0/0000:25:00.0/usb3/3-2/3-2:1.0/0003:046D:C24F.000D/input/input26
They don't however need to be lit in order or anything so you could just have LED3 on (first orange), or flash LED1 with your indicators etc. Or for fuel, you start with full lit and then turn of LED1 first and increment up to you're only left with red (and then flash it?).
Lastly, it looks like it's binary 0/1 for brightness as I couldn't pass in half brightness via the shell.
Re: Force Feedback support
Thank you, @50keda, for sending the plugin. Will be tested over the weekend and early next week.
And thank you, admin, for merging my doeble post. I did not notice that the first one had to be approved, so I thought it got lost and repeated it.
And thank you, admin, for merging my doeble post. I did not notice that the first one had to be approved, so I thought it got lost and repeated it.
Re: Force Feedback support
@moozaad What changes did you make to remove G29 deadzone?
Have there been any changes from 2.5? Also I got American Truck lately, I would assume it also works with that?
Have there been any changes from 2.5? Also I got American Truck lately, I would assume it also works with that?
Who is online
Users browsing this forum: No registered users and 2 guests