Hi,

Problem with attach usb device to qemu guest.

qemu-0.9.1p3.tgz installed on OpenBSD 4.4 i386 under VMware Workstation 6.5.0 build-118166.
Host: ubuntu 8.10 x64

When i try to search usb device at qemu monitor:
(qemu) info usbhost
it's nothing.

The same problem at OpenBSD installed on my notebook, but i've find Fingerprint Sensor:
(qemu) info usbhost
Device 2.2, speed 12 Mb/s
   Class 00: USB device 147e:2016, Fingerprint Sensor

Could any one help please.

In attach "dmesg" and "usbdevs -v".
#usbdevs -v
Controller /dev/usb0:
addr 1: high speed, self powered, config 1, EHCI root hub(0x0000), 
VMware(0x15ad), rev 1.00
 port 1 addr 2: high speed, power 200 mA, config 1, Cruzer Mini(0x5150), 
SanDisk Corporation(0x0781), rev 0.10, iSerialNumber 20043211630552E282CA
 port 2 powered
 port 3 powered
 port 4 powered
 port 5 powered
 port 6 powered
Controller /dev/usb1:
addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), 
Intel(0x8086), rev 1.00
 port 1 powered
 port 2 addr 2: full speed, self powered, config 1, VMware Virtual USB 
Hub(0x0002), vendor 0x0e0f(0x0e0f), rev 1.00
  port 1 powered
  port 2 powered
  port 3 powered
  port 4 powered
  port 5 powered
  port 6 powered
  port 7 powered
# qemu -m 64 tmp.hdd -usb -usbdevice host:0781:5150 
Could not open '/dev/kqemu' - QEMU acceleration layer not activated: No such 
file or directory
Warning: could not add USB device host:0781:5150

OpenBSD 4.4 (GENERIC) #1021: Tue Aug 12 17:16:55 MDT 2008
    [email protected]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Pentium(R) Dual CPU E2200 @ 2.20GHz ("GenuineIntel" 686-class) 
2.22 GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,SSE3
real mem  = 267939840 (255MB)
avail mem = 250646528 (239MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 08/15/08, BIOS32 rev. 0 @ 0xfd780, SMBIOS 
rev. 2.4 @ 0xe4010 (45 entries)
bios0: vendor Phoenix Technologies LTD version "6.00" date 08/15/2008
bios0: VMware, Inc. VMware Virtual Platform
apm0 at bios0: Power Management spec V1.2
apm0: AC on, battery charge unknown
acpi at bios0 function 0x0 not configured
pcibios0 at bios0: rev 2.1 @ 0xfd780/0x880
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfde80/352 (20 entries)
pcibios0: PCI Interrupt Router at 000:07:0 ("Intel 82371FB ISA" rev 0x00)
pcibios0: PCI bus #34 is the last bus
bios0: ROM list: 0xc0000/0x8000 0xc8000/0x1000 0xdc000/0x4000! 0xe4000/0x4000!
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "Intel 82443BX AGP" rev 0x01
ppb0 at pci0 dev 1 function 0 "Intel 82443BX AGP" rev 0x01
pci1 at ppb0 bus 1
piixpcib0 at pci0 dev 7 function 0 "Intel 82371AB PIIX4 ISA" rev 0x08
pciide0 at pci0 dev 7 function 1 "Intel 82371AB IDE" rev 0x01: DMA, channel 0 
configured to compatibility, channel 1 configured to compatibility
wd0 at pciide0 channel 0 drive 0: <VMware Virtual IDE Hard Drive>
wd0: 64-sector PIO, LBA, 17000MB, 34816000 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
atapiscsi0 at pciide0 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets, initiator 7
cd0 at scsibus0 targ 0 lun 0: <NECVMWar, VMware IDE CDR10, 1.00> ATAPI 5/cdrom 
removable
cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2
piixpm0 at pci0 dev 7 function 3 "Intel 82371AB Power" rev 0x08: SMBus disabled
vendor "VMware", unknown product 0x0740 (class system subclass miscellaneous, 
rev 0x10) at pci0 dev 7 function 7 not configured
vga1 at pci0 dev 15 function 0 "VMware Virtual SVGA II" rev 0x00
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
drm at vga1 unsupported
bha3 at pci0 dev 16 function 0 "BusLogic MultiMaster" rev 0x01: irq 11, 
BusLogic 9xxC SCSI
bha3: model BT-958, firmware 5.07B
bha3: sync, parity
scsibus1 at bha3: 8 targets, initiator 7
ppb1 at pci0 dev 17 function 0 "VMware Virtual PCI-PCI" rev 0x02
pci2 at ppb1 bus 2
vic0 at pci2 dev 0 function 0 "AMD 79c970 PCnet-PCI" rev 0x10: irq 10, address 
00:0c:29:9f:0d:a3
eap0 at pci2 dev 1 function 0 "Ensoniq AudioPCI97" rev 0x02: irq 5
ac97: codec id 0x43525913 (Cirrus Logic CS4297A rev 3)
audio0 at eap0
midi0 at eap0: <AudioPCI MIDI UART>
uhci0 at pci2 dev 3 function 0 "Intel 82371AB USB" rev 0x00: irq 11
ehci0 at pci2 dev 4 function 0 "VMware Virtual EHCI" rev 0x00: irq 10
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "VMware EHCI root hub" rev 2.00/1.00 addr 1
usb1 at uhci0: USB revision 1.0
uhub1 at usb1 "Intel UHCI root hub" rev 1.00/1.00 addr 1
ppb2 at pci0 dev 21 function 0 vendor "VMware", unknown product 0x07a0 rev 0x01
pci3 at ppb2 bus 3
ppb3 at pci0 dev 21 function 1 vendor "VMware", unknown product 0x07a0 rev 0x01
pci4 at ppb3 bus 4
ppb4 at pci0 dev 21 function 2 vendor "VMware", unknown product 0x07a0 rev 0x01
pci5 at ppb4 bus 5
ppb5 at pci0 dev 21 function 3 vendor "VMware", unknown product 0x07a0 rev 0x01
pci6 at ppb5 bus 6
ppb6 at pci0 dev 21 function 4 vendor "VMware", unknown product 0x07a0 rev 0x01
pci7 at ppb6 bus 7
ppb7 at pci0 dev 21 function 5 vendor "VMware", unknown product 0x07a0 rev 0x01
pci8 at ppb7 bus 8
ppb8 at pci0 dev 21 function 6 vendor "VMware", unknown product 0x07a0 rev 0x01
pci9 at ppb8 bus 9
ppb9 at pci0 dev 21 function 7 vendor "VMware", unknown product 0x07a0 rev 0x01
pci10 at ppb9 bus 10
ppb10 at pci0 dev 22 function 0 vendor "VMware", unknown product 0x07a0 rev 0x01
pci11 at ppb10 bus 11
ppb11 at pci0 dev 22 function 1 vendor "VMware", unknown product 0x07a0 rev 0x01
pci12 at ppb11 bus 12
ppb12 at pci0 dev 22 function 2 vendor "VMware", unknown product 0x07a0 rev 0x01
pci13 at ppb12 bus 13
ppb13 at pci0 dev 22 function 3 vendor "VMware", unknown product 0x07a0 rev 0x01
pci14 at ppb13 bus 14
ppb14 at pci0 dev 22 function 4 vendor "VMware", unknown product 0x07a0 rev 0x01
pci15 at ppb14 bus 15
ppb15 at pci0 dev 22 function 5 vendor "VMware", unknown product 0x07a0 rev 0x01
pci16 at ppb15 bus 16
ppb16 at pci0 dev 22 function 6 vendor "VMware", unknown product 0x07a0 rev 0x01
pci17 at ppb16 bus 17
ppb17 at pci0 dev 22 function 7 vendor "VMware", unknown product 0x07a0 rev 0x01
pci18 at ppb17 bus 18
ppb18 at pci0 dev 23 function 0 vendor "VMware", unknown product 0x07a0 rev 0x01
pci19 at ppb18 bus 19
ppb19 at pci0 dev 23 function 1 vendor "VMware", unknown product 0x07a0 rev 0x01
pci20 at ppb19 bus 20
ppb20 at pci0 dev 23 function 2 vendor "VMware", unknown product 0x07a0 rev 0x01
pci21 at ppb20 bus 21
ppb21 at pci0 dev 23 function 3 vendor "VMware", unknown product 0x07a0 rev 0x01
pci22 at ppb21 bus 22
ppb22 at pci0 dev 23 function 4 vendor "VMware", unknown product 0x07a0 rev 0x01
pci23 at ppb22 bus 23
ppb23 at pci0 dev 23 function 5 vendor "VMware", unknown product 0x07a0 rev 0x01
pci24 at ppb23 bus 24
ppb24 at pci0 dev 23 function 6 vendor "VMware", unknown product 0x07a0 rev 0x01
pci25 at ppb24 bus 25
ppb25 at pci0 dev 23 function 7 vendor "VMware", unknown product 0x07a0 rev 0x01
pci26 at ppb25 bus 26
ppb26 at pci0 dev 24 function 0 vendor "VMware", unknown product 0x07a0 rev 0x01
pci27 at ppb26 bus 27
ppb27 at pci0 dev 24 function 1 vendor "VMware", unknown product 0x07a0 rev 0x01
pci28 at ppb27 bus 28
ppb28 at pci0 dev 24 function 2 vendor "VMware", unknown product 0x07a0 rev 0x01
pci29 at ppb28 bus 29
ppb29 at pci0 dev 24 function 3 vendor "VMware", unknown product 0x07a0 rev 0x01
pci30 at ppb29 bus 30
ppb30 at pci0 dev 24 function 4 vendor "VMware", unknown product 0x07a0 rev 0x01
pci31 at ppb30 bus 31
ppb31 at pci0 dev 24 function 5 vendor "VMware", unknown product 0x07a0 rev 0x01
pci32 at ppb31 bus 32
ppb32 at pci0 dev 24 function 6 vendor "VMware", unknown product 0x07a0 rev 0x01
pci33 at ppb32 bus 33
ppb33 at pci0 dev 24 function 7 vendor "VMware", unknown product 0x07a0 rev 0x01
pci34 at ppb33 bus 34
isa0 at piixpcib0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pmsi0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pmsi0 mux 0
pcppi0 at isa0 port 0x61
midi1 at pcppi0: <PC speaker>
spkr0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
biomask ef45 netmask ef45 ttymask ffdf
mtrr: Pentium Pro MTRR support
uhub2 at uhub1 port 2 "vendor 0x0e0f VMware Virtual USB Hub" rev 1.10/1.00 addr 
2
softraid0 at root
root on wd0a swap on wd0b dump on wd0b
WARNING: / was not properly unmounted
umass0 at uhub0 port 1 configuration 1 interface 0 "SanDisk Corporation Cruzer 
Mini" rev 2.00/0.10 addr 2
umass0: using SCSI over Bulk-Only
scsibus2 at umass0: 2 targets, initiator 0
sd0 at scsibus2 targ 1 lun 0: <SanDisk, Cruzer Mini, 0.1> SCSI2 0/direct 
removable
sd0: 977MB, 124 cyl, 255 head, 63 sec, 512 bytes/sec, 2001888 sec total

Reply via email to