• bluetooth que no empareja

    From hubble@21:1/5 to All on Wed Jul 10 21:00:01 2024
    Hola,
    Actualicé de Bullseye a bookworm hace unos meses en un ordenador algo viejo ya que no cuenta con bluetooth incorporado, utilizo un usb-bluetooth para oir audio en un altavoz bluetooth. Hasta la actualización el bluetooth funcionaba correctamente.

    Creí que el bluetooth se rompió el día que no conseguía emparejarse (Ha fallado la configuración del dispositivo, decía un mensaje de error cuando intentaba emparejar).

    Compré otro dispositivo usb-bluetooth y para mi sorpresa fallaba en lo mismo (Ha fallado la configuración del dispositivo, decía un mensaje de error).

    Fuí al portatil (desactive el bluetooth nativo) y allí sí que funciona.

    Eso me ha hecho deducir que el fallo está en mi sistema de escritorio.

    La única cosa que he sabido hacer es mirar el estado del servidor: ------------------------------------------------------
    ~# systemctl status bluetooth.service
    ● bluetooth.service - Bluetooth service
    Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; preset: enabled)
    Active: active (running) since Wed 2024-07-10 19:50:56 CEST; 1min 44s ago
    Docs: man:bluetoothd(8)
    Main PID: 8719 (bluetoothd)
    Status: "Running"
    Tasks: 1 (limit: 4513)
    Memory: 912.0K
    CPU: 48ms
    CGroup: /system.slice/bluetooth.service
    └─8719 /usr/libexec/bluetooth/bluetoothd

    de jul. 10 19:50:56 migjorn bluetoothd[8719]: Starting SDP server
    de jul. 10 19:50:56 migjorn bluetoothd[8719]: profiles/audio/vcp.c:vcp_init() D-Bus experimental not enabled
    de jul. 10 19:50:56 migjorn bluetoothd[8719]: src/plugin.c:plugin_init() Failed to init vcp plugin
    de jul. 10 19:50:56 migjorn bluetoothd[8719]: profiles/audio/mcp.c:mcp_init() D-Bus experimental not enabled
    de jul. 10 19:50:56 migjorn bluetoothd[8719]: src/plugin.c:plugin_init() Failed to init mcp plugin
    de jul. 10 19:50:56 migjorn bluetoothd[8719]: profiles/audio/bap.c:bap_init() D-Bus experimental not enabled
    de jul. 10 19:50:56 migjorn bluetoothd[8719]: src/plugin.c:plugin_init() Failed to init bap plugin
    de jul. 10 19:50:56 migjorn bluetoothd[8719]: Bluetooth management interface 1.22 initialized
    de jul. 10 19:51:14 migjorn bluetoothd[8719]: profiles/sap/server.c:sap_server_register() Sap driver initialization failed.
    de jul. 10 19:51:14 migjorn bluetoothd[8719]: sap-server: Operation not permitted (1)
    ----------------------------------------------------------------

    haciendo un: "cat /var/log/syslog | grep bluez"

    2024-07-10T12:51:14.776615+02:00 migjorn dbus-daemon[971]: [session uid=1000 pid=971] Activating via systemd: service name='org.bluez.obex' unit='obex.service' requested by ':1.15' (uid=1000 pid=1117 comm="/usr/bin/kded5")
    2024-07-10T12:51:14.778415+02:00 migjorn dbus-daemon[601]: [system] Activating via systemd: service name='org.bluez' unit='dbus-org.bluez.service' requested by ':1.31' (uid=1000 pid=1117 comm="/usr/bin/kded5")
    2024-07-10T12:51:14.850136+02:00 migjorn dbus-daemon[971]: [session uid=1000 pid=971] Successfully activated service 'org.bluez.obex'
    2024-07-10T12:51:14.970653+02:00 migjorn dbus-daemon[601]: [system] Successfully activated service 'org.bluez'
    2024-07-10T12:56:03.905931+02:00 migjorn wireplumber[1836]: SPA handle 'api.bluez5.enum.dbus' could not be loaded; is it installed?
    2024-07-10T18:54:04.458369+02:00 migjorn plasmashell[7113]: kf.bluezqt: PendingCall Error: "br-connection-profile-unavailable"
    2024-07-10T19:06:22.521831+02:00 migjorn plasmashell[7348]: kf.bluezqt: PendingCall Error: "br-connection-profile-unavailable"
    2024-07-10T19:15:12.141377+02:00 migjorn plasmashell[7485]: kf.bluezqt: PendingCall Error: "br-connection-profile-unavailable"


    Un # tail -f /var/log/syslog cuando se pincha el USB

    2024-07-10T20:51:38.638051+02:00 migjorn systemd[1]: systemd-rfkill.service: Deactivated successfully.
    2024-07-10T20:51:40.000500+02:00 migjorn kernel: [28926.753425] usb 2-1.4: new full-speed USB device number 68 using ehci-pci
    2024-07-10T20:51:40.080513+02:00 migjorn kernel: [28926.833425] usb 2-1.4: device descriptor read/64, error -32
    2024-07-10T20:51:40.268512+02:00 migjorn kernel: [28927.021423] usb 2-1.4: device descriptor read/64, error -32
    2024-07-10T20:51:40.456502+02:00 migjorn kernel: [28927.209426] usb 2-1.4: new full-speed USB device number 69 using ehci-pci
    2024-07-10T20:51:40.958623+02:00 migjorn kernel: [28927.710184] usb 2-1.4: New USB device found, idVendor=0a12, idProduct=0001, bcdDevice=19.58
    2024-07-10T20:51:40.958657+02:00 migjorn kernel: [28927.710192] usb 2-1.4: New USB device strings: Mfr=0, Product=2, SerialNumber=0
    2024-07-10T20:51:40.958660+02:00 migjorn kernel: [28927.710194] usb 2-1.4: Product: EDRClassone
    2024-07-10T20:51:40.958663+02:00 migjorn kernel: [28927.713929] Bluetooth: hci0: unexpected event for opcode 0x0000
    2024-07-10T20:51:40.960560+02:00 migjorn kernel: [28927.716930] Bluetooth: hci0: CSR: Setting up dongle with HCI ver=3 rev=07a6; LMP ver=3 subver=07a6; manufacturer=10
    2024-07-10T20:51:40.980744+02:00 migjorn systemd[944]: Reached target bluetooth.target - Bluetooth.
    2024-07-10T20:51:40.981614+02:00 migjorn systemd[1]: Starting systemd-rfkill.service - Load/Save RF Kill Switch Status...
    2024-07-10T20:51:40.986995+02:00 migjorn systemd[1]: Reached target bluetooth.target - Bluetooth Support.
    2024-07-10T20:51:40.990715+02:00 migjorn systemd[1]: Started systemd-rfkill.service - Load/Save RF Kill Switch Status.
    2024-07-10T20:51:41.205896+02:00 migjorn bluetoothd[10116]: profiles/sap/server.c:sap_server_register() Sap driver initialization failed.
    2024-07-10T20:51:41.206058+02:00 migjorn bluetoothd[10116]: sap-server: Operation not permitted (1)
    2024-07-10T20:51:41.208500+02:00 migjorn kernel: [28927.962143] Bluetooth: MGMT ver 1.22
    2024-07-10T20:51:45.993788+02:00 migjorn systemd[1]: systemd-rfkill.service: Deactivated successfully.

    Así que sí, encuentro errores.

    He reinstalado bluez bluez-obexd bluedevil, sin éxito.

    A ver si a alguien se le ocurre por donde puedo tirar para solucionarlo.

    gracias

    --

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Fernando C. Estrada@21:1/5 to All on Thu Jul 11 04:00:01 2024
    El miércoles, 10 de julio de 2024 a las 12:54 PM, hubble <hubble@telefonica.net> escribió:

    Actualicé de Bullseye a bookworm hace unos meses en un ordenador algo viejo ya que no cuenta con bluetooth incorporado, utilizo un usb-bluetooth para oir audio en un altavoz bluetooth. Hasta la actualización el bluetooth funcionaba correctamente.

    2024-07-10T12:56:03.905931+02:00 migjorn wireplumber[1836]: SPA handle 'api.bluez5.enum.dbus' could not be loaded; is it installed?

    A ver si a alguien se le ocurre por donde puedo tirar para solucionarlo.

    Intenta instalando "libspa-0.2-bluetooth" y nos cuentas.

    Saludos,

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From hubble@21:1/5 to Fernando C. Estrada on Thu Jul 11 17:10:01 2024
    On Thu, 11 Jul 2024 01:56:34 +0000
    "Fernando C. Estrada" <fcestrada@proton.me> wrote:

    El mircoles, 10 de julio de 2024 a las 12:54 PM, hubble <hubble@telefonica.net> escribi:

    Actualic de Bullseye a bookworm hace unos meses en un ordenador algo viejo ya que no cuenta con bluetooth incorporado, utilizo un usb-bluetooth para oir audio en un altavoz bluetooth. Hasta la actualizacin el bluetooth funcionaba correctamente.

    2024-07-10T12:56:03.905931+02:00 migjorn wireplumber[1836]: SPA handle 'api.bluez5.enum.dbus' could not be loaded; is it installed?

    A ver si a alguien se le ocurre por donde puedo tirar para solucionarlo.

    Intenta instalando "libspa-0.2-bluetooth" y nos cuentas.

    Saludos,




    _
    | |
    ___ | | __ _
    / _ \| |/ _` |
    | (_) | | (_| |
    \___/|_|\__,_|

    Bueno, no saba cmo hacer la ola en un email, creo que esta manera es correcta.

    La has clavado a la primera, ha sido instalar "libspa-0.2-bluetooth" y NO ha funcionado. Con tal de darle un poco de confianza he reiniciado "et voil" ya funciona!

    Muchas gracias Fernando 8-)



    --
    hubble <hubble@telefonica.net>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From hubble@21:1/5 to noelamac@gmail.com on Thu Jul 11 17:20:01 2024
    On Thu, 11 Jul 2024 08:43:14 +0200
    Camaleón <noelamac@gmail.com> wrote:

    El 2024-07-10 a las 20:54 +0200, hubble escribió:

    Hola,
    Actualicé de Bullseye a bookworm hace unos meses en un ordenador algo viejo ya que no cuenta con bluetooth incorporado, utilizo un usb-bluetooth para oir audio en un altavoz bluetooth. Hasta la actualización el bluetooth funcionaba correctamente.

    Creí que el bluetooth se rompió el día que no conseguía emparejarse (Ha fallado la configuración del dispositivo, decía un mensaje de error cuando intentaba emparejar).

    Compré otro dispositivo usb-bluetooth y para mi sorpresa fallaba en lo mismo (Ha fallado la configuración del dispositivo, decía un mensaje de error).

    Fuí al portatil (desactive el bluetooth nativo) y allí sí que funciona.

    Eso me ha hecho deducir que el fallo está en mi sistema de escritorio.

    La única cosa que he sabido hacer es mirar el estado del servidor: ------------------------------------------------------
    ~# systemctl status bluetooth.service
    ● bluetooth.service - Bluetooth service
    Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; preset: enabled)
    Active: active (running) since Wed 2024-07-10 19:50:56 CEST; 1min 44s ago
    Docs: man:bluetoothd(8)
    Main PID: 8719 (bluetoothd)
    Status: "Running"
    Tasks: 1 (limit: 4513)
    Memory: 912.0K
    CPU: 48ms
    CGroup: /system.slice/bluetooth.service
    └─8719 /usr/libexec/bluetooth/bluetoothd

    de jul. 10 19:50:56 migjorn bluetoothd[8719]: Starting SDP server
    de jul. 10 19:50:56 migjorn bluetoothd[8719]: profiles/audio/vcp.c:vcp_init() D-Bus experimental not enabled
    de jul. 10 19:50:56 migjorn bluetoothd[8719]: src/plugin.c:plugin_init() Failed to init vcp plugin
    de jul. 10 19:50:56 migjorn bluetoothd[8719]: profiles/audio/mcp.c:mcp_init() D-Bus experimental not enabled
    de jul. 10 19:50:56 migjorn bluetoothd[8719]: src/plugin.c:plugin_init() Failed to init mcp plugin
    de jul. 10 19:50:56 migjorn bluetoothd[8719]: profiles/audio/bap.c:bap_init() D-Bus experimental not enabled
    de jul. 10 19:50:56 migjorn bluetoothd[8719]: src/plugin.c:plugin_init() Failed to init bap plugin
    de jul. 10 19:50:56 migjorn bluetoothd[8719]: Bluetooth management interface 1.22 initialized
    de jul. 10 19:51:14 migjorn bluetoothd[8719]: profiles/sap/server.c:sap_server_register() Sap driver initialization failed.
    de jul. 10 19:51:14 migjorn bluetoothd[8719]: sap-server: Operation not permitted (1)
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

    (...)

    Ese mensaje puede ser signficativo.

    Así que sí, encuentro errores.

    He reinstalado bluez bluez-obexd bluedevil, sin éxito.

    A ver si a alguien se le ocurre por donde puedo tirar para solucionarlo.

    Te paso algunos enlaces que te pueden servir:

    Bluetooth speaker no sound. Sap driver initialization failed https://forums.bunsenlabs.org/viewtopic.php?id=7910

    [SOLVED]Can't Pair Bluetooth Devices https://forums.debian.net/viewtopic.php?t=151557

    [Testing - Bookworm] Bluetooth stopped working after upgrade [solved] https://forums.debian.net/viewtopic.php?t=154544

    Pero en Google encuentras muchos más:

    https://www.google.com/search?q=Sap+driver+initialization+failed

    Saludos,

    --
    Camaleón


    Muchas gracias Camaleon, pero dado el atino de Fernando C. Estrada ya no me ha hecho falta indagar más.

    Gracias.


    --
    hubble

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)