From owner-freebsd-usb@FreeBSD.ORG Thu Mar 5 13:28:55 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DCDE11065679 for ; Thu, 5 Mar 2009 13:28:55 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe02.swip.net [212.247.154.33]) by mx1.freebsd.org (Postfix) with ESMTP id 4991B8FC1B for ; Thu, 5 Mar 2009 13:28:54 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=p0lbXY6ahC0A:10 a=83Y5weSI77cA:10 a=j+k/Ze5hWUCaCztCgEjzDQ==:17 a=KhzzEgmWesCwPFZ8mewA:9 a=60tcQhnrhlCl1yLfOisA:7 a=J9hPQJQmTEBM-YyIHmRc-uDU59sA:4 a=LY0hPdMaydYA:10 Received: from [81.191.55.181] (account mc467741@c2i.net HELO laptop) by mailfe02.swip.net (CommuniGate Pro SMTP 5.2.6) with ESMTPA id 1208570321; Thu, 05 Mar 2009 14:28:52 +0100 From: Hans Petter Selasky To: Boris Kotzev Date: Thu, 5 Mar 2009 14:31:20 +0100 User-Agent: KMail/1.9.7 References: <200903041946.15105.boris.kotzev@gmail.com> <200903042041.47709.hselasky@c2i.net> <200903042346.00840.boris.kotzev@gmail.com> In-Reply-To: <200903042346.00840.boris.kotzev@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200903051431.22066.hselasky@c2i.net> Cc: freebsd-usb@freebsd.org Subject: Re: usb touchpad not working properly on CURRENT with usb2 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Mar 2009 13:28:56 -0000 On Wednesday 04 March 2009, Boris Kotzev wrote: > > On Wednesday 04 March 2009, Boris Kotzev wrote: > > > Hi, > > > > > > The touchpad of my laptop is not responding properly to input anymore. > > > It used to work fine with the old usb stack. > > > > > > The laptop is running CURRENT from yesterday: > > > > > > FreeBSD zembla.universe 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Wed Mar 4 > > > 17:30:05 EET 2009 user@zembla.universe:/usr/obj/usr/src/sys/CUSTOM > > > amd64 > > > > > > When I move my finger horizontally on the touchpad of the laptop, the > > > cursor moves up and down. Moving the finger vertically moves the cursor > > > a little and then it stops. Pressing the touchpad button moves the > > > cursor to the right. > > > > > > The touchpad is detected as: > > > > > > ugen0.2: at usbus0, > > > cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON > > > > > > Resetting the touchpad produces the following dmesg output: > > > > > > ukbd0: at uhub0, port 2, addr 2 (disconnected) > > > ums1: at uhub0, port 2, addr 2 (disconnected) > > > ums_detach:608: sc=0xffffff000188c400 > > > uhid1: at uhub0, port 2, addr 2 (disconnected) > > > ukbd0: on usbus0 > > > kbd1 at ukbd0 > > > ums1: on usbus0 > > > ums_attach:530: WARNING: report size, 67 bytes, is larger than > > > interrupt size, 64 bytes! ums1: 3 buttons and [XY] coordinates > > > ums_attach:546: sc=0xffffff000184e800 > > > ums_attach:547: X 8/8 > > > ums_attach:548: Y 16/8 > > > ums_attach:549: Z 0/0 > > > ums_attach:550: T 0/0 > > > ums_attach:551: W 0/0 > > > ums_attach:555: B1 0/1 > > > ums_attach:555: B2 1/1 > > > ums_attach:555: B3 2/1 > > > ums_attach:557: size=67, id=0 > > > uhid1: on usbus0 > > > > > > What other information should I provide to help solving this problem? > > > > > > Sincerely, > > > > > > Boris Kotzev > > > > Could you get the USB HID descriptors dumped using: > > > > usbhidctl > > > > --HPS > > All information I managed to extract by using usbhidctl is below: > > # usbhidctl -f /dev/uhid1 -ra > Report descriptor: > Collection page=Consumer usage=Consumer_Control > Input size=8 count=1 page=Consumer usage=Eject, logical range 0..255 > End collection > Total input size 1 bytes > Total output size 0 bytes > Total feature size 0 bytes > usbhidctl: USB_SET_IMMED: Device not configured > > If it is not enough, will you explain to me how to use this utility? > Hi, I think you have to unload ums module. Then replug the device and search for the new uhid device. Can you also do: usbconfig -u 0 -a 2 dump_device_desc dump_curr_config_desc --HPS