суббота, 17 мая 2014 г.

Nokia 515 Ubuntu mount SD card

When accessing SD card via USB from Linux you need to setup a quirk because the phone seems to have a limitation how many sectors can be dealed with at once. I have Fedora an put the following in /etc/modprobe.d/local.conf:

# Nokia 515: prevent data corruption by reducing max sectors
options usb_storage quirks=0421:06d4:m
then reload the usb-storage module by executing (as root):

rmmod usb_storage
modprobe usb_storage

The two numbers are the USB device and vendor id of the nokia phone. You can see them for all connected USB devices by calling "lsusb".  The available quirks are documented here:

(look for "usb-storage.quirks")

If you already accessed the SD card without this quirk I recommend to format the card before using it again. Maybe the filesystem (FAT) is corrupted as well and not only the file contents.

Комментариев нет: