Skip to content

Instantly share code, notes, and snippets.

Sven Eckelmann ecsv

Block or report user

Report or block ecsv

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@ecsv
ecsv / zyxel_checksum.c
Last active Dec 6, 2017
zyxel checksum
View zyxel_checksum.c
#include <assert.h>
#include <stdint.h>
#include <stdio.h>
#include <string.h>
uint16_t zyxel_checksum1(const uint8_t *start, const uint8_t *end)
{
const uint8_t *pos;
uint32_t crc;
size_t len;
View 921-ath10k_init_devices_synchronously.patch
From: Sven Eckelmann <sven@open-mesh.com>
Date: Tue, 18 Nov 2014 12:29:28 +0100
Subject: [PATCH] ath10k: Don't initialize devices asynchronously
OpenWrt requires all PHYs to be initialized to create the configuration files
during bootup. ath10k violates this because it delays the creation of the PHY
to a not well defined point in the future.
Forcing the work to be done immediately works around this problem but may also
delay the boot when firmware images cannot be found.
@ecsv
ecsv / infinite_rumble_xboxdrv_bug.c
Created Jun 13, 2013
I noticed a problem with xboxdrv when used together with mupen64plus-input-sdl. The signaling rumble effects were played but not the ingame effects. The big difference between the two are the length of the effect (or actually the replay.length because it is a FF_RUMBLE/FF_PERIODIC effect). Signaling effects have a specific length and ingame effe…
View infinite_rumble_xboxdrv_bug.c
/*
Copyright (C) 1997-2011 Sam Lantinga <slouken@libsdl.org>
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this software for any purpose,
including commercial applications, and to alter it and redistribute it
freely.
You can’t perform that action at this time.