User Tools

Site Tools


linux:bluetooth:02_recompile_bluez

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
linux:bluetooth:02_recompile_bluez [2023/11/06 18:17] – removed - external edit (Unknown date) 127.0.0.1linux:bluetooth:02_recompile_bluez [2024/02/16 07:20] (current) – [Recompile Bluez] dominik
Line 1: Line 1:
 +====== Recompile Bluez ======
 +Aktueller Stand ist **Bluez 5.70** 
  
 +  * nötige Pakete installieren \\ ''sudo apt install git build-essential libbluetooth-dev libglib2.0-dev libdbus-1-dev git automake libtool libudev-dev libical-dev libreadline-dev python3-docutils -y''
 +  * Bluez klonen \\ ''cd ~ && git clone https://github.com/bluez/bluez.git && cd bluez/''
 +  * ggf. Tag auschecken \\ ''git tag'' \\ ''git checkout 5.50'' \\ ggf. ''find . -type f -exec sed -i %%'%%s/SIOCGSTAMP,/SIOCGSTAMP_OLD,/g%%'%% {} +''
 +  * ''./bootstrap''
 +  * ''./configure %%--%%prefix=/usr %%--%%mandir=/usr/share/man %%--%%sysconfdir=/etc %%--%%localstatedir=/var''
 +  * ''make clean && make -j4''
 +  * ''sudo make install''
 +  * Oneliner \\ ''./bootstrap && ./configure %%--%%prefix=/usr %%--%%mandir=/usr/share/man %%--%%sysconfdir=/etc %%--%%localstatedir=/var && make clean && make -j8 && sudo make install''
 +  * Test \\ ''btmon -v'' \\ {{:linux:bluetooth:pasted:20231001-162154.png}}
 +
 +  * ''sudo systemctl daemon-reload''
 +  * ''sudo systemctl restart bluetooth.service''
 +  * Check \\ ''sudo systemctl status bluetooth.service'' \\ {{:linux:bluetooth:pasted:20231001-162436.png}}
 +
 +  * ''sudo reboot''
 +
 +===== SIOCGSTAMP Error =====
 +  * ''nano tools/rctest.c''
 +    * nach ''SIOCGSTAMP'' und in ''SIOCGSTAMP_OLD'' umbenennen
 +  * ''nano tools/l2test.c''
 +    * nach ''SIOCGSTAMP'' und in ''SIOCGSTAMP_OLD'' umbenennen
 +
 +  * Kurzform \\ ''find . -type f -exec sed -i %%'%%s/SIOCGSTAMP,/SIOCGSTAMP_OLD,/g%%'%% {} +''

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki