Warning: could not add USB device host:155b:8005作者: fengyun8972 時(shí)間: 2008-10-20 11:27
頂一下。。。作者: fengyun8972 時(shí)間: 2008-10-21 09:14
好像是沒有解決方案。。。。。作者: wheel 時(shí)間: 2010-01-11 15:38
--enable-alsa
to the configure command.
The scripts in the final section of this Wiki page show you how to setup your environment so that you can actually hear the sound that QEMU outputs. The requirement for sound to come from your speakers is the environment variable QEMU_AUDIO_DRV which must have a value of either “sdl” or “oss“, or in case you compiled-in ALSA support, it may have a value of “alsa” as well.
Using an USB device in QEMU
USB devices that are connected to the host machine can be accessed directly inside the Virtual Machine. QEMU needs an aditional parameter -usb to actually enable USB support in the VM. The emulated Intel SB82371 UHCI-Controller has a 8-port USB hub. If you want access to one of your physical devices, you will need to find out it’s Vendor-ID and Product-ID. This information is obtained by examining the output of
/sbin/lsusb
or
cat /proc/bus/usb/devices
. You can either tell QEMU to make the device available by looking up the VendorID and ProductID and passing it on the commandline
After booting the guest OS in the VM, switch to the monitor by pressing Ctrl+Alt+2 and enter the following command
usb_add host:<VendorID>:<ProductID>
When you return to the graphical screen of the Guest by pressing Ctrl+Alt+1 you will see a USB “device attach” event in the messagelog (Linux) or on-screen (Windows).
* An example: You have a HP Scanjet 3300C connected to the USB port of your computer. The output of lsusb is
# lsusb
Bus 003 Device 002: ID 03f0:0205 ScanJet 3300C
The command that you use to make this scanner accessible in QEMU is
The important thing to consider with using real USB devices, is that the Host must not have any driver loaded for the USB device. If your hotplug loads drivers automatically, you can enter the driver’s name into the file /etc/hostplug/blacklist to make sure that hotplug will leave it alone. In the QEMU dccumentation I noticed that this is supposedly no longer an issue with (recent) 2.6 kernels. YMMV as I have not yet tried this.作者: wheel 時(shí)間: 2010-01-11 15:51
你母系統(tǒng)的U盾要不加載模塊