| Newsgroups |
gmane.linux.lfs.beyond.support |
| Message-ID |
<[email protected]> |
Dear all,
I have a full BLFS XFCE desktop running on my computer.
At the time I installed it, BLFS was transitioning from 11.0 to 11.1, I
based myself on the svn at the time, so some of the packages are from
either 11.0 or 11.1.
I acquired a bluetooth dongle and set myself up to make it work. I
installed bluez as described in
https://linuxfromscratch.org/blfs/view/11.1/general/bluez.html
From here, I tested the basic functionality and all was well.
Moving on, I then proceeded to install blueman 2.4.3 so that I had a
nice interface in xfce to interact with the bluetooth stack
https://github.com/blueman-project/blueman/releases
I guess blueman should be in BLFS? Having only command line tools to
interact with bluetooth is far from ideal...
All worked well, I could attach and use headphones, which were picked up
by pulseaudio.
However, I could still not transfer files from my android phone to the
computer.
I started investigating and found the problems.
1st problem: obexd was complaining that it was unable to convert from
UTF-16LE to UTF-8.
The solution was to download and install libiconv-1.18
https://www.gnu.org/software/libiconv/
and then recompile and install glib with the external libiconv option.
(I used glib-2.68.4)
(as an aside, the libiconv website tells you to reinstall gettext after
installing libiconv...)
With the new glib, obexd no longer complained, but I had to have it
running as root in order to transfer files so...
2nd problem: the org.bluez.obex.service file installed in
/usr/share/dbus-1/services/ by bluez was not correct. I had to manually
change the 3rd line to Exec=/usr/libexec/bluetooth/obexd .
This way, obexd is called on demand by blueman whenever a file transfer
is initiated and it all works well now.
Hope this helps anyone with the same or similar issues.
Regards,
Ed
--
http://lists.linuxfromscratch.org/sympa/info/blfs-support
Unsubscribe: See the above information page