technomotion-io icon indicating copy to clipboard operation
technomotion-io copied to clipboard

Reset in a loop with v3.0 under linux

Open jsirex opened this issue 5 years ago • 2 comments

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 avatar Sep 22 '20 17:09 jsirex

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 avatar Jul 23 '24 19:07 jsirex

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

jsirex avatar Jul 30 '24 13:07 jsirex