[PATCH v2 08/11] xfree86: Match devices based on USB ID

Dan Nicholson dbn.lists at gmail.com
Thu Jun 10 06:15:41 PDT 2010


On Mon, Jun 07, 2010 at 08:39:55PM -0700, Dan Nicholson wrote:
> Sometimes the vendor and product names aren't specific enough to target
> a USB device, so expose the numeric codes in the ID. A MatchUSBID entry
> has been added that supports shell pattern matching when fnmatch(3) is
> available. For example:
> 
> 	MatchUSBID "046d:*"
> 
> The IDs are stored in lowercase hex separated by a ':' like "lsusb" or
> "lspci -n".
> 
> Signed-off-by: Dan Nicholson <dbn.lists at gmail.com>

This patch also had to be fixed up by git-rebase. Refreshed patch below.

Dan



More information about the xorg-devel mailing list