Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] rtl8822bu-dkms: update to 20221030.
@ 2022-10-30 18:56 classabbyamp
  2022-11-02 20:54 ` TrueTechie
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: classabbyamp @ 2022-10-30 18:56 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 643 bytes --]

There is a new pull request by classabbyamp against master on the void-packages repository

https://github.com/classabbyamp/void-packages fix/rtl8822bu-dkms-build
https://github.com/void-linux/void-packages/pull/40236

rtl8822bu-dkms: update to 20221030.
switch upstream (current one is archived), fixes build on newer kernels

fixes #40234

<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **briefly** (don't have the hardware, but the dkms module builds)



A patch file from https://github.com/void-linux/void-packages/pull/40236.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-fix/rtl8822bu-dkms-build-40236.patch --]
[-- Type: text/x-diff, Size: 2997 bytes --]

From f40e8ae38b17b83120e3417da3a6c2ecd2e7ab3f Mon Sep 17 00:00:00 2001
From: classabbyamp <void@placeviolette.net>
Date: Sun, 30 Oct 2022 14:54:49 -0400
Subject: [PATCH] rtl8822bu-dkms: update to 20221030.

switch upstream (current one is archived), fixes build on newer kernels

fixes #40234
---
 .../0001-void-arch-generic-plumbing-bits.patch       | 12 ++++++------
 srcpkgs/rtl8822bu-dkms/template                      | 12 ++++++------
 2 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/srcpkgs/rtl8822bu-dkms/patches/0001-void-arch-generic-plumbing-bits.patch b/srcpkgs/rtl8822bu-dkms/patches/0001-void-arch-generic-plumbing-bits.patch
index 5d11ea074fd7..afa05a1580b3 100644
--- a/srcpkgs/rtl8822bu-dkms/patches/0001-void-arch-generic-plumbing-bits.patch
+++ b/srcpkgs/rtl8822bu-dkms/patches/0001-void-arch-generic-plumbing-bits.patch
@@ -11,17 +11,17 @@ diff --git Makefile Makefile
 index 29da0bf..d58bc95 100644
 --- a/Makefile
 +++ b/Makefile
-@@ -97,7 +97,8 @@ CONFIG_RTW_SDIO_PM_KEEP_POWER = y
+@@ -120,7 +120,8 @@ CONFIG_RTW_SDIO_PM_KEEP_POWER = y
  ###################### MP HW TX MODE FOR VHT #######################
  CONFIG_MP_VHT_HW_TX_MODE = n
  ###################### Platform Related #######################
 -CONFIG_PLATFORM_I386_PC = y
 +CONFIG_PLATFORM_VOID_NATIVE = y
 +CONFIG_PLATFORM_I386_PC = n
- CONFIG_PLATFORM_ARM_RPI = n
  CONFIG_PLATFORM_ANDROID_X86 = n
  CONFIG_PLATFORM_ANDROID_INTEL_X86 = n
-@@ -1030,6 +1031,17 @@ endif
+ CONFIG_PLATFORM_JB_X86 = n
+@@ -1289,6 +1289,17 @@ endif
  
  EXTRA_CFLAGS += -DDM_ODM_SUPPORT_TYPE=0x04
  
@@ -36,9 +36,9 @@ index 29da0bf..d58bc95 100644
 +STAGINGMODDIR := /usr/lib/modules/$(KVER)/kernel/drivers/staging
 +endif
 +
- ifeq ($(CONFIG_PLATFORM_I386_PC), y)
- EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN
- EXTRA_CFLAGS += -DCONFIG_IOCTL_CFG80211 -DRTW_USE_CFG80211_STA_EVENT
+ ifeq ($(CONFIG_RTW_VHT_2G4), y)
+ EXTRA_CFLAGS += -DRTW_VHT_2G4=1
+ else
 -- 
 2.29.2
 
diff --git a/srcpkgs/rtl8822bu-dkms/template b/srcpkgs/rtl8822bu-dkms/template
index 61b92f58464d..a8f4216c169f 100644
--- a/srcpkgs/rtl8822bu-dkms/template
+++ b/srcpkgs/rtl8822bu-dkms/template
@@ -1,16 +1,16 @@
 # Template file for 'rtl8822bu-dkms'
 pkgname=rtl8822bu-dkms
-version=20201222
-revision=2
-_gitrev=fcfd4ecca1512d4cd2db4aa91679576d2a5ab8eb
-wrksrc="rtl8822bu-${_gitrev}"
+version=20221030
+revision=1
+_gitrev=f77c4e55cc1852b9f6e5aec416a34abcdabcd825
+wrksrc="rtl88x2bu-${_gitrev}"
 depends="dkms"
 short_desc="Realtek 8822BU USB WiFi driver (DKMS)"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="GPL-2.0-only"
 homepage="https://www.tp-link.com"
-distfiles="https://github.com/EntropicEffect/rtl8822bu/archive/${_gitrev}.tar.gz"
-checksum=fb2dbcd0385d558af6c74571aaac9020d7cbb9e56cc4780299bd420559f29bb1
+distfiles="https://github.com/cilynx/rtl88x2bu/archive/${_gitrev}.tar.gz"
+checksum=d1ed87d40cb47c1ac011a9e57aba84d8efecead84f0ddab4ea2847281c2749ca
 dkms_modules="88x2bu ${version}"
 
 case "$XBPS_TARGET_MACHINE" in

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

* Re: rtl8822bu-dkms: update to 20221030.
  2022-10-30 18:56 [PR PATCH] rtl8822bu-dkms: update to 20221030 classabbyamp
@ 2022-11-02 20:54 ` TrueTechie
  2022-11-02 21:09 ` [PR PATCH] [Updated] " classabbyamp
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: TrueTechie @ 2022-11-02 20:54 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 278 bytes --]

New comment by TrueTechie on void-packages repository

https://github.com/void-linux/void-packages/pull/40236#issuecomment-1301233706

Comment:
This worked well although it seems that the build now requires `bc` to be installed. I think you just need to add it as a dependency.

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

* Re: [PR PATCH] [Updated] rtl8822bu-dkms: update to 20221030.
  2022-10-30 18:56 [PR PATCH] rtl8822bu-dkms: update to 20221030 classabbyamp
  2022-11-02 20:54 ` TrueTechie
