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

    AugustRobot_Zou

    @AugustRobot_Zou

    4
    Reputation
    5
    Profile views
    33
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    AugustRobot_Zou Unfollow Follow

    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
    • 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
    • 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
    • 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

    Latest posts made by AugustRobot_Zou

    • 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
    • RE: CoolPi 4B的GPIO问题

      @大法师 请问有办法设置上电时的初始GPIO电平吗?
      我切到root用户,echo 115 > /sys/class/gpio/export
      /sys/class/gpio/gpio115 下 使用命令 echo 0 > value。都能操作成功,但是断电重启后,又恢复了。有没办法,修改后,断电再上电还能保持设置的电平

      posted in Pi 4B
      A
      AugustRobot_Zou
    • RE: CoolPi 4B硬件扩展二:Serial port

      @george 目前是刚好够用的,我以为跟其他串口一样改一下内核设备树就能多一个备用串口,如果太麻烦就算了暂时不用,别引出其他bug了。

      posted in Hardware
      A
      AugustRobot_Zou
    • RE: CoolPi 4B硬件扩展二:Serial port

      有办法把console关闭吗?使用uart2-ttyS0作为一路普通串口

      posted in Hardware
      A
      AugustRobot_Zou
    • RE: CoolPi 4B硬件扩展一:40PIN接口介绍

      @george 谢谢!再请教一个问题,coolpi4b的峰值功率是多少?
      我要给coolpi4b选个AC-DC芯片

      posted in Hardware
      A
      AugustRobot_Zou
    • RE: CoolPi 4B硬件扩展一:40PIN接口介绍

      @george @大法师
      请问一下,coolpi4b的40PIN的VCC-5v,能不能作为整块板子的供电输入? 不接Type-C power

      posted in Hardware
      A
      AugustRobot_Zou
    • 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
    • RE: 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?

      posted in Pi 4B
      A
      AugustRobot_Zou
    • 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
    • RE: 请教kernel内核编译,修改哪里后再编译可以打开手柄驱动(joystick)

      @大法师 好的
      d26c1748-39f3-406b-882f-86ef9680bd87-图片.png

      莱仕达蓝牙手柄,PXN-9603

      posted in Ubuntu
      A
      AugustRobot_Zou