You are not logged in.
I installed [bluez pulseaudio-bluetooth] 1 year ago and ran [sudo systemctl enable bluetooth.service] then.
So that my bluetooth will enable automatically when boot
Recently I update my system `sudo pacman -Syu` 1~2 times
Until today I open my computer and found that the bluetooth need me enable manually, every time I boot.
(base) [firestar@Archlinux ~]$ systemctl list-unit-files
UNIT FILE STATE PRESET
proc-sys-fs-binfmt_misc.automount static -
-.mount generated -
boot.mount generated -
dev-hugepages.mount static -
dev-mqueue.mount static -
home-firestar-C.mount generated -
home-firestar-D.mount generated -
proc-sys-fs-binfmt_misc.mount disabled disabled
sys-fs-fuse-connections.mount static -
sys-kernel-config.mount static -
sys-kernel-debug.mount static -
sys-kernel-tracing.mount static -
tmp.mount static -
var-lib-machines.mount static -
gpm.path static -
systemd-ask-password-console.path static -
systemd-ask-password-plymouth.path static -
systemd-ask-password-wall.path static -
session-2.scope transient -
accounts-daemon.service disabled disabled
archlinux-keyring-wkd-sync.service static -
audit-rules.service disabled disabled
auditd.service disabled disabled
autovt@.service alias -
avahi-daemon.service disabled disabled
avahi-dnsconfd.service disabled disabled
blk-availability.service disabled disabled
bluetooth.service enabled disabled
bolt.service static -
btrfs-scrub@.service static -
canberra-system-bootup.service disabled disabled
canberra-system-shutdown-reboot.service disabled disabled
canberra-system-shutdown.service disabled disabled
console-getty.service disabled disabledWrite programs that do one thing and do it well.
Write programs to work together.
Write programs to handle text streams, because that is a universal interface.
Offline
What do you mean by your bluetooth isn't enabled every time you boot? Systemctl says that it's enabled so I don't know what the problem is
I play the trumpet!
Offline
post the output of 'systemctl status bluetooth.service' and 'rfkill' and 'journalctl -b | curl -F 'file=@-' 0x0.st'
Why I run Arch? To "BTW I run Arch" the guy one grade younger.
And to let my siblings and cousins laugh at Arsch Linux...
Offline
(base) [firestar@Archlinux ~]$ systemctl status bluetooth.service
● bluetooth.service - Bluetooth service
Loaded: loaded (/usr/lib/systemd/system/bluetooth.service; enabled; preset: disabled)
Active: active (running) since Fri 2024-03-22 13:46:41 CST; 1h 48min ago
Docs: man:bluetoothd(8)
Main PID: 856 (bluetoothd)
Status: "Running"
Tasks: 1 (limit: 18832)
Memory: 3.5M (peak: 4.0M)
CPU: 11.257s
CGroup: /system.slice/bluetooth.service
└─856 /usr/lib/bluetooth/bluetoothd
Mar 22 13:47:27 Archlinux bluetoothd[856]: Endpoint registered: sender=:1.64 path=/MediaEndpoint/A2DPSink/sbc_xq_453
Mar 22 13:47:27 Archlinux bluetoothd[856]: Endpoint registered: sender=:1.64 path=/MediaEndpoint/A2DPSource/sbc_xq_453
Mar 22 13:47:27 Archlinux bluetoothd[856]: Endpoint registered: sender=:1.64 path=/MediaEndpoint/A2DPSink/sbc_xq_512
Mar 22 13:47:27 Archlinux bluetoothd[856]: Endpoint registered: sender=:1.64 path=/MediaEndpoint/A2DPSource/sbc_xq_512
Mar 22 13:47:27 Archlinux bluetoothd[856]: Endpoint registered: sender=:1.64 path=/MediaEndpoint/A2DPSink/sbc_xq_552
Mar 22 13:47:27 Archlinux bluetoothd[856]: Endpoint registered: sender=:1.64 path=/MediaEndpoint/A2DPSource/sbc_xq_552
Mar 22 13:47:27 Archlinux bluetoothd[856]: Endpoint registered: sender=:1.64 path=/MediaEndpoint/A2DPSink/faststream
Mar 22 13:47:27 Archlinux bluetoothd[856]: Endpoint registered: sender=:1.64 path=/MediaEndpoint/A2DPSource/faststream
Mar 22 13:47:27 Archlinux bluetoothd[856]: Failed to add UUID: Failed (0x03)
Mar 22 13:47:27 Archlinux bluetoothd[856]: Failed to add UUID: Failed (0x03)I clearly remembered that it is not enabled when I open my computer at 13:47:27, and I enabled it manually
(base) [firestar@Archlinux ~]$ rfkill
ID TYPE DEVICE SOFT HARD
0 bluetooth tpacpi_bluetooth_sw unblocked unblocked
1 wlan phy0 unblocked unblocked
2 bluetooth hci0 unblocked unblocked(base) [firestar@Archlinux ~]$ journalctl -b | curl -F 'file=@PKGBUILD' 0x0.st
http://0x0.st/Xrlf.txtWrite programs that do one thing and do it well.
Write programs to work together.
Write programs to handle text streams, because that is a universal interface.
Offline
(base) [firestar@Archlinux ~]$ journalctl -xeu bluetooth.service
░░ Subject: A start job for unit bluetooth.service has begun execution
Mar 22 13:46:40 Archlinux systemd[1]: Starting Bluetooth service...
░░ Subject: A start job for unit bluetooth.service has begun execution
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░
░░ A start job for unit bluetooth.service has begun execution.
░░
░░ The job identifier is 1387.
Mar 22 13:46:41 Archlinux bluetoothd[856]: Bluetooth daemon 5.73
Mar 22 13:46:41 Archlinux systemd[1]: Started Bluetooth service.
░░ Subject: A start job for unit bluetooth.service has finished successfully
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░
░░ A start job for unit bluetooth.service has finished successfully.
░░
░░ The job identifier is 1387.
Mar 22 13:46:41 Archlinux bluetoothd[856]: Starting SDP server
Mar 22 13:46:41 Archlinux bluetoothd[856]: src/plugin.c:init_plugin() System does not support bap plugin
Mar 22 13:46:41 Archlinux bluetoothd[856]: src/plugin.c:init_plugin() System does not support bass plugin
Mar 22 13:46:41 Archlinux bluetoothd[856]: src/plugin.c:init_plugin() System does not support mcp plugin
Mar 22 13:46:41 Archlinux bluetoothd[856]: src/plugin.c:init_plugin() System does not support vcp plugin
Mar 22 13:46:41 Archlinux bluetoothd[856]: profiles/audio/micp.c:micp_init() D-Bus experimental not enabled
Mar 22 13:46:41 Archlinux bluetoothd[856]: src/plugin.c:init_plugin() System does not support micp plugin
Mar 22 13:46:41 Archlinux bluetoothd[856]: src/plugin.c:init_plugin() System does not support ccp plugin
Mar 22 13:46:41 Archlinux bluetoothd[856]: src/plugin.c:init_plugin() System does not support csip plugin
Mar 22 13:46:41 Archlinux bluetoothd[856]: Bluetooth management interface 1.22 initialized
Mar 22 13:46:42 Archlinux bluetoothd[856]: Battery Provider Manager created
Mar 22 13:46:42 Archlinux bluetoothd[856]: src/device.c:device_set_wake_support() Unable to set wake_support without RPA resolution
Mar 22 13:46:42 Archlinux bluetoothd[856]: src/device.c:set_wake_allowed_complete() Set device flags return status: Invalid Parameters
Mar 22 13:47:26 Archlinux bluetoothd[856]: src/adv_monitor.c:btd_adv_monitor_power_down() Unexpected NULL btd_adv_monitor_manager object u>
Mar 22 13:47:27 Archlinux bluetoothd[856]: Failed to add UUID: Failed (0x03)
Mar 22 13:47:27 Archlinux bluetoothd[856]: Failed to add UUID: Failed (0x03)
Mar 22 13:47:27 Archlinux bluetoothd[856]: Endpoint registered: sender=:1.64 path=/MediaEndpoint/A2DPSink/sbc
Mar 22 13:47:27 Archlinux bluetoothd[856]: Endpoint registered: sender=:1.64 path=/MediaEndpoint/A2DPSource/sbc
Mar 22 13:47:27 Archlinux bluetoothd[856]: Endpoint registered: sender=:1.64 path=/MediaEndpoint/A2DPSink/sbc_xq_453
Mar 22 13:47:27 Archlinux bluetoothd[856]: Endpoint registered: sender=:1.64 path=/MediaEndpoint/A2DPSource/sbc_xq_453
Mar 22 13:47:27 Archlinux bluetoothd[856]: Endpoint registered: sender=:1.64 path=/MediaEndpoint/A2DPSink/sbc_xq_512
Mar 22 13:47:27 Archlinux bluetoothd[856]: Endpoint registered: sender=:1.64 path=/MediaEndpoint/A2DPSource/sbc_xq_512
Mar 22 13:47:27 Archlinux bluetoothd[856]: Endpoint registered: sender=:1.64 path=/MediaEndpoint/A2DPSink/sbc_xq_552
Mar 22 13:47:27 Archlinux bluetoothd[856]: Endpoint registered: sender=:1.64 path=/MediaEndpoint/A2DPSource/sbc_xq_552
Mar 22 13:47:27 Archlinux bluetoothd[856]: Endpoint registered: sender=:1.64 path=/MediaEndpoint/A2DPSink/faststream
Mar 22 13:47:27 Archlinux bluetoothd[856]: Endpoint registered: sender=:1.64 path=/MediaEndpoint/A2DPSource/faststream
Mar 22 13:47:27 Archlinux bluetoothd[856]: Failed to add UUID: Failed (0x03)
Mar 22 13:47:27 Archlinux bluetoothd[856]: Failed to add UUID: Failed (0x03)Write programs that do one thing and do it well.
Write programs to work together.
Write programs to handle text streams, because that is a universal interface.
Offline
I clearly remembered that it is not enabled when I open my computer at 13:47:27, and I enabled it manually
The journal rembers differently
Mar 22 13:46:40 Archlinux systemd[1]: Starting Bluetooth service...
Mar 22 13:46:41 Archlinux bluetoothd[856]: Bluetooth daemon 5.73
Mar 22 13:46:41 Archlinux systemd[1]: Started Bluetooth service.
Mar 22 13:46:41 Archlinux bluetoothd[856]: Starting SDP server
…Please check the status after a reboot, ie. the actually concerned state and NEVER use "-x" w/ the journal, it's just cluttering spam.
http://0x0.st/Xrlf.txt is some PKGBUILD
Online
I clearly remembered that it is not enabled when I open my computer at 13:47:27, and I enabled it manually
(base) [firestar@Archlinux ~]$ rfkill ID TYPE DEVICE SOFT HARD 0 bluetooth tpacpi_bluetooth_sw unblocked unblocked 1 wlan phy0 unblocked unblocked 2 bluetooth hci0 unblocked unblocked
So this is rfkill after you enabled it manually? Please enable bluetooth, reboot and post rfkill *without* enabling/disabling/whatever bluetooth.
(base) [firestar@Archlinux ~]$ journalctl -b | curl -F 'file=@PKGBUILD' 0x0.st http://0x0.st/Xrlf.txt
'journalctl -b | curl -F 'file=@-' 0x0.st' not 'journalctl -b | curl -F 'file=@PKGBUILD' 0x0.st'. We want to upload the output of journalctl not the content of PKGBUILD.
Last edited by jl2 (2024-03-22 10:07:59)
Why I run Arch? To "BTW I run Arch" the guy one grade younger.
And to let my siblings and cousins laugh at Arsch Linux...
Offline
Sorry 'journalctl -b | curl -F 'file=@-' 0x0.st' stuck forever and returns nothing so I think maybe `@-` is (not existing) and put a file to it.
Write programs that do one thing and do it well.
Write programs to work together.
Write programs to handle text streams, because that is a universal interface.
Offline
Now I reboot it and bluetooth is not enabled:
(base) [firestar@Archlinux ~]$ systemctl status bluetooth.service
● bluetooth.service - Bluetooth service
Loaded: loaded (/usr/lib/systemd/system/bluetooth.service; enabled; preset: disabled)
Active: active (running) since Sat 2024-03-23 10:50:10 CST; 56s ago
Docs: man:bluetoothd(8)
Main PID: 865 (bluetoothd)
Status: "Running"
Tasks: 1 (limit: 18832)
Memory: 3.3M (peak: 3.9M)
CPU: 24ms
CGroup: /system.slice/bluetooth.service
└─865 /usr/lib/bluetooth/bluetoothd
Mar 23 10:50:18 Archlinux bluetoothd[865]: Endpoint registered: sender=:1.64 path=/MediaEndpoint/A2DPSource/sbc
Mar 23 10:50:18 Archlinux bluetoothd[865]: Endpoint registered: sender=:1.64 path=/MediaEndpoint/A2DPSink/sbc_xq_453
Mar 23 10:50:18 Archlinux bluetoothd[865]: Endpoint registered: sender=:1.64 path=/MediaEndpoint/A2DPSource/sbc_xq_453
Mar 23 10:50:18 Archlinux bluetoothd[865]: Endpoint registered: sender=:1.64 path=/MediaEndpoint/A2DPSink/sbc_xq_512
Mar 23 10:50:18 Archlinux bluetoothd[865]: Endpoint registered: sender=:1.64 path=/MediaEndpoint/A2DPSource/sbc_xq_512
Mar 23 10:50:18 Archlinux bluetoothd[865]: Endpoint registered: sender=:1.64 path=/MediaEndpoint/A2DPSink/sbc_xq_552
Mar 23 10:50:18 Archlinux bluetoothd[865]: Endpoint registered: sender=:1.64 path=/MediaEndpoint/A2DPSource/sbc_xq_552
Mar 23 10:50:18 Archlinux bluetoothd[865]: Endpoint registered: sender=:1.64 path=/MediaEndpoint/A2DPSink/faststream
Mar 23 10:50:18 Archlinux bluetoothd[865]: Endpoint registered: sender=:1.64 path=/MediaEndpoint/A2DPSource/faststream
Mar 23 10:50:19 Archlinux bluetoothd[865]: src/adv_monitor.c:btd_adv_monitor_power_down() Unexpected NULL btd_adv_monitor_manager object u>
[ble: elapsed 9.600s (CPU 1.2%)] systemctl status bluetooth.service(base) [firestar@Archlinux ~]$ rfkill
ID TYPE DEVICE SOFT HARD
0 bluetooth tpacpi_bluetooth_sw unblocked unblocked
1 wlan phy0 unblocked unblocked
2 bluetooth hci0 unblocked unblocked(base) [firestar@Archlinux ~]$ journalctl -b | curl -F 'file=@-' 0x0.st
http://0x0.st/Xrny.txt
Last edited by Firestar (2024-03-23 02:53:27)
Write programs that do one thing and do it well.
Write programs to work together.
Write programs to handle text streams, because that is a universal interface.
Offline
Now I reboot it and bluetooth is not enabled:
● bluetooth.service - Bluetooth service
Loaded: loaded (/usr/lib/systemd/system/bluetooth.service; enabled; preset: disabled)
Active: active (running) since Sat 2024-03-23 10:50:10 CST; 56s agoBy what metric?
The service is (still) enabled, active and running and the devices are unblocked.
https://en.wikipedia.org/wiki/XY_problem
Start to describe the actual problem you're facing/trying to solve.
Online
If you look at the taskbar on the lower right corner you will see that the bluetooth is not enabled and I cannot connect my mouse unless I click the enable bluetooth button
the red message is shown above
Mar 23 10:50:19 Archlinux bluetoothd[865]: src/adv_monitor.c:btd_adv_monitor_power_down() Unexpected NULL btd_adv_monitor_manager object u>
Write programs that do one thing and do it well.
Write programs to work together.
Write programs to handle text streams, because that is a universal interface.
Offline
In case that's not clear: we can't see your taskbar nor know what applet you've there.
There's some problem w/ bluez 5.73, https://bbs.archlinux.org/viewtopic.php … 0#p2159140 but also try to manually use/connect BT using bluetoothctl.
Online