亚洲av成人无遮挡网站在线观看,少妇性bbb搡bbb爽爽爽,亚洲av日韩精品久久久久久,兔费看少妇性l交大片免费,无码少妇一区二区三区

  免費(fèi)注冊(cè) 查看新帖 |

Chinaunix

  平臺(tái) 論壇 博客 文庫(kù)
最近訪問板塊 發(fā)新帖
查看: 6737 | 回復(fù): 4
打印 上一主題 下一主題

freebsd 下 qemu 如何加載usb設(shè)備 [復(fù)制鏈接]

論壇徽章:
0
跳轉(zhuǎn)到指定樓層
1 [收藏(0)] [報(bào)告]
發(fā)表于 2008-10-19 18:26 |只看該作者 |倒序?yàn)g覽
在bsd下裝了個(gè)xp 想用U盾,
bsd下已經(jīng)發(fā)現(xiàn)了這個(gè)東西。。

www# usbdevs -v
Controller /dev/usb0:
addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), Intel(0x0000), rev 1.00
  uhub0
port 1 powered
port 2 powered
Controller /dev/usb1:
addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), Intel(0x0000), rev 1.00
  uhub1
port 1 powered
port 2 powered
Controller /dev/usb2:
addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), Intel(0x0000), rev 1.00
  uhub2
port 1 powered
port 2 powered
Controller /dev/usb3:
addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), Intel(0x0000), rev 1.00
  uhub3
port 1 addr 2: full speed, power 150 mA, config 1, product 0x8005(0x8005), vendor 0x155b(0x155b), rev 12.02
   uhid0
port 2 powered
Controller /dev/usb4:
addr 1: high speed, self powered, config 1, EHCI root hub(0x0000), Intel(0x0000), rev 1.00
  uhub4
port 1 powered
port 2 powered
port 3 powered
port 4 powered
port 5 powered
port 6 powered
port 7 powered
port 8 powered

就是那個(gè)usb3

可是啟動(dòng)qemu時(shí) 加參數(shù) -usb -usbdevice host:155b:8005 時(shí)出現(xiàn)

Warning: could not add USB device host:155b:8005

論壇徽章:
0
2 [報(bào)告]
發(fā)表于 2008-10-20 11:27 |只看該作者
頂一下。。。

論壇徽章:
0
3 [報(bào)告]
發(fā)表于 2008-10-21 09:14 |只看該作者
好像是沒有解決方案。。。。。

論壇徽章:
0
4 [報(bào)告]
發(fā)表于 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

qemu -usb -usbdevice host:<VendorID>:<ProductID> <other_parameters>

or starting QEMU just with USB support enabled:

qemu -usb <other_parameters>

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

      qemu -usb -usbdevice host:03f0:0205 <other_parameters>

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.

論壇徽章:
0
5 [報(bào)告]
發(fā)表于 2010-01-11 15:51 |只看該作者
你母系統(tǒng)的U盾要不加載模塊
您需要登錄后才可以回帖 登錄 | 注冊(cè)

本版積分規(guī)則 發(fā)表回復(fù)

  

北京盛拓優(yōu)訊信息技術(shù)有限公司. 版權(quán)所有 京ICP備16024965號(hào)-6 北京市公安局海淀分局網(wǎng)監(jiān)中心備案編號(hào):11010802020122 niuxiaotong@pcpop.com 17352615567
未成年舉報(bào)專區(qū)
中國(guó)互聯(lián)網(wǎng)協(xié)會(huì)會(huì)員  聯(lián)系我們:huangweiwei@itpub.net
感謝所有關(guān)心和支持過ChinaUnix的朋友們 轉(zhuǎn)載本站內(nèi)容請(qǐng)注明原作者名及出處

清除 Cookies - ChinaUnix - Archiver - WAP - TOP