2006-08-29 07:14:49

by René Rebe

[permalink] [raw]
Subject: [PATCH] unusual device Sony Ericsson M600i

Hi,

the Sony Ericsson M600i needs some overwrites to be accessed properly:

--- git/drivers/usb/storage/unusual_devs.h.vanilla 2006-08-29 09:02:39.000000000 +0200
+++ git/drivers/usb/storage/unusual_devs.h 2006-08-29 09:03:22.000000000 +0200
@@ -1257,6 +1257,13 @@
US_SC_DEVICE, US_PR_DEVICE, NULL,
US_FL_NO_WP_DETECT ),

+/* Reported by Rene Rebe <[email protected]> */
+UNUSUAL_DEV( 0x0fce, 0xe031, 0x0000, 0xffff,
+ "Sony Ericsson Mobile Communications",
+ "M600i",
+ US_SC_DEVICE, US_PR_DEVICE, NULL,
+ US_FL_IGNORE_RESIDUE | US_FL_FIX_CAPACITY ),
+
/* Reported by Kevin Cernekee <[email protected]>
* Tested on hardware version 1.10.
* Entry is needed only for the initializer function override.

Best regards,

--
Ren? Rebe - ExactCODE - Berlin (Europe / Germany)
http://exactcode.de | http://t2-project.org | http://rene.rebe.name
+49 (0)30 / 255 897 45


2006-08-30 03:33:22

by Phil Dibowitz

[permalink] [raw]
Subject: Re: [linux-usb-devel] [PATCH] unusual device Sony Ericsson M600i

Rene Rebe wrote:
> Hi,
>
> the Sony Ericsson M600i needs some overwrites to be accessed properly:

I actually applied a similar patch 2 days ago, but without the
IGNORE_RESIDUE, as that's not needed. You should see the entry in the next
kernel release.

Thank you though.
--
Phil Dibowitz [email protected]
Freeware and Technical Pages Insanity Palace of Metallica
http://www.phildev.net/ http://www.ipom.com/

"Be who you are and say what you feel, because those who mind don't matter
and those who matter don't mind."
- Dr. Seuss



Attachments:
signature.asc (252.00 B)
OpenPGP digital signature

2006-09-16 20:20:07

by Markus Layr

[permalink] [raw]
Subject: Re: [PATCH] unusual device Sony Ericsson M600i

Hi,

for which kernel version is this patch usable?

I'm using gentoo-sources-2.6.17-gentoo-r8 (Linux 2.6.17.13).

My phone is a P990i and not a M600i but they are very similar.

I changed the Vendor ID from 0xe031 to 0xe030 and "M600i" to "P990i" and
inserted the lines starting with "+" to my unusual_devs.h but I still can't see
partitions on /dev/sda.

Maybe the problem is that I don't have this section:

US_SC_DEVICE, US_PR_DEVICE, NULL,
US_FL_NO_WP_DETECT ),

in line 1257?