Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion raspinfo/raspinfo
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ display_info_drm() {

display_info_legacy() {
# Legacy mode
echo "Running Legacy framebuffer"
echo "Running Legacy framebuffer (unsupported)"
echo

for card in `seq 0 9`;
Expand All @@ -100,6 +100,11 @@ display_info_legacy() {
fi
done

if ! command -v tvservice > /dev/null; then
echo "Please install Legacy userland package (tvservice)"
return 1
fi

disps=`tvservice -l | awk '/Display Number/{print substr($3,1,1)}'`

tmp=$(mktemp)
Expand Down