20240116使用Firefly的AIO-3399J的预编译的Android10固件确认RT5640声卡信息

20240116使用Firefly的AIO-3399J的预编译的Android10固件确认RT5640声卡信息
2024/1/16 17:55


百度:RK3399 ALC5640
RK3399 RT5640
BING:RK3399 ALC5640

LINE-IN接麦克风不会有声音的。

耳机只有右边有声音,但是偏小,可以通过音量调节增大的!


https://huaweicloud.csdn.net/64eeaf5b6ffa502025761f17.html
rk3399 android 11 audio rt5651调试
1.cat /proc/asound/cards 可以产看是否有注册上声卡。
2.tinycap 直接录音看是否有声音,如果没有声音就是驱动问题。
3.录音的时候命令tinymix查看通路
4.最终的分析是没有micbias1电压
5.查看寄存器,设置寄存器cat /sys/kernel/debug/regmap/


[    1.885647] ashmem: initialized
[    1.888816] optee: probing for conduit method from DT.
[    1.888923] optee: revision 1.1
[    1.889280] optee: initialized driver
[    1.889324] rknandbase v1.2 2021-01-07
[    1.889943] usbcore: registered new interface driver snd-usb-audio
[    1.892127] rt5640 1-001c: Can not read property hp-con-gpio
[    1.901555] netem: version 1.3
[    1.901623] u32 classifier
[    1.901650]     Actions configured
[    1.902692] xt_time: kernel timezone is -0000
[    1.902911] gre: GRE over IPv4 demultiplexor driver
[    1.902940] IPv4 over IPsec tunneling driver
[    1.903987] Initializing XFRM netlink socket


[    1.957297] midgard ff9a0000.gpu: Probed as mali0
[    1.957616] rockchip-dmc dmc: Linked as a consumer to regulator.16
[    1.957635] rockchip-dmc dmc: Failed to get ddr_leakage
[    1.957836] rockchip-dmc dmc: avs=0
[    1.957969] rockchip-dmc dmc: l=-2147483648 h=2147483647 hyst=0 l_limit=0 h_limit=0 h_table=0
[    1.957987] rockchip-dmc dmc: could not find power_model node
[    1.959070] asoc-simple-card hdmi-sound: i2s-hifi <-> ff8a0000.i2s mapping ok
[    1.962886] asoc-simple-card rt5640-sound: rt5640-aif1 <-> ff890000.i2s mapping ok
[    1.963592] asoc-simple-card rt5640-sound: rt5640-aif2 <-> ff890000.i2s mapping ok
[    1.965825] input: rockchip,rt5640-codec Headphone Jack as /devices/platform/rt5640-sound/sound/card1/input1

[    1.967777] lzfdebug enter rtc_hctosys
[    1.967914] rk808-rtc rk808-rtc: setting system clock to 2024-01-09 03:02:20 UTC (1704769340)
[    1.968461] It doesn't contain Rogue gpu
[    1.968920] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[    1.969831] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'


[   18.865336] libprocessgroup: Successfully killed process cgroup uid 1000 pid 290 in 5ms
[   18.865938] init: Service 'idmap2d' (pid 290) received signal 9
[   23.519262] rt5640_set_linein enter
[   32.052532] vdd3v3_pcie: disabling
[   32.052600] vcc_sd: disabling
[   32.052618] vcc_otg_vbus: disabling
[   32.052634] vcc_mipi: disabling


:/ # 
:/ # cat /pr
proc/               product/            product_services
:/ # cat /proc/asound/ca
card0/  card1/  cards
:/ # cat /proc/asound/cards                                                    
 0 [rockchiphdmi   ]: rockchip_hdmi - rockchip,hdmi
                      rockchip,hdmi
 1 [rockchiprt5640c]: rockchip_rt5640 - rockchip,rt5640-codec
                      rockchip,rt5640-codec

:/ # 
:/ # cd /dev/snd/                                                              
:/dev/snd # 
:/dev/snd # ls -l
total 0
crw-rw---- 1 system audio 116,   3 2024-01-09 03:02 controlC0
crw-rw---- 1 system audio 116,   8 2024-01-09 03:02 controlC1
crw-rw---- 1 system audio 116,   2 2024-01-09 03:02 pcmC0D0p
crw-rw---- 1 system audio 116,   5 2024-01-09 03:02 pcmC1D0c
crw-rw---- 1 system audio 116,   4 2024-01-09 03:02 pcmC1D0p
crw-rw---- 1 system audio 116,   7 2024-01-09 03:02 pcmC1D1c
crw-rw---- 1 system audio 116,   6 2024-01-09 03:02 pcmC1D1p
crw-rw---- 1 system audio 116,  33 2024-01-09 03:02 timer

:/dev/snd # 

1|:/dev/snd # cd /sys/kernel/debug/ 
:/sys/kernel/debug # cd regmap/                                                
:/sys/kernel/debug/regmap # 
127|:/sys/kernel/debug/regmap # ls -l
total 0
drwxr-xr-x 2 root root 0 1970-01-01 00:00 0-001b
drwxr-xr-x 2 root root 0 1970-01-01 00:00 0-0040
drwxr-xr-x 2 root root 0 1970-01-01 00:00 0-0041
drwxr-xr-x 2 root root 0 2024-01-09 03:02 1-001c
drwxr-xr-x 2 root root 0 1970-01-01 00:00 dummy-power-management@ff310000
drwxr-xr-x 2 root root 0 1970-01-01 00:00 dummy-qos@ffa58000
drwxr-xr-x 2 root root 0 1970-01-01 00:00 dummy-qos@ffa5c000
drwxr-xr-x 2 root root 0 1970-01-01 00:00 dummy-qos@ffa60080
drwxr-xr-x 2 root root 0 1970-01-01 00:00 dummy-qos@ffa60100
drwxr-xr-x 2 root root 0 1970-01-01 00:00 dummy-qos@ffa60180
drwxr-xr-x 2 root root 0 1970-01-01 00:00 dummy-qos@ffa70000
drwxr-xr-x 2 root root 0 1970-01-01 00:00 dummy-qos@ffa70080
drwxr-xr-x 2 root root 0 1970-01-01 00:00 dummy-qos@ffa74000
drwxr-xr-x 2 root root 0 1970-01-01 00:00 dummy-qos@ffa76000
drwxr-xr-x 2 root root 0 1970-01-01 00:00 dummy-qos@ffa90000
drwxr-xr-x 2 root root 0 1970-01-01 00:00 dummy-qos@ffa98000
drwxr-xr-x 2 root root 0 1970-01-01 00:00 dummy-qos@ffaa0000
drwxr-xr-x 2 root root 0 1970-01-01 00:00 dummy-qos@ffaa0080
drwxr-xr-x 2 root root 0 1970-01-01 00:00 dummy-qos@ffaa8000
drwxr-xr-x 2 root root 0 1970-01-01 00:00 dummy-qos@ffaa8080
drwxr-xr-x 2 root root 0 1970-01-01 00:00 dummy-qos@ffab0000
drwxr-xr-x 2 root root 0 1970-01-01 00:00 dummy-qos@ffab0080
drwxr-xr-x 2 root root 0 1970-01-01 00:00 dummy-qos@ffab8000
drwxr-xr-x 2 root root 0 1970-01-01 00:00 dummy-qos@ffac0000
drwxr-xr-x 2 root root 0 1970-01-01 00:00 dummy-qos@ffac0080
drwxr-xr-x 2 root root 0 1970-01-01 00:00 dummy-qos@ffac8000
drwxr-xr-x 2 root root 0 1970-01-01 00:00 dummy-qos@ffac8080
drwxr-xr-x 2 root root 0 1970-01-01 00:00 dummy-qos@ffad0000
drwxr-xr-x 2 root root 0 1970-01-01 00:00 dummy-qos@ffad8080
drwxr-xr-x 2 root root 0 1970-01-01 00:00 dummy-qos@ffae0000
drwxr-xr-x 2 root root 0 1970-01-01 00:00 dummy-syscon@ff320000
drwxr-xr-x 2 root root 0 1970-01-01 00:00 dummy-syscon@ff770000
drwxr-xr-x 2 root root 0 2024-01-09 03:02 ff880000.i2s
drwxr-xr-x 2 root root 0 2024-01-09 03:02 ff890000.i2s
drwxr-xr-x 2 root root 0 2024-01-09 03:02 ff8a0000.i2s
drwxr-xr-x 2 root root 0 197
2|:/sys/kernel/debug/regmap # cd 1-001c/                                       
:/sys/kernel/debug/regmap/1-001c # ls -l
total 0
-r-------- 1 root root 0 2024-01-09 03:02 PR
-r-------- 1 root root 0 2024-01-09 03:02 access
-rw------- 1 root root 0 2024-01-09 03:02 cache_bypass
-r-------- 1 root root 0 2024-01-09 03:02 cache_dirty
-rw------- 1 root root 0 2024-01-09 03:02 cache_only
-r-------- 1 root root 0 2024-01-09 03:02 name
-r-------- 1 root root 0 2024-01-09 03:02 range
-r-------- 1 root root 0 2024-01-09 03:02 rbtree
-r-------- 1 root root 0 2024-01-09 03:02 registers

