首页 > 编程知识 正文

cpu占用过高,树莓派供电方案

时间:2023-05-04 09:24:40 阅读:25672 作者:3445

在win32磁盘imager中创建img镜像文件,将sd卡上的系统放在笔记本电脑上

然后,将此img镜像文件写入新的usb可移动硬盘。

然后接通电源启动,成功。

无意中发现在顶层中CPU占1/1或1/3的比例较高,一直在8%-12%之间。 我重启设备几次都一样,没办法,所以在百度上查了半天也没怎么找到资料。

然后我在谷歌上找到了这个官方网站github上的东西。 我在说这个问题。 地址: https://github.com/raspberry pi/Linux/issues/2567

解决办法如下。

Thanks a lot. it works。

firsttheoverlay-copyingyourfileto/boot/overlays

andaddingline ' dt overlay=SD tweak,poll _ once ' to/boot/config.txtsolvedthekworkerissuewithpollingthecard。

So far so good :-)

那么这个your file是这里https://drive.Google.com/file/d/1 jowjpvwnybqi4awzlqpcjmnehucfqoy/view吗? usp=sharing

在这两个步骤中,我发现我重新启动后,顶部的cpu都正常了。

config.txt

# formoreoptionsandinformationsee

# http://rpf.io/configtxt

# somesettingsmayimpactdevicefunctionality.seelinkabovefordetails

# uncommentifyougetnopictureonhdmiforadefault ' safe ' mode

#hdmi_safe=1

# uncommentthisifyourdisplayhasablackborderofunusedpixelsvisible

# andyourdisplaycanoutputwithoutoverscan

#disable_overscan=1

# uncommentthefollowingtoadjustoverscan.usepositivenumbersifconsole

# goes off screen,andnegativeifthereistoomuchborder

#overscan_left=16

#overscan_right=16

#overscan_top=16

#overscan_bottom=16

# uncommenttoforceaconsolesize.bydefaultitwillbedisplay ' ssize MINUS

#开销扫描。

#帧缓冲器_ width=1280

#framebuffer_height=720

# uncommentifhdmidisplayisnotdetectedandcompositeisbeingoutput

hdmi_force_hotplug=1

# uncommenttoforceaspecifichdmimode (thiswillforcevga )。

#hdmi_group=1

#hdmi_mode=1

# uncommenttoforceahdmimoderatherthandvi.thiscanmakeaudioworkin

# DMT (计算机监视器) modes

#hdmi_drive=2

# uncommenttoincreasesignaltohdmi,if you have接口,blanking,or

# no显示

#config_hdmi_boost=4

# uncomment for composite PAL

#sdtv_mode=2

# uncommenttooverclockthearm.700 mhzisthedefault。

#arm_freq=800

# uncommentsomeorallofthesetoenabletheoptionalhardwareinterfaces

#dtparam=i2c_arm=on

#dtparam=i2s=on

#dtparam=spi=on

# uncommentthistoenablethelirc-rpi模块

#dtoverlay=lirc-rpi

# additionaloverlaysandparametersaredocumented/boot/overlays/readme

#enableaudio(loadssnd_BCM2835 ) ) ) ) ) ) ) ) )。

dtparam=audio=on

dtoverlay=sdtweak,poll_once

版权声明:该文观点仅代表作者本人。处理文章:请发送邮件至 三1五14八八95#扣扣.com 举报,一经查实,本站将立刻删除。