If you check what rights to the dev in the dev directory, to check if you need to add the user (in my example patrik) to that group.
In my arch system i have to add the user to this all groups for get access as the user to devices/files, to take away have to use sudo.
id
uid=1000(patrik) gid=984(users) grupper=984(users),90(network),98(power),108(vboxusers),150(wireshark),985(video),986(uucp),987(storage),991(lp),995(disk),996(audio),998(wheel)
So if you see this example of some samples files in my dev directory, you can see that lots of my groups have access to the device/name.
ls -la /dev
Rights User Group Size Date Name
-------------------------------------------------------------
crw-rw----+ 1 root video 81, 0 17 feb 09.10 video0
crw-rw----+ 1 root video 81, 1 17 feb 09.10 video1
crw-rw----+ 1 root video 236, 0 17 feb 09.10 media0
drwxr-x--- 3 root vboxusers 60 17 feb 09.10 vboxusb
crw-rw---- 1 root uucp 4, 64 17 feb 09.10 ttyS0
crw--w---- 1 root tty 4, 0 17 feb 09.10 tty0
And how do i add my self to that specific group you can you this command.
sudo usermod -aG groupname username
And now you can as the user connect to the device via program/app without using sudo!!
But we are not done yet, we have to logout and login again to activate that's the new rights we have.
And also with picore and tinycore you have to make it persistent some way, i think you just need to run
filetool.sh -b
You can also check if your smart, just bring up RPI OS and check whats groups the user belongs to.
And also check the dev files that the groups are.
And my last thing,,, lets see in the /dev/snd
[patrik@hp-arch-new snd]$ ls -al /dev/snd/
totalt 0
drwxr-xr-x 3 root root 260 17 feb 09.10 .
drwxr-xr-x 21 root root 4040 17 feb 09.55 ..
drwxr-xr-x 2 root root 60 17 feb 09.10 by-path
crw-rw----+ 1 root audio 116, 9 17 feb 09.10 controlC0
crw-rw----+ 1 root audio 116, 7 17 feb 09.10 hwC0D0
crw-rw----+ 1 root audio 116, 8 17 feb 09.10 hwC0D2
crw-rw----+ 1 root audio 116, 3 17 feb 09.10 pcmC0D0c
crw-rw----+ 1 root audio 116, 2 17 feb 10.35 pcmC0D0p
crw-rw----+ 1 root audio 116, 4 17 feb 09.10 pcmC0D3p
crw-rw----+ 1 root audio 116, 5 17 feb 09.10 pcmC0D7p
crw-rw----+ 1 root audio 116, 6 17 feb 09.10 pcmC0D8p
crw-rw----+ 1 root audio 116, 1 17 feb 09.10 seq
crw-rw----+ 1 root audio 116, 33 17 feb 09.10 timer
There also you can see what groups have access to the sound device/system... yes of course the group audio..
So my first guess you have to add the user to the group audio.
Sorry have to add this...
You should also check the bluetooth device,,, /dev/ttyAMA0 whats group that belongs to..in my arch system ttyS have legacy from serial device with group uucp.