:/sys/kernel/debug/regmap/1-001c # cat name
rt5640
:/sys/kernel/debug/regmap/1-001c # 
:/sys/kernel/debug/regmap/1-001c # cat range                                   
0-4
d-f
19-1e
27-2f

参考资料:
https://blog.csdn.net/weixin_55163060/article/details/126061028
RK3399 ALC5640芯片配置


https://blog.csdn.net/huang_165/article/details/85321945
rk3399调试alc5651(audio模块)之操作方法

https://www.t-firefly.com/download/Firefly-RK3399/docs/Chip%20Specifications/ALC5640-VB%20DataSheet_0.91.pdf


https://huaweicloud.csdn.net/64eeaf5b6ffa502025761f17.html?dp_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpZCI6MjQwNTYwLCJleHAiOjE3MDUyODEwMDcsImlhdCI6MTcwNDY3NjIwNywidXNlcm5hbWUiOiJ3YjQ5MTYifQ.WJBZT9wsjubmXfe1sM1UzHgL4k-hUBsXiTGJI116Wig
https://huaweicloud.csdn.net/64eeaf5b6ffa502025761f17.html
rk3399 android 11 audio rt5651调试
Max.Chen ?·? 2022-07-01 22:51:55 发布

功能:rt5651遇到无法录音的问题,分析及解决。
1.cat /proc/asound/cards 可以产看是否有注册上声卡。
2.tinycap 直接录音看是否有声音,如果没有声音就是驱动问题。
3.录音的时候命令tinymix查看通路
4.最终的分析是没有micbias1电压
5.查看寄存器,设置寄存器cat /sys/kernel/debug/regmap/


https://blog.csdn.net/W_nvshenglu/article/details/120012333
rk3399 rt5640 录音调试记录


https://blog.csdn.net/weixin_39862484/article/details/111859895
android dts配置_「7.1」[RK3399][Android7.1] 移植笔记 --- 音频Codec RT5640添加 - seo实验室...


https://bbs.t-firefly.com/forum.php?mod=viewthread&tid=3657
【General】 rk3399 audio:rt5640 ; linux5.10


https://blog.csdn.net/u013021855/article/details/126782327
rk3399pro添加ALC5640音频配置

