Package: bbswitch / 0.8-17

Metadata

Package Version Patches format
bbswitch 0.8-17 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
kbuild.patch | (download)

Makefile | 20 14 + 6 - 0 !
dkms/dkms.conf | 2 0 + 2 - 0 !
2 files changed, 14 insertions(+), 8 deletions(-)

 modernize kbuild integration


fix building against 4.12.patch | (download)

bbswitch.c | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 [patch] fix building against 4.12


0001 Use proc_ops structure for kernel version 5.6.0.patch | (download)

bbswitch.c | 14 14 + 0 - 0 !
1 file changed, 14 insertions(+)

 [patch] use proc_ops structure for kernel version >= 5.6.0

Since 5.6.0, proc_create requires a proc_ops* argument
instead of file_operations*.
Commit with the migrationin the kernel source can be found at
https://github.com/torvalds/linux/commit/d56c0d45f0e27f814e87a1676b6bdccccbc252e9

linux 5.18.patch | (download)

bbswitch.c | 5 5 + 0 - 0 !
1 file changed, 5 insertions(+)

---
0002 check for power state only if acpi is enabled.patch | (download)

bbswitch.c | 2 2 + 0 - 0 !
1 file changed, 2 insertions(+)

 in bbswitch_off() we use acpi_bus_get_device() to determine the power
 state, but this feature is only available if ACPI is enabled in the kernel, so
 make sure to do this check only when ACPI is available to prevent build
 errors.
Bug: https://github.com/Bumblebee-Project/bbswitch/pull/216