[PATCH 0/4] bluetooth: Port names based on form factor

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Mikel Astiz <mikel.astiz@xxxxxxxxxxxx>

This patchset considers the device's form factor (Bluetooth device class) in order to decide the name and description of the ports.

The approach assumes the form factor of a paired device will remain constant, which seems to be the case in any real-life scenario.

Patch 4/4 simplifies the core by removing dynamic port creation, recently added due to Bluetooth's interests. However, now that we have a slightly different interpretation of ports, this core extension should be reconsidered.

Mikel Astiz (4):
  bluetooth: Use enum to represent form factors
  bluetooth: Add specific form factor for phones
  bluetooth: Use form factor to set port name and description
  Revert "card: Support adding ports dynamically"

 src/modules/bluetooth/bluetooth-util.c          | 74 +++++++++++++-----
 src/modules/bluetooth/bluetooth-util.h          | 16 +++-
 src/modules/bluetooth/module-bluetooth-device.c | 99 ++++++++++++++++++++++---
 src/modules/module-card-restore.c               | 43 -----------
 src/pulsecore/card.c                            | 19 -----
 src/pulsecore/card.h                            |  1 -
 src/pulsecore/core.h                            |  1 -
 7 files changed, 159 insertions(+), 94 deletions(-)

-- 
1.8.1



[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux