Home of the Squeezebox™ & Transporter® network music players.
Results 1 to 5 of 5
  1. #1
    Junior Member
    Join Date
    Aug 2020
    Posts
    2

    Edit asound.conf on piCorePlayer

    I'm working on a multiroom audio system based on piCorePlayer on Raspberry with Hifiberry amps. It seems to bee possible to split an stereo output into two mono outputs (found on the hifiberry homepage). To configure this I have to edit the etc/asound.conf. I'm not able to edit the asound.conf with the standard user "tc". I need the root password oder super user password to edit. Or is there another possibility to split the amp into two channels?

    Thanks
    Matthias

  2. #2
    Senior Member paul-'s Avatar
    Join Date
    Jan 2013
    Posts
    3,240
    No password is needed for sudo
    piCorePlayer a small player for the Raspberry Pi in RAM.
    Homepage: https://www.picoreplayer.org

    Please donate if you like the piCorePlayer

  3. #3
    Junior Member
    Join Date
    Aug 2020
    Posts
    2
    Quote Originally Posted by paul- View Post
    No password is needed for sudo


    What do you mean? Which Username and password do I need?

  4. #4
    Senior Member
    Join Date
    Jan 2011
    Location
    Staffordshire. UK
    Posts
    3,491
    Quote Originally Posted by MW_FFM2020 View Post


    What do you mean? Which Username and password do I need?
    I use nano (there is an extension to install it)

    user tc
    passwd piCore

    nano /etc/asound.conf

  5. #5
    Senior Member Greg Erskine's Avatar
    Join Date
    Sep 2006
    Location
    Sydney, Australia
    Posts
    1,862
    Hi MW_FFM2020,

    /etc/asound.conf has rw permission for group staff, so tc will have permissions to edit the file.

    Code:
    tc@piCorePlayer:~$ la /etc/asound.conf
    -rw-rw-r--    1 root     staff          578 Jun  7 01:29 /etc/asound.conf
    
    tc@piCorePlayer:~$ vi  /etc/asound.conf
    If the group staff only had r permissions, then you add the sudo command to gain access via the user permissions (root in this case).

    Code:
    tc@piCorePlayer:~$ sudo vi  /etc/asound.conf
    regards
    Greg

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •