Linux bluetooth development
 help / color / mirror / Atom feed
* [PATCH BlueZ 0/2] cups: Make printer discovery work again
@ 2026-11-13  9:34 Bernie Innocenti
  2026-11-13  9:34 ` [PATCH BlueZ 1/2] cups: Read the IEEE 1284 device ID over SDP Bernie Innocenti
  2026-11-13  9:34 ` [PATCH BlueZ 2/2] cups: Port printer discovery to the ObjectManager API Bernie Innocenti
  0 siblings, 2 replies; 8+ messages in thread
From: Bernie Innocenti @ 2026-11-13  9:34 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: Bernie Innocenti

The CUPS backend lists no printers, so add-printer dialogs never show
Bluetooth printers and the URI has to be typed by hand:

  https://github.com/bluez/bluez/issues/2287

Patch 1 reads the IEEE 1284 device ID over SDP, patch 2 moves discovery
to GDBusClient. Discovery now runs for a fixed 10 seconds. A known
printer that is switched off delays the listing by the SDP connect
timeout, about 5 seconds here.

Tested on Fedora with bluez 5.88, CUPS 2.4.19 and a Phomemo PM-241-BT
label printer (SPP + HCRP): lpinfo -v now lists it with its device ID,
and a job sent to that URI prints. The printer was bonded, so I have
only exercised the known-devices path, not a printer found by the scan.

I own the printer and am happy to test changes.

Bernie Innocenti (2):
  cups: Read the IEEE 1284 device ID over SDP
  cups: Port printer discovery to the ObjectManager API

 profiles/cups/cups.h |   1 +
 profiles/cups/main.c | 618 +++++--------------------------------------
 profiles/cups/sdp.c  |  48 ++++
 3 files changed, 118 insertions(+), 549 deletions(-)

-- 
2.56.1


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2026-11-17  8:43 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-13  9:34 [PATCH BlueZ 0/2] cups: Make printer discovery work again Bernie Innocenti
2026-11-13  9:34 ` [PATCH BlueZ 1/2] cups: Read the IEEE 1284 device ID over SDP Bernie Innocenti
2026-11-13 16:35   ` Luiz Augusto von Dentz
2026-11-16 11:29     ` [PATCH BlueZ v2 0/2] cups: Make printer discovery work again Bernie Innocenti
2026-11-16 11:29       ` [PATCH BlueZ v2 1/2] cups: Read the IEEE 1284 device ID over SDP Bernie Innocenti
2026-11-16 11:29       ` [PATCH BlueZ v2 2/2] cups: Port printer discovery to the ObjectManager API Bernie Innocenti
2026-11-17  8:43     ` [PATCH BlueZ 1/2] cups: Read the IEEE 1284 device ID over SDP Bernie Innocenti
2026-11-13  9:34 ` [PATCH BlueZ 2/2] cups: Port printer discovery to the ObjectManager API Bernie Innocenti

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox