-
AuthorSearch Results
-
March 1, 2022 at 5:35 pm #78257
In reply to: Broken packages related to bluetooth
MemberPap
First of all, no need to be sorry. You tried to help, and for that, I am grateful.
Now, trying to bring the system to its previous state, I purged bluetooth, bluez, and blueman, together with their dependencies. Then I rebooted and re-installed them. The idea was to “reset” them to their default state, in case pulseaudio somehow modified their configuration (given what pulseaudio is, and who made it, I wouldn’t be surprised).
This did something, actually. Now blueman-manager doesn’t complain as before. Instead, it pops-up a window saying “Connection to BlueZ failed”, either because there is no bluetooth device or because bluetooth daemon is not started. To my surprise, the latter is actually true. bluetoothd is not running. Not only that, but I couldn’t start it manually either:$ sudo bluetoothd start D-Bus setup failed: Connection ":1.9" is not allowed to own the service "org.bluez" due to security policies in the configuration fileChanging the above to “sudo dbus-launch bluetooths start” has the same result. Also, SysV Runlevel Config shows bluetooth service is enabled for runlevels 2, 3, 4, and 5.
I have a feeling that enabling bluetoothd will bring the system to its previous state, but I have no idea how to deal with that (last ?) issue.Official, dedicated, determined, fanatic systemd HATER since... its release.
March 1, 2022 at 1:35 pm #78226In reply to: Broken packages related to bluetooth
Moderator
caprea
I understand you very well and feeling very sorry, that this happened after following a tip of mine.In the past half year I tried now and then to get bluetooth audio on antiX21 to work without installing pulseaudio, following eg. directions like this
http://dev1galaxy.org/viewtopic.php?pid=32425
but always ended with a broken bluetooth or sound or whatever.Whereas the installation of pulseaudio has always been a safe bet.
I really hope we can get your system to turn back to normal state.
bluez-obexd is needed for bluetooth, so if you deinstalled it, please install again.
The warnings from the blueman-applet error, like “load_plugin: Not loading DhcpClient because its conflict has higher priority”
are not the important part of the message, I guess, important is
“Couldn’t register with accessibility bus: Did not receive a reply”Nothing really conclusive can be found on the net about this.The most closest one
https://github.com/blueman-project/blueman/issues/56
https://forums.gentoo.org/viewtopic-t-1097206-start-0.html
Could you try if starting the applet with
dbus-launch blueman-applet
gives other results.- This reply was modified 1 year, 2 months ago by caprea.
March 1, 2022 at 12:13 pm #78222In reply to: Broken packages related to bluetooth
MemberPap
I did some more research and found that HID (Human Interface Device) is a protocol only some (mostly “Window$-oriented”) laptops/Bluetooth dongles use. Being in a hurry (which is always a big mistake), I installed it just in case my laptop is one of those. However it turns out this particular laptop uses a protocol called HCI (Host Controller Interface), which is the “normal” for GNU/Linux, and related packages are installed by default in antiX. I can tell my device uses HCI because this command gives a response:
$ hcitools dev Devices: hci0 00:25:D3:A5:78:21So I uninstalled anything related hidapi and obex.
Bluetooth is enabled on boot, and /usr/sbin/bluetoothd is running.
It turns out that pulseaudio needs to load at least two additional modules, namely module-bluetooth-discover and load-module module-switch-on-connect. I loaded those as well (even though they should be loaded by default, according to /etc/pulse/default.pa). With all that, the problem is still there. As a last try, I modified ~/.icewm/startup so that pulseaudio is running on boot and before volumeicon, as the comments in that file recommend. I rebooted the system, and still no sound at all, not even in laptop’s speakers. I also installed pavucontrol, which should see the bluetooth device in “Output Devices”. It doesn’t.
I am guessing some more packages (or modules) related to pulseaudio are needed. But really, I had enough with pulseaudio. Even if I manage to configure it, that would mean I will have to rely on it, even for normal sound output via speakers, and quite possibly have pulseaudio enabled by default. This is definitely not acceptable by me. So I decided to get rid of anything pulseaudio-related, and try to return to the previous state. However, not even that is easy. With pulseaudio purged (including its dependencies), I now have sound via speakers, but blueman still won’t start, so I cannot connect mobiles and other devices. It all starts by the fact blueman-manager tries to start blueman-applet, which now reports this:
(blueman-applet:9311): dbind-WARNING **: 13:30:22.280: Couldn't register with accessibility bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken. blueman-applet version 2.1.4 starting blueman-applet 13.30.24 WARNING PluginManager:148 __load_plugin: Not loading DhcpClient because its conflict has higher priorityNote that before installing pulseaudio blueman-manager/applet worked and I could connect my other bluetooth devices. Now all I want is to return back to that state. As for bluetooth sound, I will look for another pusleaudio-free solution or just connect the device with a simple audio cable.
- This reply was modified 1 year, 2 months ago by Pap.
Official, dedicated, determined, fanatic systemd HATER since... its release.
March 1, 2022 at 1:21 am #78210In reply to: Broken packages related to bluetooth
Moderator
caprea
Until now there haven’t been reported such errors with installing pulseaudio.And never was reported the daemon does autostart without the changes in the startup file.So I’m really surprised by your troublesome problem.
So I tried to install anything related to hidap
First thing to try is might to deinstall these.
At least on a system here, where bluetooth works with pulseaudio for audio there’s nothing installed related to hidap.
Also, is bluetooth enabled and running when you get the message “Blueman applet needs to be running”?February 28, 2022 at 9:55 pm #78203In reply to: Broken packages related to bluetooth
MemberPap
Is pulseaudio installed ? For audio bluetooth transmission pulseaudio is (yet) essential.
pulseaudio can get installed with the package installer.pulseaudio-module-bluetooth is also needed.
To start pulseaudio
pulseaudio -D &
For making it autostart at boot outcomment the above line in
control-centre > session > configuration of session > startup fileThank you caprea for the hint. I (reluctantly) installed pulseaudio and pulseaudio-module-bluetooth. Right after installing I ran Blueman again, without even starting pulseaudio daemon manually – and it worked; I had sound on the radio, and all looked ok. I thought that was all, problem solved. And since I certainly don’t want pulseaudio autostarting, I rebooted the machine to check if everything is as before. Then the trouble started: Pulseaudio is not running at boot BUT whenever I start anything related to audio (say, xmms) pulseaudio starts as well. Even then, I get no sound at all with xmms (it doesnt even start playing as it did before). Not only that, but blueman-manager doesn’t start anymore. It complains that “Blueman applet needs to be running” (this didn’t happen before). Nevertheless I tried to run blueman-applet and that doesn’t work either:
blueman-applet version 2.1.4 starting blueman-applet 23.30.31 WARNING PluginManager:148 __load_plugin: Not loading DhcpClient because its conflict has higher priority blueman-tray version 2.1.4 starting blueman-applet 23.30.56 ERROR BasePlugin:76 _load : Error calling StartServiceByName for org.blueman.Mechanism: Failed to activate service 'org.blueman.Mechanism': timed out (service_start_timeout=25000ms)After that I get tons of error messages and timeouts.
Intalling pulseaudio made the bluetooth work, but only before rebooting. After rebooting nothing works. No sound at all, no bluetooth. And it gets worse: purging pulseaudio and autoremoving all its dependencies only partially brings the system to its previous state: sound works again, but blueman-manager still won’t start, with the exact messages as I described above.
Well, I am lost now. Pulseaudio seemed to solve the problem and, even though I don’t like it, I would be ok to just use it temporarily, only for bluetooth sound. But installing pulseaudio proved a disaster, and removing it doesn’t even bring things as it were before. Any ideas?
Official, dedicated, determined, fanatic systemd HATER since... its release.
February 28, 2022 at 7:38 pm #78200In reply to: Broken packages related to bluetooth
Moderator
caprea
Is pulseaudio installed ? For audio bluetooth transmission pulseaudio is (yet) essential.
pulseaudio can get installed with the package installer.pulseaudio-module-bluetooth is also needed.
To start pulseaudio
pulseaudio -D &
For making it autostart at boot outcomment the above line in
control-centre > session > configuration of session > startup fileFebruary 28, 2022 at 6:17 pm #78187In reply to: Broken packages related to bluetooth
MemberPap
Since antiX uses eudev (thus libeudev1) and not udev (libudev1), try
sudo apt install libhidapi-hidraw0I am aware eudev replaced udev in non-systemd operating operating systems, and I was surprised libudev1 even appeared as a dependency, instead of libeudev1 (and being new to antiX I didn’t touch repos, left them at default). Apparently I am missing something here… why cli-aptix pulled libudev1 while sudo apt install did the right thing?
Anyway, libhidapi is now installed thanks to anticapitalista’s hint. However, that didn’t solve my problem. I still don’t get it… Every other device connects to the radio via Bluetooth – but not this computer. With Blueman the device is found, it is paired, it is trusted, everything seems fine – but connection fails. It looks like my old-school ancient cellphone does support the protocol needed but not the computer. I am assuming a library related to this specific bluetooth connection is missing. I looked elsewhere before posting here, and I didn’t find anything.
If I find a solution, I will post it here, in case someone else would ever have the same problem.Official, dedicated, determined, fanatic systemd HATER since... its release.
February 28, 2022 at 2:53 pm #78171Topic: Broken packages related to bluetooth
in forum SoftwareMemberPap
Hello antiX community,
I have a problem connecting a bluetooth external radio. Blueman works on my computer (antiX 21 32-bit stable), since I was able to connect other devices. Bluetooth also works on the radio (even my old-school mobile connects to the radio just fine). However, when trying to connect the computer to the radio, Blueman detects it correctly but connection fails with the message:
Connection Failed: Protocol not availableSo I assume a package is missing. After some research, I found that there is a protocol called hid that might be the solution to my problem. So I tried to install anything related to hidap. And then I get this:
=>; apt-get install libhidapi-hidraw0 libudev1 Reading package lists... Done Building dependency tree... Done Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: libudev1 : Depends: libeudev1 but it is not installable E: Unable to correct problems, you have held broken packages.I am not sure this thread is related to my problem (I doubt it does).
Any help is very much appreciated.
PS: I am not sure why bbcodes for code don’t work; as far I know, they are correct.
- This topic was modified 1 year, 2 months ago by rokytnji.
- This topic was modified 1 year, 2 months ago by rokytnji.
- This topic was modified 1 year, 2 months ago by rokytnji.
Official, dedicated, determined, fanatic systemd HATER since... its release.
February 28, 2022 at 8:20 am #78152MemberPPC
Welcome Egzoset
One of the points that antiX developers tried the focus is good localization- I can say that, at least in Portuguese, it’s very well localized (only some minor points are missing, like having the fully localized .desktop files, already provided by voluntaries, officially integrated in antiX, and some extra localizations for some applications, like Searchmonkey)
About the not suited to “an 80-yr old grandma “- you can install (and enable) the ft10-transformation package, that’s fully localized to French and makes antiX about as intuitive to use as any recent Windows version, or Linux Mint, etc…In my experience there are only 2 areas that antiX is a bit hit or miss – audio (because it does not include, out of the box, pulseaudio, to save system resources, but implies some extra work to have audio working in several apps, like Firefox, non esr version) and bluetooth (when I tried to, I was not able to make it work in antiX 19, never had to try in antiX 21). If this 2 areas are not problematic for you, I can say that antiX will probably be the almost perfect system for you! (If they are, it still is, but you may need some support, that the forum is happy to provide)
P.
February 24, 2022 at 1:03 am #78005Memberrfinco
I updated 2 PCs with antiX 21 installed using the normal APT update, 1 64bit and 1 32bit. There were several Bluetooth files in the updates of both PCs.
After updating, I was able to successfully perform Bluetooth file transfer in both directions on both the 32bit and 64bit PCs.
Thank you guys very much for your quick response and getting this problem fixed.
I’ll mark this problem [Solved], if I can figure out how to edit the title.
February 22, 2022 at 8:17 pm #77877Moderator
Brian Masinick
I think you are right, there seems to be a problem with the bluez-obexd version.
On the live-usb it’s 5.55-3.1 (works properly)
after update it is 5.55-3.1.0antix1 , which doesn’t install the /usr/share/dbus-1/services/org.bluez.obex.service file, which you already mentioned.Thank you for this detail! I was fumbling around trying to figure out what was wrong in the implementations that did not work.
(antiX is NOT the only distribution that has experienced defects with Bluetooth, but thanks to this, we should have ours working properly)!--
Brian MasinickFebruary 22, 2022 at 7:33 pm #77876Forum Admin
anticapitalista
Hello anticapitalista,
Thanks for the quick response.
I update regularly, so after I am able to do a Bluetooth file transfer, I’ll mark this issue [Solved].
Let’s hope the update manages to fix it!
Thanks for your posts to get it fixed.Philosophers have interpreted the world in many ways; the point is to change it.
antiX with runit - leaner and meaner.
February 22, 2022 at 6:47 pm #77875Memberrfinco
Hello anticapitalista,
Thanks for the quick response.
I update regularly, so after I am able to do a Bluetooth file transfer, I’ll mark this issue [Solved].
February 22, 2022 at 5:58 am #77845Memberrfinco
Hello Brian and olsztyn,
Thanks for getting back with me quickly.
Good call on trying antiX 21 live. It does the Bluetooth file transfer OK.
I installed antiX 19 on a spare PC, and (as expected), it does the file transfer OK too.
Here’s what I have:
All of the distros that I tried worked OK, except for the installed version of antiX 21. The distros that work are (antiX 19[installed and live], antix 21[live], MX Linux 21[installed and live]).
Digging a little deeper, I found that all of the distros, except the installed antiX 21, had the file “/usr/share/dbus-1/services/org.bluez.obex.service”, as suggested by the error message when the PC to tablet transfer failed.
Apparently, there is some part of the OBEX service that doesn’t get installed when antiX 21 is installed.
February 22, 2022 at 1:39 am #77841Memberolsztyn
I tried a couple of other distros (antiX 19 and MX Linux 21) in live sessions, both of which were able to transfer files using Bluetooth OK.
Sounds this clearly shows that something is missing in antiX 21 to support Bluetooth transfer.
@rfinco:
Is the failure on antiX traditionally installed or Live? If it is on traditionally installed antiX 21 and Live antiX 19 works fine, I would just attempt the same using antiX Live 21, just to narrow down…Live antiX Boot Options (Previously posted by Xecure):
https://antixlinuxfan.miraheze.org/wiki/Table_of_antiX_Boot_Parameters -
AuthorSearch Results
Search Results for 'bluetooth'
-
Search Results
-
Hello antiX community,
I have a problem connecting a bluetooth external radio. Blueman works on my computer (antiX 21 32-bit stable), since I was able to connect other devices. Bluetooth also works on the radio (even my old-school mobile connects to the radio just fine). However, when trying to connect the computer to the radio, Blueman detects it correctly but connection fails with the message:
Connection Failed: Protocol not availableSo I assume a package is missing. After some research, I found that there is a protocol called hid that might be the solution to my problem. So I tried to install anything related to hidap. And then I get this:
=>; apt-get install libhidapi-hidraw0 libudev1 Reading package lists... Done Building dependency tree... Done Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: libudev1 : Depends: libeudev1 but it is not installable E: Unable to correct problems, you have held broken packages.I am not sure this thread is related to my problem (I doubt it does).
Any help is very much appreciated.
PS: I am not sure why bbcodes for code don’t work; as far I know, they are correct.
- This topic was modified 1 year, 2 months ago by rokytnji.
- This topic was modified 1 year, 2 months ago by rokytnji.
- This topic was modified 1 year, 2 months ago by rokytnji.
Official, dedicated, determined, fanatic systemd HATER since... its release.