kin*_*ilo 54
当您启动 Ubuntu 时,您的内核会选择它并为它加载一个模块。从命令行,gnome-terminal 键入以下命令:
dmesg | grep -i blue
Run Code Online (Sandbox Code Playgroud)
如果您得到类似于下面的输出,那么您的笔记本电脑具有蓝牙功能。
[ 2.933062] usb 1-1.4: Product: Broadcom Bluetooth Device
Run Code Online (Sandbox Code Playgroud)
saj*_*i89 26
使用lsusb
:
sudo lsusb |grep Bluetooth
Run Code Online (Sandbox Code Playgroud)
应该给出类似于以下内容的输出:
Device 005: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)
Run Code Online (Sandbox Code Playgroud)
如果没有蓝牙设备,您将不会获得此命令的输出。
礼貌: https : //help.ubuntu.com/community/BluetoothSetup#Manual_Discovery
Til*_*unt 21
在我的华硕笔记本电脑上,我的右上角有一个蓝牙图标
dmesg | grep Blue
Run Code Online (Sandbox Code Playgroud)
获取:
[ 3.757769] Bluetooth: Core ver 2.16
[ 3.757798] Bluetooth: HCI device and connection manager initialized
[ 3.757802] Bluetooth: HCI socket layer initialized
[ 3.757805] Bluetooth: L2CAP socket layer initialized
[ 3.757814] Bluetooth: SCO socket layer initialized
[ 3.767297] Bluetooth: Generic Bluetooth USB driver ver 0.6
[ 4.332846] Bluetooth: RFCOMM TTY layer initialized
[ 4.332853] Bluetooth: RFCOMM socket layer initialized
[ 4.332856] Bluetooth: RFCOMM ver 1.11
[ 4.340772] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 4.340776] Bluetooth: BNEP filters: protocol multicast
Run Code Online (Sandbox Code Playgroud)
但是:sudo lsusb |grep Bluetooth
不返回任何东西。
还要检查您是否有硬件网络(飞行模式)开关。这可以禁用蓝牙并使其对 Ubuntu 不可见
lan*_*oni 12
在我的案例中,所有建议的答案都未能产生正确的结果。要检测我的笔记本电脑是否确实有蓝牙适配器,我必须按照以下说明进行操作:
sudo apt-get install bluez-utils
Run Code Online (Sandbox Code Playgroud)
然后:
sudo /etc/init.d/bluetooth restart
Run Code Online (Sandbox Code Playgroud)
以上确保您已安装所需的所有内容,并且所有内容均已正确初始化。现在:
geek@liv-inspiron:~$ hcitool dev
Devices:
hci0 00:11:95:00:1A:CF
Run Code Online (Sandbox Code Playgroud)
请注意,您的蓝牙设备将具有不同的 ID。我还必须确保 Blueman 中的蓝牙是Turned On
.
在两者之前或之后lsusb |grep -i bluetooth
,dmesg | grep -i blue
不要输出任何感兴趣的东西(即空)。然而,蓝牙适配器实际存在,我可以将文件发送到另一台设备......
归档时间: |
|
查看次数: |
119701 次 |
最近记录: |