DDR Version 1.26 20210628
In
soft reset
SRX
channel 0
CS = 0
MR0=0x18
MR4=0x2
MR5=0x1
MR8=0x8
MR12=0x72
MR14=0x72
MR18=0x0
MR19=0x0
MR24=0x8
MR25=0x0
channel 1
CS = 0
MR0=0x18
MR4=0x2
MR5=0x1
MR8=0x8
MR12=0x72
MR14=0x72
MR18=0x0
MR19=0x0
MR24=0x8
MR25=0x0
channel 0 training pass!
channel 1 training pass!
change freq to 416MHz 0,1
Channel 0: LPDDR4,416MHz
Bus Width=32 Col=10 Bank=8 Row=15 CS=1 Die Bus-Width=16 Size=1024MB
Channel 1: LPDDR4,416MHz
Bus Width=32 Col=10 Bank=8 Row=15 CS=1 Die Bus-Width=16 Size=1024MB
256B stride
channel 0
CS = 0
MR0=0x18
MR4=0x2
MR5=0x1
MR8=0x8
MR12=0x72
MR14=0x72
MR18=0x0
MR19=0x0
MR24=0x8
MR25=0x0
channel 1
CS = 0
MR0=0x18
MR4=0x2
MR5=0x1
MR8=0x8
MR12=0x72
MR14=0x72
MR18=0x0
MR19=0x0
MR24=0x8
MR25=0x0
channel 0 training pass!
channel 1 training pass!
channel 0, cs 0, advanced training done
channel 1, cs 0, advanced training done
change freq to 856MHz 1,0
ch 0 ddrconfig = 0x101, ddrsize = 0x20
ch 1 ddrconfig = 0x101, ddrsize = 0x20
pmugrf_os_reg[2] = 0x3281F281, stride = 0x9
ddr_set_rate to 328MHZ
ddr_set_rate to 666MHZ
ddr_set_rate to 416MHZ, ctl_index 0
ddr_set_rate to 856MHZ, ctl_index 1
support 416 856 328 666 MHz, current 856MHz
OUT
Boot1 Release Time: May 29 2020 17:36:36, version: 1.26
CPUId = 0x0
ChipType = 0x10, 438
SdmmcInit=2 0
BootCapSize=100000
UserCapSize=29844MB
FwPartOffset=2000 , 100000
mmc0:cmd8,20
mmc0:cmd5,20
mmc0:cmd55,20
mmc0:cmd1,20
mmc0:cmd8,20
mmc0:cmd5,20
mmc0:cmd55,20
mmc0:cmd1,20
mmc0:cmd8,20
mmc0:cmd5,20
mmc0:cmd55,20
mmc0:cmd1,20
SdmmcInit=0 1
StorageInit ok = 68742
SecureMode = 0
SecureInit read PBA: 0x4
SecureInit read PBA: 0x404
SecureInit read PBA: 0x804
SecureInit read PBA: 0xc04
SecureInit read PBA: 0x1004
SecureInit read PBA: 0x1404
SecureInit read PBA: 0x1804
SecureInit read PBA: 0x1c04
SecureInit ret = 0, SecureMode = 0
atags_set_bootdev: ret:(0)
GPT part:  0, name:            uboot, start:0x2000, size:0x2000
GPT part:  1, name:            trust, start:0x4000, size:0x2000
GPT part:  2, name:             misc, start:0x6000, size:0x2000
GPT part:  3, name:             dtbo, start:0x8000, size:0x2000
GPT part:  4, name:           vbmeta, start:0xa000, size:0x800
GPT part:  5, name:             boot, start:0xa800, size:0x20000
GPT part:  6, name:         recovery, start:0x2a800, size:0x30000
GPT part:  7, name:           backup, start:0x5a800, size:0x38000
GPT part:  8, name:         security, start:0x92800, size:0x2000
GPT part:  9, name:            cache, start:0x94800, size:0xc0000
GPT part: 10, name:         metadata, start:0x154800, size:0x8000
GPT part: 11, name:              frp, start:0x15c800, size:0x400
GPT part: 12, name:            super, start:0x15cc00, size:0x714000
GPT part: 13, name:              oem, start:0x870c00, size:0x100000
GPT part: 14, name:         userdata, start:0x970c00, size:0x30d93df
find part:uboot OK. first_lba:0x2000.
find part:trust OK. first_lba:0x4000.
Trust Addr:0x4000, 0x58334c42
No find bl30.bin
Load uboot, ReadLba = 2000
Load OK, addr=0x200000, size=0x101868
RunBL31 0x40000 @ 117621 us
NOTICE:  BL31: v1.3(release):845ee93
NOTICE:  BL31: Built : 15:51:11, Jul 22 2020
NOTICE:  BL31: Rockchip release version: v1.1
INFO:    GICv3 with legacy support detected. ARM GICV3 driver initialized in EL3
INFO:    Using opteed sec cpu_context!
INFO:    boot cpu mask: 0
INFO:    plat_rockchip_pmu_init(1196): pd status 3e
INFO:    BL31: Initializing runtime services
INFO:    BL31: Initializing BL32
INF [0x0] TEE-CORE:init_primary_helper:337: Initializing (1.1.0-266-gee81607c #1 Mon Aug 17 09:23:30 UTC 2020 aarch64)

INF [0x0] TEE-CORE:init_primary_helper:338: Release version: 1.2

INF [0x0] TEE-CORE:init_teecore:83: teecore inits done
INFO:    BL31: Preparing for EL3 exit to normal world
INFO:    Entry point address = 0x200000
INFO:    SPSR = 0x3c9


U-Boot 2017.09 (Dec 13 2023 - 20:09:36 +0800)

Model: Rockchip RK3399 Evaluation Board
PreSerial: 2, raw, 0xff1a0000
DRAM:  2 GiB
Sysmem: init
Relocation Offset: 7db7a000
Relocation fdt: 7bd6e2d0 - 7bd70ceb
CR: M/C/I
Using default environment

dwmmc@fe320000: 1, sdhci@fe330000: 0
Bootdev(atags): mmc 0
MMC0: HS400, 150Mhz
PartType: EFI
boot mode: normal
Android 10.0, Build 2021.3, v2
Found DTB in boot part
DTB: rk-kernel.dtb
HASH(c): OK
ANDROID: fdt overlay OK
I2c0 speed: 400000Hz
PMIC:  RK808 
vdd_center 900000 uV
vdd_cpu_l 900000 uV
vdd_log 1000000 uV
Could not find baseparameter partition
Model: AIO-3399J HDMI (Android)
Rockchip UBOOT DRM driver version: v1.0.1
xfer: num: 2, addr: 0x50
xfer: num: 2, addr: 0x50
Monitor has basic audio support
Could not find baseparameter partition
mode:1920x1080
Detailed mode clock 148500 kHz, flags[5]
    H: 1920 2008 2052 2200
    V: 1080 1084 1089 1125
bus_format: 100a
CEA mode used vic=16
final pixclk = 148500000 tmdsclk = 148500000
PHY powered down in 0 iterations
PHY PLL locked 1 iterations
PHY powered down in 0 iterations
PHY PLL locked 1 iterations
sink has audio support
hdmi_set_clk_regenerator: fs=48000Hz ftdms=148.500MHz N=6144 cts=148500
CLK: (uboot. arml: enter 816000 KHz, init 816000 KHz, kernel 0N/A)
CLK: (uboot. armb: enter 816000 KHz, init 816000 KHz, kernel 0N/A)
  aplll 816000 KHz
  apllb 816000 KHz
  dpll 856000 KHz
  cpll 24000 KHz
  gpll 800000 KHz
  npll 600000 KHz
  vpll 148000 KHz
  aclk_perihp 133333 KHz
  hclk_perihp 66666 KHz
  pclk_perihp 33333 KHz
  aclk_perilp0 266666 KHz
  hclk_perilp0 88888 KHz
  pclk_perilp0 44444 KHz
  hclk_perilp1 100000 KHz
  pclk_perilp1 50000 KHz
Net:   eth0: ethernet@fe300000
Hit key to stop autoboot('CTRL+C'):  0 
emmc boot 
No FDT memory address configured. Default at 0x08300000
libfdt fdt_getprop(): FDT_ERR_NOTFOUND
lzf debug,store_value=AIO-3399J HDMI (Android)
ANDROID: reboot reason: "(none)"
optee api revision: 2.0
Vboot=0, AVB images, AVB verify
read_is_device_unlocked() ops returned that device is UNLOCKED
avb_slot_verify.c:762: ERROR: vbmeta: Error verifying vbmeta image: OK_NOT_SIGNED
get image from preloaded partition...
Could not find "system" partition
Booting IMAGE kernel at 0x00280000 with fdt at 0x08300000...


Fdt Ramdisk skip relocation
## Booting Android Image at 0x0027f800 ...
Kernel load addr 0x00280000 size 28321 KiB
RAM disk load addr 0x0a200000 size 786 KiB
## Flattened Device Tree blob at 0x08300000
   Booting using the fdt blob at 0x08300000
   XIP Kernel Image from 0x00280000 to 0x00280000 ... OK
  'reserved-memory' ramoops@110000: addr=110000 size=f0000
   Using Device Tree in place at 0000000008300000, end 000000000831ef49
failed to reserve drm-cubic-lut memory
Adding bank: 0x00200000 - 0x08400000 (size: 0x08200000)
Adding bank: 0x0a200000 - 0x80000000 (size: 0x75e00000)
Total: 1106.685 ms

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[    0.000000] Linux version 4.19.193 (rootroot@rootroot-X99-Turbo) (gcc version 6.3.1 20170404 (Linaro GCC 6.3-2017.05), GNU ld (Linaro_Binutils-2017.05) 2.27.0.20161019) #1 SMP PREEMPT Wed Dec 13 20:10:12 CST 2023
[    0.000000] Machine model: AIO-3399J HDMI (Android)
[    0.000000] earlycon: uart8250 at MMIO32 0x00000000ff1a0000 (options '')
[    0.000000] bootconsole [uart8250] enabled
[    0.000000] OF: fdt: Reserved memory: failed to reserve memory for node 'stb-devinfo@00000000': base 0x0000000000000000, size 0 MiB
[    0.000000] cma: Reserved 16 MiB at 0x000000007f000000
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.0 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: Trusted OS migration not required
[    0.000000] psci: SMC Calling Convention v1.0
[    0.000000] percpu: Embedded 24 pages/cpu s58968 r8192 d31144 u98304
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] CPU features: enabling workaround for ARM erratum 845719
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 507912
[    0.000000] Kernel command line: storagemedia=emmc androidboot.storagemedia=emmc androidboot.mode=normal  androidboot.dtbo_idx=0  androidboot.verifiedbootstate=orange androidboot.slot_suffix= androidboot.serialno=62089c75a9d193d6 console=ttyFIQ0 androidboot.baseband=N/A androidboot.veritymode=enforcing androidboot.hardware=rk30board androidboot.console=ttyFIQ0 androidboot.verifiedbootstate=orange firmware_class.path=/vendor/etc/firmware init=/init rootwait ro loop.max_part=7 androidboot.selinux=permissive earlycon=uart8250,mmio32,0xff1a0000 swiotlb=1 coherent_pool=1m androidboot.boot_devices=fe330000.sdhci,fe320000.dwmmc
[    0.000000] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes)
[    0.000000] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 1978460K/2064384K available (15614K kernel code, 2080K rwdata, 6384K rodata, 4224K init, 968K bss, 69540K reserved, 16384K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=6, Nodes=1
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=6.
[    0.000000]     Tasks RCU enabled.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=6
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] GICv3: GIC: Using split EOI/Deactivate mode
[    0.000000] GICv3: Distributor has no Range Selector support
[    0.000000] GICv3: no VLPI support, no direct LPI support
[    0.000000] ITS [mem 0xfee20000-0xfee3ffff]
[    0.000000] ITS@0x00000000fee20000: allocated 65536 Devices @a300000 (flat, esz 8, psz 64K, shr 0)
[    0.000000] ITS: using cache flushing for cmd queue
[    0.000000] GIC: using LPI property table @0x0000000000270000
[    0.000000] GICv3: CPU0: found redistributor 0 region 0:0x00000000fef00000
[    0.000000] CPU0: using LPI pending table @0x000000000a380000
[    0.000000] GIC: using cache flushing for LPI property table
[    0.000000] GICv3: GIC: PPI partition interrupt-partition-0[0] { /cpus/cpu@0[0] /cpus/cpu@1[1] /cpus/cpu@2[2] /cpus/cpu@3[3] }
[    0.000000] GICv3: GIC: PPI partition interrupt-partition-1[1] { /cpus/cpu@100[4] /cpus/cpu@101[5] }
[    0.000000] random: random: get_random_bytes called from start_kernel+0x36c/0x4f0 with crng_init=0
[    0.000000] rockchip_clk_register_frac_branch: could not find dclk_vop0_frac as par


:/ # cd /dev/snd/                                                              
:/dev/snd # 
:/dev/snd # ls -l
total 0
crw-rw---- 1 system audio 116,   3 2024-01-09 03:02 controlC0
crw-rw---- 1 system audio 116,   8 2024-01-09 03:02 controlC1
crw-rw---- 1 system audio 116,   2 2024-01-09 03:02 pcmC0D0p
crw-rw---- 1 system audio 116,   5 2024-01-09 03:02 pcmC1D0c
crw-rw---- 1 system audio 116,   4 2024-01-09 03:02 pcmC1D0p
crw-rw---- 1 system audio 116,   7 2024-01-09 03:02 pcmC1D1c
crw-rw---- 1 system audio 116,   6 2024-01-09 03:02 pcmC1D1p
crw-rw---- 1 system audio 116,  33 2024-01-09 03:02 timer

:/dev/snd # 
:/dev/snd # cat /sys/kernel/debug/reg                                          
regmap/      regulator/
:/dev/snd # cat /sys/kernel/debug/regmap/                                      
cat: /sys/kernel/debug/regmap/: Is a directory
1|:/dev/snd # 
1|:/dev/snd # cd /sys/kernel/debug/                                            
:/sys/kernel/debug # ls -l
total 0
drwxr-xr-x   4 root   root 0 2024-01-09 03:02 asoc
drwxr-xr-x   2 root   root 0 2024-01-09 03:02 audio
drwxr-xr-x  43 root   root 0 1970-01-01 00:00 bdi
drwxr-xr-x   3 root   root 0 2024-01-09 03:02 binder
drwxr-xr-x  21 root   root 0 1970-01-01 00:00 block
drwxr-xr-x   2 root   root 0 1970-01-01 00:00 bluetooth
drwxr-xr-x   2 root   root 0 2024-01-09 03:02 bt656
drwxr-xr-x   3 root   root 0 1970-01-01 00:00 cec
--w-------   1 root   root 0 1970-01-01 00:00 clear_warn_once
drwxr-xr-x 466 root   root 0 2024-01-09 03:02 clk
-rw-r--r--   1 root   root 0 1970-01-01 00:00 debug_enabled
drwxr-xr-x   2 root   root 0 1970-01-01 00:00 device_component
-r--r--r--   1 root   root 0 2024-01-09 03:02 devices_deferred
drwxr-xr-x   2 root   root 0 1970-01-01 00:00 dma_buf
drwxr-xr-x   4 root   root 0 1970-01-01 00:00 dri
drwxr-xr-x   2 root   root 0 1970-01-01 00:00 dw-hdmi
drwxr-xr-x   4 root   root 0 1970-01-01 00:00 energy_model
drwxr-xr-x   2 root   root 0 1970-01-01 00:00 extfrag
drwxr-xr-x   2 root   root 0 1970-01-01 00:00 f2fs
-rw-r--r--   1 root   root 0 2024-01-09 03:02 fault_around_bytes
drwxr-xr-x  15 root   root 0 1970-01-01 00:00 fe800000.dwc3
drwxr-xr-x   2 root   root 0 1970-01-01 00:00 fe900000.dwc3
-r--r--r--   1 root   root 0 1970-01-01 00:00 gpio
drwxr-xr-x   2 root   root 0 2024-01-09 03:02 gpio1830
drwxr-xr-x   3 root   root 0 2024-01-09 03:02 hid
drwxr-xr-x   2 root   root 0 1970-01-01 00:00 ieee80211
drwxr-xr-x   2 root   root 0 1970-01-01 00:00 iio
drwxr-xr-x   3 root   root 0 2024-01-09 03:02 iodomain
drwxr-xr-x   2 root   root 0 1970-01-01 00:00 ion
drwxr-xr-x   5 root   root 0 2024-01-09 03:02 mali0
drwxr-xr-x   2 root   root 0 1970-01-01 00:00 memblock
drwxr-xr-x   3 root   root 0 2024-01-09 03:02 mmc0
drwxr-xr-x   2 root   root 0 2024-01-09 03:02 mmc1
drwxr-xr-x   3 root   root 0 2024-01-09 03:02 mmc2
drwxr-xr-x   2 root   root 0 1970-01-01 00:00 mtd
drwxr-xr-x   6 root   root 0 1970-01-01 00:00 opp
drwxr-xr-x   3 root   root 0 1970-01-01 00:00 pinctrl
drwxr-xr-x  23 root   root 0 2024-01-09 03:02 pm_genpd
drwxr-xr-x   2 root   root 0 2024-01-09 03:02 pm_qos
drwxr-xr-x   6 root   root 0 2024-01-09 03:02 pvtm
-r--r--r--   1 root   root 0 1970-01-01 00:00 pwm
drwxr-xr-x   2 root   root 0 1970-01-01 00:00 ras
drwxr-xr-x  38 root   root 0 1970-01-01 00:00 regmap
drwxr-xr-x  32 root   root 0 1970-01-01 00:00 regulator
drwxr-xr-x   2 root   root 0 2024-01-09 03:02 rga2_debug
-rw-r--r--   1 root   root 0 2024-01-09 03:02 sched_debug
-rw-r--r--   1 root   root 0 2024-01-09 03:02 sched_features
drwxr-xr-x   2 root   root 0 2024-01-09 03:02 sdmmc
-r--r--r--   1 root   root 0 2024-01-09 03:02 sleep_time
drwxr-xr-x   3 root   root 0 1970-01-01 00:00 stmmaceth
-r--r--r--   1 root   root 0 2024-01-09 03:02 suspend_stats
drwxr-xr-x   2 root   root 0 2024-01-09 03:02 sync
drwxr-xr-x   3 root   root 0 1970-01-01 00:00 tee
drwxr-xr-x   6 system root 0 1970-01-01 00:00 tracing
drwxr-xr-x   6 root   root 0 1970-01-01 00:00 usb
-r--r--r--   1 root   root 0 1970-01-01 00:00 wakeup_sources
:/sys/kernel/debug # cd reg
regmap/      regulator/
:/sys/kernel/debug # cd regmap/                                                
:/sys/kernel/debug/regmap # ll
sh: ll: inaccessible or not found
127|:/sys/kernel/debug/regmap # ls -l
total 0
drwxr-xr-x 2 root root 0 1970-01-01 00:00 0-001b
drwxr-xr-x 2 root root 0 1970-01-01 00:00 0-0040
drwxr-xr-x 2 root root 0 1970-01-01 00:00 0-0041
drwxr-xr-x 2 root root 0 2024-01-09 03:02 1-001c
drwxr-xr-x 2 root root 0 1970-01-01 00:00 dummy-power-management@ff310000
drwxr-xr-x 2 root root 0 1970-01-01 00:00 dummy-qos@ffa58000
drwxr-xr-x 2 root root 0 1970-01-01 00:00 dummy-qos@ffa5c000
drwxr-xr-x 2 root root 0 1970-01-01 00:00 dummy-qos@ffa60080
drwxr-xr-x 2 root root 0 1970-01-01 00:00 dummy-qos@ffa60100
drwxr-xr-x 2 root root 0 1970-01-01 00:00 dummy-qos@ffa60180
drwxr-xr-x 2 root root 0 1970-01-01 00:00 dummy-qos@ffa70000
drwxr-xr-x 2 root root 0 1970-01-01 00:00 dummy-qos@ffa70080
drwxr-xr-x 2 root root 0 1970-01-01 00:00 dummy-qos@ffa74000
drwxr-xr-x 2 root root 0 1970-01-01 00:00 dummy-qos@ffa76000
drwxr-xr-x 2 root root 0 1970-01-01 00:00 dummy-qos@ffa90000
drwxr-xr-x 2 root root 0 1970-01-01 00:00 dummy-qos@ffa98000
drwxr-xr-x 2 root root 0 1970-01-01 00:00 dummy-qos@ffaa0000
drwxr-xr-x 2 root root 0 1970-01-01 00:00 dummy-qos@ffaa0080
drwxr-xr-x 2 root root 0 1970-01-01 00:00 dummy-qos@ffaa8000
drwxr-xr-x 2 root root 0 1970-01-01 00:00 dummy-qos@ffaa8080
drwxr-xr-x 2 root root 0 1970-01-01 00:00 dummy-qos@ffab0000
drwxr-xr-x 2 root root 0 1970-01-01 00:00 dummy-qos@ffab0080
drwxr-xr-x 2 root root 0 1970-01-01 00:00 dummy-qos@ffab8000
drwxr-xr-x 2 root root 0 1970-01-01 00:00 dummy-qos@ffac0000
drwxr-xr-x 2 root root 0 1970-01-01 00:00 dummy-qos@ffac0080
drwxr-xr-x 2 root root 0 1970-01-01 00:00 dummy-qos@ffac8000
drwxr-xr-x 2 root root 0 1970-01-01 00:00 dummy-qos@ffac8080
drwxr-xr-x 2 root root 0 1970-01-01 00:00 dummy-qos@ffad0000
drwxr-xr-x 2 root root 0 1970-01-01 00:00 dummy-qos@ffad8080
drwxr-xr-x 2 root root 0 1970-01-01 00:00 dummy-qos@ffae0000
drwxr-xr-x 2 root root 0 1970-01-01 00:00 dummy-syscon@ff320000
drwxr-xr-x 2 root root 0 1970-01-01 00:00 dummy-syscon@ff770000
drwxr-xr-x 2 root root 0 2024-01-09 03:02 ff880000.i2s
drwxr-xr-x 2 root root 0 2024-01-09 03:02 ff890000.i2s
drwxr-xr-x 2 root root 0 2024-01-09 03:02 ff8a0000.i2s
drwxr-xr-x 2 root root 0 1970-01-01 00:00 ff940000.hdmi
:/sys/kernel/debug/regmap # cd 1-001d
sh: cd: /sys/kernel/debug/regmap/1-001d: No such file or directory
2|:/sys/kernel/debug/regmap # cd 1-001c/                                       
:/sys/kernel/debug/regmap/1-001c # ls -l
total 0
-r-------- 1 root root 0 2024-01-09 03:02 PR
-r-------- 1 root root 0 2024-01-09 03:02 access
-rw------- 1 root root 0 2024-01-09 03:02 cache_bypass
-r-------- 1 root root 0 2024-01-09 03:02 cache_dirty
-rw------- 1 root root 0 2024-01-09 03:02 cache_only
-r-------- 1 root root 0 2024-01-09 03:02 name
-r-------- 1 root root 0 2024-01-09 03:02 range
-r-------- 1 root root 0 2024-01-09 03:02 rbtree
-r-------- 1 root root 0 2024-01-09 03:02 registers
:/sys/kernel/debug/regmap/1-001c # cat name
rt5640
:/sys/kernel/debug/regmap/1-001c # 
:/sys/kernel/debug/regmap/1-001c # cat range                                   
0-4
d-f
19-1e
27-2f
3b-3e
45-4a
4c-53
61-66
6a-6a
6c-6d
70-75
80-85
89-93
b0-b2
b4-c2
c4-d3
d6-d7
d9-da
fa-1b4
:/sys/kernel/debug/regmap/1-001c # cat rbtree                                  
0-93 (148)
b0-d9 (42)
fa-ff (6)
3 nodes, 196 registers, average 65 registers, used 592 bytes
:/sys/kernel/debug/regmap/1-001c # 
:/sys/kernel/debug/regmap/1-001c # cat registers                               
000: 000c
001: 8787
002: c8c8

003: 8888
004: 8000
00d: 0080
00e: 0000
00f: 0808
019: afaf
01a: afaf
01b: 0000
01c: 2f2f
01d: 2f2f
01e: 0000
027: 7060
028: 7070
029: 8080
02a: 5454
02b: 4444
02c: aa00
02d: 0000
02e: 0c00
02f: 0000
03b: 0000
03c: 005f
03d: 0000
03e: 005f
045: 5000
046: 003a
047: 003a
048: e800
049: 2800
04a: 0004
04c: fc00
04d: 0000
04e: 0000
04f: 01f1
050: 0000
051: 0000
052: 01f9
053: c000
061: 0000
062: 0000
063: 0000
064: 0000
065: 0000
066: 0000
06a: 0024
06c: 0420
06d: 0000
070: 5000
071: 0000
072: 8000
073: 1014
074: 0c00
075: 1d00
080: 0000
081: 0000
082: 0000
083: 0000
084: 0000
085: 0008
089: 0000
08a: 0000
08b: 0600
08c: 0228
08d: a000
08e: 0004
08f: 1100
090: 0737
091: 0e00
092: 0000
093: 3030
0b0: 2080
0b1: 0000
0b2: 0000
0b4: 2206
0b5: 1f00
0b6: 0000
0b7: 0000
0b8: 034b
0b9: 0066
0ba: 000b
0bb: 0000
0bc: 0000
0bd: 0000
0be: 0000
0bf: 0180
0c0: 0400
0c1: 0000
0c2: 0000
0c4: 0000
0c5: 0000
0c6: 2000
0c7: 0000
0c8: 0000
0c9: 0000
0ca: 0000
0cb: 0000
0cc: 0000
0cd: 0000
0ce: 0000
0cf: 0013
0d0: 0680
0d1: 1c17
0d2: 8c00
0d3: aa20
0d6: 0400
0d7: 0000
0d9: 0809
0da: 0000
0fa: 3700
0fb: 4000
0fc: 0001
0fd: 0003
0fe: 10ec
0ff: 6231
100: 0aa0
101: 4000
102: a280
103: 0404
104: 0000
105: 0000
106: 0006
107: 0000
108: 0000
109: 0000
10a: 0000
10b: 0000
10c: 0000
10d: 0000
10e: 0000
10f: 0000
110: 0000
111: 0000
112: 0aa8
113: aaaa
114: 0aaa
115: aa00
116: 0000
117: 0000
118: 0000
119: 0000
11a: 0000
11b: 0200
11c: fd01
11d: 0247
11e: 0000
11f: 0155
120: 6110
121: e0e0
122: 0054
123: 1804
124: 0420
125: 7530
126: 0000
127: 0000
128: 0000
129: 0000
12a: 4095
12b: 170d
12c: 0000
12d: 0000
12e: 0000
12f: 0000
130: 0000
131: 0000
132: 0000
133: 0000
134: 0000
135: 0000
136: 7550
137: 1c00
138: 79a1
139: 0000
13a: 4002
13b: 0000
13c: 0000
13d: 3600
13e: 1f80
13f: 0000
140: 6883
141: d3ce
142: 352d
143: 00eb
144: 0000
145: 0000
146: 001f
147: 685e
148: 0030
149: 94e1
14a: 000f
14b: b4df
14c: 0000
14d: 00b0
14e: 0000
14f: 0000
150: 4680
151: 342e
152: 282e
153: 1c16
154: deda
155: 6a6f
156: 8048
157: 2240
158: 97df
159: 0104
15a: 0121
15b: 0101
15c: c443
15d: 1f01
15e: 08ff
15f: 0000
160: 0000
161: 0000
162: 0000
163: 3737
164: 4c6a
165: e41b
166: 2a13
167: 78e6
168: c6bb
169: 0017
16a: 0000
16b: 0000
16c: 1ac5
16d: 00c0
16e: 3019
16f: 4096
170: c0be
171: 8078
172: c0aa
173: 0000
174: 0000
175: 5000
176: 0000
177: 1f00
178: 4040
179: 0000
17a: 7f7f
17b: 0000
17c: 0000
17d: 0000
17e: 0000
17f: 0000
180: 0000
181: 0000
182: 0000
183: 0000
184: 0000
185: 0000
186: 004c
187: 0000
188: 0000
189: 0000
18a: 0000
18b: 0000
18c: 0000
18d: 0000
18e: 0000
18f: 0000
190: 3300
191: 2200
192: 0000
193: 2000
194: 0000
195: 0000
196: 0000
197: 0000
198: 0000
199: 0000
19a: 0000
19b: 0000
19c: 0000
19d: 0000
19e: 0000
19f: 0000
1a0: 1c10
1a1: 01f4
1a2: c5e9
1a3: 1a98
1a4: 1d2c
1a5: c882
1a6: 1c10
1a7: 01f4
1a8: e904
1a9: 1c10
1aa: 01f4
1ab: e904
1ac: 1c10
1ad: 01f4
1ae: 1c10
1af: 01f4
1b0: 2000
1b1: 0000
1b2: 2000
1b3: 0800
1b4: 0800
:/sys/kernel/debug/regmap/1-001c # ls -l
total 0
-r-------- 1 root root 0 2024-01-09 03:02 PR
-r-------- 1 root root 0 2024-01-09 03:02 access
-rw------- 1 root root 0 2024-01-09 03:02 cache_bypass
-r-------- 1 root root 0 2024-01-09 03:02 cache_dirty
-rw------- 1 root root 0 2024-01-09 03:02 cache_only
-r-------- 1 root root 0 2024-01-09 03:02 name
-r-------- 1 root root 0 2024-01-09 03:02 range
-r-------- 1 root root 0 2024-01-09 03:02 rbtree
-r-------- 1 root root 0 2024-01-09 03:02 registers
:/sys/kernel/debug/regmap/1-001c # cat ca
cache_bypass    cache_dirty     cache_only
:/sys/kernel/debug/regmap/1-001c # cat cache_only                              
N
:/sys/kernel/debug/regmap/1-001c # cat ca
cache_bypass    cache_dirty     cache_only
:/sys/kernel/debug/regmap/1-001c # cat cache_dr                                
cat: cache_dr: No such file or directory
1|:/sys/kernel/debug/regmap/1-001c # 
1|:/sys/kernel/debug/regmap/1-001c # cat ca
cache_bypass    cache_dirty     cache_only
1|:/sys/kernel/debug/regmap/1-001c # cat cache_dirty                           
N
:/sys/kernel/debug/regmap/1-001c # 
:/sys/kernel/debug/regmap/1-001c # cat ca
cache_bypass    cache_dirty     cache_only
:/sys/kernel/debug/regmap/1-001c # cat cache_bypass                            
N
:/sys/kernel/debug/regmap/1-001c # 
:/sys/kernel/debug/regmap/1-001c # cat PR                                      
000: 0aa0
001: 4000
002: a280
003: 0404
004: 0000
005: 0000
006: 0006
007: 0000
008: 0000
009: 0000
00a: 0000
00b: 0000
00c: 0000
00d: 0000
00e: 0000
00f: 0000
010: 0000
011: 0000
012: 0aa8
013: aaaa
014: 0aaa
015: aa00
016: 0000
017: 0000
018: 0000
019: 0000
01a: 0000
01b: 0200
01c: fd01
01d: 0247
01e: 0000
01f: 0155
020: 6110
021: e0e0
022: 0054
023: 1804
024: 0420
025: 7530
026: 0000
027: 0000
028: 0000
029: 0000
02a: 4095
02b: 170d
02c: 0000
02d: 0000
02e: 0000
02f: 0000
030: 0000
031: 0000
032: 0000
033: 0000
034: 0000
035: 0000
036: 7550
037: 1c00
038: 79a1
039: 0000
03a: 4002
03b: 0000
03c: 0000
03d: 3600
03e: 1f80
03f: 0000
040: 6883
041: d3ce
042: 352d
043: 00eb
044: 0000
045: 0000
046: 001f
047: 685e
048: 0030
049: 94e1
04a: 000f
04b: b4df
04c: 0000
04d: 00b0
04e: 0000
04f: 0000
050: 4680
051: 342e
052: 282e
053: 1c16
054: deda
055: 6a6f
056: 8048
057: 2240
058: 97df
059: 0104
05a: 0121
05b: 0101
05c: c443
05d: 1f01
05e: 08ff
05f: 0000
060: 0000
061: 0000
062: 0000
063: 3737
064: 4c6a
065: e41b
066: 2a13
067: 78e6
068: c6bb
069: 0017
06a: 0000
06b: 0000
06c: 1ac5
06d: 00c0
06e: 3019
06f: 4096
070: c0be
071: 8078
072: c0aa
073: 0000
074: 0000
075: 5000
076: 0000
077: 1f00
078: 4040
079: 0000
07a: 7f7f
07b: 0000
07c: 0000
07d: 0000
07e: 0000
07f: 0000
080: 0000
081: 0000
082: 0000
083: 0000
084: 0000
085: 0000
086: 004c
087: 0000
088: 0000
089: 0000
08a: 0000
08b: 0000
08c: 0000
08d: 0000
08e: 0000
08f: 0000
090: 3300
091: 2200
092: 0000
093: 2000
094: 0000
095: 0000
096: 0000
097: 0000
098: 0000
099: 0000
09a: 0000
09b: 0000
09c: 0000
09d: 0000
09e: 0000
09f: 0000
0a0: 1c10
0a1: 01f4
0a2: c5e9
0a3: 1a98
0a4: 1d2c
0a5: c882
0a6: 1c10
0a7: 01f4
0a8: e904
0a9: 1c10
0aa: 01f4
0ab: e904
0ac: 1c10
0ad: 01f4
0ae: 1c10
0af: 01f4
0b0: 2000
0b1: 0000
0b2: 2000
0b3: 0800
0b4: 0800

