From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg KH Date: Thu, 22 Jan 2004 15:51:53 +0000 Subject: Re: udev rule for usb printer Message-Id: <20040122155153.GB13767@kroah.com> List-Id: References: <200401211924.08672.bobb@absamail.co.za> In-Reply-To: <200401211924.08672.bobb@absamail.co.za> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Thu, Jan 22, 2004 at 10:10:49AM +0200, Bob Barry wrote: > > The list is attached. My printer is there, but all that's offered are > cryptic numbers: > SYSFS_detach_state="0" > SYSFS_bInterfaceNumber="00" > SYSFS_bAlternateSetting=" 0" > SYSFS_bNumEndpoints="02" > SYSFS_bInterfaceClass="07" > SYSFS_bInterfaceSubClass="01" > SYSFS_bInterfaceProtocol="02" > SYSFS_iInterface="00" > > There's no sign of the "product" I'd found, or of "name" or "model". > Am I missing something, or misconfigured? No, you are correct. The "problem" is that usb drivers are bound to usb interfaces (which is the directory you see above). What you really want to compare using udev to is the usb device directory, which is one above this directory. I know about this problem and am working on fixing it in udev. Sorry about this... greg k-h ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel