On 17 лютого 2014 р. 12:08:09 GMT+02:00, Andriy Gapon <avg_at_FreeBSD.org> wrote: > >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 Hello Andriy! I remember we were discussed that problem before, can you please check if moused enabled (in rc.conf or by devd for USB mouse) and do you use Kern.vt.textmode (IIRC its name)? Mousecharstart is a first char of 4 to replace its bitmap with parts of mouse pointer. You can see its job by defining it to some of frequently used chars, then mouse pointer will be moved over many chars on the screen :-) About second question - there is no problem to just remove that warning, but think better to left it to make an idea for developers about what term ioctls doing with sysmuse devfs node. Thanks for testing! WBW ------ Aleksandr Rybalko <ray_at_ddteam.net>Received on Mon Feb 17 2014 - 15:41:39 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:47 UTC