• Recent
  • Wiki
  • Github
  • 百度网盘
  • Onedrive
  • Official
  • Shop
  • Register
  • Login
  • Register
  • Login
  • Search
  • Recent
  • Wiki
  • Github
  • 百度网盘
  • Onedrive
  • Official
  • Shop
  1. Home
  2. AugustRobot_Zou
  3. Best
A
  • Profile
  • Following 0
  • Followers 0
  • Topics 3
  • Posts 33
  • Best 4
  • Controversial 0
  • Groups 0

Best posts made by AugustRobot_Zou

  • RE: 请教kernel内核编译,修改哪里后再编译可以打开手柄驱动(joystick)

    @大法师 感谢!完美解决我的问题!
    fb4671cc-f10c-4c31-9ad4-a39df90734fc-图片.png
    已找到/dev/input/js0

    更新内核方法在下面,方便其他新手朋友操作
    https://www.cool-pi.com/topic/131/coolpi-4b-linux-kernel开发在线更新说明

    posted in Ubuntu
    A
    AugustRobot_Zou
    Apr 18, 2023, 6:52 AM
  • RE: How to upgrade the boot loader of coolpi 4b?

    @AugustRobot_Zou said in How to upgrade the boot loader of coolpi 4b?:

    Since I upgraded my PC to Win11, the RKDevTool always cannot find the device of coolpi-4b.
    Does the RKDevTool support Win11?
    Or could I upgrade the boot loader of coolpi-4b in ubuntu environment?

    https://www.cool-pi.com/topic/47/coolpi-4b-bootloader命令行升级方法

    用这个办法升级成功,避开RKDevTool 在win11驱动问题

    posted in Pi 4B
    A
    AugustRobot_Zou
    Jul 10, 2023, 8:48 AM
  • RE: 请教kernel内核编译,修改哪里后再编译可以打开手柄驱动(joystick)

    @大法师 更新情况!
    4646c523-e724-4308-b486-c7e922a8f74a-图片.png

    还是使用不了,会出现 Couldn't open Joystick /dev/input/js0的报错。

    经过google后解决:
    https://forums.developer.nvidia.com/t/couldnt-open-joystick-dev-input-js0-solved/65192

    帖子说需要多编译一个CONFIG_JOYSTICK_XPAD=y
    9f0ecb4e-7a21-4bb0-bc6c-c24118c83340-图片.png

    于是我搜索后,发现rockchip_defconfig里面有三行
    ONFIG_JOYSTICK_XPAD=y
    CONFIG_JOYSTICK_XPAD_FF=y
    CONFIG_JOYSTICK_XPAD_LEDS=y
    8264cd2b-827e-4955-8623-e1ddd545528c-图片.png
    我也不管,全部复制进rk3588s_cp4b_defconfig,重新编译后,更新内核可以成功。

    d82797ea-88e5-4946-83f4-e22646fd6fee-图片.png

    posted in Ubuntu
    A
    AugustRobot_Zou
    Apr 18, 2023, 8:10 AM
  • RE: CoolPi 4B的GPIO问题

    @大法师 谢谢!搞定了
    ubuntu 20没有/etc/rc.local,需要

    1. 新建service
      sudo vim /etc/systemd/system/rc-local.service
    [Unit]
     Description=/etc/rc.local Compatibility
     ConditionPathExists=/etc/rc.local
    [Service]
     Type=forking
     ExecStart=/etc/rc.local start
     TimeoutSec=0
     StandardOutput=tty
     RemainAfterExit=yes
     SysVStartPriority=99
    [Install]
     WantedBy=multi-user.target
    

    2.使能service
    sudo systemctl enable rc-local.service
    3.新建/etc/rc.local
    sudo vim /etc/rc.local
    并需要操作的命令加进去
    4.启动服务
    sudo systemctl start rc-local.service
    sudo systemctl status rc-local.service

    posted in Pi 4B
    A
    AugustRobot_Zou
    Dec 18, 2023, 10:03 AM
  • 1 / 1