Re: devd and usb

From: Bernd Walter <ticso_at_cicely12.cicely.de>
Date: Fri, 11 Jun 2004 19:57:39 +0200
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_at_bwct.de                                  info_at_bwct.de
Received on Fri Jun 11 2004 - 15:58:42 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:56 UTC