Screen doesn't change after connecting a BT mouse and no cursor displayed.

Bug #1519718 reported by Caroline Yu
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
bluez (Ubuntu)
Won't Fix
Undecided
Unassigned
ubuntu-system-settings (Ubuntu)
Expired
Medium
Unassigned

Bug Description

~$ system-image-cli -i
current build number: 177
device name: arale
channel: ubuntu-touch/rc-proposed/meizu.en
last update: 2015-11-25 11:02:09
version version: 177
version ubuntu: 20151124
version device: 20151019-6d4a3ab
version custom: 20151111-918-8-52

Reproduce steps:
Setup:Bluetooth mouse set to discovery mode.
Step 1.Unlock the phone.
Step 2.Swipe down the Bluetooth indicator.
Step 3.Tap on Bluetooth settings.
Step 4.Wait a moment for the device to appear in the list.
Step 5.App switches to the device page, tap on connect.

Actual result:Screen doesn't change after connecting a BT mouse and no cursor displayed.

Expected result:App switches to Windowed mode and turns back to the Main Setting page for Bluetooth.

Revision history for this message
TarotChen (tarotchen) wrote :

Issue happens for arale only when connecting the same BT mouse, but krillin and mako work as expected.

Here are some more info when connecting with Arale:

phablet@ubuntu-phablet:~$ hciconfig -a
hci0: Type: BR/EDR Bus: UART
 BD Address: 38:BC:1A:29:0E:89 ACL MTU: 1021:8 SCO MTU: 244:4
 UP RUNNING
 RX bytes:5238 acl:67 sco:0 events:163 errors:0
 TX bytes:4660 acl:39 sco:0 commands:91 errors:0
 Features: 0xbf 0x3e 0x8d 0xfe 0xdb 0xff 0x5b 0x87
 Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
 Link policy: RSWITCH SNIFF
 Link mode: SLAVE ACCEPT
 Name: 'MX4 Ubuntu Edition'
 Class: 0x5c0110
 Service Classes: Rendering, Capturing, Object Transfer, Telephony
 Device Class: Computer, Handheld
 HCI Version: 4.0 (0x6) Revision: 0x0
 LMP Version: 4.0 (0x6) Subversion: 0x0
 Manufacturer: MediaTek, Inc. (70)

[bluetooth]# show
Controller 38:BC:1A:29:0E:89
 Name: MX4 Ubuntu Edition
 Alias: MX4 Ubuntu Edition
 Class: 0x5c0110
 Powered: yes
 Discoverable: no
 Pairable: yes
 UUIDs:
   Headset AG (00001112-0000-1000-8000-00805f9b34fb)
   Generic Attribute Profile (00001801-0000-1000-8000-00805f9b34fb)
   A/V Remote Control (0000110e-0000-1000-8000-00805f9b34fb)
   SIM Access (0000112d-0000-1000-8000-00805f9b34fb)
   Generic Access Profile (00001800-0000-1000-8000-00805f9b34fb)
   PnP Information (00001200-0000-1000-8000-00805f9b34fb)
   A/V Remote Control Target (0000110c-0000-1000-8000-00805f9b34fb)
   Audio Source (0000110a-0000-1000-8000-00805f9b34fb)
   Audio Sink (0000110b-0000-1000-8000-00805f9b34fb)
   Message Notification Se.. (00001133-0000-1000-8000-00805f9b34fb)
   Phonebook Access Server (0000112f-0000-1000-8000-00805f9b34fb)
 Modalias: usb:v1D6Bp0246d0523
 Discovering: no
[bluetooth]# devices
Device 00:1F:20:EA:87:6A Bluetooth Mouse M336/M337/M535
[bluetooth]# info 00:1F:20:EA:87:6A
Device 00:1F:20:EA:87:6A
 Name: Bluetooth Mouse M336/M337/M535
 Alias: Bluetooth Mouse M336/M337/M535
 Class: 0x002580
 Icon: input-mouse
 Paired: yes
 Trusted: yes
 Blocked: no
 Connected: yes
 ConnectedProfiles:
   None
 LegacyPairing: yes
 UUIDs:
   Service Discovery Serve.. (00001000-0000-1000-8000-00805f9b34fb)
   Human Interface Device... (00001124-0000-1000-8000-00805f9b34fb)
   PnP Information (00001200-0000-1000-8000-00805f9b34fb)
 Modalias: usb:v046DpB014d1200

Revision history for this message
TarotChen (tarotchen) wrote :
Revision history for this message
TarotChen (tarotchen) wrote :
Revision history for this message
Simon Fels (morphis) wrote :

Can you please attach the missing syslog as mentioned in https://wiki.ubuntu.com/DebuggingBluetooth

That is the most interesting one.

tags: added: bluez5
Revision history for this message
Simon Fels (morphis) wrote :

Also can you give me the exact name of the mouse you're using?

Revision history for this message
TarotChen (tarotchen) wrote :

Mouse: Logitech M336

Simon Fels (morphis)
tags: added: bluetooth-ota0
tags: added: bluetooth-ota9
removed: bluetooth-ota0
Revision history for this message
Simon Fels (morphis) wrote :

It looks like the mouse is correctly hooked up into the system:

Nov 26 02:41:47 ubuntu-phablet kernel: [ 310.071943] hid-generic 0005:046D:B014.0001: unknown main item tag 0x0
Nov 26 02:41:47 ubuntu-phablet kernel: [ 310.072340] input: Bluetooth Mouse M336/M337/M535 as /devices/virtual/bluetooth/hci0/hci0:50/input6
Nov 26 02:41:47 ubuntu-phablet kernel: [ 310.086467] hid-generic 0005:046D:B014.0001: input: BLUETOOTH HID v12.00 Mouse [Bluetooth Mouse M336/M337/M535] on 38:bc:1a:29:0e:89

However sadly the last part of the syslog where all the debug switches are turned on you didn't tried to connect the mouse as it seems.

Can you remove the mouse from the phone, make sure all debug switches as described in https://wiki.ubuntu.com/DebuggingBluetooth are enabled, and then pair, connect and try to enable the mouse again so that we get all necessary details in the syslog?

Thanks!

Revision history for this message
TarotChen (tarotchen) wrote :
Revision history for this message
Simon Fels (morphis) wrote :

Thanks for the detailed syslog!

Can you run

 $ sudo btmon -w test.snoop

then reproduce the bug (remove the mouse in settings first and then reconnect/repair).

Afterwards send me the test.snoop by mail.

Revision history for this message
Caroline Yu (chengyuan20140630) wrote :
Revision history for this message
Jonas G. Drange (jonas-drange) wrote :

Simon, is something lacking in System Settings or is this a problem in bluez?

Changed in ubuntu-system-settings (Ubuntu):
status: New → Incomplete
importance: Undecided → Medium
Revision history for this message
Simon Fels (morphis) wrote :

@Jonas: Seems to be a problem with BlueZ (either kernel or userland).

tags: added: bluez-touch
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Ubuntu Touch is no longer supported.

Changed in bluez (Ubuntu):
status: New → Won't Fix
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for ubuntu-system-settings (Ubuntu) because there has been no activity for 60 days.]

Changed in ubuntu-system-settings (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.