[Pkg-libvirt-maintainers] Bug#522310: Bug#522310: virt-manager: recognizing USB devices requires restart of libvirt

Andreas Unterkircher unki at netshadow.at
Tue Apr 7 08:03:34 UTC 2009


I tried again.

lsusb shows up the newly plugged in device
(Aladdin Knowledge Systems HASP v0.06):

unki at srv-mfm-vm02:~$ sudo lsusb
Bus 006 Device 003: ID 03f0:1327 Hewlett-Packard
Bus 006 Device 002: ID 03f0:1027 Hewlett-Packard
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 002: ID 0529:0001 Aladdin Knowledge Systems HASP v0.06
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub


virsh nodedev-list at the same time :

virsh # nodedev-list
error: Failed to count node devices
error: this function is not supported by the hypervisor: virNodeNumOfDevices


after a restart of libvirtd it is working:

unki at srv-mfm-vm02:~$ sudo virsh nodedev-list
computer
net_00_1f_29_5d_dd_14
net_00_1f_29_5d_dd_15
net_00_1f_29_5d_dd_16
net_00_1f_29_5d_dd_17
net_00_21_5a_cf_e7_aa
net_00_21_5a_cf_e7_ac
pci_1002_515e
pci_103c_3230
pci_103c_3230_0
pci_103c_3300
pci_103c_3302
pci_111d_8018
pci_111d_8018_0
pci_111d_8018_1
pci_1166_103
pci_1166_103_0
pci_14e4_164c
pci_14e4_164c_0
pci_8086_10bc
pci_8086_10bc_0
pci_8086_10bc_1
pci_8086_10bc_2
pci_8086_244e
pci_8086_25d8
pci_8086_25e2
pci_8086_25e3
pci_8086_25e5
pci_8086_25e7
pci_8086_25f0
pci_8086_25f0_0
pci_8086_25f0_1
pci_8086_25f1
pci_8086_25f3
pci_8086_25f5
pci_8086_25f6
pci_8086_25f8
pci_8086_25f9
pci_8086_2670
pci_8086_2688
pci_8086_2689
pci_8086_268a
pci_8086_268b
pci_8086_268c
pci_8086_2690
pci_8086_2692
pci_8086_269e
pci_8086_3500
pci_8086_350c
pci_8086_3510
pci_8086_3514
pci_8086_3518
pci_e11_b203
pci_e11_b204
storage_serial_3600508b100104c39565743344e530005
storage_serial_3600508b100104d3953574b304a4b0008
storage_serial_3600508b100104d3953574b304a4b0009
storage_serial_KZ188921642
usb_device_1d6b_1_0000_00_1d_0
usb_device_1d6b_1_0000_00_1d_0_if0
usb_device_1d6b_1_0000_00_1d_0_usbraw
usb_device_1d6b_1_0000_00_1d_1
usb_device_1d6b_1_0000_00_1d_1_if0
usb_device_1d6b_1_0000_00_1d_1_usbraw
usb_device_1d6b_1_0000_00_1d_2
usb_device_1d6b_1_0000_00_1d_2_if0
usb_device_1d6b_1_0000_00_1d_2_usbraw
usb_device_1d6b_1_0000_00_1d_3
usb_device_1d6b_1_0000_00_1d_3_if0
usb_device_1d6b_1_0000_00_1d_3_usbraw
usb_device_1d6b_1_0000_01_04_4
usb_device_1d6b_1_0000_01_04_4_if0
usb_device_1d6b_1_0000_01_04_4_usbraw
usb_device_1d6b_2_0000_00_1d_7
usb_device_1d6b_2_0000_00_1d_7_if0
usb_device_1d6b_2_0000_00_1d_7_usbraw
usb_device_3f0_1027_noserial
usb_device_3f0_1027_noserial_if0
usb_device_3f0_1027_noserial_if1
usb_device_3f0_1027_noserial_usbraw
usb_device_3f0_1327_noserial
usb_device_3f0_1327_noserial_if0
usb_device_3f0_1327_noserial_usbraw
usb_device_529_1_noserial
usb_device_529_1_noserial_if0
usb_device_529_1_noserial_usbraw


Yes, hald is up too:

unki at srv-mfm-vm02:~$ ps ax | grep [h]ald
  6462 ?        Ss     0:00 /usr/sbin/hald


Regards,
Andreas






More information about the Pkg-libvirt-maintainers mailing list