[kernel] r12539 - in dists/sid/linux-2.6/debian: . patches/bugfix/all patches/series

Dann Frazier dannf at alioth.debian.org
Tue Dec 30 18:55:41 UTC 2008


Author: dannf
Date: Tue Dec 30 18:55:39 2008
New Revision: 12539

Log:
Add workaround for USB storage on Rockchip MP3 player (Closes: #505256)

Added:
   dists/sid/linux-2.6/debian/patches/bugfix/all/usb-unusual_devs-addition-for-RockChip-MP3-player.patch
Modified:
   dists/sid/linux-2.6/debian/changelog
   dists/sid/linux-2.6/debian/patches/series/13

Modified: dists/sid/linux-2.6/debian/changelog
==============================================================================
--- dists/sid/linux-2.6/debian/changelog	(original)
+++ dists/sid/linux-2.6/debian/changelog	Tue Dec 30 18:55:39 2008
@@ -14,8 +14,9 @@
   * uvc: Fix incomplete frame drop when switching to a variable
     size format (closes: #508661)
   * Allow booting Mach images in KVM (Closes: #498940)
+  * Add workaround for USB storage on Rockchip MP3 player (Closes: #505256)
 
- -- dann frazier <dannf at debian.org>  Tue, 30 Dec 2008 11:29:19 -0700
+ -- dann frazier <dannf at debian.org>  Tue, 30 Dec 2008 11:52:33 -0700
 
 linux-2.6 (2.6.26-12) unstable; urgency=high
 

Added: dists/sid/linux-2.6/debian/patches/bugfix/all/usb-unusual_devs-addition-for-RockChip-MP3-player.patch
==============================================================================
--- (empty file)
+++ dists/sid/linux-2.6/debian/patches/bugfix/all/usb-unusual_devs-addition-for-RockChip-MP3-player.patch	Tue Dec 30 18:55:39 2008
@@ -0,0 +1,31 @@
+commit fe1926a0f549741ed0ca778aa1c7d3e208895dee
+Author: Alan Stern <stern at rowland.harvard.edu>
+Date:   Thu Sep 4 09:56:35 2008 -0400
+
+    USB: unusual_devs addition for RockChip MP3 player
+    
+    This patch (as1136) adds an unusual_devs entry for a version of the
+    RockChip MP3 player which can't handle the MODE SENSE command used for
+    write-protect detection.
+    
+    Signed-off-by: Alan Stern <stern at rowland.harvard.edu>
+    Signed-off-by: Greg Kroah-Hartman <gregkh at suse.de>
+
+diff --git a/drivers/usb/storage/unusual_devs.h b/drivers/usb/storage/unusual_devs.h
+index b311300..4d9ca02 100644
+--- a/drivers/usb/storage/unusual_devs.h
++++ b/drivers/usb/storage/unusual_devs.h
+@@ -1001,6 +1001,13 @@ UNUSUAL_DEV(  0x069b, 0x3004, 0x0001, 0x0001,
+ 		US_SC_DEVICE, US_PR_DEVICE, NULL,
+ 		US_FL_FIX_CAPACITY ),
+ 
++/* Reported by Adrian Pilchowiec <adi1981 at epf.pl> */
++UNUSUAL_DEV(  0x071b, 0x3203, 0x0000, 0x0000,
++		"RockChip",
++		"MP3",
++		US_SC_DEVICE, US_PR_DEVICE, NULL,
++		US_FL_NO_WP_DETECT | US_FL_MAX_SECTORS_64),
++
+ /* Reported by Massimiliano Ghilardi <massimiliano.ghilardi at gmail.com>
+  * This USB MP3/AVI player device fails and disconnects if more than 128
+  * sectors (64kB) are read/written in a single command, and may be present

Modified: dists/sid/linux-2.6/debian/patches/series/13
==============================================================================
--- dists/sid/linux-2.6/debian/patches/series/13	(original)
+++ dists/sid/linux-2.6/debian/patches/series/13	Tue Dec 30 18:55:39 2008
@@ -5,3 +5,4 @@
 + bugfix/x86/alsa-fix-speaker-output-on-toshiba-p105.patch
 + bugfix/all/uvcvideo-fix-incomplete-frame-drop.patch
 + bugfix/x86/kvm-pit-support-mode-3.patch
++ bugfix/all/usb-unusual_devs-addition-for-RockChip-MP3-player.patch



More information about the Kernel-svn-changes mailing list