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

Issue: Input is not picked up after resume event #77

Open
pastaq opened this issue May 1, 2024 · 1 comment
Open

Issue: Input is not picked up after resume event #77

pastaq opened this issue May 1, 2024 · 1 comment
Labels
bug Something isn't working
Milestone

Comments

@pastaq
Copy link
Contributor

pastaq commented May 1, 2024

After a suspend/resume cycle, there is no output to the system from the virtual device. trace logs show the events being written to the target device, but evtest confirms no output from the target device. Restarting the service returns full functionality. Confirmed on the Legion Go, ROG Ally, and AYANEO FLIP all using the DualSense or DualSense Edge profile.

@pastaq pastaq added the bug Something isn't working label May 1, 2024
@pastaq pastaq added this to the v1.0.0 milestone May 1, 2024
@pastaq
Copy link
Contributor Author

pastaq commented May 1, 2024

Pressing the A button, no output received:

[2024-05-01T19:59:28Z TRACE inputplumber::input::source::evdev] Received event: InputEvent { time: SystemTime { tv_sec: 1714593568, tv_nsec: 398908000 }, type: KEY, code: 304, value: 1 }
[2024-05-01T19:59:28Z TRACE inputplumber::input::source::evdev] Received event: InputEvent { time: SystemTime { tv_sec: 1714593568, tv_nsec: 398908000 }, type: SYNCHRONIZATION, code: 0, value: 0 }
[2024-05-01T19:59:28Z TRACE inputplumber::input::composite_device] Received command: ProcessEvent("evdev://event10", Evdev(EvdevEvent { event: InputEvent { time: SystemTime { tv_sec: 1714593568, tv_nsec: 398908000 }, type: KEY, code: 304, value: 1 }, abs_info: None }))
[2024-05-01T19:59:28Z TRACE inputplumber::input::composite_device] No translation mapping found for event: Gamepad(Button(South))
[2024-05-01T19:59:28Z TRACE inputplumber::input::composite_device] New active capability: Gamepad(Button(South))
[2024-05-01T19:59:28Z TRACE inputplumber::input::composite_device] Emit passed event: WriteEvent(NativeEvent { capability: Gamepad(Button(South)), source_capability: None, value: Bool(true) })
[2024-05-01T19:59:28Z TRACE inputplumber::input::composite_device] Received command: ProcessEvent("evdev://event10", Evdev(EvdevEvent { event: InputEvent { time: SystemTime { tv_sec: 1714593568, tv_nsec: 398908000 }, type: SYNCHRONIZATION, code: 0, value: 0 }, abs_info: None }))
[2024-05-01T19:59:28Z TRACE inputplumber::input::composite_device] No translation mapping found for event: Sync
[2024-05-01T19:59:28Z TRACE inputplumber::input::composite_device] Emit passed event: WriteEvent(NativeEvent { capability: Sync, source_capability: None, value: Float(0.0) })
[2024-05-01T19:59:28Z TRACE inputplumber::input::target::mouse] Got event to emit: NativeEvent { capability: Gamepad(Button(South)), source_capability: None, value: Bool(true) }
[2024-05-01T19:59:28Z TRACE inputplumber::input::target::mouse] Got event to emit: NativeEvent { capability: Sync, source_capability: None, value: Float(0.0) }
[2024-05-01T19:59:28Z TRACE inputplumber::input::target::dualsense] Recieved event to write: NativeEvent { capability: Gamepad(Button(South)), source_capability: None, value: Bool(true) }
[2024-05-01T19:59:28Z TRACE inputplumber::input::target::dualsense] Recieved event to write: NativeEvent { capability: Sync, source_capability: None, value: Float(0.0) }
[2024-05-01T19:59:28Z TRACE inputplumber::input::source::evdev] Received event: InputEvent { time: SystemTime { tv_sec: 1714593568, tv_nsec: 478882000 }, type: KEY, code: 304, value: 0 }
[2024-05-01T19:59:28Z TRACE inputplumber::input::source::evdev] Received event: InputEvent { time: SystemTime { tv_sec: 1714593568, tv_nsec: 478882000 }, type: SYNCHRONIZATION, code: 0, value: 0 }
[2024-05-01T19:59:28Z TRACE inputplumber::input::composite_device] Received command: ProcessEvent("evdev://event10", Evdev(EvdevEvent { event: InputEvent { time: SystemTime { tv_sec: 1714593568, tv_nsec: 478882000 }, type: KEY, code: 304, value: 0 }, abs_info: None }))
[2024-05-01T19:59:28Z TRACE inputplumber::input::composite_device] No translation mapping found for event: Gamepad(Button(South))
[2024-05-01T19:59:28Z TRACE inputplumber::input::composite_device] Removed inactive capability: Gamepad(Button(South))
[2024-05-01T19:59:28Z TRACE inputplumber::input::composite_device] Emit passed event: WriteEvent(NativeEvent { capability: Gamepad(Button(South)), source_capability: None, value: Bool(false) })
[2024-05-01T19:59:28Z TRACE inputplumber::input::composite_device] Received command: ProcessEvent("evdev://event10", Evdev(EvdevEvent { event: InputEvent { time: SystemTime { tv_sec: 1714593568, tv_nsec: 478882000 }, type: SYNCHRONIZATION, code: 0, value: 0 }, abs_info: None }))
[2024-05-01T19:59:28Z TRACE inputplumber::input::composite_device] No translation mapping found for event: Sync
[2024-05-01T19:59:28Z TRACE inputplumber::input::composite_device] Emit passed event: WriteEvent(NativeEvent { capability: Sync, source_capability: None, value: Float(0.0) })
[2024-05-01T19:59:28Z TRACE inputplumber::input::target::mouse] Got event to emit: NativeEvent { capability: Gamepad(Button(South)), source_capability: None, value: Bool(false) }
[2024-05-01T19:59:28Z TRACE inputplumber::input::target::mouse] Got event to emit: NativeEvent { capability: Sync, source_capability: None, value: Float(0.0) }
[2024-05-01T19:59:28Z TRACE inputplumber::input::target::dualsense] Recieved event to write: NativeEvent { capability: Gamepad(Button(South)), source_capability: None, value: Bool(false) }
[2024-05-01T19:59:28Z TRACE inputplumber::input::target::dualsense] Recieved event to write: NativeEvent { capability: Sync, source_capability: None, value: Float(0.0) }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants