[PATCH 14/14] udev: simpler check for rfcomm device names

Aleksander Morgado aleksander at aleksander.es
Sat Aug 6 08:51:07 UTC 2016


On Thu, Jul 28, 2016 at 12:14 AM, Aleksander Morgado
<aleksander at aleksander.es> wrote:
> Just the same kind of match we use for cdc-wdm devices.
> ---
>  src/80-mm-candidate.rules | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>

Pushed to git master.

> diff --git a/src/80-mm-candidate.rules b/src/80-mm-candidate.rules
> index 52e6882..2f95e7d 100644
> --- a/src/80-mm-candidate.rules
> +++ b/src/80-mm-candidate.rules
> @@ -11,7 +11,7 @@ ACTION!="add|change|move", GOTO="mm_candidate_end"
>
>  # Opening bound but disconnected Bluetooth RFCOMM ttys would initiate the
>  # connection. Don't do that.
> -KERNEL=="rfcomm[0-9]*", DEVPATH=="*/virtual/*", GOTO="mm_candidate_end"
> +KERNEL=="rfcomm*", DEVPATH=="*/virtual/*", GOTO="mm_candidate_end"
>
>  SUBSYSTEM=="tty", ENV{ID_MM_CANDIDATE}="1"
>  SUBSYSTEM=="net", ENV{ID_MM_CANDIDATE}="1"
> --
> 2.9.0
>



-- 
Aleksander
https://aleksander.es


More information about the ModemManager-devel mailing list