@ 2022-11-02 21:09 ` classabbyamp
  2022-11-02 21:11 ` classabbyamp
  2022-11-02 21:13 ` [PR PATCH] [Merged]: " classabbyamp
  3 siblings, 0 replies; 5+ messages in thread
From: classabbyamp @ 2022-11-02 21:09 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 648 bytes --]

There is an updated pull request by classabbyamp against master on the void-packages repository

https://github.com/classabbyamp/void-packages fix/rtl8822bu-dkms-build
https://github.com/void-linux/void-packages/pull/40236

rtl8822bu-dkms: update to 20221030.
switch upstream (current one is archived), fixes build on newer kernels

fixes #40234

<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **briefly** (don't have the hardware, but the dkms module builds)



A patch file from https://github.com/void-linux/void-packages/pull/40236.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-fix/rtl8822bu-dkms-build-40236.patch --]
[-- Type: text/x-diff, Size: 3014 bytes --]

From 9ec742e51de7cabd11c569dc1cb509f5cb0f7558 Mon Sep 17 00:00:00 2001
From: classabbyamp <void@placeviolette.net>
Date: Sun, 30 Oct 2022 14:54:49 -0400
Subject: [PATCH] rtl8822bu-dkms: update to 20221030.

switch upstream (current one is archived), fixes build on newer kernels

fixes #40234
---
 .../0001-void-arch-generic-plumbing-bits.patch     | 12 ++++++------
 srcpkgs/rtl8822bu-dkms/template                    | 14 +++++++-------
 2 files changed, 13 insertions(+), 13 deletions(-)

diff --git a/srcpkgs/rtl8822bu-dkms/patches/0001-void-arch-generic-plumbing-bits.patch b/srcpkgs/rtl8822bu-dkms/patches/0001-void-arch-generic-plumbing-bits.patch
index 5d11ea074fd7..afa05a1580b3 100644
--- a/srcpkgs/rtl8822bu-dkms/patches/0001-void-arch-generic-plumbing-bits.patch
+++ b/srcpkgs/rtl8822bu-dkms/patches/0001-void-arch-generic-plumbing-bits.patch
@@ -11,17 +11,17 @@ diff --git Makefile Makefile
 index 29da0bf..d58bc95 100644
 --- a/Makefile
 +++ b/Makefile
-@@ -97,7 +97,8 @@ CONFIG_RTW_SDIO_PM_KEEP_POWER = y
+@@ -120,7 +120,8 @@ CONFIG_RTW_SDIO_PM_KEEP_POWER = y
  ###################### MP HW TX MODE FOR VHT #######################
  CONFIG_MP_VHT_HW_TX_MODE = n
  ###################### Platform Related #######################
 -CONFIG_PLATFORM_I386_PC = y
 +CONFIG_PLATFORM_VOID_NATIVE = y
 +CONFIG_PLATFORM_I386_PC = n
- CONFIG_PLATFORM_ARM_RPI = n
  CONFIG_PLATFORM_ANDROID_X86 = n
  CONFIG_PLATFORM_ANDROID_INTEL_X86 = n
-@@ -1030,6 +1031,17 @@ endif
+ CONFIG_PLATFORM_JB_X86 = n
+@@ -1289,6 +1289,17 @@ endif
  
  EXTRA_CFLAGS += -DDM_ODM_SUPPORT_TYPE=0x04
  
@@ -36,9 +36,9 @@ index 29da0bf..d58bc95 100644
 +STAGINGMODDIR := /usr/lib/modules/$(KVER)/kernel/drivers/staging
 +endif
 +
- ifeq ($(CONFIG_PLATFORM_I386_PC), y)
- EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN
- EXTRA_CFLAGS += -DCONFIG_IOCTL_CFG80211 -DRTW_USE_CFG80211_STA_EVENT
+ ifeq ($(CONFIG_RTW_VHT_2G4), y)
+ EXTRA_CFLAGS += -DRTW_VHT_2G4=1
+ else
 -- 
 2.29.2
 
diff --git a/srcpkgs/rtl8822bu-dkms/template b/srcpkgs/rtl8822bu-dkms/template
index 61b92f58464d..4c00b8e74688 100644
--- a/srcpkgs/rtl8822bu-dkms/template
+++ b/srcpkgs/rtl8822bu-dkms/template
@@ -1,16 +1,16 @@
 # Template file for 'rtl8822bu-dkms'
 pkgname=rtl8822bu-dkms
-version=20201222
-revision=2
-_gitrev=fcfd4ecca1512d4cd2db4aa91679576d2a5ab8eb
-wrksrc="rtl8822bu-${_gitrev}"
-depends="dkms"
+version=20221030
+revision=1
+_gitrev=f77c4e55cc1852b9f6e5aec416a34abcdabcd825
+wrksrc="rtl88x2bu-${_gitrev}"
+depends="dkms bc"
 short_desc="Realtek 8822BU USB WiFi driver (DKMS)"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="GPL-2.0-only"
 homepage="https://www.tp-link.com"
-distfiles="https://github.com/EntropicEffect/rtl8822bu/archive/${_gitrev}.tar.gz"
-checksum=fb2dbcd0385d558af6c74571aaac9020d7cbb9e56cc4780299bd420559f29bb1
+distfiles="https://github.com/cilynx/rtl88x2bu/archive/${_gitrev}.tar.gz"
+checksum=d1ed87d40cb47c1ac011a9e57aba84d8efecead84f0ddab4ea2847281c2749ca
 dkms_modules="88x2bu ${version}"
 
 case "$XBPS_TARGET_MACHINE" in

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

* Re: [PR PATCH] [Updated] rtl8822bu-dkms: update to 20221030.
  2022-10-30 18:56 [PR PATCH] rtl8822bu-dkms: update to 20221030 classabbyamp
  2022-11-02 20:54 ` TrueTechie
  2022-11-02 21:09 ` [PR PATCH] [Updated] " classabbyamp
@ 2022-11-02 21:11 ` classabbyamp
  2022-11-02 21:13 ` [PR PATCH] [Merged]: " classabbyamp
  3 siblings, 0 replies; 5+ messages in thread
From: classabbyamp @ 2022-11-02 21:11 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 648 bytes --]

There is an updated pull request by classabbyamp against master on the void-packages repository

https://github.com/classabbyamp/void-packages fix/rtl8822bu-dkms-build
https://github.com/void-linux/void-packages/pull/40236

rtl8822bu-dkms: update to 20221030.
switch upstream (current one is archived), fixes build on newer kernels

fixes #40234

<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **briefly** (don't have the hardware, but the dkms module builds)



A patch file from https://github.com/void-linux/void-packages/pull/40236.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-fix/rtl8822bu-dkms-build-40236.patch --]
[-- Type: text/x-diff, Size: 3014 bytes --]

From 98e63cb46c8a9b62a5daf48805e61aadd715dfd4 Mon Sep 17 00:00:00 2001
From: classabbyamp <void@placeviolette.net>
Date: Sun, 30 Oct 2022 14:54:49 -0400
Subject: [PATCH] rtl8822bu-dkms: update to 20221030.

switch upstream (current one is archived), fixes build on newer kernels

fixes #40234
---
 .../0001-void-arch-generic-plumbing-bits.patch     | 12 ++++++------
 srcpkgs/rtl8822bu-dkms/template                    | 14 +++++++-------
 2 files changed, 13 insertions(+), 13 deletions(-)

diff --git a/srcpkgs/rtl8822bu-dkms/patches/0001-void-arch-generic-plumbing-bits.patch b/srcpkgs/rtl8822bu-dkms/patches/0001-void-arch-generic-plumbing-bits.patch
index 5d11ea074fd7..afa05a1580b3 100644
--- a/srcpkgs/rtl8822bu-dkms/patches/0001-void-arch-generic-plumbing-bits.patch
+++ b/srcpkgs/rtl8822bu-dkms/patches/0001-void-arch-generic-plumbing-bits.patch
@@ -11,17 +11,17 @@ diff --git Makefile Makefile
 index 29da0bf..d58bc95 100644
 --- a/Makefile
 +++ b/Makefile
-@@ -97,7 +97,8 @@ CONFIG_RTW_SDIO_PM_KEEP_POWER = y
+@@ -120,7 +120,8 @@ CONFIG_RTW_SDIO_PM_KEEP_POWER = y
  ###################### MP HW TX MODE FOR VHT #######################
  CONFIG_MP_VHT_HW_TX_MODE = n
  ###################### Platform Related #######################
 -CONFIG_PLATFORM_I386_PC = y
 +CONFIG_PLATFORM_VOID_NATIVE = y
 +CONFIG_PLATFORM_I386_PC = n
- CONFIG_PLATFORM_ARM_RPI = n
  CONFIG_PLATFORM_ANDROID_X86 = n
  CONFIG_PLATFORM_ANDROID_INTEL_X86 = n
-@@ -1030,6 +1031,17 @@ endif
+ CONFIG_PLATFORM_JB_X86 = n
+@@ -1289,6 +1289,17 @@ endif
  
  EXTRA_CFLAGS += -DDM_ODM_SUPPORT_TYPE=0x04
  
@@ -36,9 +36,9 @@ index 29da0bf..d58bc95 100644
 +STAGINGMODDIR := /usr/lib/modules/$(KVER)/kernel/drivers/staging
 +endif
 +
- ifeq ($(CONFIG_PLATFORM_I386_PC), y)
- EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN
- EXTRA_CFLAGS += -DCONFIG_IOCTL_CFG80211 -DRTW_USE_CFG80211_STA_EVENT
+ ifeq ($(CONFIG_RTW_VHT_2G4), y)
+ EXTRA_CFLAGS += -DRTW_VHT_2G4=1
+ else
 -- 
 2.29.2
 
diff --git a/srcpkgs/rtl8822bu-dkms/template b/srcpkgs/rtl8822bu-dkms/template
index 61b92f58464d..4c00b8e74688 100644
--- a/srcpkgs/rtl8822bu-dkms/template
+++ b/srcpkgs/rtl8822bu-dkms/template
@@ -1,16 +1,16 @@
 # Template file for 'rtl8822bu-dkms'
 pkgname=rtl8822bu-dkms
-version=20201222
-revision=2
-_gitrev=fcfd4ecca1512d4cd2db4aa91679576d2a5ab8eb
-wrksrc="rtl8822bu-${_gitrev}"
-depends="dkms"
+version=20221030
+revision=1
+_gitrev=f77c4e55cc1852b9f6e5aec416a34abcdabcd825
+wrksrc="rtl88x2bu-${_gitrev}"
+depends="dkms bc"
 short_desc="Realtek 8822BU USB WiFi driver (DKMS)"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="GPL-2.0-only"
 homepage="https://www.tp-link.com"
-distfiles="https://github.com/EntropicEffect/rtl8822bu/archive/${_gitrev}.tar.gz"
-checksum=fb2dbcd0385d558af6c74571aaac9020d7cbb9e56cc4780299bd420559f29bb1
+distfiles="https://github.com/cilynx/rtl88x2bu/archive/${_gitrev}.tar.gz"
+checksum=d1ed87d40cb47c1ac011a9e57aba84d8efecead84f0ddab4ea2847281c2749ca
 dkms_modules="88x2bu ${version}"
 
 case "$XBPS_TARGET_MACHINE" in

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

* Re: [PR PATCH] [Merged]: rtl8822bu-dkms: update to 20221030.
  2022-10-30 18:56 [PR PATCH] rtl8822bu-dkms: update to 20221030 classabbyamp
                   ` (2 preceding siblings ...)
  2022-11-02 21:11 ` classabbyamp
@ 2022-11-02 21:13 ` classabbyamp
  3 siblings, 0 replies; 5+ messages in thread
From: classabbyamp @ 2022-11-02 21:13 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 465 bytes --]

There's a merged pull request on the void-packages repository

rtl8822bu-dkms: update to 20221030.
https://github.com/void-linux/void-packages/pull/40236

Description:
switch upstream (current one is archived), fixes build on newer kernels

fixes #40234

<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **briefly** (don't have the hardware, but the dkms module builds)



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

end of thread, other threads:[~2022-11-02 21:13 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-30 18:56 [PR PATCH] rtl8822bu-dkms: update to 20221030 classabbyamp
2022-11-02 20:54 ` TrueTechie
2022-11-02 21:09 ` [PR PATCH] [Updated] " classabbyamp
2022-11-02 21:11 ` classabbyamp
2022-11-02 21:13 ` [PR PATCH] [Merged]: " classabbyamp

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).