Skip to content

Instantly share code, notes, and snippets.

View stpf99's full-sized avatar

Tomasz Świątek stpf99

  • Sanok
View GitHub Profile
@stpf99
stpf99 / Bush_windows_tablet_drm_panel_orientation_quirks.patch
Last active January 8, 2024 11:46
Bush_windows_tablet_drm_panel_orientation_quirks.patch
--- a/drivers/gpu/drm/drm_panel_orientation_quirks.c 2023-12-13 18:45:36.000000000 +0100
+++ b/drivers/gpu/drm/drm_panel_orientation_quirks.c 2024-01-07 19:22:40.515596420 +0100
@@ -196,6 +196,12 @@
DMI_MATCH(DMI_BOARD_NAME, "NEXT"),
},
.driver_data = (void *)&lcd800x1280_rightside_up,
+ }, { /* BUSH WINDOWS TABLET */
+ .matches = {
+ DMI_EXACT_MATCH(DMI_BOARD_VENDOR, "BUSH"),
+ DMI_MATCH(DMI_BOARD_NAME, "Bush Windows tablet"),
@stpf99
stpf99 / 0001-platform-x86-touchscreen_dmi-Add-info-for-the-BUSH-B.patch
Last active September 24, 2023 16:59
0001-platform-x86-touchscreen_dmi-Add-info-for-the-BUSH-B.patch
From 9dc9440ac89996e84c00135ced4da819f926a6ac Mon Sep 17 00:00:00 2001
From: Tomasz Swiatek <swiatektomasz99@gmail.com>
Date: Fri, 22 Sep 2023 18:46:32 +0200
Subject: [PATCH] platform/x86: touchscreen_dmi: Add info for the BUSH Bush
Windows tablet
Signed-off-by: Tomasz Swiatek <swiatektomasz99@gmail.com>
---
drivers/platform/x86/touchscreen_dmi.c | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
#human independend (cloud) build procedure directions for opensource distribution operating system.txt
#decide type_of_os =
all_master_(most_updated(unstable)/
most_stable=stress_test_suit_index/
high_score=[from_benchamrk_index=(phoronix_test_suite,other _indexed_suits,database(local,remote)]/
relase_to_date/
specyfic_package_version=package_name=ver/
package_priority_layout=pkg-layout
///// to each one +/- overlay_type=name=ver
#!/bin/ash
(
sleep 20
[[ -f /storage/.cache/btmac ]] || echo `printf '43:34:1b:%02x:%02x:%02x\n' $(( $RANDOM % 256 )) $(( $RANDOM % 256 )) $(( $RANDOM % 256 ))` > /storage/.cache/btmac
/usr/bin/btmgmt -i hci0 public-addr `cat /storage/.cache/btmac`
)&