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
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx