virt-manager USB 2.0 problem
The answer was Here
Issue the command virsh edit testmachine
to open the XML, where testmachine is your machine name seen in virt-manager, and added the following lines to the <devices>
section:
<controller type='usb' index='0' model='ich9-ehci1'>
<address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x7'/>
</controller>
<controller type='usb' index='0' model='ich9-uhci1'>
<master startport='0'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0' multifunction='on'/>
</controller>
Related videos on Youtube
RobotHumans
My thoughts Me on launchpad PPA Evidently one of my mini-apps was useful enough to make it on to Webupd8 Do you use/like that app? Maybe you want to help fund a cryptogram game Hit my daily rep cap for the first time Nov 22 2010 Just made it to page 3 ons SU on dec 31 in users ranked by rep.. yay....first gold badge. unsung hero I use various linux distros as my primary OSes of choice(tending to stay away from rpm based). Moving into using FreeBSD as my primary OS. --Resume-- Degrees BS:IT focus Network Security MS:ISA Certifications G2700 Certified Ethical Hacker, CHFI, EDRP CCNA, CCNA Security, CCIE Candidate(CCIE written now expired, the others are current) MCITP Enterprise administrator server 2k8/Vista Network+, Security+, Project+(all lifetime) CIW Associate, Professional, Javascript, Database CNSS 4011 recognition Accomplishments 1st in the state, 6th in the nation networking concepts Phi Beta Lambda leadership conferences (it's like the college version of FBLA) On the national science olympiad team from my high school Kenpo - black belt Experience 7 yrs in small business IT services (varied) --/Resume-- Favourite quotations: "A failure to plan on your part does not constitute an emergency on my part" --Unknown "If debugging is the process of removing bugs, then programming must be the process of putting them in" --Edsger Dijkstra
Updated on September 18, 2022Comments
-
RobotHumans over 1 year
I have an Ubuntu 12.04 64bit with QEMU/KVM & virt-manager 0.9.4 (latest compiled from source) installed
my problem is that all guest windows machines does not recognize usb2.0 ports:
- windows xp recognizes all usb devices as USB 1.0
- windows 7 recognizes usb controller as USB1.0 but does not recognize all usb devices (yellow mark)
my system is fully up-to-date and I have recently upgraded virt-manager from 0.9.1 to 0.9.4 and also upgraded to virtinst 0.600.3 and virt-viewer 0.5.4
The problem also existed in 0.9.1.
-
RobotHumans over 11 yearsIs there a feature in 0.9.4 that you need which isn't in 0.9.1? Installing from source makes it impossible for someone to exactly replicate you setup to try and help.
-
RobotHumans over 11 years0.9.1 supported usb 2.0. have you followed this: linux-kvm.com/content/virt-manager-adds-support-usb2 ? you have to specify a usb 2.0 device
-
RobotHumans over 11 yearsi looked at the mailing list and it looks like there was more than one way to implement usb 2.0 support and there was some disagreement on how it should be implemented. have you tried adding the physical usb2.0 hub (echi) as the shared device instead of the virtual device?
-
RobotHumans over 11 yearsokay, last shot is it needs hardware virtualization or some manual xml editing about the vm in question. i saw some command-line examples on forcing the usb2.0 virtual device in, but i think it might require hardware virtualization to work. my laptop doesn't have that, so i can't take the testing any further