[wl-kmod: 1/2] Add patch for kernel >= 4.11 - remove last_rx reference in net_device struct rfbz#4503 Add elfutils-
by Nicolas Viéville
commit 55ac30bd50a3e7ddb7e1db89eccb210fcb56ae8a
Author: Nicolas Viéville <nicolas.vieville(a)univ-valenciennes.fr>
Date: Mon Apr 10 18:46:46 2017 +0200
Add patch for kernel >= 4.11 - remove last_rx reference in net_device struct rfbz#4503
Add elfutils-libelf-devel to BuildRequires
..._4.11_remove_last_rx_in_net_device_struct.patch | 27 ++++++++++++++++++++++
wl-kmod.spec | 9 +++++++-
2 files changed, 35 insertions(+), 1 deletion(-)
---
diff --git a/wl-kmod-009_kernel_4.11_remove_last_rx_in_net_device_struct.patch b/wl-kmod-009_kernel_4.11_remove_last_rx_in_net_device_struct.patch
new file mode 100644
index 0000000..4d46d04
--- /dev/null
+++ b/wl-kmod-009_kernel_4.11_remove_last_rx_in_net_device_struct.patch
@@ -0,0 +1,27 @@
+diff -Naur hybrid-v35_64-nodebug-pcoem-6_30_223_271.orig/src/wl/sys/wl_cfg80211_hybrid.c hybrid-v35_64-nodebug-pcoem-6_30_223_271/src/wl/sys/wl_cfg80211_hybrid.c
+--- hybrid-v35_64-nodebug-pcoem-6_30_223_271.orig/src/wl/sys/wl_cfg80211_hybrid.c 2017-02-08 19:35:44.320100235 +0100
++++ hybrid-v35_64-nodebug-pcoem-6_30_223_271/src/wl/sys/wl_cfg80211_hybrid.c 2017-04-10 14:23:40.909434506 +0200
+@@ -39,6 +39,10 @@
+ #include <proto/802.11.h>
+ #include <wl_cfg80211_hybrid.h>
+
++#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 11, 0)
++#include <linux/sched/signal.h>
++#endif
++
+ #define EVENT_TYPE(e) dtoh32((e)->event_type)
+ #define EVENT_FLAGS(e) dtoh16((e)->flags)
+ #define EVENT_STATUS(e) dtoh32((e)->status)
+diff -Naur hybrid-v35_64-nodebug-pcoem-6_30_223_271.orig/src/wl/sys/wl_linux.c hybrid-v35_64-nodebug-pcoem-6_30_223_271/src/wl/sys/wl_linux.c
+--- hybrid-v35_64-nodebug-pcoem-6_30_223_271.orig/src/wl/sys/wl_linux.c 2016-08-26 08:24:32.558643000 +0200
++++ hybrid-v35_64-nodebug-pcoem-6_30_223_271/src/wl/sys/wl_linux.c 2017-04-10 14:23:40.884434339 +0200
+@@ -2929,7 +2929,9 @@
+ if (skb == NULL) return;
+
+ skb->dev = wl->monitor_dev;
++#if LINUX_VERSION_CODE <= KERNEL_VERSION(4, 10, 0)
+ skb->dev->last_rx = jiffies;
++#endif
+ #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 22)
+ skb_reset_mac_header(skb);
+ #else
diff --git a/wl-kmod.spec b/wl-kmod.spec
index f7150a1..03e99da 100644
--- a/wl-kmod.spec
+++ b/wl-kmod.spec
@@ -8,7 +8,7 @@
Name: wl-kmod
Version: 6.30.223.271
-Release: 8%{?dist}
+Release: 9%{?dist}
Summary: Kernel module for Broadcom wireless devices
Group: System Environment/Kernel
License: Redistributable, no modification permitted
@@ -24,8 +24,10 @@ Patch4: wl-kmod-005_kernel_4.7_IEEE80211_BAND_to_NL80211_BAND.patch
Patch5: wl-kmod-006_gcc_6_fix_indentation_warnings.patch
Patch6: wl-kmod-007_kernel_4.8_add_cfg80211_scan_info_struct.patch
Patch7: wl-kmod-008_fix_kernel_warnings.patch
+Patch8: wl-kmod-009_kernel_4.11_remove_last_rx_in_net_device_struct.patch
BuildRequires: %{_bindir}/kmodtool
+BuildRequires: elfutils-libelf-devel
# needed for plague to make sure it builds for i586 and i686
ExclusiveArch: i686 x86_64
@@ -70,6 +72,7 @@ pushd %{name}-%{version}-src
%patch5 -p1 -b .gcc_6_fix_indentation_warnings
%patch6 -p1 -b .kernel_4.8_add_cfg80211_scan_info_struct
%patch7 -p1 -b .fix_kernel_warnings
+%patch8 -p1 -b .kernel_4.11_remove_last_rx_in_net_device_struct
popd
for kernel_version in %{?kernel_versions} ; do
@@ -99,6 +102,10 @@ chmod 0755 $RPM_BUILD_ROOT%{kmodinstdir_prefix}*%{kmodinstdir_postfix}/* || :
rm -rf $RPM_BUILD_ROOT
%changelog
+* Mon Apr 10 2017 Nicolas Viéville <nicolas.vieville(a)univ-valenciennes.fr> - 6.30.223.271-9
+- Add patch for kernel >= 4.11 - remove last_rx reference in net_device struct rfbz#4503
+- Add elfutils-libelf-devel to BuildRequires
+
* Wed Feb 08 2017 Nicolas Viéville <nicolas.vieville(a)univ-valenciennes.fr> - 6.30.223.271-8
- Add patch to fix kernel warnings - thanks to Adrien Bustany rfbz#4427
- Updated URLs to new Broadcom WEB site
7 years, 7 months
[steam] Update udev rules
by Simone Caronni
Summary of changes:
e0bc522... Update udev rules (*)
(*) This commit already existed in another branch; no separate mail sent
7 years, 7 months
[steam/f26] Update udev rules
by Simone Caronni
Summary of changes:
e0bc522... Update udev rules (*)
(*) This commit already existed in another branch; no separate mail sent
7 years, 7 months
[steam/f24: 2/2] Update udev rules
by Simone Caronni
commit e0bc52272b32e7a86212eff84f6e22ff0482f9c4
Author: Simone Caronni <negativo17(a)gmail.com>
Date: Mon Apr 10 16:18:15 2017 +0200
Update udev rules
51-these-are-not-joysticks-rm.rules | 4 ++++
README.Fedora | 2 ++
steam.spec | 5 ++++-
3 files changed, 10 insertions(+), 1 deletion(-)
---
diff --git a/51-these-are-not-joysticks-rm.rules b/51-these-are-not-joysticks-rm.rules
index d400849..446c4ab 100644
--- a/51-these-are-not-joysticks-rm.rules
+++ b/51-these-are-not-joysticks-rm.rules
@@ -55,12 +55,16 @@ SUBSYSTEM=="input", ATTRS{idVendor}=="09da", ATTRS{idProduct}=="9090", ENV{ID_IN
SUBSYSTEM=="input", ATTRS{idVendor}=="09da", ATTRS{idProduct}=="9090", KERNEL=="js[0-9]*", RUN+="/bin/rm %E{DEVNAME}", ENV{ID_INPUT_JOYSTICK}=""
SUBSYSTEM=="input", ATTRS{idVendor}=="09da", ATTRS{idProduct}=="90c0", ENV{ID_INPUT_JOYSTICK}=="?*", ENV{ID_INPUT_JOYSTICK}=""
SUBSYSTEM=="input", ATTRS{idVendor}=="09da", ATTRS{idProduct}=="90c0", KERNEL=="js[0-9]*", RUN+="/bin/rm %E{DEVNAME}", ENV{ID_INPUT_JOYSTICK}=""
+SUBSYSTEM=="input", ATTRS{idVendor}=="09da", ATTRS{idProduct}=="f012", ENV{ID_INPUT_JOYSTICK}=="?*", ENV{ID_INPUT_JOYSTICK}=""
+SUBSYSTEM=="input", ATTRS{idVendor}=="09da", ATTRS{idProduct}=="f012", KERNEL=="js[0-9]*", RUN+="/bin/rm %E{DEVNAME}", ENV{ID_INPUT_JOYSTICK}=""
SUBSYSTEM=="input", ATTRS{idVendor}=="09da", ATTRS{idProduct}=="f32a", ENV{ID_INPUT_JOYSTICK}=="?*", ENV{ID_INPUT_JOYSTICK}=""
SUBSYSTEM=="input", ATTRS{idVendor}=="09da", ATTRS{idProduct}=="f32a", KERNEL=="js[0-9]*", RUN+="/bin/rm %E{DEVNAME}", ENV{ID_INPUT_JOYSTICK}=""
SUBSYSTEM=="input", ATTRS{idVendor}=="09da", ATTRS{idProduct}=="f613", ENV{ID_INPUT_JOYSTICK}=="?*", ENV{ID_INPUT_JOYSTICK}=""
SUBSYSTEM=="input", ATTRS{idVendor}=="09da", ATTRS{idProduct}=="f613", KERNEL=="js[0-9]*", RUN+="/bin/rm %E{DEVNAME}", ENV{ID_INPUT_JOYSTICK}=""
SUBSYSTEM=="input", ATTRS{idVendor}=="09da", ATTRS{idProduct}=="f624", ENV{ID_INPUT_JOYSTICK}=="?*", ENV{ID_INPUT_JOYSTICK}=""
SUBSYSTEM=="input", ATTRS{idVendor}=="09da", ATTRS{idProduct}=="f624", KERNEL=="js[0-9]*", RUN+="/bin/rm %E{DEVNAME}", ENV{ID_INPUT_JOYSTICK}=""
+SUBSYSTEM=="input", ATTRS{idVendor}=="1d57", ATTRS{idProduct}=="ad03", ENV{ID_INPUT_JOYSTICK}=="?*", ENV{ID_INPUT_JOYSTICK}=""
+SUBSYSTEM=="input", ATTRS{idVendor}=="1d57", ATTRS{idProduct}=="ad03", KERNEL=="js[0-9]*", RUN+="/bin/rm %E{DEVNAME}", ENV{ID_INPUT_JOYSTICK}=""
SUBSYSTEM=="input", ATTRS{idVendor}=="1e7d", ATTRS{idProduct}=="2e4a", ENV{ID_INPUT_JOYSTICK}=="?*", ENV{ID_INPUT_JOYSTICK}=""
SUBSYSTEM=="input", ATTRS{idVendor}=="1e7d", ATTRS{idProduct}=="2e4a", KERNEL=="js[0-9]*", RUN+="/bin/rm %E{DEVNAME}", ENV{ID_INPUT_JOYSTICK}=""
SUBSYSTEM=="input", ATTRS{idVendor}=="20a0", ATTRS{idProduct}=="422d", ENV{ID_INPUT_JOYSTICK}=="?*", ENV{ID_INPUT_JOYSTICK}=""
diff --git a/README.Fedora b/README.Fedora
index 98c8be3..93cafb7 100644
--- a/README.Fedora
+++ b/README.Fedora
@@ -107,9 +107,11 @@ The package contains the UDEV rules for the following devices:
- A4 Tech Co., Sharkoon Fireglider Optical
- A4 Tech Co., Ltd XL-730K / XL-750BK / XL-755BK Laser Mouse
- A4 Tech Co., Ltd X7 G800V keyboard
+- A4 Tech Co., Ltd Bloody V7 mouse
- A4 Tech Co., Ltd Bloody B540 keyboard
- A4 Tech Co., Ltd Bloody V2 mouse
- A4 Tech Co., Ltd Bloody B120 Keyboard
+- [T3] 2.4GHz and IR Air Mouse Remote Control
- Roccat Tyon Mouse
- Winkeyless.kr Keyboards
- Cooler Master Storm Mizar Mouse
diff --git a/steam.spec b/steam.spec
index 6b1cefe..5501b73 100644
--- a/steam.spec
+++ b/steam.spec
@@ -6,7 +6,7 @@
Name: steam
Version: 1.0.0.54
-Release: 7%{?dist}
+Release: 8%{?dist}
Summary: Installer for the Steam software distribution service
# Redistribution and repackaging for Linux is allowed, see license file
License: Steam License Agreement
@@ -178,6 +178,9 @@ fi
%{_udevrulesdir}/*
%changelog
+* Mon Apr 10 2017 Simone Caronni <negativo17(a)gmail.com> - 1.0.0.54-8
+- Update udev rules.
+
* Sun Mar 26 2017 RPM Fusion Release Engineering <kwizart(a)rpmfusion.org> - 1.0.0.54-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
7 years, 7 months
[steam/el7] Update udev rules
by Simone Caronni
commit 60ca77857d18f6a9c14ca6bab29f9af0950397ee
Author: Simone Caronni <negativo17(a)gmail.com>
Date: Mon Apr 10 16:18:15 2017 +0200
Update udev rules
51-these-are-not-joysticks-rm.rules | 4 ++++
README.Fedora | 2 ++
steam.spec | 5 ++++-
3 files changed, 10 insertions(+), 1 deletion(-)
---
diff --git a/51-these-are-not-joysticks-rm.rules b/51-these-are-not-joysticks-rm.rules
index d400849..446c4ab 100644
--- a/51-these-are-not-joysticks-rm.rules
+++ b/51-these-are-not-joysticks-rm.rules
@@ -55,12 +55,16 @@ SUBSYSTEM=="input", ATTRS{idVendor}=="09da", ATTRS{idProduct}=="9090", ENV{ID_IN
SUBSYSTEM=="input", ATTRS{idVendor}=="09da", ATTRS{idProduct}=="9090", KERNEL=="js[0-9]*", RUN+="/bin/rm %E{DEVNAME}", ENV{ID_INPUT_JOYSTICK}=""
SUBSYSTEM=="input", ATTRS{idVendor}=="09da", ATTRS{idProduct}=="90c0", ENV{ID_INPUT_JOYSTICK}=="?*", ENV{ID_INPUT_JOYSTICK}=""
SUBSYSTEM=="input", ATTRS{idVendor}=="09da", ATTRS{idProduct}=="90c0", KERNEL=="js[0-9]*", RUN+="/bin/rm %E{DEVNAME}", ENV{ID_INPUT_JOYSTICK}=""
+SUBSYSTEM=="input", ATTRS{idVendor}=="09da", ATTRS{idProduct}=="f012", ENV{ID_INPUT_JOYSTICK}=="?*", ENV{ID_INPUT_JOYSTICK}=""
+SUBSYSTEM=="input", ATTRS{idVendor}=="09da", ATTRS{idProduct}=="f012", KERNEL=="js[0-9]*", RUN+="/bin/rm %E{DEVNAME}", ENV{ID_INPUT_JOYSTICK}=""
SUBSYSTEM=="input", ATTRS{idVendor}=="09da", ATTRS{idProduct}=="f32a", ENV{ID_INPUT_JOYSTICK}=="?*", ENV{ID_INPUT_JOYSTICK}=""
SUBSYSTEM=="input", ATTRS{idVendor}=="09da", ATTRS{idProduct}=="f32a", KERNEL=="js[0-9]*", RUN+="/bin/rm %E{DEVNAME}", ENV{ID_INPUT_JOYSTICK}=""
SUBSYSTEM=="input", ATTRS{idVendor}=="09da", ATTRS{idProduct}=="f613", ENV{ID_INPUT_JOYSTICK}=="?*", ENV{ID_INPUT_JOYSTICK}=""
SUBSYSTEM=="input", ATTRS{idVendor}=="09da", ATTRS{idProduct}=="f613", KERNEL=="js[0-9]*", RUN+="/bin/rm %E{DEVNAME}", ENV{ID_INPUT_JOYSTICK}=""
SUBSYSTEM=="input", ATTRS{idVendor}=="09da", ATTRS{idProduct}=="f624", ENV{ID_INPUT_JOYSTICK}=="?*", ENV{ID_INPUT_JOYSTICK}=""
SUBSYSTEM=="input", ATTRS{idVendor}=="09da", ATTRS{idProduct}=="f624", KERNEL=="js[0-9]*", RUN+="/bin/rm %E{DEVNAME}", ENV{ID_INPUT_JOYSTICK}=""
+SUBSYSTEM=="input", ATTRS{idVendor}=="1d57", ATTRS{idProduct}=="ad03", ENV{ID_INPUT_JOYSTICK}=="?*", ENV{ID_INPUT_JOYSTICK}=""
+SUBSYSTEM=="input", ATTRS{idVendor}=="1d57", ATTRS{idProduct}=="ad03", KERNEL=="js[0-9]*", RUN+="/bin/rm %E{DEVNAME}", ENV{ID_INPUT_JOYSTICK}=""
SUBSYSTEM=="input", ATTRS{idVendor}=="1e7d", ATTRS{idProduct}=="2e4a", ENV{ID_INPUT_JOYSTICK}=="?*", ENV{ID_INPUT_JOYSTICK}=""
SUBSYSTEM=="input", ATTRS{idVendor}=="1e7d", ATTRS{idProduct}=="2e4a", KERNEL=="js[0-9]*", RUN+="/bin/rm %E{DEVNAME}", ENV{ID_INPUT_JOYSTICK}=""
SUBSYSTEM=="input", ATTRS{idVendor}=="20a0", ATTRS{idProduct}=="422d", ENV{ID_INPUT_JOYSTICK}=="?*", ENV{ID_INPUT_JOYSTICK}=""
diff --git a/README.Fedora b/README.Fedora
index 98c8be3..93cafb7 100644
--- a/README.Fedora
+++ b/README.Fedora
@@ -107,9 +107,11 @@ The package contains the UDEV rules for the following devices:
- A4 Tech Co., Sharkoon Fireglider Optical
- A4 Tech Co., Ltd XL-730K / XL-750BK / XL-755BK Laser Mouse
- A4 Tech Co., Ltd X7 G800V keyboard
+- A4 Tech Co., Ltd Bloody V7 mouse
- A4 Tech Co., Ltd Bloody B540 keyboard
- A4 Tech Co., Ltd Bloody V2 mouse
- A4 Tech Co., Ltd Bloody B120 Keyboard
+- [T3] 2.4GHz and IR Air Mouse Remote Control
- Roccat Tyon Mouse
- Winkeyless.kr Keyboards
- Cooler Master Storm Mizar Mouse
diff --git a/steam.spec b/steam.spec
index 6b1cefe..5501b73 100644
--- a/steam.spec
+++ b/steam.spec
@@ -6,7 +6,7 @@
Name: steam
Version: 1.0.0.54
-Release: 7%{?dist}
+Release: 8%{?dist}
Summary: Installer for the Steam software distribution service
# Redistribution and repackaging for Linux is allowed, see license file
License: Steam License Agreement
@@ -178,6 +178,9 @@ fi
%{_udevrulesdir}/*
%changelog
+* Mon Apr 10 2017 Simone Caronni <negativo17(a)gmail.com> - 1.0.0.54-8
+- Update udev rules.
+
* Sun Mar 26 2017 RPM Fusion Release Engineering <kwizart(a)rpmfusion.org> - 1.0.0.54-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
7 years, 7 months
[steam/el7] - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
by Simone Caronni
commit 052c2571e07095d7f72e4ce65bf8189c3589e5ad
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Sun Mar 26 12:52:05 2017 +0200
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
steam.spec | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/steam.spec b/steam.spec
index ce14b0b..6b1cefe 100644
--- a/steam.spec
+++ b/steam.spec
@@ -6,7 +6,7 @@
Name: steam
Version: 1.0.0.54
-Release: 6%{?dist}
+Release: 7%{?dist}
Summary: Installer for the Steam software distribution service
# Redistribution and repackaging for Linux is allowed, see license file
License: Steam License Agreement
@@ -178,6 +178,9 @@ fi
%{_udevrulesdir}/*
%changelog
+* Sun Mar 26 2017 RPM Fusion Release Engineering <kwizart(a)rpmfusion.org> - 1.0.0.54-7
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
+
* Sun Feb 12 2017 Simone Caronni <negativo17(a)gmail.com> - 1.0.0.54-6
- Remove libstdc++ patch.
- Update udev rules.
7 years, 7 months