Date: Thu, 14 May 2009 23:12:15 +0200 From: Ed Schouten <ed@80386.nl> To: current@FreeBSD.org Subject: CFT: consolectl Message-ID: <20090514211215.GN58540@hoeg.nl>
next in thread | raw e-mail | index | archive | help
--d6yp3DxVbLZXge6e Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello folks, I just made the following patch for -CURRENT. I did some tests to see whether it works, but I'd rather send to to hackers@ to see whether it introduces any regressions: http://80386.nl/pub/syscons.diff What this patch does: right now /dev/consolectl is a TTY that isn't really useful right now. When you write data to it, it just appears on the first window and when you read data from it, it will block indefinitely. The only reason it exists, is because we want to have this administrative syscons device that can be used by applications to call various ioctls. This is also the device node that is used by moused to deliver mouse events. So this patch turns /dev/consolectl into a regular device node that can only process the ioctl events. The advantage is that we don't allocate a TTY (including buffers) just to process some ioctl events. After you've applied this patch, `pstat -t' should no longer list consolectl. I'd love to have some reports of people running X11 to know whether their mouse still works. Unfortunately I don't have a FreeBSD -CURRENT system running X11 at the moment. Just let me know if it breaks stuff. Thanks! --=20 Ed Schouten <ed@80386.nl> WWW: http://80386.nl/ --d6yp3DxVbLZXge6e Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEUEARECAAYFAkoMiS8ACgkQ52SDGA2eCwVc+gCY4qkY4uShE0C/v768uB/rtpLG NACbBi8iKocVHMSFN4Ac7gQPDphixTs= =K3gU -----END PGP SIGNATURE----- --d6yp3DxVbLZXge6e--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090514211215.GN58540>