Yun mini / linino uno dogUSB SD problem

Hi there.
I cannot get the sd card-reader to work on my Arduino Yun mini (original) with the dogUSB (Linino One add-ons bought from linino).

I expected that the Arduino Yun mini with the add-ons would act exactly like an arduino Yun, but it's not the case.

I have skimmed the internet and arduino forums (and linino forums) for help on this topic, but it seems like I'm the only one in the world who are trying to use the dogUSB (the Eth module works fine though).

I have tested my programs on a Yun (not mini), and it works fine, but when I try the same with the Yun mini I get: Warning: Problem accessing board folder /www/sd (rest of the sketch is working fine)

On the hardware side I have tested combinations of brand new Yun minis, and brand new add-ons without any difference.

On the software side I have tried to upgrade to linino software without any differnece...

yun (not mini):

root@YunTest:/# ls -all /dev
drwxr-xr-x    7 root     root          1480 Jul 26 14:53 .
drwxr-xr-x    1 root     root             0 Jul 24 13:28 ..
drwxr-xr-x    2 root     root            60 Jan  1  1970 bsg
drwxr-xr-x    3 root     root            60 Jan  1  1970 bus
crw-r--r--    1 root     root        5,   1 Jan  1  1970 console
crw-rw-rw-    1 root     root        1,   7 Jan  1  1970 full
crw-r--r--    1 root     root       10, 229 Jul 24 13:28 fuse
drwxr-xr-x    2 root     root            60 Jan  1  1970 input
crw-r--r--    1 root     root        1,  11 Jan  1  1970 kmsg
srw-rw-rw-    1 root     root             0 Jul 24 13:28 log
crw-r--r--    1 root     root       10, 237 Jul 24 13:28 loop-control
brw-r--r--    1 root     root        7,   0 Jul 24 13:28 loop0
brw-r--r--    1 root     root        7,   1 Jul 24 13:28 loop1
brw-r--r--    1 root     root        7,   2 Jul 24 13:28 loop2
brw-r--r--    1 root     root        7,   3 Jul 24 13:28 loop3
brw-r--r--    1 root     root        7,   4 Jul 24 13:28 loop4
brw-r--r--    1 root     root        7,   5 Jul 24 13:28 loop5
brw-r--r--    1 root     root        7,   6 Jul 24 13:28 loop6
brw-r--r--    1 root     root        7,   7 Jul 24 13:28 loop7
crw-r--r--    1 root     root        1,   1 Jan  1  1970 mem
crw-r--r--    1 root     root       90,   0 Jan  1  1970 mtd0
crw-r--r--    1 root     root       90,   1 Jan  1  1970 mtd0ro
crw-r--r--    1 root     root       90,   2 Jan  1  1970 mtd1
crw-r--r--    1 root     root       90,   3 Jan  1  1970 mtd1ro
crw-r--r--    1 root     root       90,   4 Jan  1  1970 mtd2
crw-r--r--    1 root     root       90,   5 Jan  1  1970 mtd2ro
crw-r--r--    1 root     root       90,   6 Jan  1  1970 mtd3
crw-r--r--    1 root     root       90,   7 Jan  1  1970 mtd3ro
crw-r--r--    1 root     root       90,   8 Jan  1  1970 mtd4
crw-r--r--    1 root     root       90,   9 Jan  1  1970 mtd4ro
crw-r--r--    1 root     root       90,  10 Jan  1  1970 mtd5
crw-r--r--    1 root     root       90,  11 Jan  1  1970 mtd5ro
crw-r--r--    1 root     root       90,  12 Jan  1  1970 mtd6
crw-r--r--    1 root     root       90,  13 Jan  1  1970 mtd6ro
crw-r--r--    1 root     root       90,  14 Jan  1  1970 mtd7
crw-r--r--    1 root     root       90,  15 Jan  1  1970 mtd7ro
brw-r--r--    1 root     root       31,   0 Jan  1  1970 mtdblock0
brw-r--r--    1 root     root       31,   1 Jan  1  1970 mtdblock1
brw-r--r--    1 root     root       31,   2 Jan  1  1970 mtdblock2
brw-r--r--    1 root     root       31,   3 Jan  1  1970 mtdblock3
brw-r--r--    1 root     root       31,   4 Jan  1  1970 mtdblock4
brw-r--r--    1 root     root       31,   5 Jan  1  1970 mtdblock5
brw-r--r--    1 root     root       31,   6 Jan  1  1970 mtdblock6
brw-r--r--    1 root     root       31,   7 Jan  1  1970 mtdblock7
crw-rw-rw-    1 root     root        1,   3 Jan  1  1970 null
crw-------    1 root     root      108,   0 Jul 24 13:28 ppp
crw-rw-rw-    1 root     root        5,   2 Jul 26 15:16 ptmx
drwxr-xr-x    2 root     root             0 Jan  1  1970 pts
crw-r--r--    1 root     root        1,   8 Jan  1  1970 random
brw-r--r--    1 root     root        8,   0 Jan  1  1970 sda
brw-r--r--    1 root     root        8,   1 Jul 26 14:53 sda1
brw-r--r--    1 root     root        8,   2 Jul 26 14:53 sda2
drwxr-xr-x    2 root     root            40 Jan  1  1970 shm
crw-rw-rw-    1 root     root        5,   0 Jan  1  1970 tty
crw-rw-rw-    1 root     root      253,   0 Jul 26 14:52 ttyATH0
crw-rw-rw-    1 root     root        4,  64 Jan  1  1970 ttyS0
crw-rw-rw-    1 root     root        4,  65 Jan  1  1970 ttyS1
crw-rw-rw-    1 root     root        4,  74 Jan  1  1970 ttyS10
crw-rw-rw-    1 root     root        4,  75 Jan  1  1970 ttyS11
crw-rw-rw-    1 root     root        4,  76 Jan  1  1970 ttyS12
crw-rw-rw-    1 root     root        4,  77 Jan  1  1970 ttyS13
crw-rw-rw-    1 root     root        4,  78 Jan  1  1970 ttyS14
crw-rw-rw-    1 root     root        4,  79 Jan  1  1970 ttyS15
crw-rw-rw-    1 root     root        4,  66 Jan  1  1970 ttyS2
crw-rw-rw-    1 root     root        4,  67 Jan  1  1970 ttyS3
crw-rw-rw-    1 root     root        4,  68 Jan  1  1970 ttyS4
crw-rw-rw-    1 root     root        4,  69 Jan  1  1970 ttyS5
crw-rw-rw-    1 root     root        4,  70 Jan  1  1970 ttyS6
crw-rw-rw-    1 root     root        4,  71 Jan  1  1970 ttyS7
crw-rw-rw-    1 root     root        4,  72 Jan  1  1970 ttyS8
crw-rw-rw-    1 root     root        4,  73 Jan  1  1970 ttyS9
crw-r--r--    1 root     root        1,   9 Jan  1  1970 urandom
crw-r--r--    1 root     root       10, 130 Jul 24 13:28 watchdog
crw-rw-rw-    1 root     root        1,   5 Jan  1  1970 zero
root@YunTest:/#
root@YunTest:/# ls -all /mnt
drwxr-xr-x    1 root     root             0 Jul 26 14:53 .
drwxr-xr-x    1 root     root             0 Jul 24 13:28 ..
lrwxrwxrwx    1 root     root             9 Jul 26 14:53 sd -> /mnt/sda1
drwxr-xr-x    4 root     root           512 Jan  1  1970 sda1
drwxr-xr-x   22 root     root          4096 Apr 21  2016 sda2
root@YunTest:/#