0b3: 0800
0b4: 0800
^C
130|:/sys/kernel/debug/regmap/1-001c # ll
sh: ll: inaccessible or not found
127|:/sys/kernel/debug/regmap/1-001c # ls -l
total 0
-r-------- 1 root root 0 2024-01-09 03:02 PR
-r-------- 1 root root 0 2024-01-09 03:02 access
-rw------- 1 root root 0 2024-01-09 03:02 cache_bypass
-r-------- 1 root root 0 2024-01-09 03:02 cache_dirty
-rw------- 1 root root 0 2024-01-09 03:02 cache_only
-r-------- 1 root root 0 2024-01-09 03:02 name
-r-------- 1 root root 0 2024-01-09 03:02 range
-r-------- 1 root root 0 2024-01-09 03:02 rbtree
-r-------- 1 root root 0 2024-01-09 03:02 registers
:/sys/kernel/debug/regmap/1-001c # [  757.785144] type=1400 audit(1704769651.293:100): avc: denied { getattr } for comm="memtrack@1.0-se" path="/sys/kernel/debug/mali0/ctx/587_3/mem_profile" dev="debugfs" ino=25198 scontext=u:r:hal_memtrack_default:s0 tcontext=u:object_r:debugfs:s0 tclass=file permissive=1
[  757.785213] type=1400 audit(1704770096.313:101): avc: denied { read } for comm="memtrack@1.0-se" name="mem_profile" dev="debugfs" ino=24814 scontext=u:r:hal_memtrack_default:s0 tcontext=u:object_r:debugfs:s0 tclass=file permissive=1
[  757.785440] type=1400 audit(1704770096.313:101): avc: denied { read } for comm="memtrack@1.0-se" name="mem_profile" dev="debugfs" ino=24814 scontext=u:r:hal_memtrack_default:s0 tcontext=u:object_r:debugfs:s0 tclass=file permissive=1
[  757.785482] type=1400 audit(1704770096.313:102): avc: denied { open } for comm="memtrack@1.0-se" path="/sys/kernel/debug/mali0/ctx/731_2/mem_profile" dev="debugfs" ino=24814 scontext=u:r:hal_memtrack_default:s0 tcontext=u:object_r:debugfs:s0 tclass=file permissive=1
[  757.785702] type=1400 audit(1704770096.313:102): avc: denied { open } for comm="memtrack@1.0-se" path="/sys/kernel/debug/mali0/ctx/731_2/mem_profile" dev="debugfs" ino=24814 scontext=u:r:hal_memtrack_default:s0 tcontext=u:object_r:debugfs:s0 tclass=file permissive=1
[  757.785730] type=1400 audit(1704770096.313:103): avc: denied { getattr } for comm="memtrack@1.0-se" path="/sys/kernel/debug/mali0/ctx/731_2/mem_profile" dev="debugfs" ino=24814 scontext=u:r:hal_memtrack_default:s0 tcontext=u:object_r:debugfs:s0 tclass=file permissive=1

