Re: [PATCH] Forcing SCSI capacity for broken SD Card readers

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

 



On Wed, Dec 16, 2009 at 8:43 PM, Alan Stern <stern@xxxxxxxxxxxxxxxxxxx> wrote:

> Isn't just changing a block device's size at random times a bad thing
> to do?  The size gets used a for a bunch of different things (checking
> partition boundaries, validating I/O block ranges, and so on).

Forcefully extending partition boundaries and I/O block ranges was
just what I had in mind. My card reader was listed as being compatible
with card >1GB, and I suspected that this was only verified under
Windows. I knew that Windows believed in the partition table more
strongly than into device boundaries, so I figured that would probably
work. And it did.

> A lot of older card readers can't handle cards larger than 1 or 2 GB (I
> forget which).  Or they see that the card has a larger block size and
> then don't report it to the host.

That was quite helpful to me
http://www.hjreggel.net/cardspeed/special-sd.html
-- 
Fruhwirth Clemens http://clemens.endorphin.org
--
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

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux