Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Dec 2004 11:01:28 +0100
From:      Lennart Augustsson <lennart@augustsson.net>
To:        "M. Warner Losh" <imp@bsdimp.com>
Cc:        freebsd-misuser@NOSPAM.dyndns.dk
Subject:   Re: getting vendor IDs
Message-ID:  <41CE8BF8.6090003@augustsson.net>
In-Reply-To: <20041225.202952.80502292.imp@bsdimp.com>
References:  <200412242236.iBOMaig32845@Mail.NOSPAM.DynDNS.dK> <20041224.155218.123609434.imp@bsdimp.com> <200412250207.iBP27mQ40936@Mail.NOSPAM.DynDNS.dK> <20041225.202952.80502292.imp@bsdimp.com>

index | next in thread | previous in thread | raw e-mail

M. Warner Losh wrote:
> Yes.  It is better to know and understand where NetBSD uses things
> before going off on assumptions.

NetBSD uses the strings if the device does not have a working string
descriptor (which is determined by a quirk or by the device not
supplying a string).  The string only has a cosmetic purpose.
The string table is only emitted if USBVERBOSE is in effect.

It's really a waste to have all the strings present in the table
since many devices do have working string descriptors.  I've considered
having some extra mark in usbdevs on devices that have working string
descriptors, thereby avoiding putting them in the table.

	-- Lennart


help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?41CE8BF8.6090003>