Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[求助] VM直通AX210蓝牙遇到问题

Featured Replies

使用的主板自带一个WIFI/BT接口,安装了一张AX210,已经成功直通了WIFI功能。

但是看了几个帖子,都没能搞懂如何直通蓝牙,所以请求各位的帮助,谢谢大家的关注。

VM为Windows 10

 

以下是我的尝试:

1. 简单搜索后,发现“Intel Corp. (8087:0032)”这个USB设备其实就是AX210的蓝牙:

318313589_.png.187f062b0097d8ecb49a0c9a7d8dc6a5.png

尝试启动,出现没有找到USB设备的提示:

1334858980_.png.6969d099cd370b175bef219255d6c9c6.png

 

2. 后来又找到了这个英文帖子的一条回复:

[6.10.0-RC1] Onboard Bluetooth no longer able to passthrough to VM

262607344_.thumb.png.fc6d962bacecd4e016681a3e920b8969.png

原帖的大概意思是说,需要手动卸下驱动,如果需要unraid重启之后也有效的话,需要把驱动列入黑名单。

于是我尝试在终端输入这两个命令:

modprobe -r btusb
modprobe -r bluetooth

输入第一条命令没有任何提示,于是输入第二条命令,系统给出错误提示:

modprobe: FATAL: Module bluetooth is in use.

考虑到这一步没有任何作用,而且下一步列入黑名单似乎是要修改文件,而我又对Linux极度不熟悉,便没有进行后续操作。

 

以下是我的PCI设备以及IOMMU分组信息:

Quote

IOMMU group 0:        [8086:3e1f] 00:00.0 Host bridge: Intel Corporation 8th Gen Core 4-core Desktop Processor Host Bridge/DRAM Registers [Coffee Lake S] (rev 08)
IOMMU group 1:        [8086:3e91] 00:02.0 VGA compatible controller: Intel Corporation CoffeeLake-S GT2 [UHD Graphics 630]
IOMMU group 2:        [8086:a2af] 00:14.0 USB controller: Intel Corporation 200 Series/Z370 Chipset Family USB 3.0 xHCI Controller
                    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
                    Bus 001 Device 002: ID 046d:c52b Logitech, Inc. Unifying Receiver
                    Bus 001 Device 003: ID 0781:5571 SanDisk Corp. Cruzer Fit
                    Bus 001 Device 005: ID 2f4c:1000  COLORFUL
                    Bus 001 Device 009: ID 8087:0032 Intel Corp.
                    Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
IOMMU group 3:        [8086:a2ba] 00:16.0 Communication controller: Intel Corporation 200 Series PCH CSME HECI #1
IOMMU group 4:        [8086:a282] 00:17.0 SATA controller: Intel Corporation 200 Series PCH SATA controller [AHCI mode]
                    [3:0:0:0]    disk    ATA      WDC  WUH721816AL W232  /dev/sdb   16.0TB
                    [5:0:0:0]    disk    ATA      WDC  WUH721816AL W232  /dev/sdc   16.0TB
IOMMU group 5:        [8086:a2e9] 00:1b.0 PCI bridge: Intel Corporation 200 Series PCH PCI Express Root Port #19 (rev f0)
IOMMU group 6:        [8086:a2ea] 00:1b.3 PCI bridge: Intel Corporation 200 Series PCH PCI Express Root Port #20 (rev f0)
IOMMU group 7:        [8086:a293] 00:1c.0 PCI bridge: Intel Corporation 200 Series PCH PCI Express Root Port #4 (rev f0)
IOMMU group 8:        [8086:a2c9] 00:1f.0 ISA bridge: Intel Corporation Z370 Chipset LPC/eSPI Controller
                 [8086:a2a1] 00:1f.2 Memory controller: Intel Corporation 200 Series/Z370 Chipset Family Power Management Controller
                 [8086:a2f0] 00:1f.3 Audio device: Intel Corporation 200 Series PCH HD Audio
                 [8086:a2a3] 00:1f.4 SMBus: Intel Corporation 200 Series/Z370 Chipset Family SMBus Controller
IOMMU group 9:        [197b:0585] 01:00.0 SATA controller: JMicron Technology Corp. JMB58x AHCI SATA controller
                    [7:0:0:0]    disk    ATA      TK0120GDJXT      HPG1  /dev/sdd    120GB
                    [8:0:0:0]    disk    ATA      TK0120GDJXT      HPG1  /dev/sde    120GB
IOMMU group 10:        [8086:2725] 02:00.0 Network controller: Intel Corporation Device 2725 (rev 1a)
IOMMU group 11:        [10ec:8168] 03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)

如果需要提供其他信息,我会第一时间回复,谢谢。

Edited by Mmdhejx

从IOMMU来看蓝牙走的USB总线

 

直通的时候只能直通整个USB控制器

 

目测无法单独直通蓝牙模块

 

找找资料能不能拆分IOMMU?🤔

  • Author
24 minutes ago, lagunapata said:

从IOMMU来看蓝牙走的USB总线

 

直通的时候只能直通整个USB控制器

 

目测无法单独直通蓝牙模块

 

找找资料能不能拆分IOMMU?🤔

谢谢,稍后我会尝试

  • Author
On 2/18/2022 at 4:55 PM, lagunapata said:

从IOMMU来看蓝牙走的USB总线

 

直通的时候只能直通整个USB控制器

 

目测无法单独直通蓝牙模块

 

找找资料能不能拆分IOMMU?🤔

看了spaceinvader的使用VFIO-PCI的直通教程,发现他弄出来了两个独立的USB总线,但我却只有一个。

1801712347_.thumb.png.532874b4119f5b155e45ed4f6b29ebb9.png

又爬了几个帖子,才知道原来我的主板只有一个USB控制器,所以导致还是无法实现我想达到的效果。

有人说也许可以通过BIOS设置,我明天会试一下;如果不行,我准备直接购买一个PCIE转USB扩展卡。

除了这个蓝牙问题,我感觉自己的虚拟机设置已经能够完全满足我的需求了。

谢谢你的提示,感激不尽。

Edited by Mmdhejx

  • 1 year later...
  • 大佬 我用的小吹雪 跟你情况一毛一样 网上方法都找遍了 都无解

微信截图_20230529025538.png

  • 3 weeks later...

我的AX210蓝牙直通给虚拟机可以的,unraid里面要屏蔽蓝牙驱动(控制台

lsmod | grep bt

显示空的说明可以了),虚拟机win11里面下载蓝牙驱动重新安装。

不用直通usb控制器,在vm编辑界面选择usb设备就行。

image.png.d683180a0266abffc266ecba0499c7d9.png

我的主板是asrock Z690 steel legend,unraid版本6.11.5

image.thumb.png.30ef3661ddbcfd989f5499166948145c.png

 

希望能帮助到你~

  • 1 month later...

你好,我也买了一张ax210插到了pcie接口上,unraid也能够识别这个设备,但是怎么使用ax210连接无线设备呢,我在“设置”-“网络设置”下面,看不到我插上的ax210网卡。下面是“工具”-“系统设备”下面的设备情况截图。
image.thumb.png.40895f02e7a825d8ce3e49fcc92c783f.png

下面是“设置”-“网络设置”下面的截图,只有一个eth0网口,这个是板载网卡。
image.thumb.png.f0854d1c4892f6c66f744d04dcc301d2.png

 

我现在不知道怎么在unraid下使用新买的网卡,在网上没有找到相关的教程,就来官网看看了,望各位大佬点拨一下。

首先,你这个ax210想用在哪里呢?unraid系统还是vm虚拟机里面?看你现在的设备截图,前面有小绿点表示已经vfio绑定了,直通到某个虚拟机里面了,所以在unraid系统里面没有网卡的,可以到直通的虚拟机里面找到。

Edited by neoherozzz

  • 3 months later...

找到组织了,我是AX211网卡一样的情况,wifi没问题,就是蓝牙直通打上驱动错误代码10

  • 5 months later...

各位解决了吗?

  • 4 weeks later...

amd 5700g+华擎B550m itx幻影电竞,板载ax201,unraid下homeasistant无法调用蓝牙,就干脆丢给win10的直通虚拟机里了,首先是vfio吧AX201网卡绑定,直通给虚拟机,然后虚拟机也要把蓝牙的usb设备勾上,然后去system driver那边,或者优盘下添加/config/modprobe.d/blacklist.conf文件(需要自己建立,玩amd核显直通啥的应该都建立过类似的conf文件),添加

blacklist btbcm
blacklist btintel
blacklist btrtl
blacklist btusb

几项,然后重新启动unraid,虚拟机装驱动就完事儿了,刚刚成功,可惜我是想把蓝牙丢给homeassistant用的,没找到好方法

  • 8 months later...
On 4/29/2024 at 3:26 PM, DaShiLiu said:

amd 5700g+华擎B550m itx幻影电竞,板载ax201,unraid下homeasistant无法调用蓝牙,就干脆丢给win10的直通虚拟机里了,首先是vfio吧AX201网卡绑定,直通给虚拟机,然后虚拟机也要把蓝牙的usb设备勾上,然后去system driver那边,或者优盘下添加/config/modprobe.d/blacklist.conf文件(需要自己建立,玩amd核显直通啥的应该都建立过类似的conf文件),添加

 

对我有用,正解,屏蔽系统底层驱动。

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.