Date: Fri, 6 Mar 2009 20:21:52 +0200 From: Boris Kotzev <boris.kotzev@gmail.com> To: Hans Petter Selasky <hselasky@c2i.net> Cc: freebsd-usb@freebsd.org Subject: Re: usb touchpad not working properly on CURRENT with usb2 Message-ID: <200903062021.52408.boris.kotzev@gmail.com> In-Reply-To: <200903061721.15975.hselasky@c2i.net> References: <200903041946.15105.boris.kotzev@gmail.com> <200903052109.00282.boris.kotzev@gmail.com> <200903061721.15975.hselasky@c2i.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200903062021.52408.boris.kotzev>