From owner-freebsd-usb@FreeBSD.ORG Fri Mar 6 18:21:57 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 785331065692 for ; Fri, 6 Mar 2009 18:21:57 +0000 (UTC) (envelope-from boris.kotzev@gmail.com) Received: from mail-fx0-f158.google.com (mail-fx0-f158.google.com [209.85.220.158]) by mx1.freebsd.org (Postfix) with ESMTP id C93F48FC14 for ; Fri, 6 Mar 2009 18:21:56 +0000 (UTC) (envelope-from boris.kotzev@gmail.com) Received: by fxm2 with SMTP id 2so456762fxm.43 for ; Fri, 06 Mar 2009 10:21:55 -0800 (PST) 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=ZJFi5t0ab813kAvWG5uphP1zSBI0sua2xdVfBbPblWI=; b=AE9Xlo4E7jaPksweE/8vlzNi2Qbd7Yzu00tf36+6+6sr51DJMc1+YKQ1P59rBw4TV1 E1n1XSpDeJOndsBoJlc1OYc8dtvkSnueGk5gOqrREQFsLlnphqkvXuJ8vAAN8qia3fOg iX3vdGX89cyNtm10DmngeSZUjbfzjFKCSpFcg= 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=HKSEy9O+5rGUMKBEJewCcZrHF6dAsyQLuiteuaIJlWuiFxObeHF85CEOIyiV2E5o6y u+l/obAQSR9PLUUt8617DNzQpz2LGmZ7FocJCtDfSguhXq4SOEqUuaqbZGR7LE0rB0Q5 8a//DUJ59mXa7RP3I8Z/h4wAVcDQ47SsdQsI8= Received: by 10.103.160.9 with SMTP id m9mr1195377muo.53.1236363715309; Fri, 06 Mar 2009 10:21:55 -0800 (PST) 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 n10sm2138969mue.39.2009.03.06.10.21.53 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 06 Mar 2009 10:21:54 -0800 (PST) From: Boris Kotzev Organization: Home To: Hans Petter Selasky Date: Fri, 6 Mar 2009 20:21:52 +0200 User-Agent: KMail/1.11.0 (FreeBSD/8.0-CURRENT; KDE/4.2.0; amd64; ; ) References: <200903041946.15105.boris.kotzev@gmail.com> <200903052109.00282.boris.kotzev@gmail.com> <200903061721.15975.hselasky@c2i.net> In-Reply-To: <200903061721.15975.hselasky@c2i.net> MIME-Version: 1.0 Content-Type: text/plain; charset="windows-1251" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200903062021.52408.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: Fri, 06 Mar 2009 18:21:59 -0000 On =EF=E5=F2=FA=EA 06 =EC=E0=F0=F2 2009 18:21:15 you wrote: > On Thursday 05 March 2009, Boris Kotzev wrote: > > > On Wednesday 04 March 2009, Boris Kotzev wrote: > > > > > On Wednesday 04 March 2009, Boris Kotzev wrote: > > > > Thanks! > > > > Boris Kotzev > > Try editing /sys/dev/usb/input/ums.c . Change "bufsize": > > static const struct usb2_config ums_config[UMS_N_TRANSFER] =3D { > > [UMS_INTR_DT] =3D { > .type =3D UE_INTERRUPT, > .endpoint =3D UE_ADDR_ANY, > .direction =3D UE_DIR_IN, > .mh.flags =3D {.pipe_bof =3D 1,.short_xfer_ok =3D 1,}, > .mh.bufsize =3D 0, /* use wMaxPacketSize */ > .mh.callback =3D &ums_intr_callback, > }, > }; > > > into: > > > static const struct usb2_config ums_config[UMS_N_TRANSFER] =3D { > > [UMS_INTR_DT] =3D { > .type =3D UE_INTERRUPT, > .endpoint =3D UE_ADDR_ANY, > .direction =3D UE_DIR_IN, > .mh.flags =3D {.pipe_bof =3D 1,.short_xfer_ok =3D 1,}, > .mh.bufsize =3D 128, /* use wMaxPacketSize XXX */ > .mh.callback =3D &ums_intr_callback, > }, > }; > > This patch might make other USB mouse devices not work. It's just supposed > to make the Touchpad work. Let me know the result and I will make the fin= al > patch. > > --HPS Hi Hans, Changing the bfsz from 0 to 128 in ums.c did not solve the problem. The touchpad continues to respond to input in the same weird way. Best regards, Boris Kotzev =20