@edwardzhou
从log信息看USB设备还是有兼容性问题,识别的时候有报错,如果手上有USB hub可以串接hub再测试。或者换一个USB摄像头模组确认一下问题。
Posts
-
RE: CoolPi 4b Ubuntu gst拉取usb摄像头不稳定,经常断开
-
RE: 可不可以把emmc中的系统通过dd指令备份到tf卡中,随后在新的coolpi板子上只插入tf卡实现系统迁移?
@hangman 可能是读卡器兼容性问题,之前有测试过的读卡器如下链接:【淘宝】https://m.tb.cn/h.5kZgqBq?tk=DvWdWeDZbHp CZ3457 「SD卡TF卡USB3.0高速二合一读卡器手机相机内存卡行车记录仪GL3224」
点击链接直接打开 或者 淘宝搜索直接打开 -
RE: CM5 LVDS
@Xelef2000 The CM5-EVB machine itself does not have an LVDS interface. If you need to implement it, you can use the MIPI interface to transfer it. The optional chips include TC358775 GM8775 LT9211. From the test results, the compatibility of the winter solstice chips is the best. If you need detailed information, please leave a message and organize a copy later.
-
RE: 可不可以把emmc中的系统通过dd指令备份到tf卡中,随后在新的coolpi板子上只插入tf卡实现系统迁移?
@hangman etcher会格式化,不需要单独处理。
-
RE: 可不可以把emmc中的系统通过dd指令备份到tf卡中,随后在新的coolpi板子上只插入tf卡实现系统迁移?
@hangman
如下脚本放置到U盘或者TF卡中,然后运行就会导出EMMC的系统。导出的镜像可以重新烧录到EMMC或者TF卡中。!# /bin/sh IMAGE_NAME="$(date "+%Y%m%d")-rootfs.img" IMAGE_SIZE=8192 LOOP_NUMBER=$(losetup -f) echo "01:remove firstrun" rm /var/lib/misc/firstrun echo "02:Establishing a mount directory" mkdir ./mnt echo "03:dd image file" dd if=/dev/zero of=./$IMAGE_NAME bs=1M count=$IMAGE_SIZE echo "04:Mirror Partition" printf 'n\np\n1\n32768\n1081343\nn\np\n2\n1081344\n16777215\nw\n' | fdisk ./$IMAGE_NAME echo "05:format partition" partx -a -v ./$IMAGE_NAME mkfs.vfat $LOOP_NUMBER"p1" echo 'yes\n' | mkfs.ext4 $LOOP_NUMBER"p2" echo "06:copy boot files" mount $LOOP_NUMBER"p1" ./mnt cp /boot/firmware/* ./mnt/ -R umount ./mnt echo "07:backup rootfs" rm ./backup.fs dump -0u -f - /dev/mmcblk0p2 >> ./backup.fs echo "08:copy rootfs files" mount $LOOP_NUMBER"p2" ./mnt cd ./mnt restore -rf ../backup.fs umount ./mnt cd ../ e2fsck -p -f $LOOP_NUMBER"p2" resize2fs -M $LOOP_NUMBER"p2" e2label $LOOP_NUMBER"p2" writable losetup -d $LOOP_NUMBER echo "09:backimg ok" fdisk -l ./$IMAGE_NAME
-
RE: Laptop USB-C Alt Mode
@anernest Please upload a copy of dmesg information. Thank you.
-
Installing Cockpit on coolpi
- By default, the Cockpit package is included in the Ubuntu 22.04 default repository. You can install it by running the following command:
sudo apt-get install cockpit -y
- After installing Cockpit, run the following command to install the Podman module:
sudo apt-get install cockpit-podman -y
- After installing Cockpit, start the Cockpit service and have it start when the system reboots:
systemctl start cockpit systemctl enable cockpit
- You can also use the following command to check the status of Cockpit:
systemctl status cockpit
- You should see the following output:
●cockpit.service - Cockpit Web Service Loaded: loaded (/lib/systemd/system/cockpit.service; static) Active: active (running) since Tue 2023-11-21 08:44:56 UTC; 7min ago TriggeredBy: ● cockpit.socket Docs: man:cockpit-ws(8) Process: 336904 ExecStartPre=/usr/lib/cockpit/cockpit-certificate-ensure --for-cockpit-tls (code=exited, status=0/SUCCESS) Main PID: 336905 (cockpit-tls) Tasks: 3 (limit: 37954) Memory: 1.5M CPU: 358ms CGroup: /system.slice/cockpit.service └─336905 /usr/lib/cockpit/cockpit-tls
- At this point, Cockpit has started and is listening on port 9090. You can use the following command to view:
ss -antpl | grep 9090
- You should see the following output:
LISTEN 0 0 *:9090 *:*
-
Configure a UFW firewall and open port 9090
-
Now, open a web browser and use the URL https://your-server-ip:9090 Access the Cockpit web interface. You should see the Cockpit login page:
-
RE: 请问,怎么支持usb连接esp32开发板
@airobot机器人开发 好的!正常编译完内核以后需要把modules.tar.gz 解压到文件系统的/lib 目录,这里边主要是一些驱动的ko文件。
-
RE: 编译安装libc库导致不开机
@airobot机器人开发 系统镜像做到TF卡或者U盘里边,默认TF卡或者U盘启动优先级高于EMMC,系统启动后手动挂载EMMC分区就可以导出数据了。
-
RE: Laptop install Ubuntu on nvme
@Momo-0
Thank you for sharing. If you have any questions during use, I hope you can raise them. Thank you very much for your support.