Page 1 of 1

Keyboard not working in Ubuntu 20.04 LTS as soon as I start Windows 10 as guest

Posted: 6. Jun 2020, 09:49
by bhargav_sadhwani
What ever I type on Ubuntu(after minimizing windows 10 guest window) it get typed in Windows 10. Virtualbox version is 6.0_6.0.22-137980. Mouse is working properly in host machine. Can anybody help me to make keyboard work parallelly on both guest and host machine.

Re: Keyboard not working in Ubuntu 20.04 LTS as soon as I start Windows 10 as guest

Posted: 6. Jun 2020, 18:51
by scottgus1
Sounds like you might have a USB filter in the guest that matches the host keyboard. This would stick the keyboard into the guest only.

See USB basics and troubleshooting to see how these filters are made and how to check if you have one.

Re: Keyboard not working in Ubuntu 20.04 LTS as soon as I start Windows 10 as guest

Posted: 7. Jun 2020, 12:19
by bhargav_sadhwani
Hi @scottgus1. Thanks for you reply. I removed and reinstalled virtualbox and now keyboard is working parallelly. After reading your message I added only 2 usb which were important for me (2 pendirves) instead of 4(previously). May be you are right. Thanks. :)

Re: Keyboard not working in Ubuntu 20.04 LTS as soon as I start Windows 10 as guest

Posted: 7. Jun 2020, 13:48
by mpack
The number of pen drives was not the issue. The issue was a USB filter that was specified too broadly, meaning that the host keyboard matched the filter, got grabbed and ownership assigned to the VM. Naturally this will stop the keyboard from working.

Re: Keyboard not working in Ubuntu 20.04 LTS as soon as I start Windows 10 as guest

Posted: 9. Jun 2020, 09:29
by bhargav_sadhwani
Hi @mpack, may be you are right. But I never added USB filter while selecting my usb drives. However I also don't know how to add it. Does it added automatically ? or user intentionally add it ?

Re: Keyboard not working in Ubuntu 20.04 LTS as soon as I start Windows 10 as guest

Posted: 9. Jun 2020, 16:10
by scottgus1
USB filters have to be intentionally added. I don't think using the on-the-fly USB grabber in the guest window status bar causes a filter.