From owner-freebsd-current@FreeBSD.ORG Mon Jul 26 20:51:07 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ABCD016A4CE; Mon, 26 Jul 2004 20:51:07 +0000 (GMT) Received: from horse.carrier.kiev.ua (horse.carrier.kiev.ua [193.193.193.118]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2490843D45; Mon, 26 Jul 2004 20:51:05 +0000 (GMT) (envelope-from news+freebsd-arts@news1.lucky.net) Received: from horse.carrier.kiev.ua (news@localhost) by horse.carrier.kiev.ua (8.11.6p2/8.11.6) with ESMTP id i6QKp2V74757; Mon, 26 Jul 2004 23:51:03 +0300 (EEST) (envelope-from news+freebsd-arts@news1.lucky.net) X-Authentication-Warning: horse.carrier.kiev.ua: news owned process doing -bs To: freebsd-current@freebsd.org, freebsd-hardware@freebsd.org From: Alexander Motin Date: Mon, 26 Jul 2004 23:30:32 +0300 Organization: Alkar Teleport News Server Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: pandora.alkar.net 1090873835 78281 195.248.178.122 (26 Jul 2004 20:30:35 GMT) User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040113 X-Accept-Language: ru, en-us, en Sender: Alkar Teleport News Subsystem X-Verify-Sender: verified X-Mailman-Approved-At: Mon, 26 Jul 2004 22:41:55 +0000 Subject: USB mouse buttons X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Jul 2004 20:51:07 -0000 Hi! I have Logitech MX510 mouse with 8 buttons. When I connect it to USB port I take message: Jul 26 18:07:58 orphanage kernel: ums0: Logitech USB-PS/2 Optical Mouse, rev 2.00/21.00, addr 2, iclass 3/1 Jul 26 18:07:58 orphanage kernel: ums0: 7 buttons and Z dir. As I understand ums driver do not support mouses with more then 7 buttons because of: #define MAX_BUTTONS 7 /* chosen because sc_buttons is u_char */ But sc_buttons is int as I can see inside /usr/src/sys/i386/isa/mse.c May be this limitation is obsoleted and can be removed? -- Alexander Motin mav@alkar.net