The patch titled
     usb: P990i is an unusual device
has been added to the -mm tree.  Its filename is
     usb-p990i-is-an-unusual-device.patch

*** Remember to use Documentation/SubmitChecklist when testing your code ***

See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
out what to do about this

------------------------------------------------------
Subject: usb: P990i is an unusual device
From: Alan Stern <[EMAIL PROTECTED]>

Soeren Sonnenburg wrote:

  I am trying to use a P990 phone in via mass storage under linux.  I was
  able to copy data to/from the phone without trouble under winxp but
  receive millions of I/O errors (see below (*), basically on any sector).

The log revealed that the phone's firmware returns garbage values in the
Residue field for some WRITEs.  This patch should take care of it.

Cc: Soeren Sonnenburg <[EMAIL PROTECTED]>
Cc: Greg KH <[EMAIL PROTECTED]>
Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
---

 drivers/usb/storage/unusual_devs.h |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff -puN drivers/usb/storage/unusual_devs.h~usb-p990i-is-an-unusual-device 
drivers/usb/storage/unusual_devs.h
--- a/drivers/usb/storage/unusual_devs.h~usb-p990i-is-an-unusual-device
+++ a/drivers/usb/storage/unusual_devs.h
@@ -1327,12 +1327,13 @@ UNUSUAL_DEV(  0x0fce, 0xd008, 0x0000, 0x
                US_SC_DEVICE, US_PR_DEVICE, NULL,
                US_FL_NO_WP_DETECT ),
 
-/* Reported by Jan Mate <[EMAIL PROTECTED]> */
+/* Reported by Jan Mate <[EMAIL PROTECTED]>
+ * and by Soeren Sonnenburg <[EMAIL PROTECTED]> */
 UNUSUAL_DEV(  0x0fce, 0xe030, 0x0000, 0x0000,
                "Sony Ericsson",
                "P990i",
                US_SC_DEVICE, US_PR_DEVICE, NULL,
-               US_FL_FIX_CAPACITY ),
+               US_FL_FIX_CAPACITY | US_FL_IGNORE_RESIDUE ),
 
 /* Reported by Emmanuel Vasilakis <[EMAIL PROTECTED]> */
 UNUSUAL_DEV(  0x0fce, 0xe031, 0x0000, 0x0000,
_

Patches currently in -mm which might be from [EMAIL PROTECTED] are

scsi-handle-bad-inquiry-responses.patch
fix-gregkh-usb-usbcore-remove-unused-bandwith-related-code.patch
usb-p990i-is-an-unusual-device.patch
arch-i386-kernel-ptracec-trivial-whitespace-cleanup.patch
i386-kwatch-kernel-watchpoints-using-cpu-debug-registers.patch
i386-kwatch-kernel-watchpoints-using-cpu-debug-registers-fix.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to