Yun Mini:

root@linino:~# ls -all /dev
drwxr-xr-x    6 root     root          1400 Oct  3  2015 .
drwxr-xr-x    1 root     root             0 Oct  3  2015 ..
drwxr-xr-x    3 root     root            60 Jan  1  1970 bus
crw-r--r--    1 root     root        5,   1 Jan  1  1970 console
crw-rw-rw-    1 root     root        1,   7 Jan  1  1970 full
crw-r--r--    1 root     root       10, 229 Oct  3  2015 fuse
drwxr-xr-x    2 root     root            60 Jan  1  1970 input
crw-r--r--    1 root     root        1,  11 Jan  1  1970 kmsg
srw-rw-rw-    1 root     root             0 Oct  3  2015 log
crw-r--r--    1 root     root       10, 237 Oct  3  2015 loop-control
brw-r--r--    1 root     root        7,   0 Oct  3  2015 loop0
brw-r--r--    1 root     root        7,   1 Oct  3  2015 loop1
brw-r--r--    1 root     root        7,   2 Oct  3  2015 loop2
brw-r--r--    1 root     root        7,   3 Oct  3  2015 loop3
brw-r--r--    1 root     root        7,   4 Oct  3  2015 loop4
brw-r--r--    1 root     root        7,   5 Oct  3  2015 loop5
brw-r--r--    1 root     root        7,   6 Oct  3  2015 loop6
brw-r--r--    1 root     root        7,   7 Oct  3  2015 loop7
crw-r--r--    1 root     root        1,   1 Jan  1  1970 mem
crw-r--r--    1 root     root       90,   0 Jan  1  1970 mtd0
crw-r--r--    1 root     root       90,   1 Jan  1  1970 mtd0ro
crw-r--r--    1 root     root       90,   2 Jan  1  1970 mtd1
crw-r--r--    1 root     root       90,   3 Jan  1  1970 mtd1ro
crw-r--r--    1 root     root       90,   4 Jan  1  1970 mtd2
crw-r--r--    1 root     root       90,   5 Jan  1  1970 mtd2ro
crw-r--r--    1 root     root       90,   6 Jan  1  1970 mtd3
crw-r--r--    1 root     root       90,   7 Jan  1  1970 mtd3ro
crw-r--r--    1 root     root       90,   8 Jan  1  1970 mtd4
crw-r--r--    1 root     root       90,   9 Jan  1  1970 mtd4ro
crw-r--r--    1 root     root       90,  10 Jan  1  1970 mtd5
crw-r--r--    1 root     root       90,  11 Jan  1  1970 mtd5ro
crw-r--r--    1 root     root       90,  12 Jan  1  1970 mtd6
crw-r--r--    1 root     root       90,  13 Jan  1  1970 mtd6ro
crw-r--r--    1 root     root       90,  14 Jan  1  1970 mtd7
crw-r--r--    1 root     root       90,  15 Jan  1  1970 mtd7ro
brw-r--r--    1 root     root       31,   0 Jan  1  1970 mtdblock0
brw-r--r--    1 root     root       31,   1 Jan  1  1970 mtdblock1
brw-r--r--    1 root     root       31,   2 Jan  1  1970 mtdblock2
brw-r--r--    1 root     root       31,   3 Jan  1  1970 mtdblock3
brw-r--r--    1 root     root       31,   4 Jan  1  1970 mtdblock4
brw-r--r--    1 root     root       31,   5 Jan  1  1970 mtdblock5
brw-r--r--    1 root     root       31,   6 Jan  1  1970 mtdblock6
brw-r--r--    1 root     root       31,   7 Jan  1  1970 mtdblock7
crw-rw-rw-    1 root     root        1,   3 Jan  1  1970 null
crw-------    1 root     root      108,   0 Oct  3  2015 ppp
crw-rw-rw-    1 root     root        5,   2 Jul 26 13:25 ptmx
drwxr-xr-x    2 root     root             0 Jan  1  1970 pts
crw-r--r--    1 root     root        1,   8 Jan  1  1970 random
drwxr-xr-x    2 root     root            40 Jan  1  1970 shm
crw-rw-rw-    1 root     root        5,   0 Jan  1  1970 tty
crw-rw-rw-    1 root     root      252,   0 Jan  1  1970 ttyATH0
crw-rw-rw-    1 root     root        4,  64 Jan  1  1970 ttyS0
crw-rw-rw-    1 root     root        4,  65 Jan  1  1970 ttyS1
crw-rw-rw-    1 root     root        4,  74 Jan  1  1970 ttyS10
crw-rw-rw-    1 root     root        4,  75 Jan  1  1970 ttyS11
crw-rw-rw-    1 root     root        4,  76 Jan  1  1970 ttyS12
crw-rw-rw-    1 root     root        4,  77 Jan  1  1970 ttyS13
crw-rw-rw-    1 root     root        4,  78 Jan  1  1970 ttyS14
crw-rw-rw-    1 root     root        4,  79 Jan  1  1970 ttyS15
crw-rw-rw-    1 root     root        4,  66 Jan  1  1970 ttyS2
crw-rw-rw-    1 root     root        4,  67 Jan  1  1970 ttyS3
crw-rw-rw-    1 root     root        4,  68 Jan  1  1970 ttyS4
crw-rw-rw-    1 root     root        4,  69 Jan  1  1970 ttyS5
crw-rw-rw-    1 root     root        4,  70 Jan  1  1970 ttyS6
crw-rw-rw-    1 root     root        4,  71 Jan  1  1970 ttyS7
crw-rw-rw-    1 root     root        4,  72 Jan  1  1970 ttyS8
crw-rw-rw-    1 root     root        4,  73 Jan  1  1970 ttyS9
crw-r--r--    1 root     root        1,   9 Jan  1  1970 urandom
crw-r--r--    1 root     root       10, 130 Oct  3  2015 watchdog
crw-rw-rw-    1 root     root        1,   5 Jan  1  1970 zero
root@linino:~# ls -all /mnt
drwxr-xr-x    1 root     root             0 Oct  3  2015 .
drwxr-xr-x    1 root     root             0 Oct  3  2015 ..
drwxr-xr-x    2 root     root             0 Oct  3  2015 sdb1
root@linino:~#

