[RFC BlueZ 0/3] Only create the uhid device when PNP info is available

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

 



Hi,

Some input drivers require that the input device is created with the
correct product and vendor ids.

So we have a race condition between the DIS (Device Information)
profile and the HoG profile, this series aims to solve this particular
problem by adding a mechanism to notify the interested parties that
PNP information is ready, the HoG plugin uses this to only create the
uhid device when that information arrives.

Patch 1/3 should be considered for inclusion even if this idea doesn't
make sense.

Cheers,

Vinicius Costa Gomes (3):
  device: Add btd_ prefix to device_set_pnpid()
  device: Add a way to be notified that PNP information is present
  hog: Fix registering HoG devices without vendor information

 profiles/deviceinfo/deviceinfo.c |  2 +-
 profiles/input/hog_device.c      | 75 ++++++++++++++++++++++++++++------------
 src/device.c                     | 45 ++++++++++++++++++++++--
 src/device.h                     |  7 +++-
 4 files changed, 103 insertions(+), 26 deletions(-)

-- 
1.8.0

--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux