Skip to content

Instantly share code, notes, and snippets.

View coldtobi's full-sized avatar

Tobias Frost coldtobi

  • Germany
View GitHub Profile
/**
* Marlin 3D Printer Firmware
* Copyright (C) 2019 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
*
* Based on Sprinter and grbl.
* Copyright (C) 2011 Camiel Gubbels / Erik van der Zalm
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
[ 77.870000] RTL871X: rtw_release_macid(wlan0) if1, hwaddr:32:b8:c3:c2:9c:02 macid:2 not used
[ 77.880000] ------------[ cut here ]------------
[ 77.890000] WARNING: CPU: 0 PID: 822 at /root/src/RTL8723BS/core/rtw_wlan_util.c:3588 rtw_release_macid+0x1c8/0x304 [8723bs]()
[ 77.900000] Modules linked in: bnep hci_uart btbcm btintel cmac ecb bluetooth batman_adv libcrc32c bridge stp llc 8723bs(O) cfg80211 usb_f_acm u_serial g_serial libcomposite configfs
[ 77.920000] CPU: 0 PID: 822 Comm: ip Tainted: G O 4.3.0tobis+ #1
[ 77.930000] Hardware name: Allwinner sun4i/sun5i Families
[ 77.930000] [<c00191cc>] (unwind_backtrace) from [<c0015148>] (show_stack+0x20/0x24)
[ 77.940000] [<c0015148>] (show_stack) from [<c0356bac>] (dump_stack+0x90/0xa0)
[ 77.950000] [<c0356bac>] (dump_stack) from [<c0027240>] (warn_slowpath_common+0x98/0xc8)
[ 77.960000] [<c0027240>] (warn_slowpath_common) from [<c002732c>] (warn_slowpath_null+0x2c/0x34)
[ 158.320000] Unable to handle kernel NULL pointer dereference at virtual address 0000001c
[ 158.330000] pgd = ddf04000
[ 158.330000] [0000001c] *pgd=5c623831, *pte=00000000, *ppte=00000000
[ 158.340000] Internal error: Oops: 17 [#1] SMP ARM
[ 158.340000] Modules linked in: bnep hci_uart btbcm btintel cmac ecb bluetooth batman_adv libcrc32c bridge stp llc 8723bs(O) cfg80211 usb_f_acm u_serial g_serial libcomposite configfs
[ 158.340000] CPU: 0 PID: 994 Comm: ip Tainted: G O 4.3.0tobis+ #1
[ 158.340000] Hardware name: Allwinner sun4i/sun5i Families
[ 158.340000] task: dc54b180 ti: ddf28000 task.ti: ddf28000
[ 158.340000] PC is at memcpy+0x48/0x330
[ 158.340000] LR is at rtw_cfg80211_unlink_bss+0x38/0x8c [8723bs]
diff --git a/neo/sound/snd_decoder.cpp b/neo/sound/snd_decoder.cpp
index f7040ad..3f83d10 100644
--- a/neo/sound/snd_decoder.cpp
+++ b/neo/sound/snd_decoder.cpp
@@ -35,6 +35,11 @@ If you have questions concerning this license or the applicable additional terms
#include "sound/snd_local.h"
+#include <iostream>
+
@coldtobi
coldtobi / 02-spelling-errors.patch
Created February 25, 2015 20:57
dhewm3: some spelling error
Description: Fixing some spelling errors
Those words are fixed: s/unkown/unknown, s/seperate/separate.
Fixes are only done in code, comments are only touch when the there was also
a code location to fix in the same file.
Author: Tobias Frost <tobi@debian.org>
Last-Update: 2015-02-14
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/neo/framework/DeclAF.cpp
+++ b/neo/framework/DeclAF.cpp
Description: Add the possibilty to run a script before/after the NightlyRun.
Author: Tobias Frost <tobi@debian.org>
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/bin/BackupPC_nightly
+++ b/bin/BackupPC_nightly
@@ -114,6 +114,13 @@
eval($reply);
}
@coldtobi
coldtobi / glxinfo
Last active August 29, 2015 14:09
sdl init on thinkpad
name of display: :0
display: :0 screen: 0
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.4
server glx extensions:
GLX_ARB_create_context, GLX_ARB_create_context_profile,
GLX_ARB_create_context_robustness, GLX_ARB_fbconfig_float,
GLX_ARB_framebuffer_sRGB, GLX_ARB_multisample,
GLX_EXT_create_context_es2_profile, GLX_EXT_framebuffer_sRGB,
Description: Fix SDL2 initialistion
SDL_GL_* should only be called after the window created.
Also, SDL_GL_MakeCurrent seems necessary.
Author: Tobias Frost <tobi@debian.org>
Forwarded: no, waiting for other patches to be applied first.
Last-Update: 2014-10-19
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/neo/sys/sdl/sdl_glimp.cpp
+++ b/neo/sys/sdl/sdl_glimp.cpp
Description: Fix locales loading when installed systemwide
Author: Tobias Frost <tobi@debian.org>
Bug: https://github.com/laserb/gnome-shell-extension-suspend-button/issues/6
Forwarded: yes
Last-Update: 2014-10-22
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/lib.js
+++ b/lib.js
@@ -18,6 +18,8 @@
Description: Use system/packaged glew libary
Also, this fixed a bug revealed by the newer glew libary: SDL_GL_* should only
be called after the window created. Also, SDL_GL_MakeCurrent seems necessary.
Author: Tobias Frost <tobi@debian.org>
Forwarded: no
Last-Update: 2014-10-19
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/neo/CMakeLists.txt
+++ b/neo/CMakeLists.txt