Hi All,
Anyone know a work around for this?
Fedroa 32, x64
$ rpm -qa virt-manager virt-manager-3.1.0-1.fc32.noarch
$ rpm -qa qemu-device-usb-redirect qemu-device-usb-redirect-5.1.0-7.fc32.x86_64
Bug I filed on 2020-06-23: libvirt.libvirtError: internal error: vendor cannot be 0. https://bugzilla.redhat.com/show_bug.cgi?id=1850091
I am trying to install a USB Host device for my Samsung BAR flash drive and I get the following error:
Unable to add device: internal error: vendor cannot be 0.
Many thanks, -T
Traceback (most recent call last): File "/usr/share/virt-manager/virtManager/addhardware.py", line 1289, in _finish_cb failure = self._add_device(dev) File "/usr/share/virt-manager/virtManager/addhardware.py", line 1281, in _add_device self.vm.add_device(dev) File "/usr/share/virt-manager/virtManager/object/domain.py", line 580, in add_device self._redefine_xmlobj(xmlobj) File "/usr/share/virt-manager/virtManager/object/libvirtobject.py", line 383, in _redefine_xmlobj self._redefine_xml_internal(origxml, newxml) File "/usr/share/virt-manager/virtManager/object/libvirtobject.py", line 366, in _redefine_xml_internal self._define(newxml) File "/usr/share/virt-manager/virtManager/object/domain.py", line 1065, in _define self.conn.define_domain(xml) File "/usr/share/virt-manager/virtManager/connection.py", line 554, in define_domain return self._backend.defineXML(xml) File "/usr/lib64/python3.8/site-packages/libvirt.py", line 4361, in defineXML raise libvirtError('virDomainDefineXML() failed') libvirt.libvirtError: internal error: vendor cannot be 0.
This is the info on the drive:
$ udevadm info /dev/bus/usb/002/005 P: /devices/pci0000:00/0000:00:14.0/usb2/2-4 N: bus/usb/002/005 L: 0 E: DEVPATH=/devices/pci0000:00/0000:00:14.0/usb2/2-4 E: DEVNAME=/dev/bus/usb/002/005 E: DEVTYPE=usb_device E: DRIVER=usb E: PRODUCT=90c/1000/1100 E: TYPE=0/0/0 E: BUSNUM=002 E: DEVNUM=005 E: MAJOR=189 E: MINOR=132 E: SUBSYSTEM=usb E: USEC_INITIALIZED=13609827609 E: ID_VENDOR=Samsung E: ID_VENDOR_ENC=Samsung E: ID_VENDOR_ID=090c E: ID_MODEL=Flash_Drive E: ID_MODEL_ENC=Flash\x20Drive E: ID_MODEL_ID=1000 E: ID_REVISION=1100 E: ID_SERIAL=Samsung_Flash_Drive_0327918050002584 E: ID_SERIAL_SHORT=0327918050002584 E: ID_BUS=usb E: ID_USB_INTERFACES=:080650: E: ID_VENDOR_FROM_DATABASE=Silicon Motion, Inc. - Taiwan (formerly Feiya Technology Corp.) E: ID_MODEL_FROM_DATABASE=Flash Drive E: ID_PATH=pci-0000:00:14.0-usb-0:4 E: ID_PATH_TAG=pci-0000_00_14_0-usb-0_4
On 07/11/2020 05:21, ToddAndMargo via users wrote:
Anyone know a work around for this?
Fedroa 32, x64
$ rpm -qa virt-manager virt-manager-3.1.0-1.fc32.noarch
$ rpm -qa qemu-device-usb-redirect qemu-device-usb-redirect-5.1.0-7.fc32.x86_64
Bug I filed on 2020-06-23: libvirt.libvirtError: internal error: vendor cannot be 0. https://bugzilla.redhat.com/show_bug.cgi?id=1850091
I am trying to install a USB Host device for my Samsung BAR flash drive and I get the following error:
Unable to add device: internal error: vendor cannot be 0.
What is the entry for this device in the list shown?
--- The key to getting good answers is to ask good questions.
On 07/11/2020 05:53, ToddAndMargo via users wrote:
On 2020-11-06 13:37, Ed Greshko wrote:
On 07/11/2020 05:21, ToddAndMargo via users wrote:
Anyone know a work around for this?
Fedroa 32, x64
$ rpm -qa virt-manager virt-manager-3.1.0-1.fc32.noarch
$ rpm -qa qemu-device-usb-redirect qemu-device-usb-redirect-5.1.0-7.fc32.x86_64
Bug I filed on 2020-06-23: libvirt.libvirtError: internal error: vendor cannot be 0. https://bugzilla.redhat.com/show_bug.cgi?id=1850091
I am trying to install a USB Host device for my Samsung BAR flash drive and I get the following error:
Unable to add device: internal error: vendor cannot be 0.
What is the entry for this device in the list shown?
Is this what you are asking?
Yes. And how is that device listed when lsusb is run on the host/
--- The key to getting good answers is to ask good questions.
On 2020-11-06 14:44, Ed Greshko wrote:
On 07/11/2020 05:53, ToddAndMargo via users wrote:
On 2020-11-06 13:37, Ed Greshko wrote:
On 07/11/2020 05:21, ToddAndMargo via users wrote:
Anyone know a work around for this?
Fedroa 32, x64
$ rpm -qa virt-manager virt-manager-3.1.0-1.fc32.noarch
$ rpm -qa qemu-device-usb-redirect qemu-device-usb-redirect-5.1.0-7.fc32.x86_64
Bug I filed on 2020-06-23: libvirt.libvirtError: internal error: vendor cannot be 0. https://bugzilla.redhat.com/show_bug.cgi?id=1850091
I am trying to install a USB Host device for my Samsung BAR flash drive and I get the following error:
Unable to add device: internal error: vendor cannot be 0.
What is the entry for this device in the list shown?
Is this what you are asking?
Yes. And how is that device listed when lsusb is run on the host/
I am now on Fedora 33
$ lsusb -v -D /dev/bus/usb/002/003 Device: ID 090c:1000 Silicon Motion, Inc. - Taiwan (formerly Feiya Technology Corp.) Flash Drive Couldn't open device, some information will be missing Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 3.10 bDeviceClass 0 bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize0 9 idVendor 0x090c Silicon Motion, Inc. - Taiwan (formerly Feiya Technology Corp.) idProduct 0x1000 Flash Drive bcdDevice 11.00 iManufacturer 1 iProduct 2 iSerial 3 bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 0x002c bNumInterfaces 1 bConfigurationValue 1 iConfiguration 0 bmAttributes 0x80 (Bus Powered) MaxPower 304mA Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 2 bInterfaceClass 8 Mass Storage bInterfaceSubClass 6 SCSI bInterfaceProtocol 80 Bulk-Only iInterface 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x01 EP 1 OUT bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0400 1x 1024 bytes bInterval 0 bMaxBurst 8 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x82 EP 2 IN bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0400 1x 1024 bytes bInterval 0 bMaxBurst 8
On 07/11/2020 05:53, ToddAndMargo via users wrote:
On 2020-11-06 13:37, Ed Greshko wrote:
On 07/11/2020 05:21, ToddAndMargo via users wrote:
Anyone know a work around for this?
Fedroa 32, x64
$ rpm -qa virt-manager virt-manager-3.1.0-1.fc32.noarch
$ rpm -qa qemu-device-usb-redirect qemu-device-usb-redirect-5.1.0-7.fc32.x86_64
Bug I filed on 2020-06-23: libvirt.libvirtError: internal error: vendor cannot be 0. https://bugzilla.redhat.com/show_bug.cgi?id=1850091
I am trying to install a USB Host device for my Samsung BAR flash drive and I get the following error:
Unable to add device: internal error: vendor cannot be 0.
What is the entry for this device in the list shown?
Is this what you are asking?
Oh, and the device doesn't show up when you click on "Virtual Machine" --> "Redirect usb device"?
--- The key to getting good answers is to ask good questions.
On 07/11/2020 10:40, ToddAndMargo via users wrote:
This flash drive has a full version of Fedora 32 installed on it and does boot into Fedora 32 when booted natively.
Oh, I see. You want to boot F32 from the usb? I've had the need to try that.
Redirect usb devices:
AFAIK, redirection is only available when the VM is running.
--- The key to getting good answers is to ask good questions.
On 2020-11-06 20:20, Ed Greshko wrote:
On 07/11/2020 10:40, ToddAndMargo via users wrote:
This flash drive has a full version of Fedora 32 installed on it and does boot into Fedora 32 when booted natively.
Oh, I see. You want to boot F32 from the usb? I've had the need to try that.
Redirect usb devices:
AFAIK, redirection is only available when the VM is running.
I made the screenshot from another running VM
On 2020-11-06 13:21, ToddAndMargo via users wrote:
Hi All,
Anyone know a work around for this?
Fedroa 32, x64
$ rpm -qa virt-manager virt-manager-3.1.0-1.fc32.noarch
$ rpm -qa qemu-device-usb-redirect qemu-device-usb-redirect-5.1.0-7.fc32.x86_64
Bug I filed on 2020-06-23: libvirt.libvirtError: internal error: vendor cannot be 0. https://bugzilla.redhat.com/show_bug.cgi?id=1850091
I am trying to install a USB Host device for my Samsung BAR flash drive and I get the following error:
Unable to add device: internal error: vendor cannot be 0.
Many thanks, -T
New info. ALL of my flash drive are now doing this!
On 2020-11-06 13:21, ToddAndMargo via users wrote:
Hi All,
Anyone know a work around for this?
Fedroa 32, x64
$ rpm -qa virt-manager virt-manager-3.1.0-1.fc32.noarch
$ rpm -qa qemu-device-usb-redirect qemu-device-usb-redirect-5.1.0-7.fc32.x86_64
Bug I filed on 2020-06-23: libvirt.libvirtError: internal error: vendor cannot be 0. https://bugzilla.redhat.com/show_bug.cgi?id=1850091
I am trying to install a USB Host device for my Samsung BAR flash drive and I get the following error:
Unable to add device: internal error: vendor cannot be 0.
Many thanks, -T
Using: https://documentation.suse.com/sles/15-SP1/html/SLES-all/cha-libvirt-config-...
$ lsusb | grep -i silico Bus 002 Device 006: ID 090c:1000 Silicon Motion, Inc. - Taiwan (formerly Feiya Technology Corp.) Flash Drive
with `# virsh edit KVM-USB-EUFI`, I added:
<hostdev mode='subsystem' type='usb'> <source startupPolicy='optional'> <vendor id='090C'/> <product id='1000'/> </source>
Saving gives me: error: XML document failed to validate against schema: Unable to validate doc against /usr/share/libvirt/schemas/domain.rng
Extra element devices in interleave Element domain failed to validate content
Failed. Try again? [y,n,i,f,?]:
What did I do wrong?
On 2020-11-07 00:01, ToddAndMargo via users wrote:
On 2020-11-06 13:21, ToddAndMargo via users wrote:
Hi All,
Anyone know a work around for this?
Fedroa 32, x64
$ rpm -qa virt-manager virt-manager-3.1.0-1.fc32.noarch
$ rpm -qa qemu-device-usb-redirect qemu-device-usb-redirect-5.1.0-7.fc32.x86_64
Bug I filed on 2020-06-23: libvirt.libvirtError: internal error: vendor cannot be 0. https://bugzilla.redhat.com/show_bug.cgi?id=1850091
I am trying to install a USB Host device for my Samsung BAR flash drive and I get the following error:
Unable to add device: internal error: vendor cannot be 0.
Many thanks, -T
Using: https://documentation.suse.com/sles/15-SP1/html/SLES-all/cha-libvirt-config-...
$ lsusb | grep -i silico Bus 002 Device 006: ID 090c:1000 Silicon Motion, Inc. - Taiwan (formerly Feiya Technology Corp.) Flash Drive
with `# virsh edit KVM-USB-EUFI`, I added:
<hostdev mode='subsystem' type='usb'> <source startupPolicy='optional'> <vendor id='090C'/> <product id='1000'/> </source>
Saving gives me: error: XML document failed to validate against schema: Unable to validate doc against /usr/share/libvirt/schemas/domain.rng
Extra element devices in interleave Element domain failed to validate content
Failed. Try again? [y,n,i,f,?]:
What did I do wrong?
Came up with a workaround!
$ lsusb | grep -i silico Bus 002 Device 006: ID 090c:1000 Silicon Motion, Inc. - Taiwan (formerly Feiya Technology Corp.) Flash Drive
# virt-xml KVM-USB-EUFI --add-device --hostdev 002.006 Domain 'KVM-USB-EUFI' defined successfully.
XML file now looks like:
<hostdev mode='subsystem' type='usb' managed='yes'> <source> <vendor id='0x090c'/> <product id='0x1000'/> </source> <boot order='1'/> <address type='usb' bus='0' port='4'/> </hostdev>
On 2020-11-06 13:21, ToddAndMargo via users wrote:
Hi All,
Anyone know a work around for this?
Fedroa 32, x64
$ rpm -qa virt-manager virt-manager-3.1.0-1.fc32.noarch
$ rpm -qa qemu-device-usb-redirect qemu-device-usb-redirect-5.1.0-7.fc32.x86_64
Bug I filed on 2020-06-23: libvirt.libvirtError: internal error: vendor cannot be 0. https://bugzilla.redhat.com/show_bug.cgi?id=1850091
I am trying to install a USB Host device for my Samsung BAR flash drive and I get the following error:
Unable to add device: internal error: vendor cannot be 0.
Many thanks, -T
6.6.0-3.fc33.x86_64
just hit and that fixed it.
On 2020-11-07 18:16, ToddAndMargo via users wrote:
On 2020-11-06 13:21, ToddAndMargo via users wrote:
Hi All,
Anyone know a work around for this?
Fedroa 32, x64
$ rpm -qa virt-manager virt-manager-3.1.0-1.fc32.noarch
$ rpm -qa qemu-device-usb-redirect qemu-device-usb-redirect-5.1.0-7.fc32.x86_64
Bug I filed on 2020-06-23: libvirt.libvirtError: internal error: vendor cannot be 0. https://bugzilla.redhat.com/show_bug.cgi?id=1850091
I am trying to install a USB Host device for my Samsung BAR flash drive and I get the following error:
Unable to add device: internal error: vendor cannot be 0.
Many thanks, -T
6.6.0-3.fc33.x86_64
just hit and that fixed it.
It as probably this fix the did the trick:
$ rpm -qa qemu-device-usb-redirect qemu-device-usb-redirect-5.1.0-5.fc33.x86_64