Thorden wrote: 
> ?? Didn't change anything, still no output devices available for user
> admin. 
> 
> > 
Code:
--------------------
  >   > root@Akela2:/dev/snd# ls -l
  > total 0
  > crw------- 1 root audio 116,  0 Feb 26 13:52 controlC0
  > crw------- 1 root audio 116, 16 Feb 26 15:37 pcmC0D0p
  > crw------- 1 root audio 116, 33 Feb 26 13:52 timer
  > 
--------------------
> > 
> 
> The permissions is set so that ONLY root is allowed to access these
> devices. The group assignment is irrelevant here.
> 
> > 
Code:
--------------------
  >   > 
admin@Akela2:/volume1/@appstore/SqueezeCenter/Cache/InstalledPlugins/Plugins/LocalPlayer/Bin$
 ./squeezelite-x86-64 -l                                                      
Output devices:
  > null                           - Discard all samples (playback) or generate 
zero samples (capture)
  > 
  > 
admin@Akela2:/volume1/@appstore/SqueezeCenter/Cache/InstalledPlugins/Plugins/LocalPlayer/Bin$
  > 
--------------------
> > 
> 
> One way to be completely sure which user login you're executing under
> is the "whoami" command (usually builtin to most shells). To find what
> uid and group id's this user has, execute "id <the response from the
> whoami command>". In Linux, all distributions, root has uid 0.
> 
> It is clear from your other posts that when you execute the
> "./squeezelite-x86-64 -L" command it lists no audio device. Logical if
> the user you're executing under is not the owner of the audio devices
> (i.e., not root). But when you execute "sudo ./squeezelite-x86-64 -L"
> all audio devices are listed, which is okay since then you're
> executing under root.
> 
> A drastic way to fix this would be to change the permissions under
> /dev/snd: execute > 
Code:
--------------------
  >   > chmod g+rw /dev/snd/*
--------------------
> > 
> Test if the user you're logged in to can see the audio devices with
> "./squeezelite-x86-64 -L".
> 
> Sorry if the text was a bit wordy ... hope it helps somewhat though.



2 Touch, 1 Picoreplayer 4.1.0 on RaspBerry 3B with 7" display
LMS latest nightly on Ubuntu 18.04.1 on Intel Core2 Duo E4500 @ 2.20GHz,
2GB
All wired
------------------------------------------------------------------------
BosseJ's Profile: http://forums.slimdevices.com/member.php?userid=67378
View this thread: http://forums.slimdevices.com/showthread.php?t=97766

_______________________________________________
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to