All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Jiří Burda" <jburda@email.cz>
To: linux-usb@vger.kernel.org, greg@kroah.com, akpm@linux-foundation.org
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH] usb: Nokia 5310 mass-storage not mounting in kernel 2.6.28
Date: Tue, 13 Jan 2009 18:36:20 +0100	[thread overview]
Message-ID: <496CD114.7060802@email.cz> (raw)

From: Jiri Burda <jburda@email.cz>	

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@email.cz>
---
--- 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,





             reply	other threads:[~2009-01-13 17:55 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-13 17:36 Jiří Burda [this message]
2009-01-13 23:37 ` [PATCH] usb: Nokia 5310 mass-storage not mounting in kernel 2.6.28 Andrew Morton
2009-01-13 23:46   ` Greg KH
2009-01-14 14:57   ` Alan Stern
2009-01-14 23:26     ` Jir(í Burda
2009-01-15 15:14       ` Alan Stern

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=496CD114.7060802@email.cz \
    --to=jburda@email.cz \
    --cc=akpm@linux-foundation.org \
    --cc=greg@kroah.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.