Date: Fri, 11 Jun 2004 19:57:39 +0200 From: Bernd Walter <ticso@cicely12.cicely.de> To: "Jacob S. Barrett" <jbarrett@amduat.net> Cc: freebsd-current@freebsd.org Subject: Re: devd and usb Message-ID: <20040611175738.GR51677@cicely12.cicely.de> In-Reply-To: <200406110844.52444.jbarrett@amduat.net> References: <200406110844.52444.jbarrett@amduat.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Jun 11, 2004 at 08:44:52AM -0700, Jacob S. Barrett wrote: > Should the vendor and product codes be accessable in devd. I have seen > examples while searching Google that suggest that they should be, but they > don't appear to be. The problem is that I have two devices that get > recognized as ucom devices, my Visor and my cell phone. Obviously the > actions I want to purform when they are detected are very different. I tried > matching based on vendor and product codes, but that doesn't work. The codes > are not available when devd processes the attach event. devd support for usb devices currently don't supply this informations. I have a patch to add them plus serial numbers, but it's not in commitable shape yet. See http://www.bwct.de/usb-devd.patch -- B.Walter BWCT http://www.bwct.de bernd@bwct.de info@bwct.de
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040611175738.GR51677>