Re: [BlueZ PATCH 2/2] input: Change uinput name and set uniq attribute

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

 



On Wednesday 27 November 2019 11:09:15 Abhishek Pandit-Subedi wrote:
> When creating the uinput device, change the name to the peer device
> name. Set the peer device address to the uniq attribute instead of the
> name.
> 
> The resulting uinput device will look like this:
> 
> $ udevadm info -a -p /sys/devices/virtual/input/input17
> ...
>   looking at device '/devices/virtual/input/input17':
>     KERNEL=="input17"
>     SUBSYSTEM=="input"
>     DRIVER==""
>     ATTR{inhibited}=="0"
>     ATTR{name}=="BeatsStudio Wireless"

Hello, as you already wrote in different thread, could you add
" (AVCTP)" suffix to name to indicate used bluetooth profile?

>     ATTR{phys}=="00:00:00:6e:d0:74"
>     ATTR{properties}=="0"
>     ATTR{uniq}=="00:00:00:cc:1c:f3"
> 
> ---
> 
> This change requires an accompanying change in the kernel that adds the
> set uniq ioctl. The change is available here:
> 
> https://lore.kernel.org/linux-bluetooth/20191127185139.65048-1-abhishekpandit@xxxxxxxxxxxx/T/#u
> 
> If this change looks ok, I would like to merge it with the previous
> change before merging since they're related.
> 
> 
>  profiles/audio/avctp.c | 18 +++++++++---------
>  src/uinput.h           |  2 ++
>  2 files changed, 11 insertions(+), 9 deletions(-)

-- 
Pali Rohár
pali.rohar@xxxxxxxxx

Attachment: signature.asc
Description: PGP signature


[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