본문 바로가기
서버/리눅스 서버

INTEL NUC7PJYH 데비안 블루투스/BLE 펌웨어 설치하기

by 도정진 ㅋㅋ잠자 2021. 1. 9.
728x90

안녕하세요? 블루투스가 안되어 당황하였으나, 하기와 같이 설치 하였습니다.


일단 dmesg 를 보니 하기와 같이 펌웨어가 없다고 나오네요.


root@debian:/lib/modules/5.4.73-1-pve/kernel/drivers/bluetooth# dmesg | grep firmware

[    4.085389] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2

[    4.109791] Bluetooth: hci0: Minimum firmware build 1 week 10 2014

[    4.110512] bluetooth hci0: Direct firmware load for intel/ibt-17-16-1.sfi failed with error -2

[    4.110514] Bluetooth: hci0: Failed to load Intel firmware file (-2)

[    4.121027] iwlwifi 0000:00:0c.0: loaded firmware version 46.8902351f.0 op_mode iwlmvm

[    4.191075] iwlwifi 0000:00:0c.0: Allocated 0x00400000 bytes for firmware monitor.

[    4.232204] [drm] Finished loading DMC firmware i915/glk_dmc_ver1_04.bin (v1.4)

[ 4708.752167] Bluetooth: hci0: Minimum firmware build 1 week 10 2014

[ 4708.755139] bluetooth hci0: Direct firmware load for intel/ibt-17-16-1.sfi failed with error -2

[ 4708.755147] Bluetooth: hci0: Failed to load Intel firmware file (-2)

[ 4954.408824] Bluetooth: hci0: Minimum firmware build 1 week 10 2014

[ 4954.408853] bluetooth hci0: Direct firmware load for intel/ibt-17-16-1.sfi failed with error -2

[ 4954.408856] Bluetooth: hci0: Failed to load Intel firmware file (-2)


그래서 찾아서 넣어줬습니다.


root@debian:~# cd /lib/firmware/intel/


root@debian:/lib/firmware/intel# wget https://github.com/wkennington/linux-firmware/raw/master/intel/ibt-17-16-1.sfi
root@debian:/lib/firmware/intel# wget https://github.com/wkennington/linux-firmware/raw/master/intel/ib
t-17-16-1.ddc


이후 잘 켜집니다.


root@debian:/lib/firmware/intel# hciconfig hci0 up

root@debian:/lib/firmware/intel# hciconfig

hci0:   Type: Primary  Bus: USB

        BD Address: 50:76:AF:AC:0E:71  ACL MTU: 1021:4  SCO MTU: 96:6

        UP RUNNING INQUIRY

        RX bytes:20924 acl:0 sco:0 events:2814 errors:0

        TX bytes:666124 acl:0 sco:0 commands:2791 errors:0


이라이트 BT 모델 연동 잘 됩니다.


bash-5.0# export YEELIGHTBT_MAC=F8:24:41:E0:92:12

bash-5.0# yeelightbt scan

Scanning for 5 seconds

Devices found:

Bedlight lamp v1  f8:24:41:e0:92:12 (XMCTD_9212), rssi=-76


bash-5.0# yeelightbt scan

Scanning for 5 seconds

Devices found:

Bedlight lamp v1  f8:24:41:e0:92:12 (XMCTD_9212), rssi=-72


bash-5.0# yeelightbt

WARNING:yeelightbt.connection:Unable to connect to the device F8:24:41:E0:92:12, retrying: Failed to connect to peripheral F8:24:41:E0:92:12, addr type: public

INFO:yeelightbt.connection:Requesting characteristics for uuid 8f65073d-9f57-4aaa-afea-397d19d5bbeb

INFO:yeelightbt.connection:Requesting characteristics for uuid aa7d3f34-2d4f-41e0-807f-52fbf8cf7443

Waiting for pairing, please push the button/change the brightness

We are paired.

Got notif: <Lamp F8:24:41:E0:92:12 is_on(True) mode(White) rgb((0, 0, 0, 0)) brightness(55) colortemp(4000)>

MAC: F8:24:41:E0:92:12

  Mode: White

  Color: (0, 0, 0, 0)

  Temperature: 4000

  Brightness: 55


감사합니다.

728x90

댓글0