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

Turned off and plugged controllers are send as new controllers #257

Open
bl4ckb0ne opened this issue Jan 20, 2022 · 0 comments
Open

Turned off and plugged controllers are send as new controllers #257

bl4ckb0ne opened this issue Jan 20, 2022 · 0 comments

Comments

@bl4ckb0ne
Copy link
Contributor

Describe the bug
I have 2 Valve knuckles turned off and plugged by USB for charging. But one of the device (depends on the order in which they are plugged) is being sent in loop to Monado a new device.

Runtime log

snorlax:~/src/monado$ ./build/src/xrt/targets/service/monado-service                                                       [1673/1808]
 INFO [disable_drivers_from_conflicts] Disabling vive because we have survive
 INFO [add_from_devices] Skipping disabled driver vive     
 INFO [add_from_devices] Skipping disabled driver vive     
 INFO [add_from_devices] Skipping disabled driver vive     
 INFO [add_from_devices] Skipping disabled driver vive     
 INFO [add_from_devices] Skipping disabled driver vive     
Info: Loaded drivers: HTCVive                                      
Info: Adding tracked object T20 from HTC                   
Info: Adding tracked object T21 from HTC                   
Info: Adding tracked object T22 from HTC                   
Info: Device T21 has watchman FW version 1546408689 and FPGA version 538/10/2; named '                       watchman'. Hardware id 0x
110e0009 Board rev: 3 (len 56)
Info: Detected LH gen 2 system.
Info: LightcapMode (T21) 1 -> 2 (4)
Info: Device T22 has watchman FW version 1546408689 and FPGA version 538/10/2; named '                       watchman'. Hardware id 0x
110e0109 Board rev: 3 (len 56)
Info: OOTX not set for LH in channel 1; attaching ootx decoder using device T22
Info: LightcapMode (T22) 1 -> 2 (4)
Info: Device T20 has watchman FW version 1555018800 and FPGA version 538/9/2; named '                       watchman'. Hardware id 0x2
2154109 Board rev: 3 (len 56)
Info: T20 is treated as HMD device
DEBUG [xrt_gfx_provider_create_system] Doing init 0x7f6e497a34c0
 WARN [compositor_check_and_prepare_xdev] Had to fill in meshuv on xdev 'Valve Index (libsurvive)', this should be done in the driver.
Info: LightcapMode (T20) 1 -> 2 (4)
DEBUG [vk_select_physical_device] Choosing Vulkan device index
DEBUG [vk_select_physical_device] Available GPUs
DEBUG [vk_print_device_info_debug] GPU index 0
        name: AMD RADV POLARIS10
        vendor: 0x1002
        product: 0x67df
        apiVersion: 1.2.195
        driverVersion: 21.3.4
DEBUG [vk_print_device_info_debug] Selected GPU: 0
        name: AMD RADV POLARIS10
        vendor: 0x1002
        product: 0x67df
        apiVersion: 1.2.195
        driverVersion: 21.3.4
DEBUG [vk_build_device_extensions] Using required device ext VK_KHR_swapchain
DEBUG [vk_build_device_extensions] Using required device ext VK_KHR_dedicated_allocation
DEBUG [vk_build_device_extensions] Using required device ext VK_KHR_external_fence
DEBUG [vk_build_device_extensions] Using required device ext VK_KHR_external_memory
DEBUG [vk_build_device_extensions] Using required device ext VK_KHR_external_semaphore
DEBUG [vk_build_device_extensions] Using required device ext VK_KHR_get_memory_requirements2
DEBUG [vk_build_device_extensions] Using required device ext VK_KHR_external_memory_fd
DEBUG [vk_build_device_extensions] Using required device ext VK_KHR_external_semaphore_fd
DEBUG [vk_build_device_extensions] Using required device ext VK_KHR_external_fence_fd
DEBUG [vk_build_device_extensions] NOT using optional device ext VK_GOOGLE_display_timing
DEBUG [vk_build_device_extensions] Using optional device ext VK_EXT_global_priority
DEBUG [vk_build_device_extensions] Using optional device ext VK_EXT_robustness2
DEBUG [vk_should_skip_optional_device_ext] Skipping optional instance extension VK_EXT_display_control because VK_EXT_display_surface_
counter instance ext is not enabled
Info: OOTX not set for LH in channel 0; attaching ootx decoder using device T22
 INFO [create_device] Created device and graphics queue with normal priority.
 INFO [comp_window_direct_wayland_create_surface] Using DRM node /dev/dri/card0
 INFO [comp_window_direct_wayland_create_surface] Connector id 65 DP-1 (Valve Index HMD 0x0000DFDC (DP-1))
Warning: 2.018169 T21 Device turned off: 2
Info: MPFIT stats for T21:
Info:   seed runs         0 / 0
Info:   error failures    0
Info: Adding tracked object T21 from HTC
 WARN [_process_event] Device added event, but hotplugging not implemented yet
Info: Device T21 has watchman FW version 1546408689 and FPGA version 538/10/2; named '                       watchman'. Hardware id 0x
110e0009 Board rev: 3 (len 56)
ERROR [_create_controller_device] Only creating 1 right controller! 
Info: LightcapMode (T21) 1 -> 2 (4)
Warning: 3.871887 T21 Device turned off: 2
Info: MPFIT stats for T21:
Info:   seed runs         0 / 0
Info:   error failures    0
Info: Adding tracked object T21 from HTC
 WARN [_process_event] Device added event, but hotplugging not implemented yet
Info: Device T21 has watchman FW version 1546408689 and FPGA version 538/10/2; named '                       watchman'. Hardware id 0x
110e0009 Board rev: 3 (len 56)
ERROR [_create_controller_device] Only creating 1 right controller! 
Warning: 4.689845 T22 Device turned off: 2
Info: MPFIT stats for T22:
Info:   seed runs         78 / 255
Info:   error failures    2
Info: LightcapMode (T21) 1 -> 2 (4)
Info: Adding tracked object T22 from HTC
 WARN [_process_event] Device added event, but hotplugging not implemented yet
Info: Device T22 has watchman FW version 1546408689 and FPGA version 538/10/2; named '                       watchman'. Hardware id 0x
110e0109 Board rev: 3 (len 56)
ERROR [_create_controller_device] Only creating 1 left controller!
Info: LightcapMode (T22) 1 -> 2 (4)
ERROR [_process_event] Event for unknown object not handled
Warning: Tracker lost for T22
Warning: Too many failures for T22 at 6.425606; reseting calibration 0.000000e+00 ( 0.5735 stationary)

Hardware setup
Valve index + 2 valve knuckles, lighthouse V2

Desktop (please complete the following information):

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