Latest Chrome version(s) fail
g8ecj opened this issue · comments
Linux Version 66.0.3359.181 (Official Build) (64-bit)
Windows Version 66.0.3359.181 (Official Build) (32-bit)
both fail with the following error:
ControllerBluetoothInterface.js:154 Uncaught TypeError: Cannot read property 'writeValue' of null
at ControllerBluetoothInterface.runCommand (:152:44)
at ControllerDisplay.onClickDeviceActionButton (:320:50)
runCommand @ ControllerBluetoothInterface.js:154
onClickDeviceActionButton @ ControllerDisplay.js:319
I've been unable to 'downgrade' chrome due to dependency issues.
Any ideas?
Not working here either. Arch Linux/Chrome Beta 70 with the flags enabled and -E passed to bluetoothd.
GearVR sample says I don't have support, while https://googlechrome.github.io/samples/web-bluetooth/discover-services-and-characteristics.html works
EDIT: Windows 10 with Chrome 69 also not detected.
EDIT2: Got it to load with https in the URL bar. Pairs but fails to do anything. May be running into the same issue as OP now.
Yep same thing
ControllerBluetoothInterface.js:154 Uncaught TypeError: Cannot read property 'writeValue' of null
at ControllerBluetoothInterface.runCommand (:152:44)
at ControllerDisplay.onClickDeviceActionButton (:320:50)
Hey guys, I'm just late to the party on this. Super cool idea, I hoped to use this controller to control a project. Ordered my controller and tried to use it before finding the same issues you guys already found, and then this thread. Did anyone move this forward at all? It's a shame to let this great start falter, I would greatly appreciate it if anyone got this working at all to let me know. Thanks!
@sbierly Got it working locally with the nodejs http-server #3 (comment)
Oh you have to pass an extra argument to the bluetooth daemon itself.
sudo systemctl edit --full bluetooth.service
Add a -E
after bluetoothd and save the file.
Then
sudo systemctl restart bluetooth.service
I just spent some hours building a completely fresh persistent Ubuntu thumb drive (don't have a dedicated Linux machine) and carefully retraced all the steps per below. Same, identical failures.
Wondering how @parkerlreed got this to work, perhaps some subtle differences in versions.
sudo systemctl edit --full bluetooth.service
--> Add a -E after bluetoothd and save the file.
sudo systemctl restart bluetooth.service
ps -guax | grep bluetooth # to check
sudo apt update
sudo apt-get upgrade
sudo apt-get install npm
sudo npm install http-server -g
sudo apt install git
sudo git clone https://github.com/jsyang/gearvr-controller-webbluetooth.git
cd gearvr-controller-webbluetooth/
http-server
sudo apt install chromium
chrome://flags/#enable-experimental-web-platform-features
I think I still have the controller. Let me check
I do notice however that no matter how I use the controller PC side now, it disconnects after about 10 seconds. This includes even in https://github.com/rdady/gear-vr-controller-linux
Anyone ever figure this out?
Could the issue be related to the one mentioned re: Daydream controller, here: mrdoob/daydream-controller.js#9, where a firmware update now prevents access due to some additional security protocol?