My Canon PowerShot A470 + CHDK can write to SD-cards that are "locked" (the lock switch is used to make the card bootable), but GNU/Linux

`/dev/mmcblk1': Read-only file system

(I'm using "Texas Instrument 5-in-1 Multimedia Card Reader")

So I have to switch that switch on and off again and again. ("unlocked" to write to the card in Linux, "locked" to boot the camera from it).

How to force locked card to be writable in GNU/Linux?

link|improve this question

64% accept rate
CHDK for the win! – Nathaniel Apr 5 '10 at 2:18
feedback

1 Answer

up vote 2 down vote accepted

USB card readers are handled by the generic mass storage driver, and if I understand the spec correctly, it's the device's job to declare itself write protected and to ignore all attempts to change this state (WP flag in the mode parameter header), so I doubt the driver offers a facility to do this - and you'd still need a card reader with a firmware that violates the spec.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.