usb_add not working in qemu monitor

Bug #576086 reported by Siegward Jäkel
18
This bug affects 2 people
Affects Status Importance Assigned to Milestone
qemu-kvm (Ubuntu)
Invalid
Low
Unassigned

Bug Description

Binary package hint: kvm

usb_add in qemu monitor shows the following error messages:

usb_add host:03eb:6124
husb: using sys file-system with /dev/bus/usb
husb: could not open /sys/bus/usb/devices/1-1/product
husb: could not open /sys/bus/usb/devices/2-1/product
husb: could not open /sys/bus/usb/devices/1-1.6/product
husb: could not open /sys/bus/usb/devices/2-1.2/product

This path is obviously wrong, the correct path should be:
/sys/bus/usb/devices/1-1/IdProduct

Revision history for this message
Siegward Jäkel (sj) wrote :
Chuck Short (zulcss)
affects: kvm (Ubuntu) → qemu-kvm (Ubuntu)
Revision history for this message
Mathias Gug (mathiaz) wrote :

Could you add to this bug the information mentioned in https://wiki.ubuntu.com/DebuggingKVM ?

Changed in qemu-kvm (Ubuntu):
status: New → Incomplete
importance: Undecided → Medium
importance: Medium → Low
Revision history for this message
Mathias Gug (mathiaz) wrote :

Could you also outline what you're trying to achieve? How do you create the error?

Revision history for this message
Serge Hallyn (serge-hallyn) wrote :

Hi,

The problem actually is that you need to add '-usb' to your kvm command line. If you
do 'info usb', you'll see 'USB support not enabled'.

Without the '-usb' command line option, I get the same results as you do. With the '-usb'
option, I get permission denied. Finally, running that as root, it succeeds for me.

Changed in qemu-kvm (Ubuntu):
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.