berarma / oversteer

Steering Wheel Manager for GNU/Linux
GNU General Public License v3.0
596 stars 60 forks source link

Logitech G29 undetectable #225

Open Globetrotteraqp opened 1 month ago

Globetrotteraqp commented 1 month ago

Nobara 40 distro. Captura de pantalla_20240805_114030

berarma commented 1 month ago

Is it in PS3 mode?

Globetrotteraqp commented 1 month ago

Yes.

El mar, 6 ago. 2024, 1:00 p. m., Bernat @.***> escribió:

Is it in PS3 mode?

— Reply to this email directly, view it on GitHub https://github.com/berarma/oversteer/issues/225#issuecomment-2271845661, or unsubscribe https://github.com/notifications/unsubscribe-auth/BKKVYDXOI44ZPMC3SENKU63ZQEFKVAVCNFSM6AAAAABMAVA5CSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENZRHA2DKNRWGE . You are receiving this because you authored the thread.Message ID: @.***>

berarma commented 1 month ago

You could try another USB port. Also.check the lsusb output.

Globetrotteraqp commented 1 month ago

Ok. I'll try that. Thanks for replay. I'll Let you know.

El mar, 6 ago. 2024, 2:07 p. m., Bernat @.***> escribió:

You could try another USB port. Also.check the lsusb output.

— Reply to this email directly, view it on GitHub https://github.com/berarma/oversteer/issues/225#issuecomment-2271961002, or unsubscribe https://github.com/notifications/unsubscribe-auth/BKKVYDU5D46NHLL4CDFEY6DZQENIXAVCNFSM6AAAAABMAVA5CSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENZRHE3DCMBQGI . You are receiving this because you authored the thread.Message ID: @.***>

yaumeister commented 1 month ago

Just like to add that I have the same issue, my install is Flatpak and I have added the 3 udev files in /usr/lib/udev/rules.d

lsusb output Bus 003 Device 005: ID 046d:c24f Logitech, Inc. G29 Driving Force Racing Wheel [PS3]

dmesg output [ 4.693834] hid_logitech_new: loading out-of-tree module taints kernel. [ 4.693842] hid_logitech_new: module verification failed: signature and/or required key missing - tainting kernel [ 4.694925] input: Logitech G29 Driving Force Racing Wheel as /devices/pci0000:00/0000:00:01.3/0000:02:00.2/0000:03:04.0/0000:07:00.0/usb3/3-2/3-2.4/3-2.4:1.0/0003:046D:C24F.0007/input/input12 [ 4.695112] logitech 0003:046D:C24F.0007: input,hidraw6: USB HID v1.11 Joystick [Logitech G29 Driving Force Racing Wheel] on usb-0000:07:00.0-2.4/input0 [ 4.695581] logitech 0003:046D:C24F.0007: Force feedback support for Logitech Gaming Wheels (0.4.0) [ 4.695585] logitech 0003:046D:C24F.0007: Hires timer: period = 2 ms

I am using the new-lg4ff driver instead of the default in-kernel one, does that have an impact?

berarma commented 1 month ago

@yaumeister, could you run Oversteer with --debug option and copy/paste the output here?

yaumeister commented 1 month ago

@berarma here it is.

yaumeister@Boulder:~$ flatpak run io.github.berarma.Oversteer --debug DEBUG:root:Devices: {} No device available. DEBUG:matplotlib:matplotlib data path: /app/lib/python3.11/site-packages/matplotlib/mpl-data DEBUG:matplotlib:CONFIGDIR=/home/yaumeister/.var/app/io.github.berarma.Oversteer/config/matplotlib DEBUG:matplotlib:interactive is False DEBUG:matplotlib:platform is linux DEBUG:matplotlib:CACHEDIR=/home/yaumeister/.var/app/io.github.berarma.Oversteer/cache/matplotlib DEBUG:matplotlib.font_manager:Using fontManager instance from /home/yaumeister/.var/app/io.github.berarma.Oversteer/cache/matplotlib/fontlist-v330.json Gtk-Message: 22:22:32.538: Failed to load module "canberra-gtk-module"

