aboutsummaryrefslogtreecommitdiffstats
path: root/usb.current
diff options
authorGreg Kroah-Hartman <gregkh@suse.de>2010-01-15 12:15:23 -0800
committerGreg Kroah-Hartman <gregkh@suse.de>2010-01-15 12:15:23 -0800
commitd8090ba7e175e4c220bd0027e9631d0116891ce0 (patch)
treeb8cc5b4a4a4a760e85710e74c3010dedf9367813 /usb.current
parent2b0ec05ccfa354c1ecf71a59d1fe887abe78d97e (diff)
downloadpatches-d8090ba7e175e4c220bd0027e9631d0116891ce0.tar.gz
lots of usb patches
Diffstat (limited to 'usb.current')
-rw-r--r--usb.current/usb-fix-usbstorage-for-2770-915d-delivers-no-fat.patch53
1 files changed, 53 insertions, 0 deletions
diff --git a/usb.current/usb-fix-usbstorage-for-2770-915d-delivers-no-fat.patch b/usb.current/usb-fix-usbstorage-for-2770-915d-delivers-no-fat.patch
new file mode 100644
index 00000000000000..4ae9e38c6c151b
--- /dev/null
+++ b/usb.current/usb-fix-usbstorage-for-2770-915d-delivers-no-fat.patch
@@ -0,0 +1,53 @@
+From rmay31@gmail.com Fri Jan 15 11:01:41 2010
+From: Ryan May <rmay31@gmail.com>
+Date: Wed, 6 Jan 2010 10:09:25 -0600
+Subject: USB: fix usbstorage for 2770:915d delivers no FAT
+To: Andrew Morton <akpm@linux-foundation.org>
+Cc: arne_woerner <arne_woerner@yahoo.com>, bugzilla-daemon <bugzilla-daemon@bugzilla.kernel.org>, bugme-daemon <bugme-daemon@bugzilla.kernel.org>, linux-usb <linux-usb@vger.kernel.org>, "rohan.hart17" <rohan.hart17@gmail.com>
+Message-ID: <c7b95a021001060809m5ef61e2eh7387001b32a31cd4@mail.gmail.com>
+
+
+From: Ryan May <rmay31@gmail.com>
+
+Resolves kernel.org bug 14914.
+
+Remove entry for 2770:915d (usb digital camera with mass storage
+support) from unusual_devs.h. The fix triggered by the entry causes
+the file system on the camera to be completely inaccessible (no
+partition table, the device is not mountable).
+
+The patch works, but let me clarify a few things about it. All the
+patch does is remove the entry for this device from the
+drivers/usb/storage/unusual_devs.h, which is supposed to help with a
+problem with the device's reported size (I think). I'm pretty sure it
+was originally added for a reason, so I'm not sure removing it won't
+cause other problems to reappear. Also, I should note that this
+unusual_devs.h entry was present (and activating workarounds) in
+2.6.29, but in that version everything works fine. Starting with
+2.6.30, things no longer work.
+
+Signed-off-by: Ryan May <rmay31@gmail.com>
+Cc: Rohan Hart <rohan.hart17@gmail.com>
+Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
+
+
+---
+ drivers/usb/storage/unusual_devs.h | 7 -------
+ 1 file changed, 7 deletions(-)
+
+--- a/drivers/usb/storage/unusual_devs.h
++++ b/drivers/usb/storage/unusual_devs.h
+@@ -1807,13 +1807,6 @@ UNUSUAL_DEV( 0x2735, 0x100b, 0x0000, 0x
+ US_SC_DEVICE, US_PR_DEVICE, NULL,
+ US_FL_GO_SLOW ),
+
+-/* Reported by Rohan Hart <rohan.hart17@gmail.com> */
+-UNUSUAL_DEV( 0x2770, 0x915d, 0x0010, 0x0010,
+- "INTOVA",
+- "Pixtreme",
+- US_SC_DEVICE, US_PR_DEVICE, NULL,
+- US_FL_FIX_CAPACITY ),
+-
+ /* Reported by Frederic Marchal <frederic.marchal@wowcompany.com>
+ * Mio Moov 330
+ */