diff --git a/raspinfo/raspinfo b/raspinfo/raspinfo index 3a15a85..e6c95b2 100755 --- a/raspinfo/raspinfo +++ b/raspinfo/raspinfo @@ -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`; @@ -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)