Google
  Web www.spinics.net

[PATCH] Fixing Nokia 3310c in storage mode

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


Hello!

I had trouble connecting my cell phone as a storage device - so I added it to the unusual_devs.h list. I had trouble with the bcdDeviceMin and Max values - so after some experimenting I made it pretty inclusive. Anyway, included patch fixes the problems with my phone.

Cheers!
/Filip
PS I'm not on the lists, so please CC replies

diff -urp linux-old/drivers/usb/storage/unusual_devs.h linux-2.6.27-rc5-git2/drivers/usb/storage/unusual_devs.h --- linux-old/drivers/usb/storage/unusual_devs.h 2008-08-31 08:00:32.000000000 +0200 +++ linux-2.6.27-rc5-git2/drivers/usb/storage/unusual_devs.h 2008-08-31 08:08:09.000000000 +0200
@@ -160,6 +160,13 @@ UNUSUAL_DEV(  0x0421, 0x0019, 0x0592, 0x
 		US_SC_DEVICE, US_PR_DEVICE, NULL,
 		US_FL_MAX_SECTORS_64 ),

+/* Reported by Filip Joelsson <filip@xxxxxxxxxxxxx> */
+UNUSUAL_DEV(  0x0421, 0x005d, 0x0001, 0x0600,
+		"Nokia",
+		"Nokia 3110c",
+		US_SC_DEVICE, US_PR_DEVICE, NULL,
+		US_FL_FIX_CAPACITY ),
+
 /* Reported by Mario Rettig <mariorettig@xxxxxx> */
 UNUSUAL_DEV(  0x0421, 0x042e, 0x0100, 0x0100,
 		"Nokia",
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Home]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]    [Yosemite Photos]    [Video Projectors]     [PDAs]     [Free Online Dating]     [Hacking TiVo]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Devices]     [Big List of Linux Books]     [16.7MP]

Add to Google Powered by Linux