You are not logged in.

#1 2023-05-03 01:50:47

bisarch
Member
Registered: 2020-04-07
Posts: 60

udev thinks that the Bluetooth speaker is a keyboard

I am trying to play music from my Dell E5470 laptop on my Anker SoundCore Bluetooth speaker. I can pair and connect the two but cannot play music on the speaker. Here are the machine details.

 System:
  Host: redacted Kernel: 6.2.13-arch1-1 arch: x86_64 bits: 64
    Desktop: KDE Plasma v: 5.27.4 Distro: Arch Linux
Machine:
  Type: Laptop System: Dell product: Latitude E5470 v: N/A
    serial: <superuser required>
  Mobo: Dell model: N/A serial: <superuser required> UEFI-[Legacy]: Dell
    v: 1.18.6 date: 12/08/2017
Battery:
  ID-1: BAT0 charge: 26.3 Wh (100.0%) condition: 26.3/62.0 Wh (42.4%)
CPU:
  Info: dual core model: Intel Core i5-6300U bits: 64 type: MT MCP cache:
    L2: 512 KiB
  Speed (MHz): avg: 2704 min/max: 400/3000 cores: 1: 2719 2: 2700 3: 2700
    4: 2700
Graphics:
  Device-1: Intel Skylake GT2 [HD Graphics 520] driver: i915 v: kernel
  Device-2: Realtek Integrated_Webcam_HD type: USB driver: uvcvideo
  Display: x11 server: X.Org v: 21.1.8 driver: X: loaded: modesetting
    dri: iris gpu: i915 resolution: 1366x768~60Hz
  API: OpenGL v: 4.6 Mesa 23.0.3 renderer: Mesa Intel HD Graphics 520 (SKL
    GT2)
Audio:
  Device-1: Intel Sunrise Point-LP HD Audio driver: snd_hda_intel
  API: ALSA v: k6.2.13-arch1-1 status: kernel-api
Network:
  Device-1: Intel Ethernet I219-LM driver: e1000e
  IF: enp0s31f6 state: down mac: d4:81:d7:cd:2a:56
  Device-2: Intel Wireless 8260 driver: iwlwifi
  IF: wlp1s0 state: up mac: 14:ab:c5:be:44:ed
  IF-ID-1: ztkse26hfl state: unknown speed: 10000 Mbps duplex: full
    mac: 46:3b:f1:3e:a6:c8
Bluetooth:
  Device-1: Intel Bluetooth wireless interface type: USB driver: btusb
  Report: bt-adapter ID: hci0 state: up address: 14:AB:C5:BE:44:F1
RAID:
  Hardware-1: Intel 82801 Mobile SATA Controller [RAID mode] driver: ahci
Drives:
  Local Storage: total: 476.94 GiB used: 342.99 GiB (71.9%)
  ID-1: /dev/sda vendor: Kingfast model: N/A size: 476.94 GiB
Partition:
  ID-1: / size: 461.55 GiB used: 342.98 GiB (74.3%) fs: ext4 dev: /dev/sda1
Swap:
  ID-1: swap-1 type: partition size: 6.94 GiB used: 15.1 MiB (0.2%)
    dev: /dev/sda2
Sensors:
  System Temperatures: cpu: 57.0 C pch: 46.5 C mobo: 42.0 C sodimm: SODIMM C
  Fan Speeds (RPM): cpu: 0
Info:
  Processes: 254 Uptime: 1d 9h 57m Memory: 15.45 GiB used: 7.42 GiB (48.0%)
  Shell: Bash inxi: 3.3.26

When I looked at the Xorg.0.log file (not sure why those logs should go in that file, but that's beside the point), the relevant messages are

(II) event5  - Anker SoundCore (AVRCP): is tagged by udev as: Keyboard
(II) event5  - Anker SoundCore (AVRCP): device is a keyboard

So apparently udev is assuming that the speaker is a keyboard. I am not sure how to fix this. Thanks.

Offline

#2 2023-05-03 10:24:32

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 24,376

Re: udev thinks that the Bluetooth speaker is a keyboard

Nothing, your Bluetooth speaker is a keyboard for media keys it has that doesn't deter from it's function as a speaker.

To play to audio to bluetooth you normally need an implementation which redirects your outputs there. This is usually done via either pipewire or pulseaudio, what are you using here? Outputs of

pactl list cards
pactl list sinks

?

Offline

#3 2023-05-03 10:26:17

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 13,616

Re: udev thinks that the Bluetooth speaker is a keyboard

That entry shows (some part of) your device connects through the Audio/Video Remote Control Profile which suggests it is much more then  a speaker, see https://en.wikipedia.org/wiki/List_of_B … le_(AVRCP)

Often X / udev have multiple entries for one physical device, please post the full xorg log .

What are you using for sound system : pipewire , pulseaudio or alsa ?

Last edited by Lone_Wolf (2023-05-03 10:27:20)


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

Board footer

Powered by FluxBB