Problem with Logitech Unified USB Dongle on Xiaomi Mi Box S

Hello,
As 4K is becoming more relevant, I am transitioning to use VirtualHere on my Mi Box S from the Steamlink Hardware. I have been using VirtualHere for years, and I am completely satisfied as it is the only solution for connecting devices to my pc remotely without latency.

My Xbox One Controller works perfectly on both Steamlink Hardware and the Mi Box.

However, my Logitech K400 Plus Keyboard, which connects via Logitech's "Unified" use dongle does not work throught the Mi Box. When connected to PC, it is not recognised as a valid USB device. It is listed as "unknown device (invalid device descriptor)" in device manager on Windows 10. This keyboard worked perfectly on the Steamlink hardward, and through other devices, so this is an issue specifically with the Mi Box.

The Mi Box has no Ethernet port and only one USB port, so I connect a USB network converter with 4 USB ports (https://www.amazon.com/gp/product/B00LLUEJFU/ref=ppx_yo_dt_b_asin_titleā€¦) in order to have enough USB ports and to connect physically to my router (I do not like Wifi for game streaming - too much latency).

Maybe this is a common issue, however, I did not see any results for it when I searched on these forums.

Thank you in advance for your help!

#2

Try to use the unified receiver/keyboard via virtualhere then when it fails, in the virtualhere android app can you go to the top right menu and select System Messages and copy and paste them in here

#3

Sorry for the delay - It was more comlicated to extract text from the Mi Box than I expected (No email apps, no text editors).

Here is the log file from when I connected the receiver:
[code]
--------- beginning of main
11-18 08:02:12.520 5835 5835 W ActivityThread: handleWindowVisibility: no activity for token android.os.BinderProxy@2dc2e98
11-18 08:02:12.533 5835 5835 W Thread-22: type=1400 audit(0.0:9902): avc: denied { read } for name="uevent" dev="sysfs" ino=19757 scontext=u:r:untrusted_app:s0:c80,c256,c512,c768 tcontext=u:object_r:sysfs:s0 tclass=file permissive=0
11-18 08:02:12.537 5835 5835 W Thread-22: type=1400 audit(0.0:9903): avc: denied { read } for name="uevent" dev="sysfs" ino=20019 scontext=u:r:untrusted_app:s0:c80,c256,c512,c768 tcontext=u:object_r:sysfs:s0 tclass=file permissive=0
11-18 08:02:12.537 5835 5835 W Thread-22: type=1400 audit(0.0:9904): avc: denied { read } for name="uevent" dev="sysfs" ino=23457 scontext=u:r:untrusted_app:s0:c80,c256,c512,c768 tcontext=u:object_r:sysfs:s0 tclass=file permissive=0
11-18 08:02:12.537 5835 5835 W Thread-22: type=1400 audit(0.0:9905): avc: denied { read } for name="uevent" dev="sysfs" ino=22963 scontext=u:r:untrusted_app:s0:c80,c256,c512,c768 tcontext=u:object_r:sysfs:s0 tclass=file permissive=0
11-18 08:02:12.537 5835 5835 W Thread-22: type=1400 audit(0.0:9906): avc: denied { read } for name="uevent" dev="sysfs" ino=13790 scontext=u:r:untrusted_app:s0:c80,c256,c512,c768 tcontext=u:object_r:sysfs:s0 tclass=file permissive=0
11-18 08:02:12.569 5835 5089 I virtualhere-daemon: XBOX ACC
11-18 08:02:12.584 5835 5941 I vhusbd : Wed Nov 18 08:02:12 2020 LOG_INFO Found High speed device [045e:02e6] "Microsoft Inc., XBOX ACC" at address 1013
11-18 08:02:12.669 5835 5846 I e.androidserve: Background concurrent copying GC freed 20816(1398KB) AllocSpace objects, 0(0B) LOS objects, 53% free, 1321KB/2MB, paused 412us total 108.539ms
11-18 08:02:12.671 5835 5844 W System : A resource failed to call close.
11-18 08:02:12.678 5835 5844 I chatty : uid=10080(com.virtualhere.androidserver) FinalizerDaemon identical 9 lines
11-18 08:02:12.678 5835 5844 W System : A resource failed to call close.
11-18 08:02:57.924 5835 5835 W ActivityThread: handleWindowVisibility: no activity for token android.os.BinderProxy@be1662
11-18 08:02:58.357 5835 5835 W Thread-23: type=1400 audit(0.0:9910): avc: denied { read } for name="uevent" dev="sysfs" ino=19757 scontext=u:r:untrusted_app:s0:c80,c256,c512,c768 tcontext=u:object_r:sysfs:s0 tclass=file permissive=0
11-18 08:02:58.357 5835 5835 W Thread-23: type=1400 audit(0.0:9911): avc: denied { read } for name="uevent" dev="sysfs" ino=20019 scontext=u:r:untrusted_app:s0:c80,c256,c512,c768 tcontext=u:object_r:sysfs:s0 tclass=file permissive=0
11-18 08:02:58.357 5835 5835 W Thread-23: type=1400 audit(0.0:9912): avc: denied { read } for name="uevent" dev="sysfs" ino=23457 scontext=u:r:untrusted_app:s0:c80,c256,c512,c768 tcontext=u:object_r:sysfs:s0 tclass=file permissive=0
11-18 08:02:58.357 5835 5835 W Thread-23: type=1400 audit(0.0:9913): avc: denied { read } for name="uevent" dev="sysfs" ino=22963 scontext=u:r:untrusted_app:s0:c80,c256,c512,c768 tcontext=u:object_r:sysfs:s0 tclass=file permissive=0
11-18 08:02:58.357 5835 5835 W Thread-23: type=1400 audit(0.0:9914): avc: denied { read } for name="uevent" dev="sysfs" ino=13790 scontext=u:r:untrusted_app:s0:c80,c256,c512,c768 tcontext=u:object_r:sysfs:s0 tclass=file permissive=0
11-18 08:02:58.384 5835 5245 I virtualhere-daemon: USB Receiver
11-18 08:02:58.390 5835 5941 I vhusbd : Wed Nov 18 08:02:58 2020 LOG_INFO Found High speed device [046d:c52b] "Logitech, USB Receiver" at address 1012
11-18 08:03:46.698 5835 5941 I vhusbd : Wed Nov 18 08:03:46 2020 LOG_INFO 192.168.1.6 connected as connection 55
11-18 08:03:46.968 5835 5941 I vhusbd : Wed Nov 18 08:03:46 2020 LOG_INFO Device 1011 [0b05:17cb] BOUND to connection 55
11-18 08:03:47.187 5835 5941 I vhusbd : Wed Nov 18 08:03:47 2020 LOG_INFO Device 1013 [045e:02e6] BOUND to connection 55
11-18 08:03:47.639 5835 5941 I vhusbd : Wed Nov 18 08:03:47 2020 LOG_INFO Device 1012 [046d:c52b] BOUND to connection 55
11-18 08:04:01.351 5835 5835 W ActivityThread: handleWindowVisibility: no activity for token android.os.BinderProxy@3b3f329
11-18 08:04:01.596 5835 5835 D OpenGLRenderer: Skia GL Pipeline
11-18 08:04:01.683 5835 6378 I ConfigStore: android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::hasWideColorDisplay retrieved: 0
11-18 08:04:01.684 5835 6378 I ConfigStore: android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::hasHDRDisplay retrieved: 0
11-18 08:04:01.684 5835 6378 I OpenGLRenderer: Initialized EGL, version 1.4
11-18 08:04:01.685 5835 6378 D OpenGLRenderer: Swap behavior 1
11-18 08:04:04.384 5835 5844 W System : A resource failed to call close.
11-18 08:04:04.385 5835 5844 W System : A resource failed to call close.
11-18 08:04:20.467 5835 5835 W InputEventReceiver: Attempted to finish an input event but the input event receiver has already been disposed.
11-18 08:05:24.001 5835 6378 D OpenGLRenderer: endAllActiveAnimators on 0xd136df00 (RippleDrawable) with handle 0xd2e38650
11-18 08:05:24.016 5835 5835 W InputEventReceiver: Attempted to finish an input event but the input event receiver has already been disposed.
[/code]

Thank you for your help!

#4

Thanks for that, i think i see the bug, could you do something for me to confirm:

1. Download and run https://www.uwe-sieber.de/usbtreeview_e.html
2. Plug your logitech receiver into your pc directly
4. Could you click on the dongle on the left side then look in the panel on the right side then search for the line under Connection Information look for Device Bus Speed does that say High Speed or Full Speed?

#5

Thank you for the help!

Device Bus Speed : 0x01 (Full-Speed)

Let me know if you need anything else.

#6

OK i have fixed this bug and rolled it out to the Play Store. The version is 1045 (4.2.2) so you should get that update in an hour or two

#7

Thank you so much! This worked perfectly.