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, VoLTE enabled) with Mobian SD card. VoLTE working also with Felix / Vodafone AU and Aldimobile / Telstra AU.
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 (6.2 kernel, Openbox desktop) for general purpose daily PC.
  • PinePhone Pro Explorer Edition, daily driver, rk2aw & U-boot on SPI, Arch/SXMO & Arch/phosh on eMMC
  • PinePhone BraveHeart now v1.2b 3/32Gb, Tow-boot with Arch/SXMO 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, VoLTE enabled) with Mobian SD card. VoLTE working also with Felix / Vodafone AU and Aldimobile / Telstra AU.
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, VoLTE enabled) with Mobian SD card. VoLTE working also with Felix / Vodafone AU and Aldimobile / Telstra AU.
Manjaro Plasma Mobile on EMMC.
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Does Ubuntu modify a Pinephone SD boot card? Peter Gamma 0 1,261 10-05-2023, 09:18 AM
Last Post: Peter Gamma
  External SD card not listed by Pcmanfm? Peter Gamma 1 2,023 08-22-2023, 12:22 PM
Last Post: Peter Gamma
  Introducing Harborz: Lightweight Rust Music Player for Pinephone ravenblackdusk 1 1,650 08-07-2023, 12:05 AM
Last Post: ravenblackdusk
  Access to system directories from flatpak lagrang3 0 1,075 07-15-2023, 05:53 AM
Last Post: lagrang3
  Device memory full on multi-boot SD card Peter Gamma 4 3,564 08-27-2022, 10:03 AM
Last Post: Eugo
  wiping u-boot off sd card shulamy 6 3,942 08-17-2022, 03:38 AM
Last Post: shulamy
  Help wanted: location of calls and chatty data files dukla2000 3 5,363 06-13-2022, 02:01 PM
Last Post: israel
  Quick and easy bootloader option for JumpDrive on external SD card? Peter Gamma 5 3,516 05-02-2022, 06:57 AM
Last Post: Peter Gamma
  Writing to SD card possible with all applications? Peter Gamma 5 4,313 03-28-2022, 07:12 AM
Last Post: Peter Gamma
  music making? wakyct 5 4,756 12-08-2021, 03:21 AM
Last Post: ryo

Forum Jump:


Users browsing this thread: 1 Guest(s)