[Bug 514610] [NEW] USB passthrough device ID interpreted as decimal instead of hex

Launchpad Bug Tracker 514610 at bugs.launchpad.net
Mon Feb 8 04:11:37 GMT 2010


You have been subscribed to a public bug:

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.d/abstractions/libvirt-qemu, of course). This is a bug. lsusb's output is hex.

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.

** Affects: libvirt (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: conversion hexidecimal usb
-- 
USB passthrough device ID interpreted as decimal instead of hex
https://bugs.launchpad.net/bugs/514610
You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to libvirt in ubuntu.



More information about the Ubuntu-server-bugs mailing list