[END] 2024/1/16 17:47:36
 

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.mzph.cn/news/638381.shtml

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

C++ memmove 学习

memmove&#xff0c;将num字节的值从源指向的位置复制到目标指向的内存块。 允许目标和源有重叠。 当目标区域与源区域没有重叠则和memcpy函数功能相同。 宽字符版本是wmemmove&#xff0c;安全版本加_s&#xff1b; #include "stdafx.h" #include<iostream&g…

如何为不同品牌的笔记本电脑设置充电限制,这里提供详细步骤

笔记本电脑的电池健康状况至关重要。延长电池寿命可以帮你省下不少钱。对于长时间充电的Windows 11笔记本电脑用户来说,将电池电量限制在80%是很重要的。 虽然操作系统没有提供设置自定义电池充电限制的内置方法,但仍有一些方法可以在Windows 11中配置电池设置,并将其限制在…

华南理工大学数字信号处理实验实验一(薛y老师版本)matlab源码

一、实验目的 1、加深对离散信号频谱分析的理解&#xff1b; 2、分析不同加窗长度对信号频谱的影响&#xff1b; 3、理解频率分辨率的概念&#xff0c;并分析其对频谱的 影响&#xff1b; 4、窗长和补零对DFT的影响 实验源码&#xff1a; 第一题&#xff1a; % 定义离散信…

