mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] uhubctl: version bump 2.4.0 -> 2.5.0
@ 2023-09-18  8:07 Alexander Dahl
  2023-09-19 13:20 ` [ptxdist] [PATCH 2/2] uhubctl: Cosmetic rule file changes Alexander Dahl
  2023-09-24  5:44 ` [ptxdist] [APPLIED] uhubctl: version bump 2.4.0 -> 2.5.0 Michael Olbrich
  0 siblings, 2 replies; 4+ messages in thread
From: Alexander Dahl @ 2023-09-18  8:07 UTC (permalink / raw)
  To: ptxdist; +Cc: Leonard Göhrs, Michael Grzeschik, Lars Pedersen

> * Added support for Linux sysfs based power switching provided in
>   Linux kernel 6.0+ - it allows to solve reliability issues when
>   turning power off on Linux (#450).
> * Added option --nodesc to skip querying device string descriptors
>   (necessary for some buggy devices which otherwise would completely freeze).
> * New simpler way to configure udev rules on Linux
>   (one rule works for any USB hub).
> * Even more supported devices.

License file hash changed due to copyright year update.

Link: https://github.com/mvp/uhubctl/pull/450
Link: https://github.com/mvp/uhubctl/releases/tag/v2.5.0
Signed-off-by: Alexander Dahl <ada@thorsis.com>
---
 rules/uhubctl.make | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/rules/uhubctl.make b/rules/uhubctl.make
index 394b46855..53bf1025a 100644
--- a/rules/uhubctl.make
+++ b/rules/uhubctl.make
@@ -14,8 +14,8 @@ PACKAGES-$(PTXCONF_UHUBCTL) += uhubctl
 #
 # Paths and names
 #
-UHUBCTL_VERSION	:= 2.4.0
-UHUBCTL_MD5	:= 9bdf73940881df02574a94703ad8b582
+UHUBCTL_VERSION	:= 2.5.0
+UHUBCTL_MD5	:= e4e66d445ba8fda181ce4aa4abcd4247
 UHUBCTL		:= uhubctl-$(UHUBCTL_VERSION)
 UHUBCTL_SUFFIX	:= tar.gz
 UHUBCTL_URL	:= https://github.com/mvp/uhubctl/archive/v$(UHUBCTL_VERSION).$(UHUBCTL_SUFFIX)
@@ -23,7 +23,7 @@ UHUBCTL_SOURCE	:= $(SRCDIR)/$(UHUBCTL).$(UHUBCTL_SUFFIX)
 UHUBCTL_DIR	:= $(BUILDDIR)/$(UHUBCTL)
 UHUBCTL_LICENSE	:= GPL-2.0-only
 UHUBCTL_LICENSE_FILES := \
-	file://LICENSE;md5=a79e6a142b69522fe7757fe7313895eb
+	file://LICENSE;md5=1e7b16e6ef7cd15d58b0f1c58dbf9817
 
 # ----------------------------------------------------------------------------
 # Prepare

base-commit: 62f61865b380ca0064e7e8a3b7a81a8fb74ea51c
-- 
2.30.2




^ permalink raw reply	[flat|nested] 4+ messages in thread

* [ptxdist] [PATCH 2/2] uhubctl: Cosmetic rule file changes
  2023-09-18  8:07 [ptxdist] [PATCH] uhubctl: version bump 2.4.0 -> 2.5.0 Alexander Dahl
@ 2023-09-19 13:20 ` Alexander Dahl
  2023-09-24  5:44   ` [ptxdist] [APPLIED] " Michael Olbrich
  2023-09-24  5:44 ` [ptxdist] [APPLIED] uhubctl: version bump 2.4.0 -> 2.5.0 Michael Olbrich
  1 sibling, 1 reply; 4+ messages in thread
From: Alexander Dahl @ 2023-09-19 13:20 UTC (permalink / raw)
  To: ptxdist; +Cc: Lars Pedersen

- bool -> tristate
- whitespace
- shorter install_copy call (in fact moves the binary from /usr/bin to
  /usr/sbin, which is what `make install` does here and where the binary
  is found in Debian as well)

Signed-off-by: Alexander Dahl <ada@thorsis.com>
---
 rules/uhubctl.in   | 4 ++--
 rules/uhubctl.make | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/rules/uhubctl.in b/rules/uhubctl.in
index ec30f6637..6693ba16d 100644
--- a/rules/uhubctl.in
+++ b/rules/uhubctl.in
@@ -1,8 +1,8 @@
 ## SECTION=shell_and_console
 
 config UHUBCTL
-	bool
+	tristate
 	select LIBUSB
 	prompt "uhubctl"
 	help
-		Utility to control USB power per-port on smart USB hubs.
+	  Utility to control USB power per-port on smart USB hubs.
diff --git a/rules/uhubctl.make b/rules/uhubctl.make
index 53bf1025a..fc4219fb6 100644
--- a/rules/uhubctl.make
+++ b/rules/uhubctl.make
@@ -30,7 +30,7 @@ UHUBCTL_LICENSE_FILES := \
 # ----------------------------------------------------------------------------
 
 UHUBCTL_CONF_TOOL	:= NO
-UHUBCTL_MAKE_ENV 	:= $(CROSS_ENV)
+UHUBCTL_MAKE_ENV	:= $(CROSS_ENV)
 
 # ----------------------------------------------------------------------------
 # Target-Install
@@ -45,7 +45,7 @@ $(STATEDIR)/uhubctl.targetinstall:
 	@$(call install_fixup, uhubctl,AUTHOR,"Lars Pedersen <lapeddk@gmail.com>")
 	@$(call install_fixup, uhubctl,DESCRIPTION,missing)
 
-	@$(call install_copy, uhubctl, 0, 0, 0755, $(UHUBCTL_DIR)/uhubctl, /usr/bin/uhubctl)
+	@$(call install_copy, uhubctl, 0, 0, 0755, -, /usr/sbin/uhubctl)
 
 	@$(call install_finish, uhubctl)
 
-- 
2.30.2




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [ptxdist] [APPLIED] uhubctl: version bump 2.4.0 -> 2.5.0
  2023-09-18  8:07 [ptxdist] [PATCH] uhubctl: version bump 2.4.0 -> 2.5.0 Alexander Dahl
  2023-09-19 13:20 ` [ptxdist] [PATCH 2/2] uhubctl: Cosmetic rule file changes Alexander Dahl
@ 2023-09-24  5:44 ` Michael Olbrich
  1 sibling, 0 replies; 4+ messages in thread
From: Michael Olbrich @ 2023-09-24  5:44 UTC (permalink / raw)
  To: ptxdist; +Cc: Alexander Dahl

Thanks, applied as 7949a6cbae2b00c01aba8f34f991cc2dff6eb9c5.

Michael

[sent from post-receive hook]

On Sun, 24 Sep 2023 07:44:45 +0200, Alexander Dahl <ada@thorsis.com> wrote:
> > * Added support for Linux sysfs based power switching provided in
> >   Linux kernel 6.0+ - it allows to solve reliability issues when
> >   turning power off on Linux (#450).
> > * Added option --nodesc to skip querying device string descriptors
> >   (necessary for some buggy devices which otherwise would completely freeze).
> > * New simpler way to configure udev rules on Linux
> >   (one rule works for any USB hub).
> > * Even more supported devices.
> 
> License file hash changed due to copyright year update.
> 
> Link: https://github.com/mvp/uhubctl/pull/450
> Link: https://github.com/mvp/uhubctl/releases/tag/v2.5.0
> Signed-off-by: Alexander Dahl <ada@thorsis.com>
> Message-Id: <20230918080706.36511-1-ada@thorsis.com>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
> 
> diff --git a/rules/uhubctl.make b/rules/uhubctl.make
> index 394b46855549..53bf1025a7b3 100644
> --- a/rules/uhubctl.make
> +++ b/rules/uhubctl.make
> @@ -14,8 +14,8 @@ PACKAGES-$(PTXCONF_UHUBCTL) += uhubctl
>  #
>  # Paths and names
>  #
> -UHUBCTL_VERSION	:= 2.4.0
> -UHUBCTL_MD5	:= 9bdf73940881df02574a94703ad8b582
> +UHUBCTL_VERSION	:= 2.5.0
> +UHUBCTL_MD5	:= e4e66d445ba8fda181ce4aa4abcd4247
>  UHUBCTL		:= uhubctl-$(UHUBCTL_VERSION)
>  UHUBCTL_SUFFIX	:= tar.gz
>  UHUBCTL_URL	:= https://github.com/mvp/uhubctl/archive/v$(UHUBCTL_VERSION).$(UHUBCTL_SUFFIX)
> @@ -23,7 +23,7 @@ UHUBCTL_SOURCE	:= $(SRCDIR)/$(UHUBCTL).$(UHUBCTL_SUFFIX)
>  UHUBCTL_DIR	:= $(BUILDDIR)/$(UHUBCTL)
>  UHUBCTL_LICENSE	:= GPL-2.0-only
>  UHUBCTL_LICENSE_FILES := \
> -	file://LICENSE;md5=a79e6a142b69522fe7757fe7313895eb
> +	file://LICENSE;md5=1e7b16e6ef7cd15d58b0f1c58dbf9817
>  
>  # ----------------------------------------------------------------------------
>  # Prepare



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [ptxdist] [APPLIED] uhubctl: Cosmetic rule file changes
  2023-09-19 13:20 ` [ptxdist] [PATCH 2/2] uhubctl: Cosmetic rule file changes Alexander Dahl
@ 2023-09-24  5:44   ` Michael Olbrich
  0 siblings, 0 replies; 4+ messages in thread
From: Michael Olbrich @ 2023-09-24  5:44 UTC (permalink / raw)
  To: ptxdist; +Cc: Alexander Dahl

Thanks, applied as 2bc400cd9b583a0f9ab32569e7c845c1b18c1c39.

Michael

[sent from post-receive hook]

On Sun, 24 Sep 2023 07:44:51 +0200, Alexander Dahl <ada@thorsis.com> wrote:
> - bool -> tristate
> - whitespace
> - shorter install_copy call (in fact moves the binary from /usr/bin to
>   /usr/sbin, which is what `make install` does here and where the binary
>   is found in Debian as well)
> 
> Signed-off-by: Alexander Dahl <ada@thorsis.com>
> Message-Id: <20230919132035.416672-1-ada@thorsis.com>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
> 
> diff --git a/rules/uhubctl.in b/rules/uhubctl.in
> index ec30f6637316..6693ba16d101 100644
> --- a/rules/uhubctl.in
> +++ b/rules/uhubctl.in
> @@ -1,8 +1,8 @@
>  ## SECTION=shell_and_console
>  
>  config UHUBCTL
> -	bool
> +	tristate
>  	select LIBUSB
>  	prompt "uhubctl"
>  	help
> -		Utility to control USB power per-port on smart USB hubs.
> +	  Utility to control USB power per-port on smart USB hubs.
> diff --git a/rules/uhubctl.make b/rules/uhubctl.make
> index 53bf1025a7b3..fc4219fb6a7d 100644
> --- a/rules/uhubctl.make
> +++ b/rules/uhubctl.make
> @@ -30,7 +30,7 @@ UHUBCTL_LICENSE_FILES := \
>  # ----------------------------------------------------------------------------
>  
>  UHUBCTL_CONF_TOOL	:= NO
> -UHUBCTL_MAKE_ENV 	:= $(CROSS_ENV)
> +UHUBCTL_MAKE_ENV	:= $(CROSS_ENV)
>  
>  # ----------------------------------------------------------------------------
>  # Target-Install
> @@ -45,7 +45,7 @@ $(STATEDIR)/uhubctl.targetinstall:
>  	@$(call install_fixup, uhubctl,AUTHOR,"Lars Pedersen <lapeddk@gmail.com>")
>  	@$(call install_fixup, uhubctl,DESCRIPTION,missing)
>  
> -	@$(call install_copy, uhubctl, 0, 0, 0755, $(UHUBCTL_DIR)/uhubctl, /usr/bin/uhubctl)
> +	@$(call install_copy, uhubctl, 0, 0, 0755, -, /usr/sbin/uhubctl)
>  
>  	@$(call install_finish, uhubctl)
>  



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-09-24  5:47 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-09-18  8:07 [ptxdist] [PATCH] uhubctl: version bump 2.4.0 -> 2.5.0 Alexander Dahl
2023-09-19 13:20 ` [ptxdist] [PATCH 2/2] uhubctl: Cosmetic rule file changes Alexander Dahl
2023-09-24  5:44   ` [ptxdist] [APPLIED] " Michael Olbrich
2023-09-24  5:44 ` [ptxdist] [APPLIED] uhubctl: version bump 2.4.0 -> 2.5.0 Michael Olbrich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox