maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Jolla1 & TOH (https://talk.maemo.org/forumdisplay.php?f=56)
-   -   64GB microSD & Jolla (https://talk.maemo.org/showthread.php?t=92490)

Schturman 2014-01-21 22:42

64GB microSD & Jolla
 
I bought one of Transcend, and jolla can see it.. It come formatted to exFAT, already tried to reformat it to NTFS and ext4, but nothing help..
Both file mangers (CargoDock and File Browser) can't see it, also when I connect jolla to pc :(
Can someone explain me how to get it work, please ?

aegis 2014-01-22 00:56

Re: 64GB microSD & Jolla
 
Format it to FAT32. You'll need to use command line tools on Windows as the GUI will insist on exFAT. On a Mac Disk Utility will format it ok but watch the default partition options.

The partition scheme has to be the old Master Boot Record type and only one partition is supported. It should auto mount.

You can also use btrfs and ext4 but those aren't compatible with Windows or Macs and it won't auto mount.

Schturman 2014-01-22 02:09

Re: 64GB microSD & Jolla
 
thank you , i will try it later..

Kabouik 2014-01-22 02:18

Re: 64GB microSD & Jolla
 
ext4 format will be OK, but it will not be automatically mounted. I had to edit /usr/sbin/mount-sd.sh with valuable help from someone on the IRC channel to automatically mount it. Now it works and I can use SFTP to transfer or remove files from /run/user/100000/media/sdcard, even using Windows.

My mount-sd.sh after the changes is the following, but I cannot guarantee this is safe as I only did what I was told to. Please keep in mind that it might really result in issues with your Jolla, and here the warning is a true warning because I'm not a Linux power user.

Code:

#!/bin/bash

SDCARD=/dev/sdcard
DEF_UID=$(grep "^UID_MIN" /etc/login.defs |  tr -s " " | cut -d " " -f2)
DEF_GID=$(grep "^GID_MIN" /etc/login.defs |  tr -s " " | cut -d " " -f2)
DEVICEUSER=$(getent passwd $DEF_UID | sed 's/:.*//')
MNT=/run/user/$DEF_UID/media/sdcard

if [ "$ACTION" = "add" ]; then
        if [ -b /dev/mmcblk1p1 ]; then
                ln -sf /dev/mmcblk1p1 $SDCARD
        elif [ -b /dev/mmcblk1 ]; then
                ln -sf /dev/mmcblk1 $SDCARD
        else
                exit $?
        fi
        su $DEVICEUSER -c "mkdir -p $MNT"
        mount $SDCARD $MNT -o uid=$DEF_UID,gid=$DEF_GID
        if [ -z $(mount | grep $MNT) ]; then
                # let's try 2nd time w/o options
                mount -o rw $SDCARD $MNT
                if [ $? = 0 ]; then
                        chown $DEF_UID:$DEF_GID $MNT
                fi
        fi
else
        umount $SDCARD

        if [ $? = 0 ]; then
                rm -f $SDCARD
        else
                umount -l $MNT
                rm -f $SDCARD
        fi
fi


juiceme 2014-01-22 06:43

Re: 64GB microSD & Jolla
 
I formatted my card to btrfs and it works OK.

rainisto 2014-01-22 07:17

Re: 64GB microSD & Jolla
 
exFAT works ok if you just compile these into the device http://code.google.com/p/exfat/downloads/list

ZogG 2014-01-22 07:29

Re: 64GB microSD & Jolla
 
Anyone tried to use samsung's driver? http://www.phoronix.com/scan.php?pag...tem&px=MTQzODQ

javispedro 2014-01-22 07:57

Re: 64GB microSD & Jolla
 
Note that FAT32 works just fine for Windows.

cvp 2014-01-22 07:59

Re: 64GB microSD & Jolla
 
i use samsung 64gb with fat32 and work very well. No Probs. i dont try it with exFAT/NTFS before, cant say if this working too

willi6868 2014-01-22 09:38

Re: 64GB microSD & Jolla
 
Quote:

Originally Posted by rainisto (Post 1408111)
exFAT works ok if you just compile these into the device http://code.google.com/p/exfat/downloads/list

Could someone please provide a rpm-package or a How-To for this? :D


All times are GMT. The time now is 10:05.

vBulletin® Version 3.8.8