vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| The following is an email I forwarded to the developer of the usb sub system for mice and various other things. I am trying to get a USB Microsoft Optical Notebook mouse working with obsd. I am running current. My dmesg is listed above and the device seems to attach, but there is not output from cat(ting) the device. I believe that a person had similar errors(http://www.consultmatt.co.uk/freebsd_intellimouse) and that ums.c may need to be modified, I will try and hack away at this, but in the meantime if anybody has any wisdom on the subject, please do inform me, thank you. I do believe it may have to do with my device coming with it's own unique byte sequence or some other oddity. --sahil X-Account-Key: account2 X-Gmail-Received: e25ad1fc242dd00b40199398e695d5c958f2e873 Delivered-To: sahil.cooner@gmail.com Received: by 10.70.24.4 with SMTP id 4cs145154wxx; Tue, 27 Jun 2006 05:34:43 -0700 (PDT) Received: by 10.36.139.3 with SMTP id m3mr1097841nzd; Tue, 27 Jun 2006 05:34:42 -0700 (PDT) Return-Path: <binkertn@umich.edu> Received: from smtp.eecs.umich.edu (smtp.eecs.umich.edu [141.213.4.43]) by mx.gmail.com with ESMTP id 15si11126884nzn.2006.06.27.05.34.41; Tue, 27 Jun 2006 05:34:42 -0700 (PDT) Received-SPF: pass (gmail.com: best guess record for domain of binkertn@umich.edu designates 141.213.4.43 as permitted sender) Received: from smtp.eecs.umich.edu (localhost.eecs.umich.edu [127.0.0.1]) by smtp.eecs.umich.edu (8.13.6/8.13.6) with ESMTP id k5RCYd9s020507 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for <sahil.cooner@gmail.com>; Tue, 27 Jun 2006 08:34:40 -0400 Received: from localhost (binkertn@localhost) by smtp.eecs.umich.edu (8.13.6/8.13.2/Submit) with ESMTP id k5RCYdke020504 for <sahil.cooner@gmail.com>; Tue, 27 Jun 2006 08:34:39 -0400 X-Authentication-Warning: smtp.eecs.umich.edu: binkertn owned process doing -bs Date: Tue, 27 Jun 2006 08:34:39 -0400 (EDT) From: Nathan Binkert <binkertn@umich.edu> X-X-Sender: binkertn@smtp.eecs.umich.edu To: sahil.cooner@gmail.com Subject: Re: about uhidev.h In-Reply-To: <44A0C5DA.1020005@gmail.com> Message-ID: <Pine.LNX.4.64.0606270830020.28199@smtp.eecs.umich .edu> References: <44A0C5DA.1020005@gmail.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Spam-Status: No, score=-0.2 required=5.0 tests=BAYES_40,SPF_HELO_PASS, SPF_PASS autolearn=ham version=3.2.0-r372567 X-Spam-Checker-Version: SpamAssassin 3.2.0-r372567 (2006-01-26) on smtp.eecs.umich.edu X-Virus-Scan: : UVSCAN at UoM/EECS > I am emailing you because after looking at obsd code and trying to insert > VENDOR_ID and PRODUCT_ID's of my wireless notebook optical mouse. You should really e-mail misc@openbsd.org (or tech@) and not developers directly. > I have inserted these #defines into uhidev.h, I then continued to insert the > appropriate code structure into usbdevs_data.h You only want to add entries to usbdevs and then run make to generate the other two. (I assume you were talking about usbdevs.h and not uhidev.h) > uhidev0 at uhub0 port 1 configuration 1 interface 0 > uhidev0: Microsoft Microsoft USB Wireless Mouse, rev 2.00/0.17, addr 2, > iclass 3/1 > uhidev0: 23 report ids > ums0 at uhidev0 reportid 17: 5 buttons and Z dir. > wsmouse1 at ums0 mux 0 > uhid0 at uhidev0 reportid 18: input=0, output=0, feature=1 > uhid1 at uhidev0 reportid 19: input=1, output=0, feature=0 > uhid2 at uhidev0 reportid 20: input=1, output=0, feature=0 > uhid3 at uhidev0 reportid 21: input=3, output=0, feature=0 > uhid4 at uhidev0 reportid 23: input=0, output=0, feature=1 > what am I missing ? Im not sure, it looks correct to me. I see ums0 (a usb mouse) and wsmouse attaching to it. The uhidX devices are for extra buttons and such which microsoft decided to use different device IDs for. (for whatever reason.) Anyways, good luck, and please send your questions to the mailing lists. Nathan |