From owner-freebsd-usb@FreeBSD.ORG Fri May 7 10:37:46 2010 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BB3D51065670; Fri, 7 May 2010 10:37:46 +0000 (UTC) (envelope-from alex.deiter@gmail.com) Received: from mail-gx0-f226.google.com (mail-gx0-f226.google.com [209.85.217.226]) by mx1.freebsd.org (Postfix) with ESMTP id 38DBD8FC14; Fri, 7 May 2010 10:37:45 +0000 (UTC) Received: by gxk26 with SMTP id 26so521122gxk.13 for ; Fri, 07 May 2010 03:37:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=LF+KPWP6om1zljSLOQqkYNdYJWYoLaX6ZVyFBEZarQg=; b=hujLRgQ0LDjWveWQcqu6KdCpfJbxv7Bs/nc16xMEj/ZFoGIUB3bDBz/MZeVy+FcP62 v/qfKiGN50DNmN0Cy+SodtvxduiBt0GbjempkVnGx99c66hHhe1AnktAmDnbEP47QPj8 /9rKIBAAuIce6lx3bk+EsZ6fWZ58U+9bNls58= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=f/iVe0muAT6/m0den3avqKLmcUd1j86E5kO5co4c5OMsGt2m49uaJtaRO6qaMb8Pzh buasIeaZCkT8Gtf6x9q5/P7dkXeuYanhi1mou4BYrSa7GXruZOXchqcEWFpO+bTfawFb p+Fz2NmrihLUk3Hq5f+tXXe7NhpRKTOVJkod8= MIME-Version: 1.0 Received: by 10.101.205.18 with SMTP id h18mr1079anq.30.1273228659391; Fri, 07 May 2010 03:37:39 -0700 (PDT) Received: by 10.100.91.20 with HTTP; Fri, 7 May 2010 03:37:39 -0700 (PDT) In-Reply-To: <20100507095718.GA3047@viskning> References: <20100507095718.GA3047@viskning> Date: Fri, 7 May 2010 14:37:39 +0400 Message-ID: From: Alex Deiter To: Kai Wang Content-Type: text/plain; charset=UTF-8 Cc: freebsd-bluetooth@freebsd.org, current@freebsd.org, freebsd-usb@freebsd.org, hps@freebsd.org Subject: Re: Revision 205728: broken bluetooth mouse support 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, 07 May 2010 10:37:46 -0000 Hi Kal, Thanks a lot for your patch! I`m apply this patch and my bt mouse work fine again! For Hans: > Which daemon is driving the BT mouse? bthidd patch for bthidd(8) works fine only WITH your patches for: lib/libusbhid/data.c sys/dev/usb/usb_hid.c sys/dev/usb/usbhid.h Thanks a lot! 2010/5/7 Kai Wang : > On Fri, May 07, 2010 at 01:58:13AM +0400, Alex Deiter wrote: >> Hi, >> >> Bluetooth mouse support is broken after Revision 205728: >> >> http://svn.freebsd.org/viewvc/base?view=revision&revision=205728 >> >> When I move the mouse - cursor stays in same place but moves the >> current position of the console. >> >> Proposed patch as an attachment. Could you please revew this ? > > Hi Alex, > > If we adopt your patch, usbhidctl(1) and usbhidaction(1) will be > broken again on device with multiple report IDs. > > Could you please try if the attached patch for the bthidd(8) > daemon works as well? > > Thanks, > Kai > -- -- Alex Deiter