LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Password
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.

Notices


Reply
  Search this Thread
Old 07-18-2020, 08:38 AM   #1
jke61
LQ Newbie
 
Registered: Jul 2020
Posts: 1

Rep: Reputation: Disabled
KVM USB Passthrough to Win10 not fully working


Hello,
using OpenSUSE Tumbleweed.
I have Win10 in a virtual machine. In Win10 I need a USB smartcard reader.
Before I was using Virtualbox. Most of the time the USB passthrough worked, but after every other update the virutal machine couldn't find my USB device (or any USB device) anymore. This happened the last time this week.

Therefore I tried to install KVM. Actually installation was quite easy. Configuring USB passthrough seemed also easy after searching a bit on the WWW.

Now, however, I have the following situation:
Win10 in the virtual machine sees the smartcard reader and it tells me its name (ReinerSCT comfort Reader).
I install the newest driver, also Win tells me it is the best driver.
No the Win10 device manager list the reader under Smartcard Reader, WITH and '!'. :-(

Looking for the reasocn it says:

Code:
Device cannot be started. (Code 10)
The Events tab says:
Code:
While starting the device USB\VID_0c4B&PID_0501\339666621 an error occured.
Code:
Drivername: oem2.inf
Class-GUID: {50dd5230-ba8a-11d1-bf5d-0000f805f530}
Service: cjusb
Lower Filter:
Top Filter:
Problem 0xA
Problemstatus: 0xC0000001
Searching for the error 0xA and KVM USB led me to one page (actually the only page):
HTML Code:

https://forums.unraid.net/topic/5022...in-windows-10/

where someone sais:

Code:
Stop your vm and edit it from the webGui. Near the bottom you will find a  USB mode option. Set that to USB 3. Save and start your vm and report  back your success!
However I have no clue where this "USB mode option" is. I tried to search with virsh, but couldn't find anything.

Anybody any idea?
(Or do I have to install Win10 in parallel to my Tumbleweed? :-( )

Kind regards,
Johannes
 
Old 08-13-2020, 04:36 PM   #2
mostlyharmless
Senior Member
 
Registered: Jan 2008
Distribution: Arch/Manjaro, might try Slackware again
Posts: 1,851
Blog Entries: 14

Rep: Reputation: 284Reputation: 284Reputation: 284
USB mode option is probably an UnRaid specific thing AFAIK. However, it might be that the USB controller model in your xml file isn't accurate. You don't say whether you are using qemu with a command line, but I assume since you mentioned virsh, that you are using libvirt and probably virt-manager. I would check your xml file. Look at this link: https://virtuozzosupport.force.com/s/article/000017379 in particular, since it matters if you are using the correct USB 1.1/2.0/3.0 model. If you can't get it working, post your xml file so more eyes can look at it. Hope that helps.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Switching from win10 to a linux distro with win10 vm kevgk Linux - Virtualization and Cloud 3 11-01-2018 05:36 AM
going to fully test the best distro. going to do a dual-install with win10. linuxhard Linux - Newbie 17 02-18-2018 02:35 AM
KVM and USB Passthrough red king Linux - Virtualization and Cloud 9 07-12-2016 09:08 AM
USB Passthrough Problem with KVM/QEMU on FC12 wdsnyc Linux - Virtualization and Cloud 1 02-23-2010 09:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud

All times are GMT -5. The time now is 03:29 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration