Reading mic / camera switch states

I’m looking for a way to read if the hardware switch of the microphone and camera are active / inactive. Is this maybe exposed somewhere in /sys/*?

  • Which OS (Operating System)?
    Linux
  • Which release of your OS (Operating System / Windows 10, 11)? (if you are having a Linux related issue, please create your thread under the Linux subcategory)
    Fedora 40 / any
  • Which Framework laptop (11th, 12th or 13th generation Framework laptop, Chromebook or Framework Laptop 16) are you asking for support with?
    7840u AMD 13.
  • If there is no information pertaining to your issue or question, please let us know here: Framework | Support Framework | Fix Consumer Electronics

It’s a hardware disconnect. It is literally electrically disconnected from the mainboard.

It’s attached by USB and appears/disappears from lsusb, though it might be easier to detect the presence or absence of an entry in /dev/video0.

1 Like

Yeah true, that counts for the webcam, which indeed disappears, but the mic isn’t connected through USB. So it’s hard to differentiate if the mic is still “accessible”, or that wireplumber points to the aux mic possibilities of the audio card.