【多线程的安全问题】synchronized 和 volatile——你必须知道的妙用!

&#x1f4c4;前言&#xff1a;本文的主要内容是讨论个人在多线程编程带来的安全问题的表现、原因以及对应的解决方法。 文章目录 一. 了解多线程安全问题二. 线程不安全的现象及原因&#x1f346;1. 修改共享的数据&#xff08;根本原因&#xff09;&#x1f345;2. 原子性&am…

class_14:继承

C继承有点类似于c语言 结构体套用 #include <iostream> #include <string> using namespace std;//基类,父类 class Vehicle{ public:string type;string contry;string color;double price;int numOfWheel;void run();void stop(); };//派生类&#xff0c…

commit 历史版本记录修正

commit 历史版本记录修正 当 Bug 发生的时候&#xff0c;我们会需要去追踪特定 bug 的历史记录&#xff0c;以查出该 bug 真正发生的原因&#xff0c;这个时候就是版本控制带来最大价值的时候。 因此&#xff0c;要怎样维持一个好的版本记录是非常重要的&#xff0c;下面是一…

Rockchip linux USB 驱动开发

Linux USB 驱动架构 Linux USB 协议栈是一个分层的架构&#xff0c;如下图 5-1 所示&#xff0c;左边是 USB Device 驱动&#xff0c;右边是 USB Host 驱动&#xff0c;最底层是 Rockchip 系列芯片不同 USB 控制器和 PHY 的驱动。 Linux USB 驱动架构 USB PHY 驱动开发 USB 2…

手机也能随时随地玩红警啦!

还在为找不到红警安装包苦恼吗&#xff1f; 现在可以随时随地&#xff0c;无论手机、ipad、电脑都可以无需安装包在线玩红警啦&#xff01;&#xff01; 不仅能本地单机玩耍&#xff0c;还能联网玩耍&#xff08;可以和老外一起玩哦&#xff5e;&#xff09; 具体在线链接可…

算法第二十一天-丑数

丑数 题目要求 解题思路 首先判断数字是不是为0或者负数&#xff0c;两者均不可能成为丑数&#xff1b; 之后对n进行不断整除&#xff0c;直到无法除尽为止。 简单判断最后的数是不是1即可。 代码 class Solution:def isUgly(self, n: int) -> bool:if n<0:return Fa…

Linux启动流程梳理值得收藏

Linux启动流程总的来说可以分成三个阶段 Linux启动流程图 第一步&#xff1a;上电 在 x86 系统中&#xff0c;将 1M 空间最上面的 0xF0000 到 0xFFFFF 这 64K 映射给 ROM。 当电脑刚加电的时候&#xff0c;会做一些重置的工作&#xff0c;将 CS 设置为 0xFFFF&#xff0c;将 IP…

Docker命令---搜索镜像

介绍 使用docker命令搜索镜像。 命令 docker search 镜像命令:版本号示例 以搜索ElasticSearch镜像为例 docker search ElasticSearch

【unity】麦克风声音驱动,控制身体做出不同动作

1.在角色对象上挂在animator组件&#xff0c;并将动作控制器与其关联 2.在角色对象上挂在audio source组件。 3.新建voice control脚本&#xff0c;编写代码如下&#xff1a; using System; using System.Collections; using System.Collections.Generic; using UnityEngine;…

复现PointNet++(语义分割网络):Windows + PyTorch + S3DIS语义分割 + 代码

一、平台 Windows 10 GPU RTX 3090 CUDA 11.1 cudnn 8.9.6 Python 3.9 Torch 1.9.1 cu111 所用的原始代码&#xff1a;https://github.com/yanx27/Pointnet_Pointnet2_pytorch 二、数据 Stanford3dDataset_v1.2_Aligned_Version 三、代码 分享给有需要的人&#xf…

算法专题[递归-搜索-回溯-2-DFS]

算法专题[递归-搜索-回溯-2-DFS] 一.计算布尔二叉树的值&#xff1a;1.思路一&#xff1a;2.GIF题目解析 二.求根节点到叶子节点的数字之和1.思路一&#xff1a;2.GIF题目解析 三.二叉树剪枝1.思路一&#xff1a;2.GIF题目解析 四.验证二叉搜索树1.思路一&#xff1a;2.GIF题目…

1.2 数据模型

数据模型是对现实世界数据特征的抽象&#xff0c;是现实世界的模拟 数据模型是用来描述数据、组织数据和对数据进行操作的 数据模型应满足三方面要求&#xff1a; 1 能比较真实地模拟现实世界 2 容易为人所理解 3 便于在计算机上实现 数据模型…

08. Springboot集成webmagic实现网页爬虫

目录 1、前言 2、WebMagic 3、Springboot集成Webmagic 3.1、创建Springboot&#xff0c;并引入webmagic依赖 3.2、定义PageProcessor 3.3、元素选择 3.3.1、F12查看网页元素 3.3.2、元素选择 3.3.3、注意事项 4、小结 1、前言 在信息化的时代&#xff0c;网络爬虫已…

QT的绘图系统QPainterDevice与文件系统QIODevice

QT的绘图系统&#xff08;QPainterDevice&#xff09;与文件系统&#xff08;QIODevice&#xff09; 文章目录 1、Qt 的绘图系统1、QPainter的使用2、QPen(画笔&#xff09;及QBursh&#xff08;画刷&#xff09;3、手动更新窗口4、绘图设备1、四种绘图设备的 区别2、 QBitmap3…

零食折扣店,注定昙花一现?

年终岁末&#xff0c;又到了各类休闲零食产品一年一度的销售旺季。与过去不同的是&#xff0c;近年来的休闲零食赛道正因大量零食折扣店的涌现而显得热闹非凡。 随着主打折扣、低价的零食折扣店成为消费者特别是三四线下沉市场消费者的新宠&#xff0c;资本开始涌入并快速推动…

SpringCloud之OpenFeign的学习、快速上手

1、什么是OpenFeign OpenFeign简化了Http的开发。在RestTemplate的基础上做了封装&#xff0c;在微服务中的服务调用发送网络请求起到了重要的作用&#xff0c;简化了开发&#xff0c;可以让我们跟写接口一样调其他服务。 并且OpenFeign内置了Ribbon实现负载均衡。 官方文档…

69.使用Go标准库compress/gzip压缩数据存入Redis避免BigKey

文章目录 一&#xff1a;简介二&#xff1a;Go标准库compress/gzip包介绍ConstantsVariablestype Headertype Reader 三&#xff1a;代码实践1、压缩与解压工具包2、单元测试3、为何压缩后还要用base64编码 代码地址&#xff1a; https://gitee.com/lymgoforIT/golang-trick/t…