lp://qastaging/bluez
- Get this branch:
- bzr branch lp://qastaging/bluez
Branch merges
Branch information
Import details
This branch is an import of the HEAD branch of the Git repository at git://git.kernel.org/pub/scm/bluetooth/bluez.git.
Last successful import was .
Whiteboard
NOTE: Upstream imports have moved. They are done (by hand for now) here:
https:/
Recent revisions
- 23295. By Frédéric Danis <email address hidden>
-
mpris-proxy: Fix infinite list items reception
Samsung Music app on Android phone send play list items in loop if
highest bit is set to 1, so limit playlist to 0x7FFFFFFF items. - 23294. By Frédéric Danis <email address hidden>
-
mpris-proxy: Add mpris:artUrl support
This commit connects to the bip-avrcp Obex service if the
org.bluez.MediaPlayer ObexPort property exists.
Once connected, the Track properties update may contain an
ImgHandle which is automatically downloaded, then a Metadata
property updated signal is sent on org.mpris.MediaPlayer2. Player
interface.Some devices share the Obex session between multiple players. So
the Obex session is created by device.mpris-proxy logs with cover art download and player switch:
$ tools/mpris-proxy
org.bluez appeared
org.bluez.obex appeared
Bluetooth Obex Client /org/bluez/obex found
Bluetooth Adapter /org/bluez/hci0 found
player org.mpris.MediaPlayer2. rhythmbox at :1.159 found
Bluetooth Transport /org/bluez/hci0/dev_ 24_24_B7_ 11_82_6C/ fd8 found
Bluetooth Player /org/bluez/hci0/dev_ 24_24_B7_ 11_82_6C/ player0 found
Bluetooth Obex Create new session
Player org.mpris.MediaPlayer2. Fr__d__ ric_s_S23 created
Bluetooth Item /org/bluez/hci0/dev_ 24_24_B7_ 11_82_6C/ player0/ Filesystem found
Bluetooth Item /org/bluez/hci0/dev_ 24_24_B7_ 11_82_6C/ player0/ NowPlaying found
Bluetooth Folder /org/bluez/hci0/dev_ 24_24_B7_ 11_82_6C/ player0 found
Bluetooth Obex ImgHandle: 0000007
Bluetooth Item /org/bluez/hci0/dev_ 24_24_B7_ 11_82_6C/ player0/ NowPlaying/ item2 found
Bluetooth Obex cover art available at: /tmp/session9-0000007
Bluetooth Player /org/bluez/hci0/dev_ 24_24_B7_ 11_82_6C/ player0 removed
Bluetooth Player /org/bluez/hci0/dev_ 24_24_B7_ 11_82_6C/ player127 found
Bluetooth Obex reuse existing session
Player org.mpris.MediaPlayer2. Fr__d__ ric_s_S23_ Media_Player created
player org.mpris.MediaPlayer2. Fr__d__ ric_s_S23 at :1.1035 disappear
Bluetooth Obex ImgHandle: 0000008
Bluetooth Obex cover art available at: /tmp/session9-0000008 - 23292. By Pablo Montes <email address hidden>
-
tools: print error on mkdir
On some fresh installations where XDG_CONFIG_SESSION is not defined,
and $HOME/.config is not created yet, mesh-cfgclient failed with no
hints. - 23291. By Luiz Augusto von Dentz <email address hidden>
-
emulator: Fix Werror=
stringop- overflow This fixes the following build errors caused by buf being used as a
static from tracking progress of a packet when it is not necessary since
pkt_data exists for the same reason:/usr/include/
bits/unistd. h:32:10: error: ‘__read_alias’ specified size between 184467440737094 90177 and 184467440737095 51615 exceeds maximum object size 9223372036854775807 [-Werror= stringop- overflow= ]
32 | return __glibc_fortify (read, __nbytes, sizeof (char),
| ^~~~~~~~~~~~~~~
emulator/serial.c: In function ‘serial_read_callback’ :
emulator/serial. c:78:24: note: destination object allocated here
78 | static uint8_t buf[4096];
| ^~~
/usr/include/bits/unistd- decl.h: 29:16: note: in a call to function ‘__read_alias’ declared with attribute ‘access (write_only, 2, 3)’
29 | extern ssize_t __REDIRECT_FORTIFY (__read_alias, (int __fd, void *__buf,
| ^~~~~~~~~~~~~~~~~~ - 23290. By Luiz Augusto von Dentz <email address hidden>
-
build: Enable -Wstringop-overflow and -D_FORTIFY_SOURCE=3
This enables -Wstringop-overflow compiler warnings:
'Warn for calls to string manipulation functions such as "memcpy" and
"strcpy" that are determined to overflow the destination buffer.'Along with -D_FORTIFY_SOURCE=3 so the errors like the following can be
captured:In function ‘read’,
inlined from ‘serial_read_callback’ at emulator/ serial. c:90:8:
/usr/include/bits/unistd. h:32:10: error: ‘__read_alias’ specified size between 184467440737094 90177 and 184467440737095 51615 exceeds maximum object size 9223372036854775807 [-Werror= stringop- overflow= ]
32 | return __glibc_fortify (read, __nbytes, sizeof (char),
| ^~~~~~~~~~~~~~~ - 23289. By Pauli Virtanen <email address hidden>
-
shared/vcp: have only one volume change in flight at a time
If bt_vcp_set_volume() is called again before the previous operation has
completed, the requests get the same change counter, and all except the
first one fail.Fix by waiting until the current request completes, and if volume was
set again during waiting, send a new request with the latest pending
volume value. In this definition, bt_vcp_set_volume() will skip over
intermediate volume updates if they are done too rapidly.Send only volume requests that change the value to a different one than
last notification we have seen: in this case the request either fails,
or succeeds and generates a new notification. In theory this guarantees
we always exit waiting, but safeguard it with a timeout. - 23288. By Luiz Augusto von Dentz <email address hidden>
-
build: Remove AMP related functionality
High Speed, Alternate MAC and PHY (AMP) extension, has been removed from
Bluetooth Core specification on 5.3:https:/
/www.bluetooth. com/blog/ new-core- specification- v5-3-feature- enhancements/ The kernel already have undergone similar changes starting with
e7b02296fb40 ("Bluetooth: Remove BT_HS"). - 23287. By Fedor Pchelkin <email address hidden>
-
a2dp: enable input MTU auto-tuning for the server
L2CAP frames are lost while utilizing some exotic A2DP transports
usually coming up with weird custom MTU sizes so take advantage of
auto-tuning it for such cases.Found by Linux Verification Center (linuxtesting.org).
- 23286. By Fedor Pchelkin <email address hidden>
-
btio: actually try to enable MTU auto-tuning
A "0" for the input MTU passed to the underlying socket is supposed to
indicate that its value should be determined by the L2CAP layer.
However, the current code treats a zero imtu just as if there is
nothing to change.Introduce rework the code to indicate that the zero imtu is
explicitly requested by the caller for the purpose of auto-tuning and -1
is used as not set value.Found by Linux Verification Center (linuxtesting.org).
Fixes: ae5be371a9f5 ("avdtp: Enable MTU auto tunning")
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)