I used to have mousechar_start="3" in my r.conf.  To be honest I can not even
recall why.  But this worked fine with syscons without any glitches.
With vt I get the following during boot up:
vidcontrol: setting mouse character: Inappropriate ioctl for device
And mouse cursor is never drawn, apparently vidcontrol -m on -M <X> just fails.

Looks like with syscons MOUSE_MOUSECHAR ioctl is handled by a terminal device
and consolectl device while with vt it is handled only by sysmouse device.


Another issue is that I see the following messages appearing during boot and
from time to time afterwards in the system log:
kernel: sysmouse: unknown ioctl: t:40007413
kernel: sysmouse: unknown ioctl: t:80007410

The ioctls seem to be TIOCFLUSH and TIOCGETA, so I am not sure why sysmouse gets
involved.  Maybe the same issue exists with syscons's sysmouse as well, but it
is just silent about it.

Seems like ioctls are called by X server.  For example:
sysmouse_ioctl:entry
              kernel`devfs_ioctl_f+0x11c
              kernel`kern_ioctl+0x1db
              kernel`sys_ioctl+0x142
              kernel`amd64_syscall+0x3c9
              kernel`0xffffffff8080e6db

              libc.so.7`ioctl+0xa
              Xorg`xf86OpenSerial+0x221
              mouse_drv.so`MouseProc+0x2f3
              Xorg`EnableDevice+0x214
              Xorg`xf86Wakeup+0x57b
              Xorg`WakeupHandler+0x42
              Xorg`WaitForSomething+0x317
              Xorg`Dispatch+0x92
              Xorg`main+0x475
              Xorg`_start+0x14f

sysmouse_ioctl:entry
              kernel`devfs_ioctl_f+0x11c
              kernel`kern_ioctl+0x1db
              kernel`sys_ioctl+0x142
              kernel`amd64_syscall+0x3c9
              kernel`0xffffffff8080e6db

              libc.so.7`ioctl+0xa
              Xorg`xf86FlushInput+0x21
              mouse_drv.so`MouseProc+0x376
              Xorg`EnableDevice+0x214
              Xorg`xf86Wakeup+0x57b
              Xorg`WakeupHandler+0x42
              Xorg`WaitForSomething+0x317
              Xorg`Dispatch+0x92
              Xorg`main+0x475
              Xorg`_start+0x14f
              ld-elf.so.1`0x8007d5000
-- 
Andriy Gapon
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Reply via email to