From owner-freebsd-bluetooth@FreeBSD.ORG Sat Oct 12 08:31:27 2013 Return-Path: Delivered-To: bluetooth@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 4F0A0131 for ; Sat, 12 Oct 2013 08:31:27 +0000 (UTC) (envelope-from danfe@regency.nsu.ru) Received: from mx.nsu.ru (mx.nsu.ru [84.237.50.39]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id F20DA20FB for ; Sat, 12 Oct 2013 08:31:26 +0000 (UTC) Received: from regency.nsu.ru ([193.124.210.26]) by mx.nsu.ru with esmtp (Exim 4.69) (envelope-from ) id 1VUubV-0003Aq-Mv for bluetooth@freebsd.org; Sat, 12 Oct 2013 15:31:22 +0700 Received: from regency.nsu.ru (localhost [127.0.0.1]) by regency.nsu.ru (8.14.2/8.14.2) with ESMTP id r9C8VcJX026354 for ; Sat, 12 Oct 2013 15:31:48 +0700 (NOVT) (envelope-from danfe@regency.nsu.ru) Received: (from danfe@localhost) by regency.nsu.ru (8.14.2/8.14.2/Submit) id r9C8VXwr026283 for bluetooth@freebsd.org; Sat, 12 Oct 2013 15:31:33 +0700 (NOVT) (envelope-from danfe) Date: Sat, 12 Oct 2013 15:31:33 +0700 From: Alexey Dokuchaev To: bluetooth@freebsd.org Subject: Apple's "magic" bluetooth mouse Message-ID: <20131012083133.GA22060@regency.nsu.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.1i X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Oct 2013 08:31:27 -0000 Hi there, I've been happily using Logitech V470 bluetooth mouse with my laptop for quite a while, and everything worked fine (including mouse wheel scroll and tilt). Today I got a chance to play with this glamorous rat from Apple, and was curious how it gets along with FreeBSD. Well, it worked, but only as a pointer. Even simplest features like vertical scrolling did not work. xev(1) reported of no events coming from when I touch the stupid mouse. It looks like they are not being proxied as virtual buttons clicks, but implemented somehow differently. I've also found that in Linux, they kinda use a special driver to make it work [1]. Any clues how to investigate this issue? I probably won't be able to make use of all fancy multi-touch features of the mouse, but I'd like to at least "export" some of the common gestures, like mouse wheel scroll, as a legacy button clicks (so they can be propagated up to the X.org). I guess I could study how we ourselves handle Synaptics touchpads, but given this mouse is bluetooth, I figured I better ask here first. ./danfe [1] https://wiki.ubuntu.com/Multitouch/AppleMagicMouse