Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 546244 - net-wireless/bluez Error sap driver
Summary: net-wireless/bluez Error sap driver
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Pacho Ramos
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-04-11 07:48 UTC by Lagu
Modified: 2015-04-13 20:05 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
env (env,4.59 KB, text/plain)
2015-04-11 07:48 UTC, Lagu
Details
lspci (lspci,30.04 KB, text/plain)
2015-04-11 07:49 UTC, Lagu
Details
make.conf (make.conf,1.62 KB, text/plain)
2015-04-11 07:49 UTC, Lagu
Details
kernel config (kernel-config-x86_64-3.19.3-gentoo,111.08 KB, text/plain)
2015-04-11 07:50 UTC, Lagu
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lagu 2015-04-11 07:48:28 UTC
Error starting bluetooth service in systemd:

● bluetooth.service - Bluetooth service
   Loaded: loaded (/usr/lib64/systemd/system/bluetooth.service; enabled)
   Active: active (running) since sáb 2015-04-11 04:20:38 CLST; 17min ago
     Docs: man:bluetoothd(8)
 Main PID: 2581 (bluetoothd)
   Status: "Running"
   CGroup: /system.slice/bluetooth.service
           └─2581 /usr/libexec/bluetooth/bluetoothd

abr 11 04:20:37 Q92B37PZMW71FP bluetoothd[2581]: Bluetooth daemon 5.25
abr 11 04:20:38 Q92B37PZMW71FP bluetoothd[2581]: Starting SDP server
abr 11 04:20:38 Q92B37PZMW71FP bluetoothd[2581]: Bluetooth management interface 1.8 initialized
abr 11 04:20:39 Q92B37PZMW71FP bluetoothd[2581]: Sap driver initialization failed.
abr 11 04:20:39 Q92B37PZMW71FP bluetoothd[2581]: sap-server: Operation not permitted (1)
abr 11 04:21:50 pipe-PC bluetoothd[2581]: Endpoint registered: sender=:1.31 path=/MediaEndpoint/A2DPSource
abr 11 04:21:50 pipe-PC bluetoothd[2581]: Endpoint registered: sender=:1.31 path=/MediaEndpoint/A2DPSink
abr 11 04:37:50 pipe-PC systemd[1]: Started Bluetooth service.

lines 4-5 are error messages, it always show that but service is running, using version 5.25.
Comment 1 Lagu 2015-04-11 07:48:52 UTC
Created attachment 401022 [details]
env
Comment 2 Lagu 2015-04-11 07:49:14 UTC
Created attachment 401024 [details]
lspci
Comment 3 Lagu 2015-04-11 07:49:44 UTC
Created attachment 401026 [details]
make.conf
Comment 4 Lagu 2015-04-11 07:50:20 UTC
Created attachment 401028 [details]
kernel config
Comment 5 Pacho Ramos gentoo-dev 2015-04-12 10:27:55 UTC
That is normal because that device is likely not available on your PC:
http://en.wikipedia.org/wiki/List_of_Bluetooth_profiles#SIM_Access_Profile_.28SAP.2C_SIM.2C_rSAP.29
https://bugs.archlinux.org/task/41247
Comment 6 Lagu 2015-04-13 06:25:42 UTC
mm, thx for the answer, the solution proposed is start bluetoothd disabling sap server, but for that we most modify the service file of systemd, i think can be better idea add a config file in /etc/conf.d/ with parameters for the service.
¿what do you think?
Comment 7 Pacho Ramos gentoo-dev 2015-04-13 20:05:33 UTC
Well, using config files is in general discouraged:
https://wiki.gentoo.org/wiki/Project:Systemd/Ebuild_policy#Unit_file_guidelineshttps://wiki.gentoo.org/wiki/Project:Systemd/conf.d_files

And, in this case, it's not really needed as the daemon is ready to not find the SAP device and show an error but still run without any other issues :/