x/9i 0x4c3916c
这里是EFI_MAIN入口
x/9i 0x4c3a8b9
| // 文件名: drm_demo.c | |
| // 编译: gcc drm_demo.c -o drm_demo -ldrm -lxf86drm | |
| // 运行: 需要在纯控制台(tty)下,并以root权限执行 (sudo ./drm_demo) | |
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <string.h> | |
| #include <fcntl.h> | |
| #include <unistd.h> | |
| #include <sys/mman.h> |
| sudo pacman -Syu bluez bluez-utils pipewire pipewire-audio pipewire-pulse wireplumber pipewire-alsa |
x/9i 0x4c3916c
这里是EFI_MAIN入口
x/9i 0x4c3a8b9
| System | |
| ------------ | |
| Pixi version: 0.59.0 | |
| Platform: linux-64 | |
| Virtual packages: __unix=0=0 | |
| : __linux=6.17.7=0 | |
| : __glibc=2.42=0 | |
| : __cuda=13.0=0 | |
| : __archspec=1=skylake | |
| Cache dir: /home/bombless/.cache/rattler/cache |
| 2101146142 | |
| 146142 |
| [package] | |
| name = "custom_plot_manipulation" | |
| version = "0.1.0" | |
| edition = "2024" | |
| [dependencies] | |
| eframe = "0.33" | |
| egui_plot = "0.34" |
| %% 广告播放设备管理系统 | |
| %% 文件: ad_device_system.erl | |
| -module(ad_device_system). | |
| -behaviour(gen_server). | |
| %% API exports | |
| -export([start_link/0, stop/0, get_device_status/0, get_device_info/1]). | |
| %% gen_server callbacks |
iis url-rewrite模块下载: https://www.iis.net/downloads/microsoft/url-rewrite
| <circuit version="1.1.0-SR1" rev="2005" stepSize="1000000" stepsPS="1000000" NLsteps="100000" reaStep="1000000" animate="0" > | |
| <item itemtype="BJT" CircId="BJT-1" mainComp="false" Show_id="false" Show_Val="false" Pos="-52,28" rotation="0" hflip="1" vflip="1" label="BJT-1" idLabPos="18,0" labelrot="0" valLabPos="-16,20" valLabRot="0" PNP="false" Gain="100" Vcrit="0.670736 V" /> | |
| <item itemtype="Battery" CircId="Battery-2" mainComp="false" Show_id="false" Show_Val="false" Pos="56,-32" rotation="0" hflip="1" vflip="1" label="Battery-2" idLabPos="-18,-22" labelrot="0" valLabPos="-10,10" valLabRot="0" Voltage="5 V" Resistance="1 mΩ" /> | |
| <item itemtype="Led" CircId="Led-3" mainComp="false" Show_id="false" Show_Val="false" Pos="128,92" rotation="-360" hflip="1" vflip="1" label="Led-3" idLabPos="-16,-24" labelrot="0" valLabPos="-16,20" valLabRot="0" Color="Yellow" Grounded="false" Threshold="2.4 V" MaxCurrent="30 mA" Resistance="0.6 Ω" /> | |
| <item itemtype="Switch" CircId="Switch-5" mainComp="false" Show_id="false" Sho |
| import math | |
| import sounddevice as sd | |
| def frequency(base_freq, semitones): | |
| return base_freq * (2 ** (semitones / 12)) | |
| DO = 440 | |
| RE = frequency(DO, 2) |