SD card mounted to access music files unable to play
#1
Hi,



I've searched the forum as best I could to see if there was a solution.



I have Mobian installed on SD card and Manjaro Plasma Mobile on eMMC.



I have this entry in fstab to automount the SD card:



/dev/mmcblk0p2 /media/mmcblk0p2  f2fs auto,user,rw 0 0



In Manjaro:

Symlink in ~/Music to /media/mmcblk0p2/home/mobian/Music/ogg



Code:
ls -al ~/Music:
drwxr-xr-x  3 kde users 4096 Feb 24 10:00 .
drwx------ 20 kde users 4096 Feb 24 10:21 ..
drwxr-xr-x  3 kde users 4096 Feb 24 10:00 a-ha
lrwxrwxrwx  1 kde users  38 Feb 21 17:35 ogg -> /media/mmcblk0p2/home/mobian/Music/ogg


Code:
ls -al ~/Music/ogg/:
drwxr-xr-x 164 kde users  8192 Jul 31  2020  .
drwxr-xr-x  3 kde mobian 3488 Feb 22 07:43  ..
drwxr-xr-x  3 kde users  3488 Feb 23  2020  a-ha


Code:
ls -al ~/Music/ogg/a-ha:
drwxr-xr-x  3 kde users 3488 Feb 24 10:58  .
drwxr-xr-x 164 kde users 8192 Jul 31  2020  ..
drwxr-xr-x  2 kde users 3488 Feb 24 10:00 'Headlines And Deadlines The Hits Of a-ha'


Code:
ls -al ~/Music/ogg/a-ha/Headlines\ And\ Deadlines\ The\ Hits\ Of\ a-ha/:
drwxr-xr-x 2 kde users    3488 Feb 24 10:00  .
drwxr-xr-x 3 kde users    3488 Feb 24 10:58  ..
-rw-r--r-- 1 kde users 5360878 Feb 24 10:00  a-ha_01-Take_On_Me.ogg


Originally file and folder ownership was mobian:mobian, changing to kde:users hasn't helped, vvave fails to even display the ogg folder.



I created a mobian group with gid 1000:

Code:
cat /etc/group:
mobian:x:1000:kde,mobian
users:x:985:kde,mobian


and a user mobian just in case when I had mobian:mobian ownership:

Code:
cat /etc/passwd:
mobian:x:1000:1000::/home/mobian:/bin/bash
kde:x:1000:985::/home/kde:/bin/bash
Both kde and mobian users have uid 1000 but kde has gid 985, mobian 1000.


Any idea what I am doing wrong? What user / group is vvave using to try and access my ogg symlink?



The pinephone 16GB eMMC is not large enough for my music files, but the a-ha folder I copied to ~/Music/ is accessible by vvave.



I tried adding uid=1000 in fstab but that doesn't work.



Thanks for your help.
Pinephone v1.2 UBports CE. Adelaide, Australia using Aldimobile SIM with Mobian SD card.
Manjaro Plasma Mobile on EMMC.
  Reply
#2
(02-23-2021, 06:54 PM)dcinoz Wrote: ...
I have Mobian installed on SD card and Manjaro Plasma Mobile on eMMC.
...
Presumably you have overwritten the bootloader on the SDcard? Or are using p-boot? Otherwise I can't understand how Manjaro is booting. If you have overwritten the bootloader then why not reformat the SDcard and mount it as ~/Music/? 


I have minimal practice time on Plasma so really do not know. Or why there is a : at the end of the line for each of your examples Huh Or why Plasma has the user in a kde group - what are the permissions in ~/Music/a-ha/ ?
  • ROCKPro64 v2.1 2GB, 16Gb eMMC for rootfs, SX8200Pro 512GB NVMe for /home, HDMI video & sound, Bluetooth keyboard & mouse. Started Bionic minimal - now "groovy", Openbox desktop for general purpose daily PC.
  • PinePhone BraveHeart now v1.2b 3/32Gb daily driver, dual boot via p-boot with Mobian/f2fs/Phosh on eMMC, Arch/f2fs/Phosh on SDcard
  • PinePhone v1.2a 2G/16Gb that needs USB board replaced
  Reply
#3
Both eMMC and SD card are bootable, standard installations.

I just use a script to change /extlinux/extlinux.conf to /extlinux/extlinux.conf.bak to disable SD card boot.
Then from eMMC I can toggle back to extlinux.conf so it boots back to SD card.
https://forum.pine64.org/showthread.php?tid=10634

p-boot seems neat but I've been too lazy to look into it!

I just put a : before as in this is how you do it:

Permissions are shown above.

644 / rw r r for the music files.
755 / drwxr-xr-x for directories.

I think there's a permission issue starting at /media/mmcblk0p2/ preventing 'traversal' through to home/kde/Music etc.
I had a similar issue with Wordpress / Apache on my local test web server. I just don't want to modify permissions at / for the SD card and mess everything up.

I'm hoping someone will just know.

I could create a separate ext4 partition on the SD card and it would probably work?!
Pinephone v1.2 UBports CE. Adelaide, Australia using Aldimobile SIM with Mobian SD card.
Manjaro Plasma Mobile on EMMC.
  Reply
#4
I just had the Manjaro Plasma Mobile testing 20210224 update (make sure you set brightness to max, I had mine low and couldn't see thing when it rebooted, finally figured out increasing brightness via ssh did the trick).

With the latest vvave, I could add the ogg folder explicitly as a music source and it sees all the content and plays it fine,, too.
I haven't changed anything since this post, so it seems all is now good!
Pinephone v1.2 UBports CE. Adelaide, Australia using Aldimobile SIM with Mobian SD card.
Manjaro Plasma Mobile on EMMC.
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Unable to mount the INTERNAL SD Card dgdimick 3 355 03-30-2021, 07:45 PM
Last Post: dgdimick
  Silly Kali Linux script for Mobian SD card sergio.pantalone 0 342 03-08-2021, 10:08 PM
Last Post: sergio.pantalone
  Help wanted: location of calls and chatty data files dukla2000 3 724 12-22-2020, 06:28 AM
Last Post: dukla2000
  Android and Google Play Store on a PinePhone? Solra Bizna 19 15,669 12-18-2020, 01:24 PM
Last Post: garrettt033
  Upgraded to 3G/32G and will not boot if SD card inserted discogribbs 2 541 12-12-2020, 12:27 AM
Last Post: discogribbs
  Booting from micro SD card? ryo 2 746 11-27-2020, 11:50 AM
Last Post: ak42
  Is there a sound card input on the Pinephone which can be used by Python software? Peter Gamma 5 2,108 06-24-2020, 06:08 AM
Last Post: wibble
  SD card external storage buffer 1 1,074 03-18-2020, 01:20 PM
Last Post: wibble
  Multiple OS on SD card dpower 12 4,780 02-10-2020, 04:02 PM
Last Post: wibble

Forum Jump:


Users browsing this thread: 1 Guest(s)