--=_courier-28760-1042112695-0001-2
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
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
--=_courier-28760-1042112695-0001-2
Content-Type: application/pgp-signature
Content-Transfer-Encoding: 7bit
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
iD8DBQE+HWCQ4mJJZqJp2ScRAjZ7AJwOAcksC9INCZF1cx+ejxe/V/JYuwCfZ4Ah
eZV44fsxd7EHD1+pZhq7zJs=
=JnRt
-----END PGP SIGNATURE-----
--=_courier-28760-1042112695-0001-2--