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 Amaysim SIM (Optus network, non-VoLTE) 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. Arch (5.16 kernel, Openbox desktop) for general purpose daily PC.
  • PinePhone Pro Explorer Edittion, Tow-boot on SPI, Arch/phosh on eMMC
  • PinePhone BraveHeart now v1.2b 3/32Gb, daily driver: Tow-boot with Arch/Phosh on eMMC
  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 Amaysim SIM (Optus network, non-VoLTE) 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 Amaysim SIM (Optus network, non-VoLTE) with Mobian SD card.
Manjaro Plasma Mobile on EMMC.
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Help wanted: location of calls and chatty data files dukla2000 4 2,505 06-13-2022, 02:01 PM
Last Post: israel
  External SD card not listed by Pcmanfm? Peter Gamma 0 61 06-12-2022, 09:53 AM
Last Post: Peter Gamma
  Device memory full on multi-boot SD card Peter Gamma 1 166 05-14-2022, 09:26 AM
Last Post: Peter Gamma
  Quick and easy bootloader option for JumpDrive on external SD card? Peter Gamma 5 343 05-02-2022, 06:57 AM
Last Post: Peter Gamma
  Writing to SD card possible with all applications? Peter Gamma 5 727 03-28-2022, 07:12 AM
Last Post: Peter Gamma
  music making? wakyct 5 1,310 12-08-2021, 03:21 AM
Last Post: ryo
  Android and Google Play Store on a PinePhone? Solra Bizna 22 28,307 11-01-2021, 07:11 AM
Last Post: digitalmouse
  Launching OS in the SD card from p-boot in MMC chuso 0 510 10-01-2021, 09:02 AM
Last Post: chuso
  Unable to mount the INTERNAL SD Card dgdimick 3 2,071 03-30-2021, 07:45 PM
Last Post: dgdimick
  Silly Kali Linux script for Mobian SD card sergio.pantalone 0 1,633 03-08-2021, 10:08 PM
Last Post: sergio.pantalone

Forum Jump:


Users browsing this thread: 1 Guest(s)