Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Provide default mixer configuration, so sound works by default. #702
Not sure about "easily". No, I'm not handling that problem.I'm not even sure I believe such problem exists :-). Link would be useful. This simply sets default configuration for N900 speakers.
As you need to be root to use alsaplay, anyway, this does not add any new problem.
I just want to make sure, that no one destroys these speakers by accident with postmarketOS. Here is one source:
So is it muted by default?
No, its not muted. If I make it muted by default, it will be a) useless, and b) first thing anyone does is unmute it anyway. Unfortunately, gentoo pointer is useless. Nokia N900 has two "loudspeakers" and speaker for a call. Actually, I searched a bit more, and came up with: http://talk.maemo.org/showthread.php?t=58993&page=2 . More FUD. We could assume it is the loudspeaker and set the output to 80% by default. Maybe. I'll set output to 100% on mine, anyway. I don't believe the FUD. Phone without audio is useless. Phone that can't ring at useful level is useless, too.
Oct 7, 2017
1 check passed
added a commit
this pull request
Feb 21, 2018
referenced this pull request
Apr 10, 2018
I have been using my N900 as a DAP quite successfully for the past four months. So, I'm uploading my configurations in case someone finds them useful, or wants to include them in the main package. I also include a script that switches between speakers and jack output, and is used to control the volume of the designated mixer - "PCM" for speakers, "TPA6130A2 Headphone" for jack.
I'm interested in hearing comments about whether or not I should set the headphone amp to a fixed value, and use PCM as master control for both outputs. Please let me know!
Note that these settings affect only the audio out thru speakers and jack, everything else is muted, and that these are prior to #1404! Also, before you apply any of the settings, I recommend creating a diff between the included asound.state.muted and asound.state.<headset, speakers> to see the changes being made in order to enable the output.