Coder Social home page Coder Social logo

alsa-utils's People

Contributors

apaprocki avatar arkivm avatar broonie avatar cannam avatar cladisch avatar crimsun avatar flameeyes avatar jacmet avatar johnsauter avatar larsclausen avatar mgorny avatar nekral avatar nvswarren avatar pavhofman avatar perexg avatar phdm avatar plbossart avatar poettering avatar tim-janik avatar timblechmann avatar tiwai avatar toofishes avatar zapot avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

alsa-utils's Issues

determining cause of 'amixer set PCM 5%-' returning "invalid command"

So I'm just looking for a little direction here:

I have a raspberry pi zero w, using an adafruit mono i2s amp installed with the hifiberry i2s dac script, and some GPIO buttons set to trigger the commands ["amixer set PCM 5%-", "amixer set PCM 5%+"]. This works fine 60% of the time, however occaisionally when I start the pi it becomes stuck at full volume. Amixer begins to output "invalid command" instead of the normal status lines when given the very same input, and the alsamixer tui does not change volume either, the device shows up as PCM but the up and down buttons dont affect the volume level.

I looked in alsamixer.c and it looks like this output of 'invalid command' is caused by either sset_enum() or sset_channels() returning a negative integer, apparently meaning that check_flag within them is failing to be set, because none of the branches are being entered when these functions are run. I am new to programming and extremely new to reading other's code so I am getting a bit lost when tracking down the conditions that would cause this error. If you could help me understand what conditions are not being met when this error appears, that would help me alot.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.