Skip to content

Instantly share code, notes, and snippets.

View Langerz82's full-sized avatar

Joshua L Langerz82

View GitHub Profile
#!/bin/bash
# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2019-present Shanti Gilbert (https://github.com/shantigilbert)
# Source predefined functions and variables
. /etc/profile
# Place any scripts you need to run at boot on this file
#!/usr/bin/env python
from subprocess import Popen, PIPE, check_output
from dataclasses import dataclass
import time
import sys
import os
import re
DEBUG = False
#!/usr/bin/env python
from subprocess import Popen, PIPE
from dataclasses import dataclass
import time
import sys
DEBUG = False
> bluetoothctl power on
Changing power on succeeded
> bluetoothctl agent on
> bluetoothctl discoverable on
Changing discoverable on succeeded
> bluetoothctl pairable on
Changing pairable on succeeded
@Langerz82
Langerz82 / emuelec-bluetooth
Last active June 2, 2023 12:02
EmuELEC dev - emuelec-bluetooth - v3 - issues - see comments.
#!/usr/bin/env python
from subprocess import Popen, PIPE
from dataclasses import dataclass
import time
DEBUG = True
@dataclass
@Langerz82
Langerz82 / emuelec-bluetooth
Last active June 2, 2023 22:10
emuelec-bluetooth 4.7 - Author: ebeem (https://github.com/ebeem)
#!/usr/bin/env python
from subprocess import Popen, PIPE
from dataclasses import dataclass
import time
import sys
DEBUG = False
@Langerz82
Langerz82 / fbneo-debug.txt
Created May 7, 2023 11:54
fbneo - debug - output
FBNeo v1.0.0.02
Loading config from /home/joslan/.local/share/fbneo/config/fbneo.ini
Loading config from /home/joslan/.local/share/fbneo/config/fbneo.ini
Found a joypad : XInput Controller
mapping (null)
mapping (null)
SDLSoundInit (44100Hz) (6000FPS)
*** Starting emulation of - 1944 - the loop master (000620 USA).
Cheat cpu-register INIT.
- 68K ROM size: 0xA327B720 (Decrypted with key)
@Langerz82
Langerz82 / setres.sh
Created April 15, 2023 12:26
EmuELEC - setres.sh - 6.4.1
#!/bin/bash
# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2019-present Shanti Gilbert (https://github.com/shantigilbert)
# Copyright (C) 2022-present Joshua L (https://github.com/Langerz82)
# Read the video output mode and set it for emuelec to avoid video flicking.
# This file sets the hdmi output and frame buffer to the argument in pixel width.
pcm.!default {
type plug
slave.pcm "dmixer"
}
pcm.dmixer {
type dmix
ipc_key 1024
slave {
pcm "hw:0"
@Langerz82
Langerz82 / asound.conf-amlogic-ng
Last active February 16, 2023 02:10
asound.conf-amlogic-ng - device 0 1
pcm.!default {
type plug
slave {
pcm "hw:0,1"
format S16_LE
rate 44100
}
}
ctl.!default {