hifiberry digi and mpd . permission denied failed to open

Ask questions about Arch Linux ARM. Please search before making a new topic.

hifiberry digi and mpd . permission denied failed to open

Postby riker1 » Mon Dec 18, 2017 10:12 am

Failed to open ALSA device "dmix:CARD=sndrpihifiberry,DEV=0": Permission denied

Hi

anyone knows what to do?

running mpd on an RPI with OSMC.
now installing hifiberry digi+

try to access this device with mpd.

it is only working for the hw version: hw:2,0 but I need mixing.

so I tried dmix:CARD=sndrpihifiberry,DEV=0, but this is not accessible for mpd.

where can I set this permission.

Thanks T

Update:
Have the same problem not only on an RPI with OSMC but on pure debian stretch.
mpd user does not have permission, running mpd as root is working, but not preferred solution.
Last edited by riker1 on Thu Dec 21, 2017 6:43 am, edited 1 time in total.
riker1
 
Posts: 3
Joined: Mon Dec 18, 2017 9:54 am

Re: hifiberry digi and mpd . permission denied failed to ope

Postby andre » Wed Dec 20, 2017 10:23 pm

Permissions are usually set through udev rules. However, I haven't been able to find any specific rules for hifiberry on google.
andre
 
Posts: 68
Joined: Wed Jan 25, 2012 1:39 pm
Location: Eindhoven

Re: hifiberry digi and mpd . permission denied failed to ope

Postby riker1 » Sat Dec 23, 2017 9:13 am

Hi
how would such a rule have to be applied?

I never worked with rules.

Thanks
riker1
 
Posts: 3
Joined: Mon Dec 18, 2017 9:54 am

Re: hifiberry digi and mpd . permission denied failed to ope

Postby andre » Sat Dec 23, 2017 5:47 pm

In /etc/udev/rules.d there are .rules files. In such a file it lists the hardware id and the rules to apply. Such rules contain the user/group and permissions to be applied to the device. I don't know what the hardware id for the hifiberry would be.

See https://wiki.archlinux.org/index.php/Udev
andre
 
Posts: 68
Joined: Wed Jan 25, 2012 1:39 pm
Location: Eindhoven


Return to User Questions

Who is online

Users browsing this forum: No registered users and 7 guests