Add support for two new devices:

-  LaCie Pocket Drive (http://www.lacie.com/products/product.htm?id=10023)
-  a Pen Drive (http://www.flash-memory-store.com/51usbflasdri.html)

The latter shows as a uhub with a umass and a ugen.  The ugen is the
"Secure Write" device, which presumably allows password protection with the
appropriate (windows only) driver.  Works fine without.

Ok by augustss.
This commit is contained in:
jschauma 2003-06-26 00:18:08 +00:00
parent 3ca7487c30
commit 1777ce56e3
2 changed files with 25 additions and 2 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: umass_quirks.c,v 1.41 2003/06/23 23:00:47 augustss Exp $ */
/* $NetBSD: umass_quirks.c,v 1.42 2003/06/26 00:18:09 jschauma Exp $ */
/*
* Copyright (c) 2001 The NetBSD Foundation, Inc.
@ -58,6 +58,22 @@ Static void umass_fixup_sony(struct umass_softc *);
Static void umass_fixup_yedata(struct umass_softc *);
Static const struct umass_quirk umass_quirks[] = {
{ { USB_VENDOR_LACIE, USB_PRODUCT_LACIE_PKTDRV},
UMASS_WPROTO_UNSPEC, UMASS_CPROTO_UNSPEC,
0,
PQUIRK_NOMODESENSE,
UMATCH_DEVCLASS_DEVSUBCLASS_DEVPROTO,
NULL, NULL
},
{ { USB_VENDOR_ACDC, USB_PRODUCT_ACDC_PEN },
UMASS_WPROTO_BBB, UMASS_CPROTO_SCSI,
UMASS_QUIRK_NO_MAX_LUN | UMASS_QUIRK_NO_START_STOP,
PQUIRK_NOMODESENSE,
UMATCH_DEVCLASS_DEVSUBCLASS_DEVPROTO,
NULL, NULL
},
{ { USB_VENDOR_ATI, USB_PRODUCT_ATI2_205 },
UMASS_WPROTO_BBB, UMASS_CPROTO_ISD_ATA,
0,

View File

@ -1,4 +1,4 @@
$NetBSD: usbdevs,v 1.330 2003/06/23 23:00:46 augustss Exp $
$NetBSD: usbdevs,v 1.331 2003/06/26 00:18:08 jschauma Exp $
/*
* Copyright (c) 1998, 1999, 2000 The NetBSD Foundation, Inc.
@ -56,6 +56,7 @@ $NetBSD: usbdevs,v 1.330 2003/06/23 23:00:46 augustss Exp $
* make the device recognised by the appropriate device driver.
*/
vendor ACDC 0x0d7e American Computer & Digital Components
vendor AOX 0x03e8 AOX
vendor ATMEL 0x03eb Atmel
vendor MITSUMI 0x03ee Mitsumi
@ -390,6 +391,11 @@ product 3COMUSR USRISDN 0x008f 3Com U.S. Robotics Pro ISDN TA
product 3COMUSR HOMECONN 0x009d 3Com HomeConnect camera
product 3COMUSR USR56K 0x3021 U.S.Robotics 56000 Voice Faxmodem Pro
/* ACDC products */
product ACDC HUB 0x2315 USB Pen Drive HUB
product ACDC PEN 0x2317 USB Pen Drive with Secure Write
product ACDC SECWRITE 0x2316 USB Pen Drive Secure Write
/* AboCom products */
product ABOCOM XX1 0x110c XX1
product ABOCOM XX2 0x200c XX2
@ -926,6 +932,7 @@ product KYE VIVIDPRO 0x2001 ColorPage Vivid-Pro scanner
/* LaCie products */
product LACIE HD 0xa601 Hard Disk
product LACIE CDRW 0xa602 CD R/W
product LACIE PKTDRV 0x0211 PocketDrive
/* Lexar products */
product LEXAR JUMPSHOT 0x0001 jumpSHOT CompactFlash Reader