Re: [PATCH 1/3] Add support for command line arguments on hid2hci tool

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

 



Hi Mario,

> This means that hid2hci won't have to run
>  on every bootup for every machine with bluetooth installed.  It instead
> gets ran on demand if a
>  product that is called out from the dbus rules file contains the
> correct attributes and/or VID/PID.
> 
>  It also makes it easier for users to manually test new VID/PID
> combinations that may or may not
>  be yet supported by bluez.
> ---
>  scripts/Makefile.am       |   12 ++-
>  scripts/bluetooth.default |    3 -
>  scripts/bluetooth.init    |    7 --
>  scripts/hid2hci.rules     |   38 ++++++++++
>  tools/hid2hci.c           |  179
> +++++++++++++++++++-------------------------
>  5 files changed, 124 insertions(+), 115 deletions(-)
>  create mode 100644 scripts/hid2hci.rules
> 
> Attaching patch as Exchange would mangle otherwise.

please restrict the commit message to 70-72 chars per line.

And please do the following changes:

s/radiomode/mode/ since it is not about the radio part here.

s/hidproxy/csr/ if you wanna expose this then call it what it is.

And go over the coding style once more since there are some cases where
it breaks.

Also please split Makefile/rules changes from the actual code changes. I
want two patches here. One that fixes the code and another one that
takes care of the udev integration.

Other than that, looks pretty good.

Regards

Marcel


--
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