Usb autosuspend disable:
echo -1 > /sys/module/usbcore/parameters/autosuspend
Fix USB cable is bad or device descriptor issue
echo Y | tee /sys/module/usbcore/parameters/old_scheme_first
Wifi power save mode disable
| // main.c | |
| // https://www.youtube.com/watch?v=8nOi-0kBv2Y | |
| // gcc create_wave_file.c -o create_wave_file -lm | |
| // or clang create_wave_file.c -lm | |
| #include <math.h> | |
| #include <stdint.h> | |
| #include <string.h> | |
| #include <stdio.h> |
| extends KinematicBody | |
| onready var cam = $Camera | |
| var speed = 5 | |
| var moveX = 0 | |
| var moveZ = 0 | |
| var gravity = 9.81 |
| #!/usr/bin/python3 | |
| from pyrogram import Client, filters | |
| import subprocess | |
| import time | |
| import os | |
| bindir=os.getcwd() | |
| # Get hash from here https://my.telegram.org/apps | |
| app = Client("shellbot",api_id=123456, | |
| api_hash="your telegram app hash") | |
| admin_id="1234234" |
| #!/bin/bash | |
| # | |
| # 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 (at your option) | |
| # any later version. | |
| # | |
| # Simple init script written bash | |
| # You can edit this file | |
| # |
Usb autosuspend disable:
echo -1 > /sys/module/usbcore/parameters/autosuspend
Fix USB cable is bad or device descriptor issue
echo Y | tee /sys/module/usbcore/parameters/old_scheme_first
Wifi power save mode disable