Virtualhere server nvidia shield + 8bitdo wireless usb adapter 2 no devices detected.

Hello,

I have been trying to get my 8bitdo wireless usb adapter to passthrough virtualhere from my nvidia shield device with no major luck. I know the setup is working because I can pass a normal flash drive to my PC without issue.

Error log shows this.

--------- beginning of main
05-19 16:16:19.132 19439 19439 I android_os_HwBinder: HwBinder: Starting thread pool for getting: vendor.nvidia.hardware.cpl.service_common@1.0::INvCplHalCommonService/default
05-19 16:16:19.143 19439 19439 I android_os_HwBinder: HwBinder: Starting thread pool for getting: vendor.nvidia.hardware.cpl.service_common@1.0::INvCplHalCommonService/default
05-19 16:16:19.175 19439 19439 I android_os_HwBinder: HwBinder: Starting thread pool for getting: vendor.nvidia.hardware.cpl.service_common@1.0::INvCplHalCommonService/default
05-19 16:16:19.181 19439 19439 I android_os_HwBinder: HwBinder: Starting thread pool for getting: vendor.nvidia.hardware.cpl.service_common@1.0::INvCplHalCommonService/default
05-19 16:16:19.223 19439 19460 E libc    : Access denied finding property "ro.vendor.sys.NV_ASYNC"
05-19 16:16:19.223 19439 19460 E libc    : Access denied finding property "ro.vendor.sys.NV_LOGFPS"
05-19 16:16:19.223 19439 19460 E libc    : Access denied finding property "ro.vendor.sys.NV_PROCESS_NAME"
05-19 16:16:19.223 19439 19460 E libc    : Access denied finding property "ro.vendor.sys.NV_FPSDYNAMIC"
05-19 16:16:19.666 19439 19460 E Surface : freeAllBuffers: 1 buffers were freed while being dequeued!
05-19 16:16:19.674 19439 19460 E libc    : Access denied finding property "ro.vendor.sys.NV_ASYNC"
05-19 16:16:19.674 19439 19460 E libc    : Access denied finding property "ro.vendor.sys.NV_LOGFPS"
05-19 16:16:19.674 19439 19460 E libc    : Access denied finding property "ro.vendor.sys.NV_PROCESS_NAME"
05-19 16:16:19.674 19439 19460 E libc    : Access denied finding property "ro.vendor.sys.NV_FPSDYNAMIC"
05-19 16:16:21.187 19439 19439 I android_os_HwBinder: HwBinder: Starting thread pool for getting: vendor.nvidia.hardware.cpl.service_common@1.0::INvCplHalCommonService/default
05-19 16:16:21.213 19439 19439 I android_os_HwBinder: HwBinder: Starting thread pool for getting: vendor.nvidia.hardware.cpl.service_common@1.0::INvCplHalCommonService/default
05-19 16:16:21.241 19439 19460 E libc    : Access denied finding property "ro.vendor.sys.NV_ASYNC"
05-19 16:16:21.241 19439 19460 E libc    : Access denied finding property "ro.vendor.sys.NV_LOGFPS"
05-19 16:16:21.241 19439 19460 E libc    : Access denied finding property "ro.vendor.sys.NV_PROCESS_NAME"
05-19 16:16:21.241 19439 19460 E libc    : Access denied finding property "ro.vendor.sys.NV_FPSDYNAMIC"
05-19 16:16:21.312 19439 19460 E Surface : freeAllBuffers: 1 buffers were freed while being dequeued!
05-19 16:16:21.316 19439 19460 E libc    : Access denied finding property "ro.vendor.sys.NV_ASYNC"
05-19 16:16:21.316 19439 19460 E libc    : Access denied finding property "ro.vendor.sys.NV_LOGFPS"
05-19 16:16:21.316 19439 19460 E libc    : Access denied finding property "ro.vendor.sys.NV_PROCESS_NAME"
05-19 16:16:21.316 19439 19460 E libc    : Access denied finding property "ro.vendor.sys.NV_FPSDYNAMIC"
05-19 16:16:22.083 19439 19439 I android_os_HwBinder: HwBinder: Starting thread pool for getting: vendor.nvidia.hardware.cpl.service_common@1.0::INvCplHalCommonService/default
05-19 16:16:22.094 19439 19439 I android_os_HwBinder: HwBinder: Starting thread pool for getting: vendor.nvidia.hardware.cpl.service_common@1.0::INvCplHalCommonService/default
05-19 16:16:22.160 19439 19460 E libc    : Access denied finding property "ro.vendor.sys.NV_ASYNC"
05-19 16:16:22.160 19439 19460 E libc    : Access denied finding property "ro.vendor.sys.NV_LOGFPS"
05-19 16:16:22.161 19439 19460 E libc    : Access denied finding property "ro.vendor.sys.NV_PROCESS_NAME"
05-19 16:16:22.161 19439 19460 E libc    : Access denied finding property "ro.vendor.sys.NV_FPSDYNAMIC"
05-19 16:16:22.495 19439 19460 E Surface : freeAllBuffers: 1 buffers were freed while being dequeued!
05-19 16:16:27.429 19439 19460 E Surface : freeAllBuffers: 1 buffers were freed while being dequeued!
05-19 16:16:27.435 19439 19439 W InputEventReceiver: Attempted to finish an input event but the input event receiver has already been disposed.
05-19 16:16:45.087 19439 22903 E UsbManager: exception in UsbManager.openDevice
05-19 16:16:45.087 19439 22903 E UsbManager: java.lang.IllegalArgumentException: device /dev/bus/usb/001/021 does not exist or is restricted
05-19 16:16:45.087 19439 22903 E UsbManager:     at android.os.Parcel.createExceptionOrNull(Parcel.java:2377)
05-19 16:16:45.087 19439 22903 E UsbManager:     at android.os.Parcel.createException(Parcel.java:2357)
05-19 16:16:45.087 19439 22903 E UsbManager:     at android.os.Parcel.readException(Parcel.java:2340)
05-19 16:16:45.087 19439 22903 E UsbManager:     at android.os.Parcel.readException(Parcel.java:2282)
05-19 16:16:45.087 19439 22903 E UsbManager:     at android.hardware.usb.IUsbManager$Stub$Proxy.openDevice(IUsbManager.java:1078)
05-19 16:16:45.087 19439 22903 E UsbManager:     at android.hardware.usb.UsbManager.openDevice(UsbManager.java:534)
05-19 16:16:45.087 19439 22903 E UsbManager:     at com.virtualhere.androidserver.DaemonService.k1(Unknown Source:39)
05-19 16:16:45.087 19439 22903 E UsbManager:     at com.virtualhere.androidserver.DaemonService.a0(Unknown Source:153)
05-19 16:16:45.087 19439 22903 E UsbManager:     at com.virtualhere.androidserver.DaemonService.K0(Unknown Source:0)
05-19 16:16:45.087 19439 22903 E UsbManager:     at com.virtualhere.androidserver.DaemonService.f(Unknown Source:0)
05-19 16:16:45.087 19439 22903 E UsbManager:     at h1.m.run(Unknown Source:4)
05-19 16:16:45.087 19439 22903 E UsbManager:     at java.lang.Thread.run(Thread.java:923)
05-19 16:16:45.087 19439 22903 E UsbManager: Caused by: android.os.RemoteException: Remote stack trace:
05-19 16:16:45.087 19439 22903 E UsbManager:     at com.android.server.usb.UsbHostManager.openDevice(UsbHostManager.java:501)
05-19 16:16:45.087 19439 22903 E UsbManager:     at com.android.server.usb.UsbService.openDevice(UsbService.java:311)
05-19 16:16:45.087 19439 22903 E UsbManager:     at android.hardware.usb.IUsbManager$Stub.onTransact(IUsbManager.java:454)
05-19 16:16:45.087 19439 22903 E UsbManager:     at android.os.Binder.execTransactInternal(Binder.java:1154)
05-19 16:16:45.087 19439 22903 E UsbManager:     at android.os.Binder.execTransact(Binder.java:1123)
05-19 16:16:45.087 19439 22903 E UsbManager: 
05-19 16:16:45.087 19439 22903 W virtualhere-daemon: Could not open device connection == null, perhaps device now unplugged?
05-19 16:16:48.482 19439 19439 I android_os_HwBinder: HwBinder: Starting thread pool for getting: vendor.nvidia.hardware.cpl.service_common@1.0::INvCplHalCommonService/default
05-19 16:16:48.506 19439 19460 E libc    : Access denied finding property "ro.vendor.sys.NV_ASYNC"
05-19 16:16:48.506 19439 19460 E libc    : Access denied finding property "ro.vendor.sys.NV_LOGFPS"
05-19 16:16:48.506 19439 19460 E libc    : Access denied finding property "ro.vendor.sys.NV_PROCESS_NAME"
05-19 16:16:48.506 19439 19460 E libc    : Access denied finding property "ro.vendor.sys.NV_FPSDYNAMIC"
05-19 16:16:48.572 19439 19460 E Surface : freeAllBuffers: 1 buffers were freed while being dequeued!
05-19 16:16:48.577 19439 19460 E libc    : Access denied finding property "ro.vendor.sys.NV_ASYNC"
05-19 16:16:48.577 19439 19460 E libc    : Access denied finding property "ro.vendor.sys.NV_LOGFPS"
05-19 16:16:48.577 19439 19460 E libc    : Access denied finding property "ro.vendor.sys.NV_PROCESS_NAME"
05-19 16:16:48.577 19439 19460 E libc    : Access denied finding property "ro.vendor.sys.NV_FPSDYNAMIC"
05-19 16:16:49.427 19439 19439 I android_os_HwBinder: HwBinder: Starting thread pool for getting: vendor.nvidia.hardware.cpl.service_common@1.0::INvCplHalCommonService/default
05-19 16:16:49.439 19439 19439 I android_os_HwBinder: HwBinder: Starting thread pool for getting: vendor.nvidia.hardware.cpl.service_common@1.0::INvCplHalCommonService/default
05-19 16:16:49.567 19439 19460 E libc    : Access denied finding property "ro.vendor.sys.NV_ASYNC"
05-19 16:16:49.567 19439 19460 E libc    : Access denied finding property "ro.vendor.sys.NV_LOGFPS"
05-19 16:16:49.567 19439 19460 E libc    : Access denied finding property "ro.vendor.sys.NV_PROCESS_NAME"
05-19 16:16:49.567 19439 19460 E libc    : Access denied finding property "ro.vendor.sys.NV_FPSDYNAMIC"
05-19 16:16:49.938 19439 19460 E Surface : freeAllBuffers: 1 buffers were freed while being dequeued!
05-19 16:17:12.767 19439 19460 E Surface : freeAllBuffers: 1 buffers were freed while being dequeued!
05-19 16:17:12.768 19439 19460 D OpenGLRenderer: endAllActiveAnimators on 0x2447a156e0 (RippleDrawable) with handle 0x2367952e90
05-19 16:17:12.773 19439 19439 W InputEventReceiver: Attempted to finish an input event but the input event receiver has already been disposed.
05-19 16:17:13.310 19439 19439 I android_os_HwBinder: HwBinder: Starting thread pool for getting: vendor.nvidia.hardware.cpl.service_common@1.0::INvCplHalCommonService/default
05-19 16:17:13.333 19439 19460 E libc    : Access denied finding property "ro.vendor.sys.NV_ASYNC"
05-19 16:17:13.333 19439 19460 E libc    : Access denied finding property "ro.vendor.sys.NV_LOGFPS"
05-19 16:17:13.333 19439 19460 E libc    : Access denied finding property "ro.vendor.sys.NV_PROCESS_NAME"
05-19 16:17:13.333 19439 19460 E libc    : Access denied finding property "ro.vendor.sys.NV_FPSDYNAMIC"
05-19 16:17:13.398 19439 19460 E Surface : freeAllBuffers: 1 buffers were freed while being dequeued!
05-19 16:17:13.401 19439 19460 E libc    : Access denied finding property "ro.vendor.sys.NV_ASYNC"
05-19 16:17:13.401 19439 19460 E libc    : Access denied finding property "ro.vendor.sys.NV_LOGFPS"
05-19 16:17:13.401 19439 19460 E libc    : Access denied finding property "ro.vendor.sys.NV_PROCESS_NAME"
05-19 16:17:13.401 19439 19460 E libc    : Access denied finding property "ro.vendor.sys.NV_FPSDYNAMIC"

I ended up buying the license for the android version hoping it would randomly make a difference, but no dice. 

Outside of virtualhere the usb adapter works normally into the nvidia shield menu / various apps. What am I doing wrong?

 

Thank you.

 

**quick edit**
Forgot to mention I generally get a "Allow VirtualHere USB Server to access null" message when reseating the USB adapter + pairing the controller to it.

#2

No looks like 8bit do is resetting itself when Android tries to connect to it to pass to virtualhere. I dont think it will be compatible with its current firmware. Maybe email 8bitdo and tell them the issue and see if they can update their firmware to support it.

#3

This seems like an odd USB device, any idea if I can pass the entire thing through before pairing the controller?

It seems like it doesn't even detect the usb dongle itself, only the controller after the it pairs to the dongle.

 

Thanks

#4

Yes the 8Bit do is odd because it will reset itself a few times and pretend to be different devices once it figures out what controller it is paired to.

What is happening is this:

1. VirtualHere asks Android for a list of its attached USB devices

2. Once you choose the one to redirect the VirtualHere App will ask Android to "Open" the USB 8bitdo device, i.e give access to it (it might popup a request at this point)

3. When the above step happens, the 8bitdo disconnects itself from USB (probably internally resets its firmware and reboots again) and so it disappears.  This is why android says its disappeared in the log

4. The process keeps repeating every time you try to use the 8bitdo. What a normal usb device would do is just allow it to open for use and wouldnt reset itself like the 8bitdo.

 

#5

I appreciate the rundown of what's actually happening. I just have 2 last questions hopefully.

Would this behavior be different if this was used on a Windows based virtual here server, or the same type of problem?

Do you know if the Magic NS Wireless behaves similarly?

I am trying to get the motion controls working via shield pro controller through the Nvidia shield. I feel like I'm so close.

 

Thanks.

#6

It might work ok on a windows based server, give it a try. I havent heard about Magic NS.

Let me know if you get a better/worse result