Skip to content

Instantly share code, notes, and snippets.

@samuelsadok
samuelsadok / dmesg
Created January 2, 2018 06:49
linux-usb: [BUG] SD card reader disappears after suspend
[ 0.000000] microcode: microcode updated early to revision 0x17, date = 2017-01-27
[ 0.000000] Linux version 4.14.8-1-ARCH (builduser@heftig-11417) (gcc version 7.2.1 20171128 (GCC)) #1 SMP PREEMPT Wed Dec 20 21:27:44 UTC 2017
[ 0.000000] Command line: initrd=\intel-ucode.img initrd=\initramfs-linux.img root=/dev/mapper/MainVolGroup-root rw resume=/dev/mapper/MainVolGroup-swap quiet modprobe.blacklist=i915 intel_iommu=on systemd.unit=multi-user.target
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers'
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers'
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x004: 'AVX registers'
[ 0.000000] x86/fpu: xstate_offset[2]: 576, xstate_sizes[2]: 256
[ 0.000000] x86/fpu: Enabled xstate features 0x7, context size is 832 bytes, using 'standard' format.
[ 0.000000] e820: BIOS-provided physical RAM map:
[ 0.000000] BIOS-e820: [mem 0x0000000000000000-0x0000000000057fff] usable
diff --git a/0001-fix-groups.patch b/0001-fix-groups.patch
new file mode 100644
index 0000000..6c67335
--- /dev/null
+++ b/0001-fix-groups.patch
@@ -0,0 +1,17 @@
+diff --git a/security/privileges.go b/security/privileges.go
+index 24cd345..1c601a9 100644
+--- a/security/privileges.go
++++ b/security/privileges.go
diff --git a/PKGBUILD b/PKGBUILD
index e98fdeb..4412f7b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
pkgbase=open3d
pkgname=( {,python-}open3d python-py3d )
-pkgver=0.1.1
+pkgver=0.3.0
diff --git a/PKGBUILD b/PKGBUILD
index 3e937e3..d4b86cf 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -52,7 +52,7 @@ prepare() {
build() {
local _configure_flags=(
- --prefix=/usr
+ --prefix=/opt/glibc-2.27/usr
Nov 20 16:29:06 makkintosshu audit[752]: USYS_CONFIG pid=752 uid=0 auid=4294967295 ses=4294967295 msg='op=connection-activate uuid=f405e109-cbd2-4f7d-b623-18b7c28eef33 name=4469736E6579205265736561726368205A7572696368 pid=1163 uid=1000 result=success exe="/usr/bin/NetworkManager" hostname=? addr=? terminal=? res=success'
Nov 20 16:29:06 makkintosshu NetworkManager[752]: <info> [1542727746.6684] audit: op="connection-activate" uuid="f405e109-cbd2-4f7d-b623-18b7c28eef33" name="Disney Research Zurich" pid=1163 uid=1000 result="success"
Nov 20 16:29:06 makkintosshu kernel: audit: type=1111 audit(1542727746.666:183): pid=752 uid=0 auid=4294967295 ses=4294967295 msg='op=connection-activate uuid=f405e109-cbd2-4f7d-b623-18b7c28eef33 name=4469736E6579205265736561726368205A7572696368 pid=1163 uid=1000 result=success exe="/usr/bin/NetworkManager" hostname=? addr=? terminal=? res=success'
Nov 20 16:29:06 makkintosshu NetworkManager[752]: <info> [1542727746.6737] vpn-connection[0x562c1e5da0d0,f405e109-cbd2-4f7d-b623-18
#include <stm32_adc.hpp>
#include <stm32_can.hpp>
#include <stm32_gpio.hpp>
#include <stm32_i2c.hpp>
#include <stm32_spi.hpp>
#include <stm32_usart.hpp>
#include <stm32_usb.hpp>
#include <drv8301.hpp>
import numpy as np
from math import pi, sqrt
from scipy.integrate import odeint, complex_ode
from scipy.optimize import least_squares
import matplotlib.pyplot as plt
filenames = [
"dc_test_blue_motor_2019-04-05.json",
# "blocked_rotor_test_blue_motor_2019-04-05.json"
[
{
"omega_stator": 0.0,
"omega_rotor": 0,
"timestamps": [
6.594000296900049e-06,
0.002872992999982671,
0.006120308999015833,
0.009046040999237448,
0.01208515699909185,
[
{
"omega_stator": 6.283185307179586,
"omega_rotor": 0,
"timestamps": [
1.0155001291423105e-05,
0.00447514600091381,
0.008955860999776633,
0.011569055001018569,
0.014018842000950826,
source Support/gdbtrace.init
target remote | openocd -f "interface/stlink-v2.cfg" -f "target/stm32f4x_stlink.cfg" -c "gdb_port pipe; log_output openocd.log"
#cortex_m vector_catch all
#monitor swdp_scan
monitor reset halt
monitor cortex_m vector_catch all
#file /Data/Projects/ODrive/Firmware/build/ODriveFirmware.elf
#attach 1 # <---- Connect to the target
set mem inaccessible-by-default off