ed at 80386.nl
Thu May 14 21:12:18 UTC 2009
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:
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
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.
Ed Schouten <ed at 80386.nl>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 195 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20090514/b37452c9/attachment.pgp
More information about the freebsd-current