蓝牙设备名称错误

蓝牙设备名称错误

已配对蓝牙耳机,以下是信息..

[HD 350BT]# info
Device 00:1B:66:1D:19:FE (public)
    Name: LE-HD 350BT
    Alias: LE-HD 350BT
    Class: 0x00240418
    Icon: audio-card
    Paired: yes
    Trusted: yes
    Blocked: no
    Connected: yes
    LegacyPairing: no
    UUID: Headset                   (00001108-0000-1000-8000-00805f9b34fb)
    UUID: Audio Sink                (0000110b-0000-1000-8000-00805f9b34fb)
    UUID: A/V Remote Control Target (0000110c-0000-1000-8000-00805f9b34fb)
    UUID: A/V Remote Control        (0000110e-0000-1000-8000-00805f9b34fb)
    UUID: Handsfree                 (0000111e-0000-1000-8000-00805f9b34fb)
    UUID: PnP Information           (00001200-0000-1000-8000-00805f9b34fb)
    UUID: Generic Access Profile    (00001800-0000-1000-8000-00805f9b34fb)
    UUID: Generic Attribute Profile (00001801-0000-1000-8000-00805f9b34fb)
    UUID: Device Information        (0000180a-0000-1000-8000-00805f9b34fb)
    UUID: Battery Service           (0000180f-0000-1000-8000-00805f9b34fb)
    UUID: Unknown                   (0000fdce-0000-1000-8000-00805f9b34fb)
    UUID: Vendor specific           (a2129ff3-081b-4c45-8afe-469d9c4842eb)
    Modalias: bluetooth:v000Ap0160dFFFF

但根据系统日志显示设备注册为键盘

Apr 20 11:08:35 doit /usr/lib/gdm3/gdm-x-session[2423]: (II) XINPUT: Adding extended input device "HD 350BT (AVRCP)" (type: KEYBOARD, id 23)
Apr 20 11:08:35 doit /usr/lib/gdm3/gdm-x-session[2423]: (II) event21 - HD 350BT (AVRCP): is tagged by udev as: Keyboard
Apr 20 11:08:35 doit /usr/lib/gdm3/gdm-x-session[2423]: (II) event21 - HD 350BT (AVRCP): device is a keyboard

从蓝牙设备信息类别来看,它被明确定义为耳机类别。系统日志写入的信息是错误还是问题?

答案1

该设备可能有一些按钮,因此xinput可以将它们用作“钥匙”。我认为耳机运行良好没有问题。

而且问题标题也不正确,添加xinput新设备不代表“设备名称错误”。

相关内容