You should read the instructions near the top of unusual_devs.h about keeping entries in numerical order and where to email new entries.

Ok, sorry.
I've corrected my patch in order to keeping entries in numerical order.
I have mailed this patch to you, Phil and list.

Are you sure that the device needs all three flags? It's most unlikely that the FIX_INQUIRY flag is necessary. What happens if you leave out one of the other two as well?

Alan Stern

Here why I use this three flags.
US_FL_FIX_CAPACITY because computer attempts to read a sector greater than the actual capacity but less than the reported capacity, the Motorola RAZR V3x will dutifully report an I/O error. US_FL_FIX_INQUIRY because initial inquiry message always fails and confuses drive. US_FL_IGNORE_RESIDUE because there is some disagreement or confusion between the host and the device. There is no way to correctly write on V3x without this flag. I've tryed hundred of times, there is no way to write on Motorola RAZR V3x without this three flags.
If I remove one of this flags V3x hangs. If I remove US_FL_FIX_INQUIRY, RAZR 
V3x hangs.
I've just tryied also with 2.6.17, this three flags are mandatory to correctly 
write on V3x.

With this three entry Motorola RAZR V3x works perfectly everywhere.

Keep me posted if you have some other questions and thanks for your good piece 
of work.
Thanks.


Best regards,
Davide Perini

--- unusual_devs.h	2006-06-19 21:00:33.000000000 +0200
+++ unusual_devs_dp.h	2006-06-19 21:29:04.000000000 +0200
@@ -1213,6 +1213,16 @@
 		US_SC_DEVICE, US_PR_DEVICE, NULL,
 		US_FL_IGNORE_RESIDUE ),
 
+/* patch submitted by Davide Perini <[EMAIL PROTECTED]>
+ * and Renato Perini <[EMAIL PROTECTED]>
+ * This entry is needed to support Motorola RAZR V3x
+ */
+UNUSUAL_DEV( 0x22b8, 0x3010, 0x0001, 0x0001,
+       "Motorola",
+       "RAZR V3x",
+       US_SC_DEVICE, US_PR_DEVICE, NULL,
+       US_FL_FIX_CAPACITY | US_FL_FIX_INQUIRY | US_FL_IGNORE_RESIDUE ),
+
 /* Reported by Radovan Garabik <[EMAIL PROTECTED]> */
 UNUSUAL_DEV(  0x2735, 0x100b, 0x0000, 0x9999,
 		"MPIO",
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to