这两天/dev下的hci0设备文件突然不见了,hciconfig、hcitool等命令也消失了,前几天还在,不知道是什么原因。
附上dmsg有关蓝牙的信息:
[ 16.370145] Bluetooth: Core ver 2.22
[ 16.370192] Bluetooth: HCI device and connection manager initialized
[ 16.370200] Bluetooth: HCI socket layer initialized
[ 16.370205] Bluetooth: L2CAP socket layer initialized
[ 16.370217] Bluetooth: SCO socket layer initialized
[ 17.443558] Bluetooth: hci0: BCM: chip id 70
[ 17.459533] Bluetooth: hci0: BCM43142A
[ 17.459538] Bluetooth: hci0: BCM (001.001.011) build 0000
[ 17.574285] bluetooth hci0: Direct firmware load for brcm/BCM.hcd failed with error -2
[ 17.574298] Bluetooth: hci0: BCM: Patch brcm/BCM.hcd not found
[ 19.605307] Bluetooth: hci0 command 0x1003 tx timeout
[ 20.812806] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 20.812811] Bluetooth: BNEP filters: protocol multicast
[ 20.812821] Bluetooth: BNEP socket layer initialized
离线
hciconfig、hcitool这些命令是哪个软件包里的?
离线
没有软件包包含 hciconfig, hcitool:
~$ pkgfile -b hciconfig
~$ pkgfile -b hcitool
~$
离线
我创建了一个BCM.hcd的符号链接,现在已经可以使用蓝牙了,只是/dev下的hci0文件以及系统命令hciconfig,hcitool等还是没有,这是什么原因?
离线
还有两个问题:
1、用蓝牙无法向手机传送程序文件,但可以传送其他文件如文档文件和动态库文件;
2、系统睡眠又唤醒后,蓝牙无法使用了。
以下是一些信息:
$ dmesg | grep -i bluetooth
[ 15.960937] Bluetooth: Core ver 2.22
[ 15.961014] Bluetooth: HCI device and connection manager initialized
[ 15.961027] Bluetooth: HCI socket layer initialized
[ 15.961034] Bluetooth: L2CAP socket layer initialized
[ 15.961054] Bluetooth: SCO socket layer initialized
[ 16.314823] Bluetooth: hci0: BCM: chip id 70
[ 16.330840] Bluetooth: hci0: Sarch
[ 16.330848] Bluetooth: hci0: BCM (001.001.011) build 0336
[ 17.112720] Bluetooth: hci0: BCM (001.001.011) build 0336
[ 17.128759] Bluetooth: hci0: BCM43142A0 Generic USB Class 2 NonUHE @ 20 MHz
[ 21.304930] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 21.304935] Bluetooth: BNEP filters: protocol multicast
[ 21.304944] Bluetooth: BNEP socket layer initialized
[ 52.527254] Modules linked in: cmac bnep amdgpu dell_led snd_hda_codec_realtek snd_hda_codec_generic snd_hda_codec_hdmi edac_mce_amd edac_core kvm_amd nls_iso8859_1 kvm nls_cp437 vfat irqbypass dell_laptop crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel dell_wmi sparse_keymap dell_smbios dcdbas fat aesni_intel btusb dell_smm_hwmon aes_x86_64 lrw btrtl gf128mul glue_helper btbcm btintel pcspkr rtsx_usb_ms bluetooth ablk_helper cryptd wl(PO) evdev memstick amdkfd uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 videobuf2_core videodev media snd_hda_intel joydev mousedev input_leds mac_hid amd_iommu_v2 radeon r8169 snd_hda_codec ttm drm_kms_helper drm ccp cfg80211 syscopyarea sysfillrect sysimgblt dell_rbtn wmi snd_hda_core snd_hwdep snd_pcm fam15h_power k10temp snd_timer fb_sys_fops
[ 57.871526] Bluetooth: hci0: BCM: chip id 70
[ 57.890498] Bluetooth: hci0: BCM43142A
[ 57.890506] Bluetooth: hci0: BCM (001.001.011) build 0000
[ 58.554489] Bluetooth: hci0: BCM (001.001.011) build 0336
[ 58.570470] Bluetooth: hci0: BCM43142A0 Generic USB Class 2 NonUHE @ 20 MHz
[ 125.717199] Bluetooth: RFCOMM TTY layer initialized
[ 125.717215] Bluetooth: RFCOMM socket layer initialized
[ 125.717229] Bluetooth: RFCOMM ver 1.11
[ 1402.197400] Bluetooth: hci0 command 0x1001 tx timeout
[ 1410.090720] Bluetooth: hci0: BCM: Reading local version info failed (-110)
[ 1415.684216] Modules linked in: rfcomm fuse cmac bnep amdgpu dell_led snd_hda_codec_realtek snd_hda_codec_generic snd_hda_codec_hdmi edac_mce_amd edac_core kvm_amd nls_iso8859_1 kvm nls_cp437 vfat irqbypass dell_laptop crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel dell_wmi sparse_keymap dell_smbios dcdbas fat aesni_intel btusb dell_smm_hwmon aes_x86_64 lrw btrtl gf128mul glue_helper btbcm btintel pcspkr rtsx_usb_ms bluetooth ablk_helper cryptd wl(PO) evdev memstick amdkfd uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 videobuf2_core videodev media snd_hda_intel joydev mousedev input_leds mac_hid amd_iommu_v2 radeon r8169 snd_hda_codec ttm drm_kms_helper drm ccp cfg80211 syscopyarea sysfillrect sysimgblt dell_rbtn wmi snd_hda_core snd_hwdep snd_pcm fam15h_power k10temp
离线
刚刚我尝试了一下给程序文件加上后缀.exe结果蓝牙可以正常传送到手机了。只能传输带点号的文件,这属于gnome的bluetooth-sendto的一个bug吗?
离线