Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reset in a loop with v3.0 under linux #8

Open
jsirex opened this issue Sep 22, 2020 · 2 comments
Open

Reset in a loop with v3.0 under linux #8

jsirex opened this issue Sep 22, 2020 · 2 comments

Comments

@jsirex
Copy link

jsirex commented Sep 22, 2020

After firmware have upgraded I'm seeing device reset in a loop until any program actually starts reading.
Brief example what is happening:

  1. Linux starts
  2. USB GHETTIO Device appears in dmesg (syslog)
  3. Input (input1) device created, joystick device created
  4. After 1-2 second usb device disconnected
  5. Process repeats starting from step 2
  6. During loop above new devices are being created: input2, input3, etc..
  7. Stepmania loads, loop continues
    8 Eventually stepmania tries to open joystick and loop process stops.

This breaks mapping: before stepmania starts I expect P1 is event10 for example, but actually it might be event57.

@jsirex
Copy link
Author

jsirex commented Jul 23, 2024

Up :)

[  399.087040] usb 1-3: new full-speed USB device number 26 using xhci_hcd
[  399.240462] usb 1-3: New USB device found, idVendor=16d0, idProduct=0d02, bcdDevice= 3.00
[  399.240474] usb 1-3: New USB device strings: Mfr=1, Product=2, SerialNumber=128
[  399.240481] usb 1-3: Product: GHETT-iO
[  399.240488] usb 1-3: Manufacturer: Kate Gray
[  399.240494] usb 1-3: SerialNumber: 000102090C1F2474
[  399.243708] input: Kate Gray GHETT-iO as /devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.0/0003:16D0:0D02.008F/input/input156
[  399.244204] hid-generic 0003:16D0:0D02.008F: input,hidraw3: USB HID v1.11 Gamepad [Kate Gray GHETT-iO] on usb-0000:00:14.0-3/input0
[  401.736191] usb 1-3: USB disconnect, device number 26

tons of these messages

@jsirex
Copy link
Author

jsirex commented Jul 30, 2024

For anyone who also is looking for solution, I work-arounded it by endlessly reading joystick with dd:
https://github.com/jsirex/itgmachine/blob/master/install.sh#L581-L590

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant