From owner-freebsd-usb@FreeBSD.ORG Sun Sep 30 16:03:59 2007 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 D521516A418 for ; Sun, 30 Sep 2007 16:03:59 +0000 (UTC) (envelope-from amdmi3@amdmi3.ru) Received: from cp65.agava.net (cp65.agava.net [89.108.66.215]) by mx1.freebsd.org (Postfix) with ESMTP id 9152513C465 for ; Sun, 30 Sep 2007 16:03:59 +0000 (UTC) (envelope-from amdmi3@amdmi3.ru) Received: from [213.148.20.85] (helo=nexii.panopticon) by cp65.agava.net with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.44 (FreeBSD)) id 1Ic0mt-000N2q-Hw for freebsd-usb@freebsd.org; Sun, 30 Sep 2007 19:32:55 +0400 Received: from hades.panopticon (hades.panopticon [192.168.0.2]) by nexii.panopticon (Postfix) with ESMTP id 4935517047 for ; Sun, 30 Sep 2007 19:34:05 +0400 (MSD) Received: by hades.panopticon (Postfix, from userid 1000) id 2F15940BE; Sun, 30 Sep 2007 19:34:18 +0400 (MSD) Date: Sun, 30 Sep 2007 19:34:18 +0400 From: Dmitry Marakasov To: freebsd-usb@freebsd.org Message-ID: <20070930153418.GA33374@hades.panopticon> Mail-Followup-To: freebsd-usb@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline User-Agent: Mutt/1.5.16 (2007-06-09) X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cp65.agava.net X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [26 6] X-AntiAbuse: Sender Address Domain - amdmi3.ru X-Source: X-Source-Args: X-Source-Dir: Subject: Add horizontal scroll support to ums driver 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: Sun, 30 Sep 2007 16:03:59 -0000 Hi! I've just bought Logitech USB-PS/2 Optical Mouse. In additional to usual wheel, it has horizontal scroll support by moving wheel left/right, and I would like that feature to work on my system. I've looked at ums driver source and seems like it doesn't support horizontal scroll at all. I think I can add support for it myself, but I could need some documentation and maybe some help from USB gurus. For now it's more or less clear to me what should be done in order to support H scroll, but I lack understanding of how output packets are formed in ums_add_to_queue(), i.e. those that come from /dev/ums0. -- Best regards, Dmitry Marakasov mailto:amdmi3@amdmi3.ru