I hope this message is not off topic, as after reading the kernel FAQ
I could not figure out if it was or not!
I am currently writing a kernel module to support the MP-F70 mp3
player as a block device, as it does not work like 'standard'
usb-storage devices. using a hardsector size of 512 bytes works just
swell for reading works but I am running into problems when trying to
implement writing.
Indeed for the writing to work, one first has to issue a sort of
'erase' command but this wipes out a block of 16*512=8192 bytes. I
tried to bump up the hardsect size to 8192 bytes but this then causes
problems with the FAT module which complains the hardsect size is over
the logical sector size (and anyway I also get a complaint from
buffer.c that the size is larger than PAGE_SIZE). I am developing on a
2.4 series kernel.
Does anyone have some pointers to a possible solution?
Thanks in advance and thanks for the great work on the kernel!
Jeremy
--
http://www.jerryweb.org/ : JerryWeb.org
http://sailcut.sourceforge.net/ : Sailcut CAD
This archive was generated by hypermail 2b29 : Wed Jan 15 2003 - 22:00:27 EST