Module Name:    src
Committed By:   jakllsch
Date:           Thu Dec 30 19:35:33 UTC 2010

Modified Files:
        src/sys/dev/usb: umass_quirks.c

Log Message:
HP v125w flash drive doesn't like PREVENT/ALLOW either.
Reported by Gary Duzan on current-users;
http://mail-index.netbsd.org/current-users/2010/12/30/msg015240.html


To generate a diff of this commit:
cvs rdiff -u -r1.83 -r1.84 src/sys/dev/usb/umass_quirks.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/dev/usb/umass_quirks.c
diff -u src/sys/dev/usb/umass_quirks.c:1.83 src/sys/dev/usb/umass_quirks.c:1.84
--- src/sys/dev/usb/umass_quirks.c:1.83	Wed Nov  3 22:34:24 2010
+++ src/sys/dev/usb/umass_quirks.c	Thu Dec 30 19:35:33 2010
@@ -1,4 +1,4 @@
-/*	$NetBSD: umass_quirks.c,v 1.83 2010/11/03 22:34:24 dyoung Exp $	*/
+/*	$NetBSD: umass_quirks.c,v 1.84 2010/12/30 19:35:33 jakllsch Exp $	*/
 
 /*
  * Copyright (c) 2001, 2004 The NetBSD Foundation, Inc.
@@ -32,7 +32,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: umass_quirks.c,v 1.83 2010/11/03 22:34:24 dyoung Exp $");
+__KERNEL_RCSID(0, "$NetBSD: umass_quirks.c,v 1.84 2010/12/30 19:35:33 jakllsch Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -277,6 +277,15 @@
 	  UMATCH_VENDOR_PRODUCT,
 	  NULL, NULL
 	},
+
+	/* HP USB pendrives don't like being told to lock the door */
+	{ { USB_VENDOR_HP, USB_PRODUCT_HP_V125W },
+	  UMASS_WPROTO_UNSPEC, UMASS_CPROTO_UNSPEC,
+	  0,
+	  PQUIRK_NODOORLOCK,
+	  UMATCH_VENDOR_PRODUCT,
+	  NULL, NULL
+	},
 };
 
 const struct umass_quirk *

Reply via email to