Skip to content

AudioGrabber isn't finding any capture devices #1936

@discordianfish

Description

@discordianfish
  • I confirm that this is an issue rather than a question.

Bug report

I've already disable pulseaudio to avoid any conflicts.
My USB soundcard works just fine:

pi@rpi-media:~ $ arecord -l
**** List of CAPTURE Hardware Devices ****
card 2: AUDIO [USB  AUDIO], device 0: USB Audio [USB Audio]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

The json-rpc doesn't return any device either:

$ curl -s -X POST -H "Content-Type: application/json"   -d '{"command":"inputsource","subcommand":"discover","sourceType":"audio"}'   http://localhost:8090/jso
n-rpc
{
    "command": "inputsource-discover",
    "info": {
        "audio_sources": [
        ],
        "sourceType": "audio"
    },
    "success": true,
    "tan": 0

And I've noticed that it never logs anything related to the AudioGrabber except:

Nov 13 14:44:27 rpi-media hyperiond[7774]: 2025-11-13T14:44:27.911 |__| DAEMON            : <DEBUG> hyperiond.cpp:706:updateAudioGrabbers() | Audio grabber created

Which makes me feel like only the stub discover function is called and never the actual linux implementation, despite the code being included and the binary linked against libasound:

$ strings /usr/bin/hyperiond | grep -i audiograbber
updateAudioGrabbers
AudioGrabber
./libsrc/grabber/audio/AudioGrabberLinux.cpp
17AudioGrabberLinux
12AudioGrabber
AudioGrabber
AudioGrabber
./libsrc/grabber/audio/AudioGrabber.cpp
$ strings /usr/bin/hyperiond | grep 'Enumerating Audio Input Devices'
Enumerating Audio Input Devices
$ ldd /usr/bin/hyperiond | grep asound
        libasound.so.2 => /lib/aarch64-linux-gnu/libasound.so.2 (0x0000007fb54c0000)

Maybe this is an rpi/arm64 specific issue?

Steps to reproduce

No steps, it just doen't work

What is expected?

To find my usb soundcard

What is actually happening?

The web ui always shows "No capture device discovered" when trying to active Audio capture.

System

Hyperion Server:
- Build:             GitHub-df8ed22/4a40f8c-1762892810
- Build time:        Nov 12 2025 01:48:37
- Build type:        Release
- Git Remote:        https://github.com/hyperion-project/hyperion.ng
- Version:           2.1.2-beta.1+nightly202511124a40f8c5793c61c1160137c91988227f1a22e89a
- UI Lang:           en (BrowserLang: en-US)
- UI Access:         default
- Avail Screen Cap.: dispmanx,framebuffer,qt,drm
- Avail Video  Cap.: v4l2
- Avail Audio  Cap.: audio
- Avail Services:    boblight,cec,effectengine,forwarder,flatbuffer,protobuffer,mDNS,SSDP,borderdetection
- Config database:   /home/pi/.hyperion/db/hyperion.db
- Database:          read/write
- Mode:              Non-GUI

Hyperion Server OS:
- Distribution:      Debian GNU/Linux 12 (bookworm)
- Architecture:      arm64
- CPU Type:          Raspberry Pi 4 Model B Rev 1.1
- CPU Revision:      c03111
- Kernel:            linux (6.6.51+rpt-rpi-v8 (WS: 64))
- Root/Admin:        false
- Qt Version:        6.4.2
- Python Version:    3.11.2
- Browser:           Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions