From owner-freebsd-usb@FreeBSD.ORG Mon Mar 9 00:05:05 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 D2998106566C for ; Mon, 9 Mar 2009 00:05:05 +0000 (UTC) (envelope-from boris.kotzev@gmail.com) Received: from mail-bw0-f164.google.com (mail-bw0-f164.google.com [209.85.218.164]) by mx1.freebsd.org (Postfix) with ESMTP id 268398FC19 for ; Mon, 9 Mar 2009 00:05:04 +0000 (UTC) (envelope-from boris.kotzev@gmail.com) Received: by bwz8 with SMTP id 8so947247bwz.43 for ; Sun, 08 Mar 2009 17:05:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:organization:to:subject :date:user-agent:references:in-reply-to:cc:mime-version:content-type :content-transfer-encoding:content-disposition:message-id; bh=5mxTbmyLuXCQzNZ5Cz8QVDnbVvEfC/kWAWq5rG7eUKw=; b=USMfvupZ/hzL2XK9eMNxN2a88R0F6iR1GWLP4/Coy+p7X3rMy4AA1aT5jmqpMjkhyS KWpmwwigAfnFxBVa9bMrXv2TX1xkHKSwv+tPUxe2yqVo70wCKT4t5Ys6Zajr64Acots9 955/8dnvGKNeMqbjKPvxxQcgzHQcD9n1Vh/lE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:organization:to:subject:date:user-agent:references:in-reply-to :cc:mime-version:content-type:content-transfer-encoding :content-disposition:message-id; b=Cv+K5l6ezde68RqZOju2Uv+QXvsL5xXz9wRiJ2MbwWX3/Omc/NSnokNGrpa4oo/7ZV stVkJJqu8Rcx/0U31S0OcAXzKIotbo7tUcXZatXX6GY/9+cXVWamiSok9LzQl8mRMm9H S/V836HOQ79lwQL7ljiSR6CA3tbtZRdFEv1k0= Received: by 10.103.90.17 with SMTP id s17mr2332405mul.73.1236557103941; Sun, 08 Mar 2009 17:05:03 -0700 (PDT) Received: from host7.net62.hdsl-213-169.fastbg.net (host7.net62.HDSL-213-169.FastBG.NET [213.169.62.7]) by mx.google.com with ESMTPS id n7sm6721135mue.36.2009.03.08.17.05.02 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 08 Mar 2009 17:05:03 -0700 (PDT) From: Boris Kotzev Organization: Home To: Hans Petter Selasky Date: Mon, 9 Mar 2009 02:05:00 +0200 User-Agent: KMail/1.11.0 (FreeBSD/8.0-CURRENT; KDE/4.2.0; amd64; ; ) References: <200903041946.15105.boris.kotzev@gmail.com> <200903062205.04687.boris.kotzev@gmail.com> <200903082149.21753.hselasky@c2i.net> In-Reply-To: <200903082149.21753.hselasky@c2i.net> MIME-Version: 1.0 Content-Type: text/plain; charset="windows-1251" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200903090205.01119.boris.kotzev@gmail.com> 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: Mon, 09 Mar 2009 00:05:06 -0000 > Hi Boris, > > Based on the HID descriptor dump you sent I've found and corrected a couple > of bugs in the FreeBSD kernel HID parser. > > 1) cvsup to latest current. > 2) replace the two patched files with the version from USB P4 > 3) compile new kernel and modules > > If it doesn't work, then turn on ums debugging before plugging the devices > and send me the result! > > Patch: > > http://perforce.freebsd.org/chv.cgi?CH=158868 > > --HPS Hi Hans, I performed steps 1, 2 and 3 (in step 2 downloaded and then replaced the files usb_hid.c and usb_hid.h.) - there is no change in the behavior of the touchpad. It still does not function properly. Resetting the device with "hw.usb2.ums.debug" set to "1" produces the following output in dmesg : usbconfig -u 0 -a 2 reset ukbd0: at uhub0, port 2, addr 2 (disconnected) ums1: at uhub0, port 2, addr 2 (disconnected) ums_detach:608: sc=0xffffff00017c3400 uhid1: at uhub0, port 2, addr 2 (disconnected) ukbd0: on usbus0 kbd1 at ukbd0 ums1: on usbus0 ums1: 3 buttons and [XY] coordinates ums_attach:546: sc=0xffffff000d06a400 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=64, id=0 uhid1: on usbus0 Best regards, Boris Kotzev