NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

bin/53049: wsmoused not working: ioctl(WSDISPLAYIO_PUTWSCHAR) failed



>Number:         53049
>Category:       bin
>Synopsis:       usb-mouse is not useable, lots of wsmoused ioctl failures
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Feb 23 21:50:00 +0000 2018
>Originator:     bernward.pub%arcor.de@localhost
>Release:        NetBSD 8.0_BETA
>Organization:
	
>Environment:
System: NetBSD Brix 8.0_BETA NetBSD 8.0_BETA (GENERIC.201802030140Z) amd64
Architecture: x86_64
Machine: amd64
>Description:
The USB mouse is not usable neither in textconsole nor in X.

top shows higher activity of wsmoused and syslogd, when I move the mouse
(cpu load goes from below 0.01% up to over 10%, for both).
In the blue screen of mc, I can draw lines of black boxes (size 1 letter).
On the normal black text screen, there is no reaction on mouse movements.
X works, but the mouse curser does not react on mouse movement or mouse keys,
so X is not really useable. X wants to use /dev/mouse, but it does not exist.

In /var/log/messages I find some hundreds of the following lines:

	Feb 12 22:30:20 Brix wsmoused: ioctl(WSDISPLAYIO_PUTWSCHAR) failed
	Feb 12 22:30:20 Brix wsmoused: Invalid argument

After stopping with /etc/rc.d/wsmoused stop
and restarting with wsmoused -n nothing seems to happen.
But as soon as I move the mouse, the screen is filled with lines as below:

Brix# /etc/rc.d/wsmoused status
wsmoused is running as pid 380.
Brix# /etc/rc.d/wsmoused stop
Stopping wsmoused.
Brix# wsmoused -n
wsmoused: ioctl(WSDISPLAYIO_PUTWSCHAR) failed: Invalid argument
wsmoused: ioctl(WSDISPLAYIO_PUTWSCHAR) failed: Invalid argument
...
(more than 1 line per second)

With NetBSD 8, my USB-keyboard and my USB-mouse are recognised
during kernel initialisation, so I hope it will work in near future.
With NetBSD 7 they were not recognised,
even the USB installation stick was not recognised by the kernel.

Mouse recognition from dmesg:
---
uhid0 at uhidev1: input=2, output=0, feature=0
uhidev2 at uhub1 port 4 configuration 1 interface 0
uhidev2: SIGMACH1P (0x1c4f) U+P Mouse (0x03), rev 1.10/1.10, addr 3, iclass 3/1
ums0 at uhidev2: 3 buttons and Z dir
wsmouse0 at ums0 mux 0
---

>How-To-Repeat:
Start with wsmoused -n, move usb-mouse:
the screen is filled with lines as below:
wsmoused: ioctl(WSDISPLAYIO_PUTWSCHAR) failed: Invalid argument
>Fix:



Home | Main Index | Thread Index | Old Index