Comments (21)
Could you please send me the complete log output of both turning on the basestation and trying to turn them off again? They are saved to the log
directory.
from steamvr_utils.
Hi. I'm so amaze by the quick reply. ^^` so I was so desperate I also try on pop os with a fresh install. but no luck. So back on garuda. I know that your script work I used it before :/ Fun fact I can close the base station with an android application. also I don't know if your script is working with pipewire pulse . so I would prefer to use your script instead of that app and if you could fixe the audio it would be so awesome ^^. VR is the only thing that keep me on windows
2022-05-11 00:41:00 [DEBUG]: dry_run: False
2022-05-11 00:41:00 [DEBUG]: Output of 'pactl list short sinks':
32 jamesdsp_sink PipeWire float32le 2ch 48000Hz RUNNING
66 alsa_output.usb-Corsair_CORSAIR_VIRTUOSO_Wireless_Gaming_Headset_14995a0a000100fc-00.analog-stereo PipeWire s24le 2ch 48000Hz RUNNING
68 alsa_output.pci-0000_0b_00.1.hdmi-stereo PipeWire s32le 2ch 48000Hz SUSPENDED
70 alsa_output.pci-0000_0d_00.4.analog-stereo PipeWire s32le 2ch 48000Hz SUSPENDED
2022-05-11 00:41:00 [DEBUG]: normal sink: alsa_output.usb-Corsair_CORSAIR_VIRTUOSO_Wireless_Gaming_Headset_14995a0a000100fc-00.analog-stereo
2022-05-11 00:41:00 [DEBUG]: vr sink: alsa_output.pci-0000_0b_00.1.hdmi-stereo
2022-05-11 00:41:00 [DEBUG]: Output of 'pactl list short sources':
32 jamesdsp_sink.monitor PipeWire float32le 2ch 48000Hz RUNNING
61 alsa_input.usb-Vimicro_Corp._Lenovo_FHD_Webcam_Lenovo_FHD_Webcam_Audio-02.analog-stereo PipeWire s16le 2ch 48000Hz SUSPENDED
66 alsa_output.usb-Corsair_CORSAIR_VIRTUOSO_Wireless_Gaming_Headset_14995a0a000100fc-00.analog-stereo.monitor PipeWire s24le 2ch 48000Hz IDLE
67 alsa_input.usb-Corsair_CORSAIR_VIRTUOSO_Wireless_Gaming_Headset_14995a0a000100fc-00.mono-fallback PipeWire s24le 1ch 48000Hz RUNNING
68 alsa_output.pci-0000_0b_00.1.hdmi-stereo.monitor PipeWire s32le 2ch 48000Hz SUSPENDED
69 alsa_input.usb-Valve_Corporation_Valve_VR_Radio___HMD_Mic_8809F28679-LYM-01.mono-fallback PipeWire s16le 1ch 48000Hz SUSPENDED
70 alsa_output.pci-0000_0d_00.4.analog-stereo.monitor PipeWire s32le 2ch 48000Hz SUSPENDED
71 alsa_input.pci-0000_0d_00.4.analog-stereo PipeWire s32le 2ch 48000Hz SUSPENDED
2022-05-11 00:41:00 [DEBUG]: normal source: alsa_input.usb-Vimicro_Corp._Lenovo_FHD_Webcam_Lenovo_FHD_Webcam_Audio-02.analog-stereo
2022-05-11 00:41:00 [DEBUG]: vr source: alsa_input.usb-Valve_Corporation_Valve_VR_Radio___HMD_Mic_8809F28679-LYM-01.mono-fallback
2022-05-11 00:41:00 [INFO ]: SteamvrUtils turning off:
2022-05-11 00:41:00 [INFO ]: Scanning for Base Stations:
2022-05-11 00:41:00 [INFO ]: Found Base Station LHB-4848BD79 at address d2:82:61:0c:2c:40
2022-05-11 00:41:00 [INFO ]: Found Base Station LHB-D1F62FF2 at address fd:3c:80:9d:ab:99
2022-05-11 00:41:02 [ERROR]: Failure of attempt 1 of 5: Device disconnected
2022-05-11 00:41:03 [INFO ]: Found Base Station LHB-4848BD79 at address d2:82:61:0c:2c:40
2022-05-11 00:41:03 [INFO ]: Found Base Station LHB-D1F62FF2 at address fd:3c:80:9d:ab:99
2022-05-11 00:41:05 [INFO ]: Changing power state of Base Stations:
2022-05-11 00:41:05 [INFO ]: Connecting to d2:82:61:0c:2c:40
2022-05-11 00:41:05 [INFO ]: Turning off
2022-05-11 00:41:05 [INFO ]: Connecting to fd:3c:80:9d:ab:99
2022-05-11 00:41:06 [ERROR]: Failure of attempt 1 of 5: Failed to connect to peripheral fd:3c:80:9d:ab:99, addr type: random
2022-05-11 00:41:06 [INFO ]: Connecting to d2:82:61:0c:2c:40
2022-05-11 00:41:06 [INFO ]: Turning off
2022-05-11 00:41:06 [INFO ]: Connecting to fd:3c:80:9d:ab:99
2022-05-11 00:41:06 [ERROR]: Failure of attempt 2 of 5: Failed to connect to peripheral fd:3c:80:9d:ab:99, addr type: random
2022-05-11 00:41:07 [INFO ]: Connecting to d2:82:61:0c:2c:40
2022-05-11 00:41:07 [INFO ]: Turning off
2022-05-11 00:41:07 [INFO ]: Connecting to fd:3c:80:9d:ab:99
2022-05-11 00:41:07 [ERROR]: Failure of attempt 3 of 5: Failed to connect to peripheral fd:3c:80:9d:ab:99, addr type: random
2022-05-11 00:41:08 [INFO ]: Connecting to d2:82:61:0c:2c:40
2022-05-11 00:41:08 [INFO ]: Turning off
2022-05-11 00:41:08 [INFO ]: Connecting to fd:3c:80:9d:ab:99
2022-05-11 00:41:09 [ERROR]: Failure of attempt 4 of 5: Failed to connect to peripheral fd:3c:80:9d:ab:99, addr type: random
2022-05-11 00:41:09 [INFO ]: Connecting to d2:82:61:0c:2c:40
2022-05-11 00:41:09 [INFO ]: Turning off
2022-05-11 00:41:09 [INFO ]: Connecting to fd:3c:80:9d:ab:99
2022-05-11 00:41:10 [ERROR]: Failure of attempt 5 of 5: Failed to connect to peripheral fd:3c:80:9d:ab:99, addr type: random
2022-05-11 00:41:10 [ERROR]: No successful attempt in any of the 5 attempts. Last error:
2022-05-11 00:41:10 [ERROR]:
Traceback (most recent call last):
File "/home/marclemieux/steamvr_utils/scripts/./steamvr_utils.py", line 133, in main
steamvr_utils.action(selected_action)
File "/home/marclemieux/steamvr_utils/scripts/./steamvr_utils.py", line 49, in action
self.turn_off()
File "/home/marclemieux/steamvr_utils/scripts/./steamvr_utils.py", line 63, in turn_off
self.basestation_power_interface.action(basestation_interface.Action.OFF)
File "/home/marclemieux/steamvr_utils/scripts/basestation_interface/v2_interface.py", line 131, in action
attempt_loop(lambda: self.action_attempt(action), self.config.basestation_attempt_count_set(), try_all=True)
File "/home/marclemieux/steamvr_utils/scripts/basestation_interface/v2_interface.py", line 126, in attempt_loop
raise last_error
File "/home/marclemieux/steamvr_utils/scripts/basestation_interface/v2_interface.py", line 112, in attempt_loop
function()
File "/home/marclemieux/steamvr_utils/scripts/basestation_interface/v2_interface.py", line 131, in <lambda>
attempt_loop(lambda: self.action_attempt(action), self.config.basestation_attempt_count_set(), try_all=True)
File "/home/marclemieux/steamvr_utils/scripts/basestation_interface/v2_interface.py", line 87, in action_attempt
basestation.connect(device, addrType=bluepy.btle.ADDR_TYPE_RANDOM)
File "/usr/lib/python3.10/site-packages/bluepy/btle.py", line 445, in connect
self._connect(addr, addrType, iface)
File "/usr/lib/python3.10/site-packages/bluepy/btle.py", line 439, in _connect
raise BTLEDisconnectError("Failed to connect to peripheral %s, addr type: %s" % (addr, addrType), rsp)
bluepy.btle.BTLEDisconnectError: Failed to connect to peripheral fd:3c:80:9d:ab:99, addr type: random
2022-05-11 00:41:00 [DEBUG]: dry_run: False
2022-05-11 00:41:00 [DEBUG]: Output of 'pactl list short sinks':
32 jamesdsp_sink PipeWire float32le 2ch 48000Hz RUNNING
66 alsa_output.usb-Corsair_CORSAIR_VIRTUOSO_Wireless_Gaming_Headset_14995a0a000100fc-00.analog-stereo PipeWire s24le 2ch 48000Hz RUNNING
68 alsa_output.pci-0000_0b_00.1.hdmi-stereo PipeWire s32le 2ch 48000Hz SUSPENDED
70 alsa_output.pci-0000_0d_00.4.analog-stereo PipeWire s32le 2ch 48000Hz SUSPENDED
2022-05-11 00:41:00 [DEBUG]: normal sink: alsa_output.usb-Corsair_CORSAIR_VIRTUOSO_Wireless_Gaming_Headset_14995a0a000100fc-00.analog-stereo
2022-05-11 00:41:00 [DEBUG]: vr sink: alsa_output.pci-0000_0b_00.1.hdmi-stereo
2022-05-11 00:41:00 [DEBUG]: Output of 'pactl list short sources':
32 jamesdsp_sink.monitor PipeWire float32le 2ch 48000Hz RUNNING
61 alsa_input.usb-Vimicro_Corp._Lenovo_FHD_Webcam_Lenovo_FHD_Webcam_Audio-02.analog-stereo PipeWire s16le 2ch 48000Hz SUSPENDED
66 alsa_output.usb-Corsair_CORSAIR_VIRTUOSO_Wireless_Gaming_Headset_14995a0a000100fc-00.analog-stereo.monitor PipeWire s24le 2ch 48000Hz IDLE
67 alsa_input.usb-Corsair_CORSAIR_VIRTUOSO_Wireless_Gaming_Headset_14995a0a000100fc-00.mono-fallback PipeWire s24le 1ch 48000Hz RUNNING
68 alsa_output.pci-0000_0b_00.1.hdmi-stereo.monitor PipeWire s32le 2ch 48000Hz SUSPENDED
69 alsa_input.usb-Valve_Corporation_Valve_VR_Radio___HMD_Mic_8809F28679-LYM-01.mono-fallback PipeWire s16le 1ch 48000Hz SUSPENDED
70 alsa_output.pci-0000_0d_00.4.analog-stereo.monitor PipeWire s32le 2ch 48000Hz SUSPENDED
71 alsa_input.pci-0000_0d_00.4.analog-stereo PipeWire s32le 2ch 48000Hz SUSPENDED
2022-05-11 00:41:00 [DEBUG]: normal source: alsa_input.usb-Vimicro_Corp._Lenovo_FHD_Webcam_Lenovo_FHD_Webcam_Audio-02.analog-stereo
2022-05-11 00:41:00 [DEBUG]: vr source: alsa_input.usb-Valve_Corporation_Valve_VR_Radio___HMD_Mic_8809F28679-LYM-01.mono-fallback
2022-05-11 00:41:00 [INFO ]: SteamvrUtils turning off:
2022-05-11 00:41:00 [INFO ]: Scanning for Base Stations:
2022-05-11 00:41:00 [INFO ]: Found Base Station LHB-4848BD79 at address d2:82:61:0c:2c:40
2022-05-11 00:41:00 [INFO ]: Found Base Station LHB-D1F62FF2 at address fd:3c:80:9d:ab:99
2022-05-11 00:41:02 [ERROR]: Failure of attempt 1 of 5: Device disconnected
2022-05-11 00:41:03 [INFO ]: Found Base Station LHB-4848BD79 at address d2:82:61:0c:2c:40
2022-05-11 00:41:03 [INFO ]: Found Base Station LHB-D1F62FF2 at address fd:3c:80:9d:ab:99
2022-05-11 00:41:05 [INFO ]: Changing power state of Base Stations:
2022-05-11 00:41:05 [INFO ]: Connecting to d2:82:61:0c:2c:40
2022-05-11 00:41:05 [INFO ]: Turning off
2022-05-11 00:41:05 [INFO ]: Connecting to fd:3c:80:9d:ab:99
2022-05-11 00:41:06 [ERROR]: Failure of attempt 1 of 5: Failed to connect to peripheral fd:3c:80:9d:ab:99, addr type: random
2022-05-11 00:41:06 [INFO ]: Connecting to d2:82:61:0c:2c:40
2022-05-11 00:41:06 [INFO ]: Turning off
2022-05-11 00:41:06 [INFO ]: Connecting to fd:3c:80:9d:ab:99
2022-05-11 00:41:06 [ERROR]: Failure of attempt 2 of 5: Failed to connect to peripheral fd:3c:80:9d:ab:99, addr type: random
2022-05-11 00:41:07 [INFO ]: Connecting to d2:82:61:0c:2c:40
2022-05-11 00:41:07 [INFO ]: Turning off
2022-05-11 00:41:07 [INFO ]: Connecting to fd:3c:80:9d:ab:99
2022-05-11 00:41:07 [ERROR]: Failure of attempt 3 of 5: Failed to connect to peripheral fd:3c:80:9d:ab:99, addr type: random
2022-05-11 00:41:08 [INFO ]: Connecting to d2:82:61:0c:2c:40
2022-05-11 00:41:08 [INFO ]: Turning off
2022-05-11 00:41:08 [INFO ]: Connecting to fd:3c:80:9d:ab:99
2022-05-11 00:41:09 [ERROR]: Failure of attempt 4 of 5: Failed to connect to peripheral fd:3c:80:9d:ab:99, addr type: random
2022-05-11 00:41:09 [INFO ]: Connecting to d2:82:61:0c:2c:40
2022-05-11 00:41:09 [INFO ]: Turning off
2022-05-11 00:41:09 [INFO ]: Connecting to fd:3c:80:9d:ab:99
2022-05-11 00:41:10 [ERROR]: Failure of attempt 5 of 5: Failed to connect to peripheral fd:3c:80:9d:ab:99, addr type: random
2022-05-11 00:41:10 [ERROR]: No successful attempt in any of the 5 attempts. Last error:
2022-05-11 00:41:10 [ERROR]:
Traceback (most recent call last):
File "/home/marclemieux/steamvr_utils/scripts/./steamvr_utils.py", line 133, in main
steamvr_utils.action(selected_action)
File "/home/marclemieux/steamvr_utils/scripts/./steamvr_utils.py", line 49, in action
self.turn_off()
File "/home/marclemieux/steamvr_utils/scripts/./steamvr_utils.py", line 63, in turn_off
self.basestation_power_interface.action(basestation_interface.Action.OFF)
File "/home/marclemieux/steamvr_utils/scripts/basestation_interface/v2_interface.py", line 131, in action
attempt_loop(lambda: self.action_attempt(action), self.config.basestation_attempt_count_set(), try_all=True)
File "/home/marclemieux/steamvr_utils/scripts/basestation_interface/v2_interface.py", line 126, in attempt_loop
raise last_error
File "/home/marclemieux/steamvr_utils/scripts/basestation_interface/v2_interface.py", line 112, in attempt_loop
function()
File "/home/marclemieux/steamvr_utils/scripts/basestation_interface/v2_interface.py", line 131, in <lambda>
attempt_loop(lambda: self.action_attempt(action), self.config.basestation_attempt_count_set(), try_all=True)
File "/home/marclemieux/steamvr_utils/scripts/basestation_interface/v2_interface.py", line 87, in action_attempt
basestation.connect(device, addrType=bluepy.btle.ADDR_TYPE_RANDOM)
File "/usr/lib/python3.10/site-packages/bluepy/btle.py", line 445, in connect
self._connect(addr, addrType, iface)
File "/usr/lib/python3.10/site-packages/bluepy/btle.py", line 439, in _connect
raise BTLEDisconnectError("Failed to connect to peripheral %s, addr type: %s" % (addr, addrType), rsp)
bluepy.btle.BTLEDisconnectError: Failed to connect to peripheral fd:3c:80:9d:ab:99, addr type: random
If you need more detail hit me up ^^
from steamvr_utils.
Your errors are quite different from errors people have experienced previously. Generally they had problems with scanning but that seems to work fine for you.
Please run hciconfig -a
and send the results.
The connection to LHB-4848BD79
seems to work reliably and LHB-D1F62FF2
seems to fail every time. Could you please try to only connect one of them to the power supply, run the command and send the output. Then do the same for the other one. I am wondering if there is a problem with that base station in particular or if it is related the order in which I try to connect to them (second one always fails).
If both of them work individually, please add the line time.sleep(5)
in front of this line
and try again with both connected (testing if its a timing thing).
If they don't work individually I will need to come up with new ideas
from steamvr_utils.
I don't know if your script is working with pipewire pulse
I also dont :)
I have never used pipewire at all. But it seems like it also has the cli utility pactl
and looking at your log it e.g. finds vr sink: alsa_output.pci-0000_0b_00.1.hdmi-stereo
which looks correct. So if the managment commands e.g pactl move-sink-input
also work excatly like they do with pulseaudio, then everything sould work.
You can create a new issue for any problems with the audio component with pipewire (But that will have a quite low priority for me).
from steamvr_utils.
ok. So after doing what you told me it seem that one off my basestation is having some whim . I can confirm that the audio work because I now understand that if the basestion part failed everything fail. so I disabled the basestation part and the sink work sometime is doesn't work and login out and back fix the problem ^^ it seam that the package pulse-pipewire is indeed a replacement of pulseaudio :O. Now I also noted that when both base station are in sleep I start the script the script is indeed turning them on but it seams unable to not understand that it indeed turn them on. so the script report failed but the basestation have started and are ready . so the time.sleep just make me able to better see that the script tell wake up and they wake up but he is not able to understand that are alive :/ I also Increased the sleep time to 10 sec but no result . I also try 20 sec but no luck either.
So here is the log of the audio component working fine
2022-05-11 15:23:27 [DEBUG]: dry_run: False
2022-05-11 15:23:27 [DEBUG]: Output of 'pactl list short sinks':
28023 jamesdsp_sink PipeWire float32le 2ch 44100Hz SUSPENDED
28034 alsa_output.usb-Corsair_CORSAIR_VIRTUOSO_Wireless_Gaming_Headset_14995a0a000100fc-00.analog-stereo PipeWire s24le 2ch 48000Hz SUSPENDED
28043 alsa_output.pci-0000_0d_00.4.analog-stereo PipeWire s32le 2ch 48000Hz SUSPENDED
28130 alsa_output.pci-0000_0b_00.1.hdmi-stereo-extra4 PipeWire s16le 2ch 48000Hz RUNNING
2022-05-11 15:23:27 [DEBUG]: normal sink: alsa_output.usb-Corsair_CORSAIR_VIRTUOSO_Wireless_Gaming_Headset_14995a0a000100fc-00.analog-stereo
2022-05-11 15:23:27 [DEBUG]: vr sink: alsa_output.pci-0000_0b_00.1.hdmi-stereo-extra4
2022-05-11 15:23:27 [DEBUG]: Output of 'pactl list short sources':
28023 jamesdsp_sink.monitor PipeWire float32le 2ch 44100Hz SUSPENDED
28034 alsa_output.usb-Corsair_CORSAIR_VIRTUOSO_Wireless_Gaming_Headset_14995a0a000100fc-00.analog-stereo.monitor PipeWire s24le 2ch 48000Hz SUSPENDED
28035 alsa_input.usb-Corsair_CORSAIR_VIRTUOSO_Wireless_Gaming_Headset_14995a0a000100fc-00.mono-fallback PipeWire s24le 1ch 48000Hz SUSPENDED
28036 alsa_input.usb-Vimicro_Corp._Lenovo_FHD_Webcam_Lenovo_FHD_Webcam_Audio-02.analog-stereo PipeWire s16le 2ch 48000Hz SUSPENDED
28038 alsa_input.usb-Valve_Corporation_Valve_VR_Radio___HMD_Mic_8809F28679-LYM-01.mono-fallback PipeWire s16le 1ch 48000Hz SUSPENDED
28043 alsa_output.pci-0000_0d_00.4.analog-stereo.monitor PipeWire s32le 2ch 48000Hz SUSPENDED
28044 alsa_input.pci-0000_0d_00.4.analog-stereo PipeWire s32le 2ch 48000Hz SUSPENDED
28130 alsa_output.pci-0000_0b_00.1.hdmi-stereo-extra4.monitor PipeWire s16le 2ch 48000Hz IDLE
2022-05-11 15:23:27 [DEBUG]: normal source: alsa_input.usb-Corsair_CORSAIR_VIRTUOSO_Wireless_Gaming_Headset_14995a0a000100fc-00.mono-fallback
2022-05-11 15:23:27 [DEBUG]: vr source: alsa_input.usb-Valve_Corporation_Valve_VR_Radio___HMD_Mic_8809F28679-LYM-01.mono-fallback
2022-05-11 15:23:27 [INFO ]: SteamvrUtils turning on:
2022-05-11 15:23:27 [DEBUG]: Output of 'pactl list short sink-inputs':
28108 28130 28107 PipeWire float32le 2ch 48000Hz
2022-05-11 15:23:27 [WARNI]: move pactl move-sink-input 28108 alsa_output.pci-0000_0b_00.1.hdmi-stereo-extra4
2022-05-11 15:23:27 [DEBUG]: Output of 'pactl list short source-outputs':
Here is the log whitout the audio component on since I know know that it work. Here is just the basestation part both basestion were in sleep and they are now on after the execution of the script but it failed somehow
2022-05-11 15:38:16 [DEBUG]: dry_run: False
2022-05-11 15:38:16 [INFO ]: SteamvrUtils turning on:
2022-05-11 15:38:16 [INFO ]: Scanning for Base Stations:
2022-05-11 15:38:16 [INFO ]: Found Base Station LHB-4848BD79 at address d2:82:61:0c:2c:40
2022-05-11 15:38:16 [INFO ]: Found Base Station LHB-D1F62FF2 at address fd:3c:80:9d:ab:99
2022-05-11 15:38:18 [INFO ]: Changing power state of Base Stations:
2022-05-11 15:38:28 [INFO ]: Connecting to d2:82:61:0c:2c:40
2022-05-11 15:38:28 [INFO ]: Turning on
2022-05-11 15:38:38 [INFO ]: Connecting to fd:3c:80:9d:ab:99
2022-05-11 15:38:39 [ERROR]: Failure of attempt 1 of 5: Failed to connect to peripheral fd:3c:80:9d:ab:99, addr type: random
2022-05-11 15:38:49 [INFO ]: Connecting to d2:82:61:0c:2c:40
2022-05-11 15:38:50 [INFO ]: Turning on
2022-05-11 15:39:00 [INFO ]: Connecting to fd:3c:80:9d:ab:99
2022-05-11 15:39:00 [ERROR]: Failure of attempt 2 of 5: Failed to connect to peripheral fd:3c:80:9d:ab:99, addr type: random
2022-05-11 15:39:11 [INFO ]: Connecting to d2:82:61:0c:2c:40
2022-05-11 15:39:11 [INFO ]: Turning on
2022-05-11 15:39:21 [INFO ]: Connecting to fd:3c:80:9d:ab:99
2022-05-11 15:39:22 [ERROR]: Failure of attempt 3 of 5: Failed to connect to peripheral fd:3c:80:9d:ab:99, addr type: random
2022-05-11 15:39:32 [INFO ]: Connecting to d2:82:61:0c:2c:40
2022-05-11 15:39:32 [INFO ]: Turning on
2022-05-11 15:39:42 [INFO ]: Connecting to fd:3c:80:9d:ab:99
2022-05-11 15:39:43 [ERROR]: Failure of attempt 4 of 5: Failed to connect to peripheral fd:3c:80:9d:ab:99, addr type: random
2022-05-11 15:39:53 [INFO ]: Connecting to d2:82:61:0c:2c:40
2022-05-11 15:39:54 [INFO ]: Turning on
2022-05-11 15:40:04 [INFO ]: Connecting to fd:3c:80:9d:ab:99
2022-05-11 15:40:04 [ERROR]: Failure of attempt 5 of 5: Failed to connect to peripheral fd:3c:80:9d:ab:99, addr type: random
2022-05-11 15:40:05 [ERROR]: No successful attempt in any of the 5 attempts. Last error:
2022-05-11 15:40:05 [ERROR]:
Traceback (most recent call last):
File "/home/marclemieux/steamvr_utils/scripts/./steamvr_utils.py", line 133, in main
steamvr_utils.action(selected_action)
File "/home/marclemieux/steamvr_utils/scripts/./steamvr_utils.py", line 47, in action
self.turn_on()
File "/home/marclemieux/steamvr_utils/scripts/./steamvr_utils.py", line 72, in turn_on
self.basestation_power_interface.action(basestation_interface.Action.ON)
File "/home/marclemieux/steamvr_utils/scripts/basestation_interface/v2_interface.py", line 132, in action
attempt_loop(lambda: self.action_attempt(action), self.config.basestation_attempt_count_set(), try_all=True)
File "/home/marclemieux/steamvr_utils/scripts/basestation_interface/v2_interface.py", line 127, in attempt_loop
raise last_error
File "/home/marclemieux/steamvr_utils/scripts/basestation_interface/v2_interface.py", line 113, in attempt_loop
function()
File "/home/marclemieux/steamvr_utils/scripts/basestation_interface/v2_interface.py", line 132, in <lambda>
attempt_loop(lambda: self.action_attempt(action), self.config.basestation_attempt_count_set(), try_all=True)
File "/home/marclemieux/steamvr_utils/scripts/basestation_interface/v2_interface.py", line 88, in action_attempt
basestation.connect(device, addrType=bluepy.btle.ADDR_TYPE_RANDOM)
File "/usr/lib/python3.10/site-packages/bluepy/btle.py", line 445, in connect
self._connect(addr, addrType, iface)
File "/usr/lib/python3.10/site-packages/bluepy/btle.py", line 439, in _connect
raise BTLEDisconnectError("Failed to connect to peripheral %s, addr type: %s" % (addr, addrType), rsp)
bluepy.btle.BTLEDisconnectError: Failed to connect to peripheral fd:3c:80:9d:ab:99, addr type: random
from steamvr_utils.
but it seams unable to not understand that it indeed turn them on
That is more or less "by design". (To my knowledge) There is no way to get the current sate (on/standby) over bluetooth. And while I can set an explicit state, there is a small chance it just doesn't work (no error reported). So to make sure a basestation is on, I basically just turn it on multiple times. In my experience with my hardware this works reliably.
But I newver get these bluepy.btle.BTLEDisconnectError
s, even if it doesn't work (so the basestation does not turn on/off but also don't get an error).
the script the script is indeed turning them on
So just to confirm: You can turn both basestations on (or off) even if the program reports that ever single attempt failed?
Did you try my suggestion of only having a single (especially the "bad" one) connected to the power? That might narrow down the issue.
from steamvr_utils.
One small of topic thing:
If you want to include code or similar (logs) which has multiple lines you should use three backticks:
with one backtick second line
with three backtick
second line
I edited your previous comments so I could read them better.
Helpfull guide: https://docs.github.com/en/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax
from steamvr_utils.
Oh ok I'm pretty new on github ^^ for that side
from steamvr_utils.
So I confirm that I can start both base station alone or together but I never at any get the script to close them. The only way I was using to turn them off is to unplug them before I discover the app . Also I get eror alone or together. So my problem is now that the closing part doesn't work .
from steamvr_utils.
Same issue here. To possibly shed some light, I ran SteamVR from windows and was fool enough to accept a base station firmware update that it offered. Before the update it worked fine, after I got the same symptoms as OP: stations already asleep will be woken by steamvr_utils despite getting a connection failed error, and awake stations get the same error and can't be put to sleep.
from steamvr_utils.
Since you mentioned that the app works for you, I looked into the code of the app. The only significant difference I found was in how the write to the basestation is specified: I used the handle (0x12
) and the app uses the UUID (00001525-1212-efde-1523-785feabcd124
). In the new version the handle might have changed, so using the UUID would be better.
@marclemieux64 @UJCtheguy Could you please test turning a basestation on+off with the iss15_fix_v2_interface
branch? On that branch the uuid is used (identical results for me, but I have old firmware) and I am logging some things about the bluetooth device (to look if anything is different to my basestations).
from steamvr_utils.
So downloaded the new version of the v2_interface .py script and replaced it with the new one. I can confirm that there is progress.
Here is the output when i do ./steamvr_utils.py on
2022-06-08 04:36:12 [INFO ]: steamvr_utils version: 1.1.1
2022-06-08 04:36:12 [DEBUG]: dry_run: False
2022-06-08 04:36:12 [INFO ]: SteamvrUtils turning on:
2022-06-08 04:36:12 [INFO ]: Scanning for Base Stations:
2022-06-08 04:36:13 [INFO ]: Found Base Station LHB-4848BD79 at address d2:82:61:0c:2c:40
2022-06-08 04:36:13 [INFO ]: Found Base Station LHB-D1F62FF2 at address fd:3c:80:9d:ab:99
2022-06-08 04:36:15 [ERROR]: Failure of attempt 1 of 5: Device disconnected
2022-06-08 04:36:15 [INFO ]: Found Base Station LHB-4848BD79 at address d2:82:61:0c:2c:40
2022-06-08 04:36:15 [INFO ]: Found Base Station LHB-D1F62FF2 at address fd:3c:80:9d:ab:99
2022-06-08 04:36:17 [INFO ]: Changing power state of Base Stations:
2022-06-08 04:36:17 [INFO ]: Connecting to d2:82:61:0c:2c:40
services:
00001800-0000-1000-8000-00805f9b34fb None 1 9
00001801-0000-1000-8000-00805f9b34fb None 10 13
00001523-1212-efde-1523-785feabcd124 None 14 22
00000000-0060-7990-5544-1cce81af42f0 None 23 26
0000fe59-0000-1000-8000-00805f9b34fb None 27 30
0000180a-0000-1000-8000-00805f9b34fb None 31 65535
characteristics:
00002a00-0000-1000-8000-00805f9b34fb 2 3 2
00002a01-0000-1000-8000-00805f9b34fb 4 5 2
00002a04-0000-1000-8000-00805f9b34fb 6 7 2
00002aa6-0000-1000-8000-00805f9b34fb 8 9 2
00002a05-0000-1000-8000-00805f9b34fb 11 12 32
00008421-1212-efde-1523-785feabcd124 15 16 8
00001525-1212-efde-1523-785feabcd124 17 18 26
00001524-1212-efde-1523-785feabcd124 20 21 26
00000010-0060-7990-5544-1cce81af42f0 24 25 2
8ec90003-f315-4f60-9fb8-838830daea50 28 29 40
00002a29-0000-1000-8000-00805f9b34fb 32 33 2
00002a24-0000-1000-8000-00805f9b34fb 34 35 2
00002a25-0000-1000-8000-00805f9b34fb 36 37 2
00002a27-0000-1000-8000-00805f9b34fb 38 39 2
00002a26-0000-1000-8000-00805f9b34fb 40 41 2
2022-06-08 04:36:19 [INFO ]: Turning on
2022-06-08 04:36:19 [INFO ]: Connecting to fd:3c:80:9d:ab:99
2022-06-08 04:36:19 [ERROR]: Failure of attempt 1 of 5: Failed to connect to peripheral fd:3c:80:9d:ab:99, addr type: random
2022-06-08 04:36:20 [INFO ]: Connecting to d2:82:61:0c:2c:40
services:
00001800-0000-1000-8000-00805f9b34fb None 1 9
00001801-0000-1000-8000-00805f9b34fb None 10 13
00001523-1212-efde-1523-785feabcd124 None 14 22
00000000-0060-7990-5544-1cce81af42f0 None 23 26
0000fe59-0000-1000-8000-00805f9b34fb None 27 30
0000180a-0000-1000-8000-00805f9b34fb None 31 65535
characteristics:
00002a00-0000-1000-8000-00805f9b34fb 2 3 2
00002a01-0000-1000-8000-00805f9b34fb 4 5 2
00002a04-0000-1000-8000-00805f9b34fb 6 7 2
00002aa6-0000-1000-8000-00805f9b34fb 8 9 2
00002a05-0000-1000-8000-00805f9b34fb 11 12 32
00008421-1212-efde-1523-785feabcd124 15 16 8
00001525-1212-efde-1523-785feabcd124 17 18 26
00001524-1212-efde-1523-785feabcd124 20 21 26
00000010-0060-7990-5544-1cce81af42f0 24 25 2
8ec90003-f315-4f60-9fb8-838830daea50 28 29 40
00002a29-0000-1000-8000-00805f9b34fb 32 33 2
00002a24-0000-1000-8000-00805f9b34fb 34 35 2
00002a25-0000-1000-8000-00805f9b34fb 36 37 22022-06-08 04:40:01 [INFO ]: steamvr_utils version: 1.1.1
2022-06-08 04:40:01 [DEBUG]: dry_run: False
2022-06-08 04:40:01 [INFO ]: SteamvrUtils turning off:
2022-06-08 04:40:01 [INFO ]: Scanning for Base Stations:
2022-06-08 04:40:02 [INFO ]: Found Base Station LHB-4848BD79 at address d2:82:61:0c:2c:40
2022-06-08 04:40:02 [INFO ]: Found Base Station LHB-D1F62FF2 at address fd:3c:80:9d:ab:99
2022-06-08 04:40:04 [ERROR]: Failure of attempt 1 of 5: Device disconnected
2022-06-08 04:40:04 [INFO ]: Found Base Station LHB-4848BD79 at address d2:82:61:0c:2c:40
2022-06-08 04:40:04 [INFO ]: Found Base Station LHB-D1F62FF2 at address fd:3c:80:9d:ab:99
2022-06-08 04:40:06 [INFO ]: Changing power state of Base Stations:
2022-06-08 04:40:06 [INFO ]: Connecting to d2:82:61:0c:2c:40
services:
00001800-0000-1000-8000-00805f9b34fb None 1 9
00001801-0000-1000-8000-00805f9b34fb None 10 13
00001523-1212-efde-1523-785feabcd124 None 14 22
00000000-0060-7990-5544-1cce81af42f0 None 23 26
0000fe59-0000-1000-8000-00805f9b34fb None 27 30
0000180a-0000-1000-8000-00805f9b34fb None 31 65535
characteristics:
00002a00-0000-1000-8000-00805f9b34fb 2 3 2
00002a01-0000-1000-8000-00805f9b34fb 4 5 2
00002a04-0000-1000-8000-00805f9b34fb 6 7 2
00002aa6-0000-1000-8000-00805f9b34fb 8 9 2
00002a05-0000-1000-8000-00805f9b34fb 11 12 32
00008421-1212-efde-1523-785feabcd124 15 16 8
00001525-1212-efde-1523-785feabcd124 17 18 26
00001524-1212-efde-1523-785feabcd124 20 21 26
00000010-0060-7990-5544-1cce81af42f0 24 25 2
8ec90003-f315-4f60-9fb8-838830daea50 28 29 40
00002a29-0000-1000-8000-00805f9b34fb 32 33 2
00002a24-0000-1000-8000-00805f9b34fb 34 35 2
00002a25-0000-1000-8000-00805f9b34fb 36 37 2
00002a27-0000-1000-8000-00805f9b34fb 38 39 2
00002a26-0000-1000-8000-00805f9b34fb 40 41 2
2022-06-08 04:40:08 [INFO ]: Turning off
2022-06-08 04:40:08 [INFO ]: Connecting to fd:3c:80:9d:ab:99
2022-06-08 04:40:08 [ERROR]: Failure of attempt 1 of 5: Failed to connect to peripheral fd:3c:80:9d:ab:99, addr type: random
2022-06-08 04:40:09 [INFO ]: Connecting to d2:82:61:0c:2c:40
services:
00001800-0000-1000-8000-00805f9b34fb None 1 9
00001801-0000-1000-8000-00805f9b34fb None 10 13
00001523-1212-efde-1523-785feabcd124 None 14 22
00000000-0060-7990-5544-1cce81af42f0 None 23 26
0000fe59-0000-1000-8000-00805f9b34fb None 27 30
0000180a-0000-1000-8000-00805f9b34fb None 31 65535
characteristics:
00002a00-0000-1000-8000-00805f9b34fb 2 3 2
00002a01-0000-1000-8000-00805f9b34fb 4 5 2
00002a04-0000-1000-8000-00805f9b34fb 6 7 2
00002aa6-0000-1000-8000-00805f9b34fb 8 9 2
00002a05-0000-1000-8000-00805f9b34fb 11 12 32
00008421-1212-efde-1523-785feabcd124 15 16 8
00001525-1212-efde-1523-785feabcd124 17 18 26
00001524-1212-efde-1523-785feabcd124 20 21 26
00000010-0060-7990-5544-1cce81af42f0 24 25 2
8ec90003-f315-4f60-9fb8-838830daea50 28 29 40
00002a29-0000-1000-8000-00805f9b34fb 32 33 2
00002a24-0000-1000-8000-00805f9b34fb 34 35 2
00002a25-0000-1000-8000-00805f9b34fb 36 37 2
00002a27-0000-1000-8000-00805f9b34fb 38 39 2
00002a26-0000-1000-8000-00805f9b34fb 40 41 2
2022-06-08 04:40:10 [INFO ]: Turning off
2022-06-08 04:40:10 [INFO ]: Connecting to fd:3c:80:9d:ab:99
2022-06-08 04:40:11 [ERROR]: Failure of attempt 2 of 5: Failed to connect to peripheral fd:3c:80:9d:ab:99, addr type: random
2022-06-08 04:40:11 [INFO ]: Connecting to d2:82:61:0c:2c:40
services:
00001800-0000-1000-8000-00805f9b34fb None 1 9
00001801-0000-1000-8000-00805f9b34fb None 10 13
00001523-1212-efde-1523-785feabcd124 None 14 22
00000000-0060-7990-5544-1cce81af42f0 None 23 26
0000fe59-0000-1000-8000-00805f9b34fb None 27 30
0000180a-0000-1000-8000-00805f9b34fb None 31 65535
characteristics:
00002a00-0000-1000-8000-00805f9b34fb 2 3 2
00002a01-0000-1000-8000-00805f9b34fb 4 5 2
00002a04-0000-1000-8000-00805f9b34fb 6 7 2
00002aa6-0000-1000-8000-00805f9b34fb 8 9 2
00002a05-0000-1000-8000-00805f9b34fb 11 12 32
00008421-1212-efde-1523-785feabcd124 15 16 8
00001525-1212-efde-1523-785feabcd124 17 18 26
00001524-1212-efde-1523-785feabcd124 20 21 26
00000010-0060-7990-5544-1cce81af42f0 24 25 2
8ec90003-f315-4f60-9fb8-838830daea50 28 29 40
00002a29-0000-1000-8000-00805f9b34fb 32 33 2
00002a24-0000-1000-8000-00805f9b34fb 34 35 2
00002a25-0000-1000-8000-00805f9b34fb 36 37 2
00002a27-0000-1000-8000-00805f9b34fb 38 39 2
00002a26-0000-1000-8000-00805f9b34fb 40 41 2
2022-06-08 04:40:13 [INFO ]: Turning off
2022-06-08 04:40:13 [INFO ]: Connecting to fd:3c:80:9d:ab:99
2022-06-08 04:40:13 [ERROR]: Failure of attempt 3 of 5: Failed to connect to peripheral fd:3c:80:9d:ab:99, addr type: random
2022-06-08 04:40:14 [INFO ]: Connecting to d2:82:61:0c:2c:40
services:
00001800-0000-1000-8000-00805f9b34fb None 1 9
00001801-0000-1000-8000-00805f9b34fb None 10 13
00001523-1212-efde-1523-785feabcd124 None 14 22
00000000-0060-7990-5544-1cce81af42f0 None 23 26
0000fe59-0000-1000-8000-00805f9b34fb None 27 30
0000180a-0000-1000-8000-00805f9b34fb None 31 65535
characteristics:
00002a00-0000-1000-8000-00805f9b34fb 2 3 2
00002a01-0000-1000-8000-00805f9b34fb 4 5 2
00002a04-0000-1000-8000-00805f9b34fb 6 7 2
00002aa6-0000-1000-8000-00805f9b34fb 8 9 2
00002a05-0000-1000-8000-00805f9b34fb 11 12 32
00008421-1212-efde-1523-785feabcd124 15 16 8
00001525-1212-efde-1523-785feabcd124 17 18 26
00001524-1212-efde-1523-785feabcd124 20 21 26
00000010-0060-7990-5544-1cce81af42f0 24 25 2
8ec90003-f315-4f60-9fb8-838830daea50 28 29 40
00002a29-0000-1000-8000-00805f9b34fb 32 33 2
00002a24-0000-1000-8000-00805f9b34fb 34 35 2
00002a25-0000-1000-8000-00805f9b34fb 36 37 2
00002a27-0000-1000-8000-00805f9b34fb 38 39 2
00002a26-0000-1000-8000-00805f9b34fb 40 41 2
2022-06-08 04:40:15 [INFO ]: Turning off
2022-06-08 04:40:15 [INFO ]: Connecting to fd:3c:80:9d:ab:99
2022-06-08 04:40:16 [ERROR]: Failure of attempt 4 of 5: Failed to connect to peripheral fd:3c:80:9d:ab:99, addr type: random
2022-06-08 04:40:16 [INFO ]: Connecting to d2:82:61:0c:2c:40
services:
00001800-0000-1000-8000-00805f9b34fb None 1 9
00001801-0000-1000-8000-00805f9b34fb None 10 13
00001523-1212-efde-1523-785feabcd124 None 14 22
00000000-0060-7990-5544-1cce81af42f0 None 23 26
0000fe59-0000-1000-8000-00805f9b34fb None 27 30
0000180a-0000-1000-8000-00805f9b34fb None 31 65535
characteristics:
00002a00-0000-1000-8000-00805f9b34fb 2 3 2
00002a01-0000-1000-8000-00805f9b34fb 4 5 2
00002a04-0000-1000-8000-00805f9b34fb 6 7 2
00002aa6-0000-1000-8000-00805f9b34fb 8 9 2
00002a05-0000-1000-8000-00805f9b34fb 11 12 32
00008421-1212-efde-1523-785feabcd124 15 16 8
00001525-1212-efde-1523-785feabcd124 17 18 26
00001524-1212-efde-1523-785feabcd124 20 21 26
00000010-0060-7990-5544-1cce81af42f0 24 25 2
8ec90003-f315-4f60-9fb8-838830daea50 28 29 40
00002a29-0000-1000-8000-00805f9b34fb 32 33 2
00002a24-0000-1000-8000-00805f9b34fb 34 35 2
00002a25-0000-1000-8000-00805f9b34fb 36 37 2
00002a27-0000-1000-8000-00805f9b34fb 38 39 2
00002a26-0000-1000-8000-00805f9b34fb 40 41 2
2022-06-08 04:40:17 [INFO ]: Turning off
2022-06-08 04:40:17 [INFO ]: Connecting to fd:3c:80:9d:ab:99
2022-06-08 04:40:18 [ERROR]: Failure of attempt 5 of 5: Failed to connect to peripheral fd:3c:80:9d:ab:99, addr type: random
2022-06-08 04:40:19 [ERROR]: No successful attempt in any of the 5 attempts. Last error:
2022-06-08 04:40:19 [ERROR]:
Traceback (most recent call last):
File "/home/marclemieux/steamvr_utils/scripts/./steamvr_utils.py", line 133, in main
steamvr_utils.action(selected_action)
File "/home/marclemieux/steamvr_utils/scripts/./steamvr_utils.py", line 49, in action
self.turn_off()
File "/home/marclemieux/steamvr_utils/scripts/./steamvr_utils.py", line 63, in turn_off
self.basestation_power_interface.action(basestation_interface.Action.OFF)
File "/home/marclemieux/steamvr_utils/scripts/basestation_interface/v2_interface.py", line 152, in action
attempt_loop(lambda: self.action_attempt(action), self.config.basestation_attempt_count_set(), try_all=True)
File "/home/marclemieux/steamvr_utils/scripts/basestation_interface/v2_interface.py", line 147, in attempt_loop
raise last_error
File "/home/marclemieux/steamvr_utils/scripts/basestation_interface/v2_interface.py", line 133, in attempt_loop
function()
File "/home/marclemieux/steamvr_utils/scripts/basestation_interface/v2_interface.py", line 152, in <lambda>
attempt_loop(lambda: self.action_attempt(action), self.config.basestation_attempt_count_set(), try_all=True)
File "/home/marclemieux/steamvr_utils/scripts/basestation_interface/v2_interface.py", line 87, in action_attempt
basestation.connect(device, addrType=bluepy.btle.ADDR_TYPE_RANDOM)
File "/usr/lib/python3.10/site-packages/bluepy/btle.py", line 445, in connect
self._connect(addr, addrType, iface)
File "/usr/lib/python3.10/site-packages/bluepy/btle.py", line 439, in _connect
raise BTLEDisconnectError("Failed to connect to peripheral %s, addr type: %s" % (addr, addrType), rsp)
bluepy.btle.BTLEDisconnectError: Failed to connect to peripheral fd:3c:80:9d:ab:99, addr type: random
00002a27-0000-1000-8000-00805f9b34fb 38 39 2
00002a26-0000-1000-8000-00805f9b34fb 40 41 2
2022-06-08 04:36:21 [INFO ]: Turning on
2022-06-08 04:36:21 [INFO ]: Connecting to fd:3c:80:9d:ab:99
2022-06-08 04:36:22 [ERROR]: Failure of attempt 2 of 5: Failed to connect to peripheral fd:3c:80:9d:ab:99, addr type: random
2022-06-08 04:36:22 [INFO ]: Connecting to d2:82:61:0c:2c:40
services:
00001800-0000-1000-8000-00805f9b34fb None 1 9
00001801-0000-1000-8000-00805f9b34fb None 10 13
00001523-1212-efde-1523-785feabcd124 None 14 22
00000000-0060-7990-5544-1cce81af42f0 None 23 26
0000fe59-0000-1000-8000-00805f9b34fb None 27 30
0000180a-0000-1000-8000-00805f9b34fb None 31 65535
characteristics:
00002a00-0000-1000-8000-00805f9b34fb 2 3 2
00002a01-0000-1000-8000-00805f9b34fb 4 5 2
00002a04-0000-1000-8000-00805f9b34fb 6 7 2
00002aa6-0000-1000-8000-00805f9b34fb 8 9 2
00002a05-0000-1000-8000-00805f9b34fb 11 12 32
00008421-1212-efde-1523-785feabcd124 15 16 8
00001525-1212-efde-1523-785feabcd124 17 18 26
00001524-1212-efde-1523-785feabcd124 20 21 26
00000010-0060-7990-5544-1cce81af42f0 24 25 2
8ec90003-f315-4f60-9fb8-838830daea50 28 29 40
00002a29-0000-1000-8000-00805f9b34fb 32 33 2
00002a24-0000-1000-8000-00805f9b34fb 34 35 2
00002a25-0000-1000-8000-00805f9b34fb 36 37 2
00002a27-0000-1000-8000-00805f9b34fb 38 39 2
00002a26-0000-1000-8000-00805f9b34fb 40 41 2
2022-06-08 04:36:24 [INFO ]: Turning on
2022-06-08 04:36:24 [INFO ]: Connecting to fd:3c:80:9d:ab:99
2022-06-08 04:36:24 [ERROR]: Failure of attempt 3 of 5: Failed to connect to peripheral fd:3c:80:9d:ab:99, addr type: random
2022-06-08 04:36:25 [INFO ]: Connecting to d2:82:61:0c:2c:40
services:
00001800-0000-1000-8000-00805f9b34fb None 1 9
00001801-0000-1000-8000-00805f9b34fb None 10 13
00001523-1212-efde-1523-785feabcd124 None 14 22
00000000-0060-7990-5544-1cce81af42f0 None 23 26
0000fe59-0000-1000-8000-00805f9b34fb None 27 30
0000180a-0000-1000-8000-00805f9b34fb None 31 65535
characteristics:
00002a00-0000-1000-8000-00805f9b34fb 2 3 2
00002a01-0000-1000-8000-00805f9b34fb 4 5 2
00002a04-0000-1000-8000-00805f9b34fb 6 7 2
00002aa6-0000-1000-8000-00805f9b34fb 8 9 2
00002a05-0000-1000-8000-00805f9b34fb 11 12 32
00008421-1212-efde-1523-785feabcd124 15 16 8
00001525-1212-efde-1523-785feabcd124 17 18 26
00001524-1212-efde-1523-785feabcd124 20 21 26
00000010-0060-7990-5544-1cce81af42f0 24 25 2
8ec90003-f315-4f60-9fb8-838830daea50 28 29 40
00002a29-0000-1000-8000-00805f9b34fb 32 33 2
00002a24-0000-1000-8000-00805f9b34fb 34 35 2
00002a25-0000-1000-8000-00805f9b34fb 36 37 2
00002a27-0000-1000-8000-00805f9b34fb 38 39 2
00002a26-0000-1000-8000-00805f9b34fb 40 41 2
2022-06-08 04:36:26 [INFO ]: Turning on
2022-06-08 04:36:26 [INFO ]: Connecting to fd:3c:80:9d:ab:99
2022-06-08 04:36:27 [ERROR]: Failure of attempt 4 of 5: Failed to connect to peripheral fd:3c:80:9d:ab:99, addr type: random
2022-06-08 04:36:27 [INFO ]: Connecting to d2:82:61:0c:2c:40
services:
00001800-0000-1000-8000-00805f9b34fb None 1 9
00001801-0000-1000-8000-00805f9b34fb None 10 13
00001523-1212-efde-1523-785feabcd124 None 14 22
00000000-0060-7990-5544-1cce81af42f0 None 23 26
0000fe59-0000-1000-8000-00805f9b34fb None 27 30
0000180a-0000-1000-8000-00805f9b34fb None 31 65535
characteristics:
00002a00-0000-1000-8000-00805f9b34fb 2 3 2
00002a01-0000-1000-8000-00805f9b34fb 4 5 2
00002a04-0000-1000-8000-00805f9b34fb 6 7 2
00002aa6-0000-1000-8000-00805f9b34fb 8 9 2
00002a05-0000-1000-8000-00805f9b34fb 11 12 32
00008421-1212-efde-1523-785feabcd124 15 16 8
00001525-1212-efde-1523-785feabcd124 17 18 26
00001524-1212-efde-1523-785feabcd124 20 21 26
00000010-0060-7990-5544-1cce81af42f0 24 25 2
8ec90003-f315-4f60-9fb8-838830daea50 28 29 40
00002a29-0000-1000-8000-00805f9b34fb 32 33 2
00002a24-0000-1000-8000-00805f9b34fb 34 35 2
00002a25-0000-1000-8000-00805f9b34fb 36 37 2
00002a27-0000-1000-8000-00805f9b34fb 38 39 2
00002a26-0000-1000-8000-00805f9b34fb 40 41 2
2022-06-08 04:36:29 [INFO ]: Turning on
2022-06-08 04:36:29 [INFO ]: Connecting to fd:3c:80:9d:ab:99
2022-06-08 04:36:29 [ERROR]: Failure of attempt 5 of 5: Failed to connect to peripheral fd:3c:80:9d:ab:99, addr type: random
2022-06-08 04:36:30 [ERROR]: No successful attempt in any of the 5 attempts. Last error:
2022-06-08 04:36:30 [ERROR]:
Traceback (most recent call last):
File "/home/marclemieux/steamvr_utils/scripts/./steamvr_utils.py", line 133, in main
steamvr_utils.action(selected_action)
File "/home/marclemieux/steamvr_utils/scripts/./steamvr_utils.py", line 47, in action
self.turn_on()
File "/home/marclemieux/steamvr_utils/scripts/./steamvr_utils.py", line 72, in turn_on
self.basestation_power_interface.action(basestation_interface.Action.ON)
File "/home/marclemieux/steamvr_utils/scripts/basestation_interface/v2_interface.py", line 152, in action
attempt_loop(lambda: self.action_attempt(action), self.config.basestation_attempt_count_set(), try_all=True)
File "/home/marclemieux/steamvr_utils/scripts/basestation_interface/v2_interface.py", line 147, in attempt_loop
raise last_error
File "/home/marclemieux/steamvr_utils/scripts/basestation_interface/v2_interface.py", line 133, in attempt_loop
function()
File "/home/marclemieux/steamvr_utils/scripts/basestation_interface/v2_interface.py", line 152, in <lambda>
attempt_loop(lambda: self.action_attempt(action), self.config.basestation_attempt_count_set(), try_all=True)
File "/home/marclemieux/steamvr_utils/scripts/basestation_interface/v2_interface.py", line 87, in action_attempt
basestation.connect(device, addrType=bluepy.btle.ADDR_TYPE_RANDOM)
File "/usr/lib/python3.10/site-packages/bluepy/btle.py", line 445, in connect
self._connect(addr, addrType, iface)
File "/usr/lib/python3.10/site-packages/bluepy/btle.py", line 439, in _connect
raise BTLEDisconnectError("Failed to connect to peripheral %s, addr type: %s" % (addr, addrType), rsp)
bluepy.btle.BTLEDisconnectError: Failed to connect to peripheral fd:3c:80:9d:ab:99, addr type: random
Result both base station are on (nothing new ^^ except the characteristic output)
And here is when I do ./steamvr_utils.py off
2022-06-08 04:40:01 [INFO ]: steamvr_utils version: 1.1.1
2022-06-08 04:40:01 [DEBUG]: dry_run: False
2022-06-08 04:40:01 [INFO ]: SteamvrUtils turning off:
2022-06-08 04:40:01 [INFO ]: Scanning for Base Stations:
2022-06-08 04:40:02 [INFO ]: Found Base Station LHB-4848BD79 at address d2:82:61:0c:2c:40
2022-06-08 04:40:02 [INFO ]: Found Base Station LHB-D1F62FF2 at address fd:3c:80:9d:ab:99
2022-06-08 04:40:04 [ERROR]: Failure of attempt 1 of 5: Device disconnected
2022-06-08 04:40:04 [INFO ]: Found Base Station LHB-4848BD79 at address d2:82:61:0c:2c:40
2022-06-08 04:40:04 [INFO ]: Found Base Station LHB-D1F62FF2 at address fd:3c:80:9d:ab:99
2022-06-08 04:40:06 [INFO ]: Changing power state of Base Stations:
2022-06-08 04:40:06 [INFO ]: Connecting to d2:82:61:0c:2c:40
services:
00001800-0000-1000-8000-00805f9b34fb None 1 9
00001801-0000-1000-8000-00805f9b34fb None 10 13
00001523-1212-efde-1523-785feabcd124 None 14 22
00000000-0060-7990-5544-1cce81af42f0 None 23 26
0000fe59-0000-1000-8000-00805f9b34fb None 27 30
0000180a-0000-1000-8000-00805f9b34fb None 31 65535
characteristics:
00002a00-0000-1000-8000-00805f9b34fb 2 3 2
00002a01-0000-1000-8000-00805f9b34fb 4 5 2
00002a04-0000-1000-8000-00805f9b34fb 6 7 2
00002aa6-0000-1000-8000-00805f9b34fb 8 9 2
00002a05-0000-1000-8000-00805f9b34fb 11 12 32
00008421-1212-efde-1523-785feabcd124 15 16 8
00001525-1212-efde-1523-785feabcd124 17 18 26
00001524-1212-efde-1523-785feabcd124 20 21 26
00000010-0060-7990-5544-1cce81af42f0 24 25 2
8ec90003-f315-4f60-9fb8-838830daea50 28 29 40
00002a29-0000-1000-8000-00805f9b34fb 32 33 2
00002a24-0000-1000-8000-00805f9b34fb 34 35 2
00002a25-0000-1000-8000-00805f9b34fb 36 37 2
00002a27-0000-1000-8000-00805f9b34fb 38 39 2
00002a26-0000-1000-8000-00805f9b34fb 40 41 2
2022-06-08 04:40:08 [INFO ]: Turning off
2022-06-08 04:40:08 [INFO ]: Connecting to fd:3c:80:9d:ab:99
2022-06-08 04:40:08 [ERROR]: Failure of attempt 1 of 5: Failed to connect to peripheral fd:3c:80:9d:ab:99, addr type: random
2022-06-08 04:40:09 [INFO ]: Connecting to d2:82:61:0c:2c:40
services:
00001800-0000-1000-8000-00805f9b34fb None 1 9
00001801-0000-1000-8000-00805f9b34fb None 10 13
00001523-1212-efde-1523-785feabcd124 None 14 22
00000000-0060-7990-5544-1cce81af42f0 None 23 26
0000fe59-0000-1000-8000-00805f9b34fb None 27 30
0000180a-0000-1000-8000-00805f9b34fb None 31 65535
characteristics:
00002a00-0000-1000-8000-00805f9b34fb 2 3 2
00002a01-0000-1000-8000-00805f9b34fb 4 5 2
00002a04-0000-1000-8000-00805f9b34fb 6 7 2
00002aa6-0000-1000-8000-00805f9b34fb 8 9 2
00002a05-0000-1000-8000-00805f9b34fb 11 12 32
00008421-1212-efde-1523-785feabcd124 15 16 8
00001525-1212-efde-1523-785feabcd124 17 18 26
00001524-1212-efde-1523-785feabcd124 20 21 26
00000010-0060-7990-5544-1cce81af42f0 24 25 2
8ec90003-f315-4f60-9fb8-838830daea50 28 29 40
00002a29-0000-1000-8000-00805f9b34fb 32 33 2
00002a24-0000-1000-8000-00805f9b34fb 34 35 2
00002a25-0000-1000-8000-00805f9b34fb 36 37 2
00002a27-0000-1000-8000-00805f9b34fb 38 39 2
00002a26-0000-1000-8000-00805f9b34fb 40 41 2
2022-06-08 04:40:10 [INFO ]: Turning off
2022-06-08 04:40:10 [INFO ]: Connecting to fd:3c:80:9d:ab:99
2022-06-08 04:40:11 [ERROR]: Failure of attempt 2 of 5: Failed to connect to peripheral fd:3c:80:9d:ab:99, addr type: random
2022-06-08 04:40:11 [INFO ]: Connecting to d2:82:61:0c:2c:40
services:
00001800-0000-1000-8000-00805f9b34fb None 1 9
00001801-0000-1000-8000-00805f9b34fb None 10 13
00001523-1212-efde-1523-785feabcd124 None 14 22
00000000-0060-7990-5544-1cce81af42f0 None 23 26
0000fe59-0000-1000-8000-00805f9b34fb None 27 30
0000180a-0000-1000-8000-00805f9b34fb None 31 65535
characteristics:
00002a00-0000-1000-8000-00805f9b34fb 2 3 2
00002a01-0000-1000-8000-00805f9b34fb 4 5 2
00002a04-0000-1000-8000-00805f9b34fb 6 7 2
00002aa6-0000-1000-8000-00805f9b34fb 8 9 2
00002a05-0000-1000-8000-00805f9b34fb 11 12 32
00008421-1212-efde-1523-785feabcd124 15 16 8
00001525-1212-efde-1523-785feabcd124 17 18 26
00001524-1212-efde-1523-785feabcd124 20 21 26
00000010-0060-7990-5544-1cce81af42f0 24 25 2
8ec90003-f315-4f60-9fb8-838830daea50 28 29 40
00002a29-0000-1000-8000-00805f9b34fb 32 33 2
00002a24-0000-1000-8000-00805f9b34fb 34 35 2
00002a25-0000-1000-8000-00805f9b34fb 36 37 2
00002a27-0000-1000-8000-00805f9b34fb 38 39 2
00002a26-0000-1000-8000-00805f9b34fb 40 41 2
2022-06-08 04:40:13 [INFO ]: Turning off
2022-06-08 04:40:13 [INFO ]: Connecting to fd:3c:80:9d:ab:99
2022-06-08 04:40:13 [ERROR]: Failure of attempt 3 of 5: Failed to connect to peripheral fd:3c:80:9d:ab:99, addr type: random
2022-06-08 04:40:14 [INFO ]: Connecting to d2:82:61:0c:2c:40
services:
00001800-0000-1000-8000-00805f9b34fb None 1 9
00001801-0000-1000-8000-00805f9b34fb None 10 13
00001523-1212-efde-1523-785feabcd124 None 14 22
00000000-0060-7990-5544-1cce81af42f0 None 23 26
0000fe59-0000-1000-8000-00805f9b34fb None 27 30
0000180a-0000-1000-8000-00805f9b34fb None 31 65535
characteristics:
00002a00-0000-1000-8000-00805f9b34fb 2 3 2
00002a01-0000-1000-8000-00805f9b34fb 4 5 2
00002a04-0000-1000-8000-00805f9b34fb 6 7 2
00002aa6-0000-1000-8000-00805f9b34fb 8 9 2
00002a05-0000-1000-8000-00805f9b34fb 11 12 32
00008421-1212-efde-1523-785feabcd124 15 16 8
00001525-1212-efde-1523-785feabcd124 17 18 26
00001524-1212-efde-1523-785feabcd124 20 21 26
00000010-0060-7990-5544-1cce81af42f0 24 25 2
8ec90003-f315-4f60-9fb8-838830daea50 28 29 40
00002a29-0000-1000-8000-00805f9b34fb 32 33 2
00002a24-0000-1000-8000-00805f9b34fb 34 35 2
00002a25-0000-1000-8000-00805f9b34fb 36 37 2
00002a27-0000-1000-8000-00805f9b34fb 38 39 2
00002a26-0000-1000-8000-00805f9b34fb 40 41 2
2022-06-08 04:40:15 [INFO ]: Turning off
2022-06-08 04:40:15 [INFO ]: Connecting to fd:3c:80:9d:ab:99
2022-06-08 04:40:16 [ERROR]: Failure of attempt 4 of 5: Failed to connect to peripheral fd:3c:80:9d:ab:99, addr type: random
2022-06-08 04:40:16 [INFO ]: Connecting to d2:82:61:0c:2c:40
services:
00001800-0000-1000-8000-00805f9b34fb None 1 9
00001801-0000-1000-8000-00805f9b34fb None 10 13
00001523-1212-efde-1523-785feabcd124 None 14 22
00000000-0060-7990-5544-1cce81af42f0 None 23 26
0000fe59-0000-1000-8000-00805f9b34fb None 27 30
0000180a-0000-1000-8000-00805f9b34fb None 31 65535
characteristics:
00002a00-0000-1000-8000-00805f9b34fb 2 3 2
00002a01-0000-1000-8000-00805f9b34fb 4 5 2
00002a04-0000-1000-8000-00805f9b34fb 6 7 2
00002aa6-0000-1000-8000-00805f9b34fb 8 9 2
00002a05-0000-1000-8000-00805f9b34fb 11 12 32
00008421-1212-efde-1523-785feabcd124 15 16 8
00001525-1212-efde-1523-785feabcd124 17 18 26
00001524-1212-efde-1523-785feabcd124 20 21 26
00000010-0060-7990-5544-1cce81af42f0 24 25 2
8ec90003-f315-4f60-9fb8-838830daea50 28 29 40
00002a29-0000-1000-8000-00805f9b34fb 32 33 2
00002a24-0000-1000-8000-00805f9b34fb 34 35 2
00002a25-0000-1000-8000-00805f9b34fb 36 37 2
00002a27-0000-1000-8000-00805f9b34fb 38 39 2
00002a26-0000-1000-8000-00805f9b34fb 40 41 2
2022-06-08 04:40:17 [INFO ]: Turning off
2022-06-08 04:40:17 [INFO ]: Connecting to fd:3c:80:9d:ab:99
2022-06-08 04:40:18 [ERROR]: Failure of attempt 5 of 5: Failed to connect to peripheral fd:3c:80:9d:ab:99, addr type: random
2022-06-08 04:40:19 [ERROR]: No successful attempt in any of the 5 attempts. Last error:
2022-06-08 04:40:19 [ERROR]:
Traceback (most recent call last):
File "/home/marclemieux/steamvr_utils/scripts/./steamvr_utils.py", line 133, in main
steamvr_utils.action(selected_action)
File "/home/marclemieux/steamvr_utils/scripts/./steamvr_utils.py", line 49, in action
self.turn_off()
File "/home/marclemieux/steamvr_utils/scripts/./steamvr_utils.py", line 63, in turn_off
self.basestation_power_interface.action(basestation_interface.Action.OFF)
File "/home/marclemieux/steamvr_utils/scripts/basestation_interface/v2_interface.py", line 152, in action
attempt_loop(lambda: self.action_attempt(action), self.config.basestation_attempt_count_set(), try_all=True)
File "/home/marclemieux/steamvr_utils/scripts/basestation_interface/v2_interface.py", line 147, in attempt_loop
raise last_error
File "/home/marclemieux/steamvr_utils/scripts/basestation_interface/v2_interface.py", line 133, in attempt_loop
function()
File "/home/marclemieux/steamvr_utils/scripts/basestation_interface/v2_interface.py", line 152, in <lambda>
attempt_loop(lambda: self.action_attempt(action), self.config.basestation_attempt_count_set(), try_all=True)
File "/home/marclemieux/steamvr_utils/scripts/basestation_interface/v2_interface.py", line 87, in action_attempt
basestation.connect(device, addrType=bluepy.btle.ADDR_TYPE_RANDOM)
File "/usr/lib/python3.10/site-packages/bluepy/btle.py", line 445, in connect
self._connect(addr, addrType, iface)
File "/usr/lib/python3.10/site-packages/bluepy/btle.py", line 439, in _connect
raise BTLEDisconnectError("Failed to connect to peripheral %s, addr type: %s" % (addr, addrType), rsp)
bluepy.btle.BTLEDisconnectError: Failed to connect to peripheral fd:3c:80:9d:ab:99, addr type: random
Result one base station close successfully but not the other one :/
from steamvr_utils.
Ok, so the bluetooth interface has definitly changed:
-my basestation
+your basestation
services:
00001800-0000-1000-8000-00805f9b34fb None 1 9
00001801-0000-1000-8000-00805f9b34fb None 10 13
-00001523-1212-efde-1523-785feabcd124 None 14 21
-00000000-0060-7990-5544-1cce81af42f0 None 22 25
-0000fe59-0000-1000-8000-00805f9b34fb None 26 29
-0000180a-0000-1000-8000-00805f9b34fb None 30 65535
+00001523-1212-efde-1523-785feabcd124 None 14 22
+00000000-0060-7990-5544-1cce81af42f0 None 23 26
+0000fe59-0000-1000-8000-00805f9b34fb None 27 30
+0000180a-0000-1000-8000-00805f9b34fb None 31 65535
characteristics:
00002a00-0000-1000-8000-00805f9b34fb 2 3 2
00002a01-0000-1000-8000-00805f9b34fb 4 5 2
00002a04-0000-1000-8000-00805f9b34fb 6 7 2
00002aa6-0000-1000-8000-00805f9b34fb 8 9 2
00002a05-0000-1000-8000-00805f9b34fb 11 12 32
00008421-1212-efde-1523-785feabcd124 15 16 8
-00001525-1212-efde-1523-785feabcd124 17 18 8
-00001524-1212-efde-1523-785feabcd124 19 20 26
-00000010-0060-7990-5544-1cce81af42f0 23 24 2
-8ec90003-f315-4f60-9fb8-838830daea50 27 28 40
-00002a29-0000-1000-8000-00805f9b34fb 31 32 2
-00002a24-0000-1000-8000-00805f9b34fb 33 34 2
-00002a25-0000-1000-8000-00805f9b34fb 35 36 2
-00002a27-0000-1000-8000-00805f9b34fb 37 38 2
-00002a26-0000-1000-8000-00805f9b34fb 39 40 2
+00001525-1212-efde-1523-785feabcd124 17 18 26
+00001524-1212-efde-1523-785feabcd124 20 21 26
+00000010-0060-7990-5544-1cce81af42f0 24 25 2
+8ec90003-f315-4f60-9fb8-838830daea50 28 29 40
+00002a29-0000-1000-8000-00805f9b34fb 32 33 2
+00002a24-0000-1000-8000-00805f9b34fb 34 35 2
+00002a25-0000-1000-8000-00805f9b34fb 36 37 2
+00002a27-0000-1000-8000-00805f9b34fb 38 39 2
+00002a26-0000-1000-8000-00805f9b34fb 40 41 2
The characteristics for setting the power:
-00001525-1212-efde-1523-785feabcd124 17 18 8
+00001525-1212-efde-1523-785feabcd124 17 18 26
So the handle (18 = 0x12) has not changed but the properties have: mine only has WRITE_NO_RESP
= 8, yours has READ | WRITE_NO_RESP | WRITE
= 26. That is definitely useful since reading is not possible at all with my version.
I changed some things on the iss15_fix_v2_interface
branch.
- Please try again with that version
- Please try again with this line uncommented (so there are two writes directly after each other, see https://gist.github.com/BenWoodford/3a1e500a4ea2673525f5adb4120fd47c#sleep)
- Please try using https://github.com/risa2000/lh2ctrl . That is to check if the problem is my particular implementation.
from steamvr_utils.
Well interesting result at first ^^ now only the other base station startup but doesn't shutdown.
When I use ./steamvr_utils.py on without the commented line
2022-06-08 12:53:21 [INFO ]: steamvr_utils version: 1.1.1
2022-06-08 12:53:21 [DEBUG]: dry_run: False
2022-06-08 12:53:21 [INFO ]: SteamvrUtils turning on:
2022-06-08 12:53:21 [INFO ]: Scanning for Base Stations:
2022-06-08 12:53:21 [INFO ]: Found Base Station LHB-D1F62FF2 at address fd:3c:80:9d:ab:99
2022-06-08 12:53:21 [INFO ]: Found Base Station LHB-4848BD79 at address d2:82:61:0c:2c:40
2022-06-08 12:53:23 [INFO ]: Changing power state of Base Stations:
2022-06-08 12:53:23 [INFO ]: Connecting to fd:3c:80:9d:ab:99
2022-06-08 12:53:24 [ERROR]: Failure of attempt 1 of 5: Failed to connect to peripheral fd:3c:80:9d:ab:99, addr type: random
2022-06-08 12:53:24 [INFO ]: Connecting to fd:3c:80:9d:ab:99
2022-06-08 12:53:25 [ERROR]: Failure of attempt 2 of 5: Failed to connect to peripheral fd:3c:80:9d:ab:99, addr type: random
2022-06-08 12:53:25 [INFO ]: Connecting to fd:3c:80:9d:ab:99
2022-06-08 12:53:26 [ERROR]: Failure of attempt 3 of 5: Failed to connect to peripheral fd:3c:80:9d:ab:99, addr type: random
2022-06-08 12:53:26 [INFO ]: Connecting to fd:3c:80:9d:ab:99
2022-06-08 12:53:27 [ERROR]: Failure of attempt 4 of 5: Failed to connect to peripheral fd:3c:80:9d:ab:99, addr type: random
2022-06-08 12:53:27 [INFO ]: Connecting to fd:3c:80:9d:ab:99
2022-06-08 12:53:28 [ERROR]: Failure of attempt 5 of 5: Failed to connect to peripheral fd:3c:80:9d:ab:99, addr type: random
2022-06-08 12:53:28 [ERROR]: No successful attempt in any of the 5 attempts. Last error:
2022-06-08 12:53:28 [ERROR]:
Traceback (most recent call last):
File "/home/marclemieux/steamvr_utils/scripts/./steamvr_utils.py", line 133, in main
steamvr_utils.action(selected_action)
File "/home/marclemieux/steamvr_utils/scripts/./steamvr_utils.py", line 47, in action
self.turn_on()
File "/home/marclemieux/steamvr_utils/scripts/./steamvr_utils.py", line 72, in turn_on
self.basestation_power_interface.action(basestation_interface.Action.ON)
File "/home/marclemieux/steamvr_utils/scripts/basestation_interface/v2_interface.py", line 173, in action
attempt_loop(lambda: self.action_attempt(action), self.config.basestation_attempt_count_set(), try_all=True)
File "/home/marclemieux/steamvr_utils/scripts/basestation_interface/v2_interface.py", line 168, in attempt_loop
raise last_error
File "/home/marclemieux/steamvr_utils/scripts/basestation_interface/v2_interface.py", line 154, in attempt_loop
function()
File "/home/marclemieux/steamvr_utils/scripts/basestation_interface/v2_interface.py", line 173, in <lambda>
attempt_loop(lambda: self.action_attempt(action), self.config.basestation_attempt_count_set(), try_all=True)
File "/home/marclemieux/steamvr_utils/scripts/basestation_interface/v2_interface.py", line 86, in action_attempt
basestation = bluepy.btle.Peripheral(
File "/usr/lib/python3.10/site-packages/bluepy/btle.py", line 391, in __init__
self._connect(deviceAddr, addrType, iface)
File "/usr/lib/python3.10/site-packages/bluepy/btle.py", line 439, in _connect
raise BTLEDisconnectError("Failed to connect to peripheral %s, addr type: %s" % (addr, addrType), rsp)
bluepy.btle.BTLEDisconnectError: Failed to connect to peripheral fd:3c:80:9d:ab:99, addr type: random
When I use ./steamvr_utils.py off without the commented line
2022-06-08 12:54:28 [INFO ]: steamvr_utils version: 1.1.1
2022-06-08 12:54:28 [DEBUG]: dry_run: False
2022-06-08 12:54:28 [INFO ]: SteamvrUtils turning off:
2022-06-08 12:54:28 [INFO ]: Scanning for Base Stations:
2022-06-08 12:54:29 [INFO ]: Found Base Station LHB-D1F62FF2 at address fd:3c:80:9d:ab:99
2022-06-08 12:54:29 [INFO ]: Found Base Station LHB-4848BD79 at address d2:82:61:0c:2c:40
2022-06-08 12:54:30 [ERROR]: Failure of attempt 1 of 5: Device disconnected
2022-06-08 12:54:31 [INFO ]: Found Base Station LHB-D1F62FF2 at address fd:3c:80:9d:ab:99
2022-06-08 12:54:31 [INFO ]: Found Base Station LHB-4848BD79 at address d2:82:61:0c:2c:40
2022-06-08 12:54:33 [INFO ]: Changing power state of Base Stations:
2022-06-08 12:54:33 [INFO ]: Connecting to fd:3c:80:9d:ab:99
2022-06-08 12:54:33 [ERROR]: Failure of attempt 1 of 5: Failed to connect to peripheral fd:3c:80:9d:ab:99, addr type: random
2022-06-08 12:54:34 [INFO ]: Connecting to fd:3c:80:9d:ab:99
2022-06-08 12:54:34 [ERROR]: Failure of attempt 2 of 5: Failed to connect to peripheral fd:3c:80:9d:ab:99, addr type: random
2022-06-08 12:54:35 [INFO ]: Connecting to fd:3c:80:9d:ab:99
2022-06-08 12:54:35 [ERROR]: Failure of attempt 3 of 5: Failed to connect to peripheral fd:3c:80:9d:ab:99, addr type: random
2022-06-08 12:54:36 [INFO ]: Connecting to fd:3c:80:9d:ab:99
2022-06-08 12:54:36 [ERROR]: Failure of attempt 4 of 5: Failed to connect to peripheral fd:3c:80:9d:ab:99, addr type: random
2022-06-08 12:54:37 [INFO ]: Connecting to fd:3c:80:9d:ab:99
2022-06-08 12:54:37 [ERROR]: Failure of attempt 5 of 5: Failed to connect to peripheral fd:3c:80:9d:ab:99, addr type: random
2022-06-08 12:54:38 [ERROR]: No successful attempt in any of the 5 attempts. Last error:
2022-06-08 12:54:38 [ERROR]:
Traceback (most recent call last):
File "/home/marclemieux/steamvr_utils/scripts/./steamvr_utils.py", line 133, in main
steamvr_utils.action(selected_action)
File "/home/marclemieux/steamvr_utils/scripts/./steamvr_utils.py", line 49, in action
self.turn_off()
File "/home/marclemieux/steamvr_utils/scripts/./steamvr_utils.py", line 63, in turn_off
self.basestation_power_interface.action(basestation_interface.Action.OFF)
File "/home/marclemieux/steamvr_utils/scripts/basestation_interface/v2_interface.py", line 173, in action
attempt_loop(lambda: self.action_attempt(action), self.config.basestation_attempt_count_set(), try_all=True)
File "/home/marclemieux/steamvr_utils/scripts/basestation_interface/v2_interface.py", line 168, in attempt_loop
raise last_error
File "/home/marclemieux/steamvr_utils/scripts/basestation_interface/v2_interface.py", line 154, in attempt_loop
function()
File "/home/marclemieux/steamvr_utils/scripts/basestation_interface/v2_interface.py", line 173, in <lambda>
attempt_loop(lambda: self.action_attempt(action), self.config.basestation_attempt_count_set(), try_all=True)
File "/home/marclemieux/steamvr_utils/scripts/basestation_interface/v2_interface.py", line 86, in action_attempt
basestation = bluepy.btle.Peripheral(
File "/usr/lib/python3.10/site-packages/bluepy/btle.py", line 391, in __init__
self._connect(deviceAddr, addrType, iface)
File "/usr/lib/python3.10/site-packages/bluepy/btle.py", line 439, in _connect
raise BTLEDisconnectError("Failed to connect to peripheral %s, addr type: %s" % (addr, addrType), rsp)
bluepy.btle.BTLEDisconnectError: Failed to connect to peripheral fd:3c:80:9d:ab:99, addr type: random
Now with the uncommented line both are starting but don't shutdown
When I use ./steamvr_utils.py on with the commented line
2022-06-08 13:02:54 [INFO ]: steamvr_utils version: 1.1.1
2022-06-08 13:02:54 [DEBUG]: dry_run: False
2022-06-08 13:02:54 [INFO ]: SteamvrUtils turning on:
2022-06-08 13:02:54 [INFO ]: Scanning for Base Stations:
2022-06-08 13:02:54 [INFO ]: Found Base Station LHB-D1F62FF2 at address fd:3c:80:9d:ab:99
2022-06-08 13:02:54 [INFO ]: Found Base Station LHB-4848BD79 at address d2:82:61:0c:2c:40
2022-06-08 13:02:56 [ERROR]: Failure of attempt 1 of 5: Device disconnected
2022-06-08 13:02:57 [INFO ]: Found Base Station LHB-4848BD79 at address d2:82:61:0c:2c:40
2022-06-08 13:02:57 [INFO ]: Found Base Station LHB-D1F62FF2 at address fd:3c:80:9d:ab:99
2022-06-08 13:02:59 [INFO ]: Changing power state of Base Stations:
2022-06-08 13:02:59 [INFO ]: Connecting to d2:82:61:0c:2c:40
services:
00001800-0000-1000-8000-00805f9b34fb None 1 9
00001801-0000-1000-8000-00805f9b34fb None 10 13
00001523-1212-efde-1523-785feabcd124 None 14 22
00000000-0060-7990-5544-1cce81af42f0 None 23 26
0000fe59-0000-1000-8000-00805f9b34fb None 27 30
0000180a-0000-1000-8000-00805f9b34fb None 31 65535
characteristics:
00002a00-0000-1000-8000-00805f9b34fb 2 3 2
00002a01-0000-1000-8000-00805f9b34fb 4 5 2
00002a04-0000-1000-8000-00805f9b34fb 6 7 2
00002aa6-0000-1000-8000-00805f9b34fb 8 9 2
00002a05-0000-1000-8000-00805f9b34fb 11 12 32
00008421-1212-efde-1523-785feabcd124 15 16 8
00001525-1212-efde-1523-785feabcd124 17 18 26
00001524-1212-efde-1523-785feabcd124 20 21 26
00000010-0060-7990-5544-1cce81af42f0 24 25 2
8ec90003-f315-4f60-9fb8-838830daea50 28 29 40
00002a29-0000-1000-8000-00805f9b34fb 32 33 2
00002a24-0000-1000-8000-00805f9b34fb 34 35 2
00002a25-0000-1000-8000-00805f9b34fb 36 37 2
00002a27-0000-1000-8000-00805f9b34fb 38 39 2
00002a26-0000-1000-8000-00805f9b34fb 40 41 2
read (before): b'\x00'
response: {'rsp': ['wr']}
2022-06-08 13:03:00 [INFO ]: Turning on
read (after+0): b'\x08'
read (after+5): b'\t'
read (after+10): b'\t'
read (after+15): b'\x0b'
2022-06-08 13:03:16 [INFO ]: Connecting to fd:3c:80:9d:ab:99
2022-06-08 13:03:16 [ERROR]: Failure of attempt 1 of 5: Failed to connect to peripheral fd:3c:80:9d:ab:99, addr type: random
2022-06-08 13:03:17 [INFO ]: Connecting to d2:82:61:0c:2c:40
services:
00001800-0000-1000-8000-00805f9b34fb None 1 9
00001801-0000-1000-8000-00805f9b34fb None 10 13
00001523-1212-efde-1523-785feabcd124 None 14 22
00000000-0060-7990-5544-1cce81af42f0 None 23 26
0000fe59-0000-1000-8000-00805f9b34fb None 27 30
0000180a-0000-1000-8000-00805f9b34fb None 31 65535
characteristics:
00002a00-0000-1000-8000-00805f9b34fb 2 3 2
00002a01-0000-1000-8000-00805f9b34fb 4 5 2
00002a04-0000-1000-8000-00805f9b34fb 6 7 2
00002aa6-0000-1000-8000-00805f9b34fb 8 9 2
00002a05-0000-1000-8000-00805f9b34fb 11 12 32
00008421-1212-efde-1523-785feabcd124 15 16 8
00001525-1212-efde-1523-785feabcd124 17 18 26
00001524-1212-efde-1523-785feabcd124 20 21 26
00000010-0060-7990-5544-1cce81af42f0 24 25 2
8ec90003-f315-4f60-9fb8-838830daea50 28 29 40
00002a29-0000-1000-8000-00805f9b34fb 32 33 2
00002a24-0000-1000-8000-00805f9b34fb 34 35 2
00002a25-0000-1000-8000-00805f9b34fb 36 37 2
00002a27-0000-1000-8000-00805f9b34fb 38 39 2
00002a26-0000-1000-8000-00805f9b34fb 40 41 2
read (before): b'\x0b'
response: {'rsp': ['wr']}
2022-06-08 13:03:18 [INFO ]: Turning on
read (after+0): b'\x01'
read (after+5): b'\x01'
read (after+10): b'\x01'
read (after+15): b'\x01'
2022-06-08 13:03:34 [INFO ]: Connecting to fd:3c:80:9d:ab:99
2022-06-08 13:03:35 [ERROR]: Failure of attempt 2 of 5: Failed to connect to peripheral fd:3c:80:9d:ab:99, addr type: random
2022-06-08 13:03:35 [INFO ]: Connecting to d2:82:61:0c:2c:40
services:
00001800-0000-1000-8000-00805f9b34fb None 1 9
00001801-0000-1000-8000-00805f9b34fb None 10 13
00001523-1212-efde-1523-785feabcd124 None 14 22
00000000-0060-7990-5544-1cce81af42f0 None 23 26
0000fe59-0000-1000-8000-00805f9b34fb None 27 30
0000180a-0000-1000-8000-00805f9b34fb None 31 65535
characteristics:
00002a00-0000-1000-8000-00805f9b34fb 2 3 2
00002a01-0000-1000-8000-00805f9b34fb 4 5 2
00002a04-0000-1000-8000-00805f9b34fb 6 7 2
00002aa6-0000-1000-8000-00805f9b34fb 8 9 2
00002a05-0000-1000-8000-00805f9b34fb 11 12 32
00008421-1212-efde-1523-785feabcd124 15 16 8
00001525-1212-efde-1523-785feabcd124 17 18 26
00001524-1212-efde-1523-785feabcd124 20 21 26
00000010-0060-7990-5544-1cce81af42f0 24 25 2
8ec90003-f315-4f60-9fb8-838830daea50 28 29 40
00002a29-0000-1000-8000-00805f9b34fb 32 33 2
00002a24-0000-1000-8000-00805f9b34fb 34 35 2
00002a25-0000-1000-8000-00805f9b34fb 36 37 2
00002a27-0000-1000-8000-00805f9b34fb 38 39 2
00002a26-0000-1000-8000-00805f9b34fb 40 41 2
read (before): b'\x01'
response: {'rsp': ['wr']}
2022-06-08 13:03:37 [INFO ]: Turning on
read (after+0): b'\x01'
read (after+5): b'\x01'
read (after+10): b'\x01'
read (after+15): b'\x01'
2022-06-08 13:03:53 [INFO ]: Connecting to fd:3c:80:9d:ab:99
2022-06-08 13:03:53 [ERROR]: Failure of attempt 3 of 5: Failed to connect to peripheral fd:3c:80:9d:ab:99, addr type: random
2022-06-08 13:03:54 [INFO ]: Connecting to d2:82:61:0c:2c:40
services:
00001800-0000-1000-8000-00805f9b34fb None 1 9
00001801-0000-1000-8000-00805f9b34fb None 10 13
00001523-1212-efde-1523-785feabcd124 None 14 22
00000000-0060-7990-5544-1cce81af42f0 None 23 26
0000fe59-0000-1000-8000-00805f9b34fb None 27 30
0000180a-0000-1000-8000-00805f9b34fb None 31 65535
characteristics:
00002a00-0000-1000-8000-00805f9b34fb 2 3 2
00002a01-0000-1000-8000-00805f9b34fb 4 5 2
00002a04-0000-1000-8000-00805f9b34fb 6 7 2
00002aa6-0000-1000-8000-00805f9b34fb 8 9 2
00002a05-0000-1000-8000-00805f9b34fb 11 12 32
00008421-1212-efde-1523-785feabcd124 15 16 8
00001525-1212-efde-1523-785feabcd124 17 18 26
00001524-1212-efde-1523-785feabcd124 20 21 26
00000010-0060-7990-5544-1cce81af42f0 24 25 2
8ec90003-f315-4f60-9fb8-838830daea50 28 29 40
00002a29-0000-1000-8000-00805f9b34fb 32 33 2
00002a24-0000-1000-8000-00805f9b34fb 34 35 2
00002a25-0000-1000-8000-00805f9b34fb 36 37 2
00002a27-0000-1000-8000-00805f9b34fb 38 39 2
00002a26-0000-1000-8000-00805f9b34fb 40 41 2
read (before): b'\x01'
response: {'rsp': ['wr']}
2022-06-08 13:03:55 [INFO ]: Turning on
read (after+0): b'\x01'
read (after+5): b'\x01'
read (after+10): b'\x01'
read (after+15): b'\x01'
2022-06-08 13:04:11 [INFO ]: Connecting to fd:3c:80:9d:ab:99
2022-06-08 13:04:11 [ERROR]: Failure of attempt 4 of 5: Failed to connect to peripheral fd:3c:80:9d:ab:99, addr type: random
2022-06-08 13:04:12 [INFO ]: Connecting to d2:82:61:0c:2c:40
services:
00001800-0000-1000-8000-00805f9b34fb None 1 9
00001801-0000-1000-8000-00805f9b34fb None 10 13
00001523-1212-efde-1523-785feabcd124 None 14 22
00000000-0060-7990-5544-1cce81af42f0 None 23 26
0000fe59-0000-1000-8000-00805f9b34fb None 27 30
0000180a-0000-1000-8000-00805f9b34fb None 31 65535
characteristics:
00002a00-0000-1000-8000-00805f9b34fb 2 3 2
00002a01-0000-1000-8000-00805f9b34fb 4 5 2
00002a04-0000-1000-8000-00805f9b34fb 6 7 2
00002aa6-0000-1000-8000-00805f9b34fb 8 9 2
00002a05-0000-1000-8000-00805f9b34fb 11 12 32
00008421-1212-efde-1523-785feabcd124 15 16 8
00001525-1212-efde-1523-785feabcd124 17 18 26
00001524-1212-efde-1523-785feabcd124 20 21 26
00000010-0060-7990-5544-1cce81af42f0 24 25 2
8ec90003-f315-4f60-9fb8-838830daea50 28 29 40
00002a29-0000-1000-8000-00805f9b34fb 32 33 2
00002a24-0000-1000-8000-00805f9b34fb 34 35 2
00002a25-0000-1000-8000-00805f9b34fb 36 37 2
00002a27-0000-1000-8000-00805f9b34fb 38 39 2
00002a26-0000-1000-8000-00805f9b34fb 40 41 2
read (before): b'\x01'
response: {'rsp': ['wr']}
2022-06-08 13:04:13 [INFO ]: Turning on
read (after+0): b'\x01'
read (after+5): b'\x01'
read (after+10): b'\x01'
read (after+15): b'\x01'
2022-06-08 13:04:29 [INFO ]: Connecting to fd:3c:80:9d:ab:99
2022-06-08 13:04:30 [ERROR]: Failure of attempt 5 of 5: Failed to connect to peripheral fd:3c:80:9d:ab:99, addr type: random
2022-06-08 13:04:30 [ERROR]: No successful attempt in any of the 5 attempts. Last error:
2022-06-08 13:04:30 [ERROR]:
Traceback (most recent call last):
File "/home/marclemieux/steamvr_utils/scripts/./steamvr_utils.py", line 133, in main
steamvr_utils.action(selected_action)
File "/home/marclemieux/steamvr_utils/scripts/./steamvr_utils.py", line 47, in action
self.turn_on()
File "/home/marclemieux/steamvr_utils/scripts/./steamvr_utils.py", line 72, in turn_on
self.basestation_power_interface.action(basestation_interface.Action.ON)
File "/home/marclemieux/steamvr_utils/scripts/basestation_interface/v2_interface.py", line 173, in action
attempt_loop(lambda: self.action_attempt(action), self.config.basestation_attempt_count_set(), try_all=True)
File "/home/marclemieux/steamvr_utils/scripts/basestation_interface/v2_interface.py", line 168, in attempt_loop
raise last_error
File "/home/marclemieux/steamvr_utils/scripts/basestation_interface/v2_interface.py", line 154, in attempt_loop
function()
File "/home/marclemieux/steamvr_utils/scripts/basestation_interface/v2_interface.py", line 173, in <lambda>
attempt_loop(lambda: self.action_attempt(action), self.config.basestation_attempt_count_set(), try_all=True)
File "/home/marclemieux/steamvr_utils/scripts/basestation_interface/v2_interface.py", line 86, in action_attempt
basestation = bluepy.btle.Peripheral(
File "/usr/lib/python3.10/site-packages/bluepy/btle.py", line 391, in __init__
self._connect(deviceAddr, addrType, iface)
File "/usr/lib/python3.10/site-packages/bluepy/btle.py", line 439, in _connect
raise BTLEDisconnectError("Failed to connect to peripheral %s, addr type: %s" % (addr, addrType), rsp)
bluepy.btle.BTLEDisconnectError: Failed to connect to peripheral fd:3c:80:9d:ab:99, addr type: random
When I use ./steamvr_utils.py off with the commented line
2022-06-08 13:06:51 [INFO ]: steamvr_utils version: 1.1.1
2022-06-08 13:06:51 [DEBUG]: dry_run: False
2022-06-08 13:06:51 [INFO ]: SteamvrUtils turning off:
2022-06-08 13:06:51 [INFO ]: Scanning for Base Stations:
2022-06-08 13:06:51 [INFO ]: Found Base Station LHB-4848BD79 at address d2:82:61:0c:2c:40
2022-06-08 13:06:51 [INFO ]: Found Base Station LHB-D1F62FF2 at address fd:3c:80:9d:ab:99
2022-06-08 13:06:53 [ERROR]: Failure of attempt 1 of 5: Device disconnected
2022-06-08 13:06:53 [INFO ]: Found Base Station LHB-D1F62FF2 at address fd:3c:80:9d:ab:99
2022-06-08 13:06:53 [INFO ]: Found Base Station LHB-4848BD79 at address d2:82:61:0c:2c:40
2022-06-08 13:06:55 [INFO ]: Changing power state of Base Stations:
2022-06-08 13:06:55 [INFO ]: Connecting to fd:3c:80:9d:ab:99
2022-06-08 13:06:56 [ERROR]: Failure of attempt 1 of 5: Failed to connect to peripheral fd:3c:80:9d:ab:99, addr type: random
2022-06-08 13:06:56 [INFO ]: Connecting to fd:3c:80:9d:ab:99
2022-06-08 13:06:57 [ERROR]: Failure of attempt 2 of 5: Failed to connect to peripheral fd:3c:80:9d:ab:99, addr type: random
2022-06-08 13:06:57 [INFO ]: Connecting to fd:3c:80:9d:ab:99
2022-06-08 13:06:58 [ERROR]: Failure of attempt 3 of 5: Failed to connect to peripheral fd:3c:80:9d:ab:99, addr type: random
2022-06-08 13:06:59 [INFO ]: Connecting to fd:3c:80:9d:ab:99
2022-06-08 13:06:59 [ERROR]: Failure of attempt 4 of 5: Failed to connect to peripheral fd:3c:80:9d:ab:99, addr type: random
2022-06-08 13:07:00 [INFO ]: Connecting to fd:3c:80:9d:ab:99
2022-06-08 13:07:00 [ERROR]: Failure of attempt 5 of 5: Failed to connect to peripheral fd:3c:80:9d:ab:99, addr type: random
2022-06-08 13:07:01 [ERROR]: No successful attempt in any of the 5 attempts. Last error:
2022-06-08 13:07:01 [ERROR]:
Traceback (most recent call last):
File "/home/marclemieux/steamvr_utils/scripts/./steamvr_utils.py", line 133, in main
steamvr_utils.action(selected_action)
File "/home/marclemieux/steamvr_utils/scripts/./steamvr_utils.py", line 49, in action
self.turn_off()
File "/home/marclemieux/steamvr_utils/scripts/./steamvr_utils.py", line 63, in turn_off
self.basestation_power_interface.action(basestation_interface.Action.OFF)
File "/home/marclemieux/steamvr_utils/scripts/basestation_interface/v2_interface.py", line 173, in action
attempt_loop(lambda: self.action_attempt(action), self.config.basestation_attempt_count_set(), try_all=True)
File "/home/marclemieux/steamvr_utils/scripts/basestation_interface/v2_interface.py", line 168, in attempt_loop
raise last_error
File "/home/marclemieux/steamvr_utils/scripts/basestation_interface/v2_interface.py", line 154, in attempt_loop
function()
File "/home/marclemieux/steamvr_utils/scripts/basestation_interface/v2_interface.py", line 173, in <lambda>
attempt_loop(lambda: self.action_attempt(action), self.config.basestation_attempt_count_set(), try_all=True)
File "/home/marclemieux/steamvr_utils/scripts/basestation_interface/v2_interface.py", line 86, in action_attempt
basestation = bluepy.btle.Peripheral(
File "/usr/lib/python3.10/site-packages/bluepy/btle.py", line 391, in __init__
self._connect(deviceAddr, addrType, iface)
File "/usr/lib/python3.10/site-packages/bluepy/btle.py", line 439, in _connect
raise BTLEDisconnectError("Failed to connect to peripheral %s, addr type: %s" % (addr, addrType), rsp)
bluepy.btle.BTLEDisconnectError: Failed to connect to peripheral fd:3c:80:9d:ab:99, addr type: random
And lastly I try the other script from the other source. Well I dont' like it but that not the point ^^
So after figuring out how it work I manage to start both base station flawlessly but I manage to close only one of the base station
And it was the one with this mac adress :D2:82:61:0C:2C:40
And the tricky one I guess is : FD:3C:80:9D:AB:99
from steamvr_utils.
Well, this is a bit embarrassing.
tl;dr my problem might have been my own fault.
I tried to power down the base stations with the new branch, with and without the commented line, the result being flat failures to connect all around.
I then fiddled around some. I connected to the base stations using a different computer and bluetooth controller. I'd previously been unable to connect to the base stations using the gnome bluetooth settings program on my main system, so this was interesting. I then selected the base stations in gnome settings on the new system and hit "remove device" for both, and tried connecting to them using gnome settings on the main system, which then worked. I tried steamvr_utils and got a message I foolishly neglected to save about being unable to execute the "scanend" command. I removed both devices with the same result, then turned my bluetooth controller off and back on, then tried steamvr_utils again.
It worked.
Not only did it work with the new branch, but I also tried the old main branch build I had been using and it was working again there too. The stations may have just been in a weird state after the update and talking with a windows machine that required a connect / reconnect to solve or something. If you think it would provide helpful data I can post the output of the new branch with all that fancy new telemetry it has, just let me know.
from steamvr_utils.
If you think it would provide helpful data I can post the output of the new branch with all that fancy new telemetry it has, just let me know.
Yes please, more data from diffrent basestations is always nice. Please copy+past the output in a text file and upload that so this conversation does not get any longer than it already is.
from steamvr_utils.
These runs were successful despite saying they failed, this was with line 126 commented.
on.txt
off.txt
from steamvr_utils.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
from steamvr_utils.
Up
from steamvr_utils.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
from steamvr_utils.
this might be a problem with running vr games in windows and then reboot to linux to play there.
i had the exact same problem, fixed it after some trial and error with my phone. i simply did pair both lighthouses with my phone, then i could pair both with linux, unpair and use your tool.
but might also be a red herring :)
from steamvr_utils.
Related Issues (19)
- install.py returns wrong path HOT 2
- readme.md typo + missing pip module HOT 1
- Valve Index sink not found HOT 3
- Authentication Issues triggered by steam launch commands HOT 1
- The Daemon is intefering with OBS Audio Device Capture HOT 3
- Base stations turning on and off repeating 5 times (attempt_count_set count) HOT 7
- [question] BS power toggling as a user (no sudo) HOT 4
- [question / feature request] get status HOT 3
- Runtime Error "No default sink was found" HOT 12
- Audio switching not working with pactl ver 16.1 HOT 2
- [Request] Standby mode HOT 1
- After Update suddenly the script doesn't find basestations anymore. HOT 4
- Failed to execute management command 'scanend' HOT 10
- Daemon wont start HOT 2
- Issues with audio automatic switching HOT 8
- Test V1 Base Station Support HOT 9
- Daemon crashes when sink input has no client ID HOT 1
- Feature request: External commands for basestation management HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from steamvr_utils.