UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    rec works remotely, but not in local terminal

    Scheduled Pinned Locked Moved OS
    2 Posts 2 Posters 482 Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
      Reply
      • Reply as topic
      Log in to reply
      This topic has been deleted. Only users with topic management privileges can see it.
      • S Offline
        sven
        last edited by

        The recording tool rec works perfectly if I ssh into my cosmo:

        rec a.wav rate 16k channels 1
        

        But when I run this in UBports' terminal app, I see:

        ALSA lib pcm_pulse.c:752:(pulse_prepare) Pulseaudio: Unable to create stream: Access denied
        rec FAIL formats: can't open input    'default': snd_pcm_hw_params error: Input/output error
        

        (Similar problems with parec.)

        VollaPhone22 (dual-boot of VollaOS and UT 20.04 OTA-9), Pocophone F1 (pmOS, edge), FLX1 (Debian)

        1 Reply Last reply Reply Quote 0
        • K Offline
          kugiigi
          last edited by

          There are still limitations in the terminal app. Not sure what reasons behind it though. You can work around this by connecting to itself via ssh.

          1 Reply Last reply Reply Quote 1

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          • First post
            Last post