[PATCH] usb: Nokia 5310 mass-storage not mounting in kernel 2.6.28

From: Jiří Burda
Date: Tue Jan 13 2009 - 12:55:20 EST


From: Jiri Burda <jburda@xxxxxxxx>

Nokia 5310 mobile with firmware revision 8.32 does not mount as usb mass-storage in kernel 2.6.28 and previous.
This patch solves this problem by increasing firmware revision in drivers/usb/storage/unusual_device.h from 0x0701 to 0x0832.
This bug is recorded in kernel bugzilla as 12367.
Signed-off-by: Jiri Burda <jburda@xxxxxxxx>
---
--- linux-2.6.28/drivers/usb/storage/unusual_devs.h.orig 2009-01-13 17:21:24.000000000 +0100
+++ linux-2.6.28/drivers/usb/storage/unusual_devs.h 2009-01-13 19:24:16.000000000 +0100
@@ -182,7 +182,7 @@ UNUSUAL_DEV( 0x0421, 0x0063, 0x0001, 0x
US_FL_FIX_CAPACITY ),

/* Patch for Nokia 5310 capacity */
-UNUSUAL_DEV( 0x0421, 0x006a, 0x0000, 0x0701,
+UNUSUAL_DEV( 0x0421, 0x006a, 0x0000, 0x0832,
"Nokia",
"5310",
US_SC_DEVICE, US_PR_DEVICE, NULL,




--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/