[Bug 1080507] [NEW] Bluetooth printing does not work

Till Kamppeter 1080507 at bugs.launchpad.net
Mon Nov 19 00:17:26 UTC 2012


Public bug reported:

I have applied the workaround of bug 1070770, running bluetoothd under
valgrind to prevent it from crashing. See

https://wiki.ubuntu.com/Nexus7/UsingTheDevice#Stabilizing_the_Bluetooth_stack

After successfully connecting my Bluetooth keyboard I tried to connect
with a Bluetooth printer, the Photosmart Premium C309g-m. To do so, the
"bluetooth" CUPS backend needs to detect the printer. On a standard
Intel-based computer I get

till at till:~$ /usr/lib/cups/backend/bluetooth 
direct bluetooth://002655096A9C "Photosmart Premium C309g-m" "Photosmart Premium C309g-m (Bluetooth)"
till at till:~$ 

On the Nexus 7 the same call of the bluetooth backend does not show any
answer and never exits, probably hanging during the communication with
the printer.

Using the bluez-tools on the Nexus 7 I get:

ubuntu at nexus7-pyongyangs:~$ bt-adapter -d
Searching...

[00:26:55:09:6A:9C]
  Name: (null)
  Alias: 00-26-55-09-6A-9C
  Address: 00:26:55:09:6A:9C
  Icon: printer
  Class: 0x140680
  LegacyPairing: 0
  Paired: 0
  RSSI: -65

Done
ubuntu at nexus7-pyongyangs:~$ sudo bt-device -c 00:26:55:09:6A:9C
[sudo] password for ubuntu: 
Connecting to: 00:26:55:09:6A:9C
Agent registered
Error: 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.
ubuntu at nexus7-pyongyangs:~$

The error message of the second command only showed up after waiting
some seconds.

** Affects: ubuntu-nexus7
     Importance: Undecided
         Status: New

** Affects: bluez (Ubuntu)
     Importance: High
         Status: New

** Also affects: bluez (Ubuntu)
   Importance: Undecided
       Status: New

** Changed in: bluez (Ubuntu)
   Importance: Undecided => Medium

** Changed in: bluez (Ubuntu)
   Importance: Medium => High

-- 
You received this bug notification because you are a member of
Bluetooth, which is subscribed to bluez in Ubuntu.
https://bugs.launchpad.net/bugs/1080507

Title:
  Bluetooth printing does not work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-nexus7/+bug/1080507/+subscriptions



More information about the Ubuntu-bluetooth mailing list