We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 41be611 commit ddaafebCopy full SHA for ddaafeb
raspinfo/raspinfo
@@ -224,11 +224,17 @@ echo "-----------"
224
cat /proc/cmdline
225
226
echo
227
-echo "raspi-gpio settings"
228
-echo "-------------------"
+echo "pin configuration"
+echo "-----------------"
229
230
231
-raspi-gpio get
+if command -v pinctrl > /dev/null; then
232
+ sudo pinctrl 2>&1
233
+elif command -v raspi-gpio > /dev/null; then
234
+ raspi-gpio get 2>&1
235
+else
236
+ echo "pinctrl/raspi-gpio not found"
237
+fi
238
239
240
echo "vcdbg log messages"
0 commit comments