cvs commit: src/sys/dev/syscons scmouse.c scvesactl.c scvgarndr.c scvidctl.c syscons.c syscons.h src/usr.sbin/vidcontrol vidcontrol.1 vidcontrol.c

Xin LI delphij at FreeBSD.org
Sun May 29 01:43:45 PDT 2005


delphij     2005-05-29 08:43:44 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/syscons      scmouse.c scvesactl.c scvgarndr.c 
                         scvidctl.c syscons.c syscons.h 
    usr.sbin/vidcontrol  vidcontrol.1 vidcontrol.c 
  Log:
  Add VESA mode support for syscons, which enables the support of 15, 16,
  24, and 32 bit modes.  To use that, syscons(4) must be built with
  the compile time option 'options SC_PIXEL_MODE', and VESA support (a.k.a.
  vesa.ko) must be either loaded, or be compiled into the kernel.
  
  Do not return EINVAL when the mouse state is changed to what it already is,
  which seems to cause problems when you have two mice attached, and
  applications are not likely obtain useful information through the EINVAL
  caused by showing the mouse pointer twice.
  
  Teach vidcontrol(8) about mode names like MODE_<NUMBER>, where <NUMBER> is
  the video mode number from the vidcontrol -i mode output.  Also, revert the
  video mode if something fails.
  
  Obtained from:  DragonFlyBSD
  Discussed at:   current@ with patch attached [1]
  PR:             kern/71142 [2]
  Submitted by:   Xuefeng DENG <dsnofe at msn com> [1],
                  Cyrille Lefevre <cyrille dot lefevre at laposte dot net> [2]
  
  Revision  Changes    Path
  1.37      +6 -12     src/sys/dev/syscons/scmouse.c
  1.21      +14 -0     src/sys/dev/syscons/scvesactl.c
  1.17      +424 -51   src/sys/dev/syscons/scvgarndr.c
  1.33      +24 -8     src/sys/dev/syscons/scvidctl.c
  1.436     +6 -0      src/sys/dev/syscons/syscons.c
  1.83      +5 -0      src/sys/dev/syscons/syscons.h
  1.56      +10 -5     src/usr.sbin/vidcontrol/vidcontrol.1
  1.52      +565 -165  src/usr.sbin/vidcontrol/vidcontrol.c


More information about the cvs-src mailing list