+ usb-p990i-is-an-unusual-device.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <stern@xxxxxxxxxxxxxxxxxxx>

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 <kernel@xxxxxx>
Cc: Greg KH <greg@xxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
---

 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 <mate@xxxxxxxxxxxxx> */
+/* Reported by Jan Mate <mate@xxxxxxxxxxxxx>
+ * and by Soeren Sonnenburg <kernel@xxxxxx> */
 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 <evas@xxxxxxxxxxx> */
 UNUSUAL_DEV(  0x0fce, 0xe031, 0x0000, 0x0000,
_

Patches currently in -mm which might be from stern@xxxxxxxxxxxxxxxxxxx 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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux