From owner-freebsd-hackers@FreeBSD.ORG Wed Jul 7 20:30:02 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B557A16A4CF for ; Wed, 7 Jul 2004 20:30:02 +0000 (GMT) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.189]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5705C43D2F for ; Wed, 7 Jul 2004 20:30:02 +0000 (GMT) (envelope-from werner@bit-1.de) Received: from [212.227.126.162] (helo=mrelayng.kundenserver.de) by moutng.kundenserver.de with esmtp (Exim 3.35 #1) id 1BiJ3J-0006gr-00 for freebsd-hackers@freebsd.org; Wed, 07 Jul 2004 22:30:01 +0200 Received: from [80.138.205.202] (helo=bit-1.de) by mrelayng.kundenserver.de with asmtp (Exim 3.35 #1) id 1BiJ3I-00070a-00 for freebsd-hackers@freebsd.org; Wed, 07 Jul 2004 22:30:00 +0200 Message-ID: <40EC5D41.6060605@bit-1.de> Date: Wed, 07 Jul 2004 22:29:53 +0200 From: Werner Backes User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-hackers@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: kundenserver.de abuse@kundenserver.de auth:d67b46096368d51cdaf9286bf8ee49f5 X-Mailman-Approved-At: Thu, 08 Jul 2004 11:45:25 +0000 Subject: what's wrong with uhid ? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Jul 2004 20:30:02 -0000 I tried to access an UHID device using FreeBSD (4.10) and I'm a bit confused. I did the same thing before with NetBSD and expected the device to behave the same under FreeBSD, because the man pages are pretty much the same. Two things I've noticed: - There is an man page for uhidev(4). uhidev claims to dispatch various report id's of a device to different uhid-devices, so if a single physical device has 4 report IDs you should end up with /dev/uhid0 .. /dev/uhid3. Both FreeBSD and NetBSD have this uhidev man pages, but FreeBSD doesn't semm to have the device. - I got only one uhid-device per physical device (or per interface, to be more correct). I don't know how to access the different report IDs if I only have one device. I have the feeling that FreeBSD has changed the behaviour of uhid when it took the code from NetBSD but didn't ajust teh man pages to reflect this changes. Or do I miss something obvious here ? TIA for some advice about this, Werner