KVM USB Passthrough和Zydas USB无线适配器:设备或资源繁忙

我正在为80211模块设置一个内核testing虚拟机。

我用这个命令启动我的机器:

kvm -m 512 -net nic -net vde -usb -usbdevice host:0ace:1215 ktesting.img 

我用debian连接到eth0接口的vde_switch,并设置了一个kvm镜像

 Bus 003 Device 004: ID 0ace:1215 ZyDAS ZD1211B 802.11g 

我安装了'zd1211-firmware',并在/ dev / bus / usb中提供了正确的权限。

wlan0接口上去了:

 eth0 Link encap:Ethernet HWaddr 52:54:00:12:34:56 inet addr:192.168.2.15 Bcast:192.168.2.255 Mask:255.255.255.0 inet6 addr: fe80::5054:ff:fe12:3456/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:7 errors:0 dropped:0 overruns:0 frame:0 TX packets:13 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:1706 (1.6 KiB) TX bytes:1458 (1.4 KiB) lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) wlan0 Link encap:Ethernet HWaddr 00:02:72:71:dc:a3 UP BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) 

但是当我尝试使用wpa_supplicant连接到我的路由器时:

 wpa_supplicant -i wlan0 -c conf 

我得到了这个输出(stderr和stout):

 ioctl[SIOCSIWENCODEEXT]: Invalid argument ioctl[SIOCSIWENCODEEXT]: Invalid argument ioctl[SIOCSIWFREQ]: Device or resource busy ioctl[SIOCSIWFREQ]: Device or resource busy ioctl[SIOCSIWFREQ]: Device or resource busy ioctl[SIOCSIWFREQ]: Device or resource busy wlan0: Trying to associate with 00:0c:f6:83:e8:9f (SSID='home' freq=2412 MHz) wlan0: Association request to the driver failed wlan0: Authentication with 00:0c:f6:83:e8:9f timed out. wlan0: Trying to associate with 00:0c:f6:83:e8:9f (SSID='home' freq=2412 MHz) wlan0: Association request to the driver failed wlan0: Authentication with 00:0c:f6:83:e8:9f timed out. wlan0: Trying to associate with 00:0c:f6:83:e8:9f (SSID='home' freq=2412 MHz) wlan0: Association request to the driver failed wlan0: Authentication with 00:0c:f6:83:e8:9f timed out. wlan0: Trying to associate with 00:0c:f6:83:e8:9f (SSID='home' freq=2412 MHz) wlan0: Association request to the driver failed wlan0: Authentication with 00:0c:f6:83:e8:9f timed out. wlan0: CTRL-EVENT-TERMINATING - signal 2 received 

我尝试使用我的笔记本电脑上的WiFi适配器连接到相同的configuration文件只安装zd1211固件相同的networking,它完美的工作。 这不是我编译的内核的问题,因为问题仍然存在于股票debian内核(wheezy)