Re: Release a USB device?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2019-12-01 21:32, Lukas Ruzicka wrote:
> Where is your focus when you connect the phone to the computer? I sometimes had an issue with host grabbing the usb when the focus (mouse cursor) was outside of the virtual machine, but whenever the mouse was "trapped" in the VM window, the guest could obtain the usb device.
>
> Maybe, it was mere coincidence, but you can at least try it.

I don't recall where focus was.  So I tried what you've suggested.  No joy.  The host still grabs it and
holds on.

Thanks.

>
> L.
>
> On Sun, Dec 1, 2019 at 1:10 PM Ed Greshko <ed.greshko@xxxxxxxxxxx <mailto:ed.greshko@xxxxxxxxxxx>> wrote:
>
>     On 2019-12-01 19:14, Patrick O'Callaghan wrote:
>     > On Sun, 2019-12-01 at 14:04 +0800, Ed Greshko wrote:
>     >> My system is a fully updated F31 running the KDE desktop.  It is the host, and I've got a qemu guest running
>     >> F31 and the Xfce desktop.
>     >>
>     >> I would like to test access to a Samsung phone on the guest connected via USB.
>     >>
>     >> However, the host system grabs it and I can't seem to find a way to release it so the guest can access.
>     >> There is no "eject" function in the "Device Notifier".  Nor is does there seem to be a way to tell
>     >> KDE not to grab the device.
>     >>
>     >> How to achieve the goal?
>     > I use virt-manager. In the Preferences menu the options for New VM
>     > include "Add Spice USB redirection - Yes", and my USB devices appear
>     > automatically in the guest. Presumably that can be changed for existing
>     > VMs as well.
>     >
>
>     Sure, that is what I have.  But the VM can't obtain the Samsung phone because it is "in use" by the
>     host.  Even if I check the box, I get an error.  The phone shows up in the Device Notifier of the host
>     and I need it to be released and not show there.  I have no problem with flash drives and usb WiFi dongles.
>
>
>     -- 
>     The key to getting good answers is to ask good questions.
>     _______________________________________________
>     kde mailing list -- kde@xxxxxxxxxxxxxxxxxxxxxxx <mailto:kde@xxxxxxxxxxxxxxxxxxxxxxx>
>     To unsubscribe send an email to kde-leave@xxxxxxxxxxxxxxxxxxxxxxx <mailto:kde-leave@xxxxxxxxxxxxxxxxxxxxxxx>
>     Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
>     List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
>     List Archives: https://lists.fedoraproject.org/archives/list/kde@xxxxxxxxxxxxxxxxxxxxxxx
>
>
>
> -- 
>
> Lukáš Růžička
>
> FEDORA QE, RHCE
>
> Red Hat
>
> <https://www.redhat.com>
>
> Purkyňova 115
>
> 612 45 Brno - Královo Pole
>
> lruzicka@xxxxxxxxxx <mailto:lruzicka@xxxxxxxxxx>   
>
> 	
> TRIED AND PERSONALLY TESTED, ERGO TRUSTED. <https://redhat.com/trusted>
>
>
> _______________________________________________
> kde mailing list -- kde@xxxxxxxxxxxxxxxxxxxxxxx
> To unsubscribe send an email to kde-leave@xxxxxxxxxxxxxxxxxxxxxxx
> Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives: https://lists.fedoraproject.org/archives/list/kde@xxxxxxxxxxxxxxxxxxxxxxx


-- 
The key to getting good answers is to ask good questions.
_______________________________________________
kde mailing list -- kde@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to kde-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/kde@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [KDE Users]     [Fedora General Discussion]     [Older Fedora Users Mail]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Maintainers]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Triage]     [Coolkey]     [Yum Users]     [Yosemite Forum]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]

  Powered by Linux