I think this form of command has been removed and would like to know what the new commands are to achieve the same effect as the original 3 commands to power on my modem.
I have a CM4 in a Waveshare CM4-IO-POE-4G-BOX running
After I upgrade the OS I can no longer run these commands.
The operating system is now
Thanks in advance
Tim
I have a CM4 in a Waveshare CM4-IO-POE-4G-BOX running
which I installed from image at https://downloads.raspberrypi.com/raspi ... ite.img.xz . To power on the LTE 4G modem I need to enter the following commands which work fine with this version of the OS:Linux 6.1.0-rpi7-rpi-v8 #1 SMP PREEMPT Debian 1:6.1.63-1+rpt1 (2023-11-24) aarch64
Code:
echo 6 > /sys/class/gpio/exportecho out > /sys/class/gpio/gpio6/directionecho 0 > /sys/class/gpio/gpio6/value
Code:
sudo apt update60 packages can be upgraded. Run 'apt list --upgradable' to see them.N: Repository 'http://deb.debian.org/debian bookworm InRelease' changed its 'Version' value from '12.4' to '12.5sudo apt full-upgradeecho 6 > /sys/class/gpio/export-bash: echo: write error: Invalid argument
I noticed in viewtopic.php?p=2156709 that people have said my commands are deprecated and so I want to know what is the new way to achieve the same result.Linux 6.6.20+rpt-rpi-v8 #1 SMP PREEMPT Debian 1:6.6.20-1+rpt1 (2024-03-07) aarch64
Thanks in advance
Tim
Statistics: Posted by timcu — Fri Mar 15, 2024 5:04 am