USB passthrough device ID interpreted as decimal instead of hex
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libvirt (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: virt-manager
In 10.04, at least, when adding a device, the second half of lsusb's output is interpreted as decimal, when it is in fact hexidecimal.
As a result, to make a USB passthrough device work, I had to edit the XML file from 0x1d0b (which virt-manager filled in) to 0x7435 for my Sansa Clip (as well as enabling USB in /etc/apparmor.
That is to say, virt-manager took lsusb on the host's 0781:7435 and made it 0781:1d0b. Naturally this did not match anything on the host, so the guest got nothing.
I imagine this is not something that would be noticed for devices where the second half is 1 or 2, but for this device it mattered.
This is actually a libvirt bug.