[Bug 263099] vidcontrol(1) -p and -P does not work

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 06 Apr 2022 18:12:27 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=263099

            Bug ID: 263099
           Summary: vidcontrol(1) -p and -P does not work
           Product: Base System
           Version: 13.1-RELEASE
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: vermaden@interia.pl

I suspect its the same on 13.0 but I am using 13.0-RC1 currently.

The vidcontrol(1) man page states the following:

| The following command will capture the contents of the first
| virtual terminal video buffer, and redirect the output to
| the shot.scr file:
| 
|   vidcontrol -p < /dev/ttyv0 > shot.scr
| 
| 
| The following command will dump contents of the fourth
| virtual terminal video buffer to the standard output in the
| human readable format:
| 
|   vidcontrol -P < /dev/ttyv3

But it does not work:

# vidcontrol -p < /dev/ttyv0                                                    
vidcontrol: dumping screen: Inappropriate ioctl for device                      

# vidcontrol -P < /dev/ttyv0                                                    
vidcontrol: dumping screen: Inappropriate ioctl for device                      

I have i915kms.ko loaded from the drm-kmod package.

Regards.

-- 
You are receiving this mail because:
You are the assignee for the bug.