Date: Mon, 22 Feb 2010 18:47:45 +0100 From: Hans Petter Selasky <hselasky@c2i.net> To: Chris Hedley <freebsd-current@chrishedley.com> Cc: freebsd-current@freebsd.org Subject: Re: ums fails to initialise correctly Message-ID: <201002221847.45617.hselasky@c2i.net> In-Reply-To: <alpine.BSF.2.00.1002221741590.98337@teapot.cbhnet> References: <alpine.BSF.2.00.1002221325530.98337@teapot.cbhnet> <201002221806.27139.hselasky@c2i.net> <alpine.BSF.2.00.1002221741590.98337@teapot.cbhnet>
next in thread | previous in thread | raw e-mail | index | archive | help
On Monday 22 February 2010 18:45:04 Chris Hedley wrote: > On Mon, 22 Feb 2010, Hans Petter Selasky wrote: > > On Monday 22 February 2010 17:52:25 Chris Hedley wrote: > >> On Mon, 22 Feb 2010, Hans Petter Selasky wrote: > >>> Hi, > >>> > >>> What is printed to dmesg when you enable debugging? > >>> > >>> sysctl hw.usb.ums.debug=15 > >> > >> Is the attached information okay? I tried it twice, first after a > >> switch using the KVM (where the mouse didn't work) and second when > >> unplugging the receiver and plugging it back in. Both traces are > >> identical except for the sc=0xf... etc bit. > >> > >> Do you want me to get the boot-time messages too, or is this okay for > >> now? > > > > What is printed when you move the mouse? > > When I disconnect & reconnect it, I get lots of stuff like this as the > pointer moves about the screen: > > ums_intr_callback: sc=0xffffff00015ae800 actlen=8 > ums_intr_callback: data = 00 00 00 00 ff ff 00 00 > ums_intr_callback: x:0 y:1 z:0 t:0 w:0 buttons:0x00000000 > ums_intr_callback: sc=0xffffff00015ae800 actlen=8 > ums_intr_callback: data = 00 00 00 00 fc ff 00 00 > ums_intr_callback: x:0 y:4 z:0 t:0 w:0 buttons:0x00000000 > ums_intr_callback: sc=0xffffff00015ae800 actlen=8 > ums_intr_callback: data = 00 00 ec ff d5 ff 00 00 > ums_intr_callback: x:-20 y:43 z:0 t:0 w:0 buttons:0x00000000 > > But nothing at all when it hasn't initialised properly. > Hi, If you get no "ums_intr_callback()" printouts at all in the failing case, and you are running 9-current, I guess that your KWM switch has some special requirements on the USB programming which I am not aware about. --HPS
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201002221847.45617.hselasky>