I do have libcanberra-gtk3-0 installed, running Ubuntu 22.04.

jo5huajohn commented 2 weeks ago

This seems to be a warning that shows up when some flatpaks are started, but it really shouldn't cause anything to break, at least according to this post on the flathub discourse.

This is my output for flatpak run io.github.berarma.Oversteer --debug:

DEBUG:root:update_device_list: /devices/pci0000:00/0000:00:08.1/0000:05:00.4/usb3/3-2/3-2:1.0/0003:046D:C24F.000D/input/input31/event23 /dev/input/event23
DEBUG:root:/dev/input/event23: ID_VENDOR_ID: 046d ID_MODEL_ID: c24f
DEBUG:root:Devices: {'/devices/pci0000:00/0000:00:08.1/0000:05:00.4/usb3/3-2/3-2:1.0/0003:046D:C24F.000D/input/input31/event23': <oversteer.device.Device object at 0x7f0ef42360d0>}
DEBUG:root:/devices/pci0000:00/0000:00:08.1/0000:05:00.4/usb3/3-2/3-2:1.0/0003:046D:C24F.000D/input/input31/event23: {'device_manager': <oversteer.device_manager.DeviceManager object at 0x7f0ef42341d0>, 'input_device': None, 'id': '/devices/pci0000:00/0000:00:08.1/0000:05:00.4/usb3/3-2/3-2:1.0/0003:046D:C24F.000D/input/input31/event23', 'vendor_id': '046d', 'product_id': 'c24f', 'usb_id': '046d:c24f', 'dev_path': '/sys/devices/pci0000:00/0000:00:08.1/0000:05:00.4/usb3/3-2/3-2:1.0/0003:046D:C24F.000D', 'dev_name': '/dev/input/event23', 'name': 'Logitech G29 Driving Force Racing Wheel', 'ready': True, 'max_range': 900}
DEBUG:matplotlib:matplotlib data path: /app/lib/python3.11/site-packages/matplotlib/mpl-data
DEBUG:matplotlib:CONFIGDIR=/var/home/joshuajohn/.var/app/io.github.berarma.Oversteer/config/matplotlib
DEBUG:matplotlib:interactive is False
DEBUG:matplotlib:platform is linux
DEBUG:matplotlib:CACHEDIR=/var/home/joshuajohn/.var/app/io.github.berarma.Oversteer/cache/matplotlib
DEBUG:matplotlib.font_manager:Using fontManager instance from /var/home/joshuajohn/.var/app/io.github.berarma.Oversteer/cache/matplotlib/fontlist-v330.json
DEBUG:root:populate_devices
DEBUG:root:check_permissions: /sys/devices/pci0000:00/0000:00:08.1/0000:05:00.4/usb3/3-2/3-2:1.0/0003:046D:C24F.000D
DEBUG:root:check_file_permissions mode: 0o666 user: nfsnobody group: nfsnobody file: /sys/devices/pci0000:00/0000:00:08.1/0000:05:00.4/usb3/3-2/3-2:1.0/0003:046D:C24F.000D/alternate_modes
DEBUG:root:check_file_permissions mode: 0o666 user: nfsnobody group: nfsnobody file: /sys/devices/pci0000:00/0000:00:08.1/0000:05:00.4/usb3/3-2/3-2:1.0/0003:046D:C24F.000D/range
DEBUG:root:check_file_permissions mode: 0o666 user: nfsnobody group: nfsnobody file: /sys/devices/pci0000:00/0000:00:08.1/0000:05:00.4/usb3/3-2/3-2:1.0/0003:046D:C24F.000D/combine_pedals
DEBUG:root:flush_device
DEBUG:root:Setting range: 900
DEBUG:root:Setting combined pedals: 0
DEBUG:root:Setting autocenter strength: 0
DEBUG:root:Setting FF gain: 65535
DEBUG:root:flush_ui

Could you try to launch the application with the rules in /etc/udev/rules.d instead of /usr/lib/udev/rules.d and see if that works?