Unix Technical Forum

[Fwd: Re: about uhidev.h]

This is a discussion on [Fwd: Re: about uhidev.h] within the mailing.openbsd.tech forums, part of the OpenBSD category; --> The above problem I was ahving was with a microsoft optical notebook mouse. If anybody could help if they ...


Go Back   Unix Technical Forum > Unix Operating Systems > OpenBSD > mailing.openbsd.tech

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-18-2008, 08:43 AM
Sahil R Cooner
 
Posts: n/a
Default [Fwd: Re: about uhidev.h]

The above problem I was ahving was with a microsoft optical notebook
mouse. If anybody could help if they have experience with this, do let
me know, in the meantime, I'll be hacking away at it

Thank You,
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

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 08:58 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com