From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752054AbZHASmT (ORCPT ); Sat, 1 Aug 2009 14:42:19 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752026AbZHASmT (ORCPT ); Sat, 1 Aug 2009 14:42:19 -0400 Received: from relay9.uol.com.br ([187.17.116.7]:34710 "EHLO relay9.uol.com.br" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751559AbZHASmS (ORCPT ); Sat, 1 Aug 2009 14:42:18 -0400 X-Greylist: delayed 605 seconds by postgrey-1.27 at vger.kernel.org; Sat, 01 Aug 2009 14:42:18 EDT Date: Sat, 1 Aug 2009 15:30:36 -0300 From: =?utf-8?Q?Rog=C3=A9rio?= Brito To: Phil Dibowitz Cc: Alan Stern , Robert Hancock , Kernel development list , USB list Subject: [PATCH] usb-storage: include USB drive in unusual_devs list Message-ID: <20090801183036.GA20335@ime.usp.br> References: <20090525151313.GA2246@ime.usp.br> <20090525214104.GA14942@ime.usp.br> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20090525214104.GA14942@ime.usp.br> User-Agent: Mutt/1.5.20 (2009-06-14) X-SIG5: 3e8f3c8e955f68827777bdb25ae1d7f6 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On May 25 2009, Alan Stern wrote: > This looks good. Make those suggested changes and submit it to Phil > Dibowitz ; it might even get merged in time to appear > in 2.6.30. Thanks, Alan. Here it goes: This patch adds a quirk entry for the Leading Driver UD-11 usb flash drive. As Alan Stern told me, the device doesn't deal correctly with the locking media feature of the device, and this patch incorporates it. Compiled, tested, working. Signed-off-by: Rogério Brito --- It seems that his patch was missed in the previous release. I'm just returning and seeing which patches were missed. Please, apply. --- a/drivers/usb/storage/unusual_devs.h +++ b/drivers/usb/storage/unusual_devs.h @@ -838,6 +838,13 @@ UNUSUAL_DEV( 0x066f, 0x8000, 0x0001, 0x0 US_SC_DEVICE, US_PR_DEVICE, NULL, US_FL_FIX_CAPACITY ), +/* Reported by Rogerio Brito */ +UNUSUAL_DEV( 0x067b, 0x2317, 0x0001, 0x001, + "Prolific Technology, Inc.", + "Mass Storage Device", + US_SC_DEVICE, US_PR_DEVICE, NULL, + US_FL_NOT_LOCKABLE ), + /* Reported by Richard -=[]=- */ /* Change to bcdDeviceMin (0x0100 to 0x0001) reported by * Thomas Bartosik */ -- Rogério Brito : rbrito@{mackenzie,ime.usp}.br : GPG key 1024D/7C2CAEB8 http://www.ime.usp.br/~rbrito : http://meusite.mackenzie.com.br/rbrito Projects: algorithms.berlios.de : lame.sf.net : vrms.alioth.debian.org -- Rogério Brito : rbrito@{mackenzie,ime.usp}.br : GPG key 1024D/7C2CAEB8 http://www.ime.usp.br/~rbrito : http://meusite.mackenzie.com.br/rbrito Projects: algorithms.berlios.de : lame.sf.net : vrms.alioth.debian.org