In data mercoledì 28 febbraio 2024 16:03:04 CET, Darryl Gregorash ha scritto:
On 2024-02-28 08:10, Stakanov via openSUSE Users wrote:
In data mercoledì 28 febbraio 2024 14:57:37 CET, Darryl Gregorash ha scritto:
On 2024-02-28 05:18, Andrei Borzenkov wrote:
On Wed, Feb 28, 2024 at 2:09 PM Darryl Gregorash <raven@accesscomm.ca>
wrote:
On 2024-02-28 03:36, Stakanov via openSUSE Users wrote:
I do not see obex running. When I ask for status it gives:
entropy@silversurfer:~> systemctl status dbus-org.bluez.obex.service Unit dbus-org.bluez.obex.service could not be found.
This means the service isn't even installed.
Or that it is user service.
Possibly. However...
I installed bluez.obexd to check this out. There is a user service called obex.service:
[Unit] Description=Bluetooth OBEX service
[Service] Type=dbus BusName=org.bluez.obex ExecStart=/usr/lib/bluetooth/obexd
[Install] Alias=dbus-org.bluez.obex.service
and a D-Bus service file called org.bluez.obex.service which is found in /usr/share/dbus-1/services. Here is that file:
[D-BUS Service] Name=org.bluez.obex Exec=/bin/false SystemdService=dbus-org.bluez.obex.service
I know nothing about bluetooth or these dbus services, so by this point, I haven't got a clue what is going on. Time for a google search, "dbus-org.bluez.obex.service not found".
From https://bugs.archlinux.org/task/45816, try this (as root): systemctl --global enable obex.
Because of that Alias line in obex.service, this is where our missing file is born: # systemctl --global enable obex.service Created symlink /etc/systemd/user/dbus-org.bluez.obex.service → /usr/lib/systemd/user/obex.service
Now the service is enabled for every user on the system. I'm not certain, but I think it should also be started whenever a user logs in -- if not, then certainly whenever a bluetooth call is made on the dbus.
ntropy@silversurfer:~> sudo systemctl --global enable obex [sudo] password di root: Created symlink /etc/systemd/user/dbus-org.bluez.obex.service → /usr/lib/ systemd/user/obex.service.
But when I do status:
entropy@silversurfer:~> systemctl status dbus-org.bluez.obex.service Unit dbus-org.bluez.obex.service could not be found.
hmmmmm, so maybe I have to reboot first.
Not really. Notice where those files are located -- this is a user service, so you need to use the --user flag with systemctl (don't run this as root):
systemctl --user status dbus-org.bluez.obex.service
Yes thank you. There is still an issue that it complains the UUID is already registered, but I do not know how much of importance this might have. entropy@silversurfer:~> systemctl --user status dbus-org.bluez.obex.service ● obex.service - Bluetooth OBEX service Loaded: loaded (/usr/lib/systemd/user/obex.service; enabled; preset: disabled) Active: active (running) since Wed 2024-02-28 08:39:43 CET; 12h ago Main PID: 7151 (obexd) Tasks: 1 (limit: 4915) Memory: 940.0K CPU: 4ms CGroup: /user.slice/user-1000.slice/user@1000.service/app.slice/ obex.service └─7151 /usr/libexec/bluetooth/obexd feb 28 08:39:43 silversurfer.fritz.box systemd[6136]: Starting Bluetooth OBEX service... feb 28 08:39:43 silversurfer.fritz.box obexd[7151]: OBEX daemon 5.71 feb 28 08:39:43 silversurfer.fritz.box systemd[6136]: Started Bluetooth OBEX service. feb 28 08:39:43 silversurfer.fritz.box obexd[7151]: bluetooth: RequestProfile error: org.bluez.Error.NotPermitted, UUID already registered feb 28 08:39:43 silversurfer.fritz.box obexd[7151]: bluetooth: RequestProfile error: org.bluez.Error.NotPermitted, UUID already registered feb 28 08:39:43 silversurfer.fritz.box obexd[7151]: bluetooth: RequestProfile error: org.bluez.Error.NotPermitted, UUID already registered feb 28 08:39:43 silversurfer.fritz.box obexd[7151]: bluetooth: RequestProfile error: org.bluez.Error.NotPermitted, UUID already registered feb 28 08:39:43 silversurfer.fritz.box obexd[7151]: bluetooth: RequestProfile error: org.bluez.Error.NotPermitted, UUID already registered feb 28 08:39:43 silversurfer.fritz.box obexd[7151]: bluetooth: RequestProfile error: org.bluez.Error.NotPermitted, UUID already registered feb 28 08:39:43 silversurfer.fritz.box obexd[7151]: bluetooth: RequestProfile error: org.bluez.Error.NotPermitted, UUID already registered But it is running now. What puzzles me that they make this such a hurdle for a GDI. One would expect bluetooth to be useable or at least some advice in the install notice (which I do not recall). Will have to do this also on my laptop, thank you for the help given. Much appreciated.