I have a sports-watch which has an integrated flash-memory. This flash-memory is used to store training information. When I connect the watch to my computer using the USB cable, it's detected as write-protected flash drive:
[354703.052138] sd 7:0:0:0: [sdc] Write Protect is on
..and I obviously can't remount the partition with RW rights:
root@T60:~# mount -vt vfat -o rw,remount /dev/sdc1 /media/
mount: cannot remount block device /dev/sdc1 read-write, is write-protected
root@T60:~#
I remembered that hdparm
had an option to change the readonly flag for a device and as USB flash-drive is detected as an SATA drive, then I gave it a try, but this did not help either:
root@T60:~# hdparm -r0 /dev/sdc
/dev/sdc:
setting readonly to 0 (off)
readonly = 0 (off)
root@T60:~# mount -vt vfat -o rw,remount /dev/sdc1 /media/
mount: cannot remount block device /dev/sdc1 read-write, is write-protected
root@T60:~#
I guess that the watch is designed in a way that once it detects the USB connection, it triggers the (hardware) USB write-protection switch? Is such hardware write-protection part of the USB standard? Or is there something left to try?