I have added module parameters to the functionfs module in the kernel
commandline.
I used escaped quotes surrounding the Strings that have space.
This is my commandline:

mem=128M console=ttyS0,115200
mtdparts=atmel_nand:256k(bootstrap),256k(bootvar),256k(envvar),256k(dtb0),3M(kernel0),55M(rootfs0),256k(dtb1),3M(kernel1),55M(rootfs1),11008k(userfs),-(reserved)
rootfstype=ubifs ubi.mtd=5 root=ubi0:rootfs lpj=1314816 quiet
g_ffs.idVendor=8022 g_ffs.idProduct=26 g_ffs.bcdDevice=512
g_ffs.iManufacturer="This string does not work" g_ffs.iProduct="this
one neither" g_ffs.iSerialNumber=123456789 g_ffs.bDeviceClass=255

The strings that are diplayed are:
for iManufacturer: "This iProduct="This"
for iProduct: "USB Function Filesystem"

Without the spaces it works. I have 1kb for the command line.
All I did was add the epo polling to f_fs.c. Could this have caused
the behaviour?
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to