ubuntu-session

Differences between revisions 1 and 4 (spanning 3 versions)
Revision 1 as of 2015-08-12 09:37:35
Size: 539
Editor: pD9ED6913
Comment:
Revision 4 as of 2015-08-12 12:43:46
Size: 1505
Editor: pD9ED6913
Comment:
Deletions are marked like this. Additions are marked like this.
Line 3: Line 3:
 * '''Trunk URL''': https://github.com/rilmodem/ofono
Line 5: Line 4:
Line 11: Line 9:
'''NOTE:''' This only covers BlueZ 5.x and doesn't respect 4.x in any way.
Line 12: Line 12:

== Device Setup ==
Line 17: Line 15:
Test target device: Nexus 4, BQ Aquaris E4.5
Secondary/backup device: TBD

Initial set up:

 * Install latest image on phone
 * Install BlueZ from the silo PPA
 * Reboot the phone
Line 19: Line 26:
== Basic Tests == == Kernel Bluetooth Management Layer tests ==

BlueZ comes with several utilities to test the in-kernel bluetooth management layer. Those are

 * bnep-tester
 * gap-tester
 * hci-tester
 * l2cap-tester
 * mgmt-tester
 * rfcomm-tester
 * sco-tester
 * smp-tester
 * userchan-tester

Each of them tests a different functionality part of the kernel bluetooth management layer. We're going to run all of them as part of this test plan.

As preparation for some of them we have to do the following:

 * Stop the bluetoothd daemon
{{{
$ sudo service bluetooth stop
}}}
 * Make sure bluetooth is turned off but rfkill not blocked.
{{{
$ sudo rfkill unblock bluetooth
$ sudo hciconfig hci0 down
}}}
 * Load VHCI kernel module
{{{
$ sudo insmod /lib/modules/hci_vhci.ko
}}}

Description

This is a test plan for bluez as used by Ubuntu Touch. It does not cover scenarios and/or test cases for bluez installed on the desktop.

NOTE: This only covers BlueZ 5.x and doesn't respect 4.x in any way.

Dependants/Clients

Test Plan

Test target device: Nexus 4, BQ Aquaris E4.5 Secondary/backup device: TBD

Initial set up:

  • Install latest image on phone
  • Install BlueZ from the silo PPA
  • Reboot the phone

Manual Tests

Kernel Bluetooth Management Layer tests

BlueZ comes with several utilities to test the in-kernel bluetooth management layer. Those are

  • bnep-tester
  • gap-tester
  • hci-tester
  • l2cap-tester
  • mgmt-tester
  • rfcomm-tester
  • sco-tester
  • smp-tester
  • userchan-tester

Each of them tests a different functionality part of the kernel bluetooth management layer. We're going to run all of them as part of this test plan.

As preparation for some of them we have to do the following:

  • Stop the bluetoothd daemon

$ sudo service bluetooth stop
  • Make sure bluetooth is turned off but rfkill not blocked.

$ sudo rfkill unblock bluetooth
$ sudo hciconfig hci0 down
  • Load VHCI kernel module

$ sudo insmod /lib/modules/hci_vhci.ko

Process/Merges/TestPlans/ubuntu-session (last edited 2017-09-05 10:17:00 by jibel)