Por que não consigo conectar o seguinte mouse:
# lsusb
...
Bus 001 Device 002: ID 19ff:0239 Dynex
...
O dispositivo 2, o controlador, está funcionando bem, depois de pesquisar no Google o Hex ID (Veja a resposta: Atualização de firmware para ver como fiz funcionar, caso você esteja curioso. Aqui é onde estou perplexo. Usando Gentoo Bluetooth Wiki e as páginas Arch Bluetooth Mouse , a seguir está a saída que recebo de blutoothctl
:
# bluetoothctl
Agent registered
[bluetooth]# list
Controller BC:14:EF:65:E9:62 bedroom-gentoo [default]
[bluetooth]# show BC:14:EF:65:E9:62
Controller BC:14:EF:65:E9:62 (public)
Name: bedroom-gentoo
Alias: bedroom-gentoo
Class: 0x001c0104
Powered: yes
Discoverable: yes
Pairable: yes
UUID: Generic Attribute Profile (00001801-0000-1000-8000-00805f9b34fb)
UUID: A/V Remote Control (0000110e-0000-1000-8000-00805f9b34fb)
UUID: OBEX File Transfer (00001106-0000-1000-8000-00805f9b34fb)
UUID: Generic Access Profile (00001800-0000-1000-8000-00805f9b34fb)
UUID: OBEX Object Push (00001105-0000-1000-8000-00805f9b34fb)
UUID: PnP Information (00001200-0000-1000-8000-00805f9b34fb)
UUID: A/V Remote Control Target (0000110c-0000-1000-8000-00805f9b34fb)
UUID: IrMC Sync (00001104-0000-1000-8000-00805f9b34fb)
UUID: Audio Source (0000110a-0000-1000-8000-00805f9b34fb)
UUID: Audio Sink (0000110b-0000-1000-8000-00805f9b34fb)
UUID: Message Notification Se.. (00001133-0000-1000-8000-00805f9b34fb)
UUID: Phonebook Access Server (0000112f-0000-1000-8000-00805f9b34fb)
UUID: Message Access Server (00001132-0000-1000-8000-00805f9b34fb)
Modalias: usb:v1D6Bp0246d0531
Discovering: yes
[bluetooth]# select BC:14:EF:65:E9:62
[bluetooth]# power off
Changing power off succeeded
[CHG] Controller BC:14:EF:65:E9:62 Powered: no
[CHG] Controller BC:14:EF:65:E9:62 Discovering: no
[CHG] Controller BC:14:EF:65:E9:62 Class: 0x00000000
[bluetooth]# power on
[CHG] Controller BC:14:EF:65:E9:62 Class: 0x001c0104
Changing power on succeeded
[CHG] Controller BC:14:EF:65:E9:62 Powered: yes
[CHG] Controller BC:14:EF:65:E9:62 Discovering: yes
[CHG] Controller BC:14:EF:65:E9:62 DiscoverableTimeout: 0x00000000
[CHG] Controller BC:14:EF:65:E9:62 DiscoverableTimeout: 0x00000000
[bluetooth]# agent on
Agent is already registered
[bluetooth]# default-agent
Default agent request successful
[bluetooth]# discoverable on
Changing discoverable on succeeded
[bluetooth]# pairable on
Changing pairable on succeeded
[bluetooth]# scan on
Discovery started
[NEW] Device 34:88:5D:87:C7:CE Bluetooth Mouse M336/M337/M535
[CHG] Device 34:88:5D:87:C7:CE Connected: no
[DEL] Device 34:88:5D:87:C7:CE Bluetooth Mouse M336/M337/M535
[NEW] Device 34:88:5D:87:C7:CE Bluetooth Mouse M336/M337/M535
[CHG] Device 34:88:5D:87:C7:CE Connected: no
[DEL] Device 34:88:5D:87:C7:CE Bluetooth Mouse M336/M337/M535
Observe as linhas NEW, CHG e DEL para o mouse Bluetooth M336/M337/M535 (recebo as linhas NEW, CHG e DEL somente ao pressionar o botão de emparelhamento). Sempre que tento conectar a confiança ou emparelhar o item, recebo:
[bluetooth]# pair 34:88:5D:87:C7:CE
Device 34:88:5D:87:C7:CE not available
Estou tentando converter meus periféricos em Bluetooth para salvar minhas portas USB frontais. Não me atrevo a experimentar meus novos fones de ouvido até ter um mouse funcionando.
Eu olhei para a embalagem hoje, e o mouse é oficialmente embalado como Logitech M535 Bluetooth Mouse
Problema resolvido, perdi uma etapa no Wiki do Bluetooth. Adicionei meu usuário ao grupo plugdev com:
usermod -a -G plugdev ecyoung