블루투스 마우스를 설정하려고 하는데 성공하지 못했습니다.
페도라 29를 사용하고 있는데 데비안 배포판에서도 테스트해봤는데 문제는 동일해서 배포판만의 관련 문제는 아닌 것 같은데...
마우스가 작동하고 Windows 컴퓨터에서 테스트했습니다.
Bluetoothctl은 매초마다 연결/연결 끊김을 표시하고 마우스도 움직이지 않습니다.
아래에는 몇 가지 흔적이 있습니다.
Bluez 설치: bluez-5.50-3.fc29.src.rpm (Bluez 5.50 x86_74)
sudo hcitool info 00:1F:20:8E:20:CE
Requesting information ...
BD Address: 00:1F:20:8E:20:CE
OUI Company: Logitech Europe SA (00-1F-20)
Device Name: Dell Travel Mouse WM524
LMP Version: 3.0 (0x5) LMP Subversion: 0x2211
Manufacturer: Broadcom Corporation (15)
Features page 0: 0xbc 0x04 0x82 0x78 0x00 0x06 0x59 0x83
<encryption> <slot offset> <timing accuracy> <role switch>
<sniff mode> <channel quality> <paging scheme>
<broadcast encrypt> <enhanced iscan> <interlaced iscan>
<interlaced pscan> <inquiry with RSSI> <sniff subrating>
<pause encryption> <extended inquiry> <simple pairing>
<encapsulated PDU> <non-flush flag> <LSTO> <inquiry TX power>
<extended features>
Features page 1: 0x01 0x00 0x00 0x00 0x00 0x00 0x00 0x00
블루투스 상태
systemctl status bluetooth:
● bluetooth.service - Bluetooth service
Loaded: loaded (/usr/lib/systemd/system/bluetooth.service; enabled; vendor preset: enabled)
Active: active (running) since Wed 2019-02-06 01:05:47 -02; 18min ago
Docs: man:bluetoothd(8)
Main PID: 821 (bluetoothd)
Status: "Running"
Tasks: 1 (limit: 4915)
Memory: 2.6M
CGroup: /system.slice/bluetooth.service
└─821 /usr/libexec/bluetooth/bluetoothd
Feb 06 01:06:03 localhost.localdomain bluetoothd[821]: RFCOMM server failed for Message Notification: socket(STREAM, RFCOMM): Protocol not supported (93)
Feb 06 01:06:03 localhost.localdomain bluetoothd[821]: RFCOMM server failed for Message Access: socket(STREAM, RFCOMM): Protocol not supported (93)
Feb 06 01:06:03 localhost.localdomain bluetoothd[821]: RFCOMM server failed for Phone Book Access: socket(STREAM, RFCOMM): Protocol not supported (93)
Feb 06 01:06:03 localhost.localdomain bluetoothd[821]: RFCOMM server failed for Synchronization: socket(STREAM, RFCOMM): Protocol not supported (93)
Feb 06 01:06:03 localhost.localdomain bluetoothd[821]: RFCOMM server failed for File Transfer: socket(STREAM, RFCOMM): Protocol not supported (93)
Feb 06 01:06:03 localhost.localdomain bluetoothd[821]: RFCOMM server failed for Object Push: socket(STREAM, RFCOMM): Protocol not supported (93)
Feb 06 01:07:01 localhost.localdomain bluetoothd[821]: Can't open HIDP control socket
Feb 06 01:07:02 localhost.localdomain bluetoothd[821]: Rejected connection from unknown device 00:1F:20:8E:20:CE
Feb 06 01:13:04 localhost.localdomain bluetoothd[821]: Can't open HIDP control socket
Feb 06 01:13:09 localhost.localdomain bluetoothd[821]: connect error: Host is down (112)
bluetoothctl을 사용하면 장치를 페어링할 수 있습니다.
[bluetooth]# pair 00:1F:20:8E:20:CE
Attempting to pair with 00:1F:20:8E:20:CE
[CHG] Device 00:1F:20:8E:20:CE Connected: yes
[CHG] Device 00:1F:20:8E:20:CE Modalias: usb:v046DpB00Ed0800
[CHG] Device 00:1F:20:8E:20:CE UUIDs: 00001000-0000-1000-8000-00805f9b34fb
[CHG] Device 00:1F:20:8E:20:CE UUIDs: 00001124-0000-1000-8000-00805f9b34fb
[CHG] Device 00:1F:20:8E:20:CE UUIDs: 00001200-0000-1000-8000-00805f9b34fb
[CHG] Device 00:1F:20:8E:20:CE ServicesResolved: yes
[CHG] Device 00:1F:20:8E:20:CE Paired: yes
Pairing successful
[CHG] Device 00:1F:20:8E:20:CE ServicesResolved: no
[CHG] Device 00:1F:20:8E:20:CE Connected: no
페어링 후 연결을 시도하고...:
[bluetooth]# connect 00:1F:20:8E:20:CE
Attempting to connect to 00:1F:20:8E:20:CE
Failed to connect: org.bluez.Error.Failed
[CHG] Device 00:1F:20:8E:20:CE Connected: yes
[CHG] Device 00:1F:20:8E:20:CE Connected: no
[CHG] Device 00:1F:20:8E:20:CE Connected: yes
[CHG] Device 00:1F:20:8E:20:CE Connected: no
[CHG] Device 00:1F:20:8E:20:CE Connected: yes
[CHG] Device 00:1F:20:8E:20:CE Connected: no
[CHG] Device 00:1F:20:8E:20:CE Connected: yes
[CHG] Device 00:1F:20:8E:20:CE Connected: no
무슨 일이 일어날 수 있나요?
답변1
방금 시도해 보았는데 효과가 있어서 정말 다행 [bluetooth]# trust 00:1F:20:8E:20:CE
이었습니다!
하지만 이전에는 시도했지만 성공하지 못했습니다. 차이점은 이제 마우스를 켰을 때 일어나는 일을 신뢰하려고 한다는 것입니다.페어링 모드…그것이 큰 변화를 가져오는 것 같습니다.
페어링 모드를 신뢰하지 않으면 아무 일도 일어나지 않습니다.