Re: [PATCH 1/2] USB: gadget: mass/file storage: set serial number

From: MichaÅ Nazarewicz
Date: Thu Jul 01 2010 - 06:26:32 EST


On Thu, 01 Jul 2010 11:17:46 +0200, Michal Nazarewicz <m.nazarewicz@xxxxxxxxxxx> wrote:
This commit adds iSerialNumber to all gadgets that use the Mass
Storage Function. It appears that Windows has problems when
it is not set.

Not to copy the same code all over again, a fsg_string_serial_fill()
macro has been added to the storage_common.c file which is now also
used in the File Storage Gadget.

This patch applies to the -next and will work on it but neither of the
patches will work on .35-rc3 or older.

I've been testing everything on -next forgetting that it is a bit
ahead of the .35-rc3 and that there is no usb_string_ids_tab() in

Therefore, as far as stable kernels are concerned, disregard those two
patches. I'll send an updated patch for stable in a minute.

Sorry about the confusion.

--
Best regards, _ _
| Humble Liege of Serenely Enlightened Majesty of o' \,=./ `o
| Computer Science, MichaÅ "mina86" Nazarewicz (o o)
+----[mina86*mina86.com]---[mina86*jabber.org]----ooO--(_)--Ooo--
--
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/