I tried to remove the dogUSB physically, and it gives the exact same printout.

HELP!

On your Mini, it looks like the SD card is mounted as sdb1. Can you access the SD card using sdb1 instead of sd?

On your regular Yun, the sd card is mounted as sda1, and the system has automatically created a link to that device named sd. It does that for you because the physical name can vary, so it creates a link to the first sd card it finds so that it is easier to access. It looks like the Mini is not doing that for you, for whatever reason.

I would think that the first step is to make sure the sd card works: try to access it as /mnt/sdb1. If that works, try manually making a link that lets you use /mnt/sdb1 as /mnt/sd and see if your project works.

Someone with more Linux experience than I will have to step in to figure out why the automatic /mnt/sd link is not being created and how to actually fix the issue.

Hi ShapeShifter. Thanks for reply.

ShapeShifter:
On your Mini, it looks like the SD card is mounted as sdb1. Can you access the SD card using sdb1 instead of sd?

I don't think that the sdb1 is the SD card since, as I wrote, I get the exact same printout even after removing the dogUSB and rebooting. Anyways, I tried as you said to mount it to sd. It wont let me using openWRT, but the web-interface made it possible, but still, I cannot see the 'arduino/www' folders that I've put on the SD. And the same warning when uploading the sketch.

Yes, a linux-expert tip here would be great. Or if anyone knows the smartass-engineer that made the dogUSB? :stuck_out_tongue:

Note: I have tried to create a user on the linino forum, but I never received any confirmation mail. I just tried to call doghunter in Switzerland. A woman answered, and I asked for technical support. She told me to wait, and soon hung up. When I tried to call back, they won't answer. And the number for the office in Boston is not in use.. :confused: