-
Notifications
You must be signed in to change notification settings - Fork 59
FIX: alsa_settings for PTLH_SDW_RT712 #1274
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FIX: alsa_settings for PTLH_SDW_RT712 #1274
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR updates the ALSA settings for PTLH SDW RT712 to address issues with failing headset tests by setting the default volume levels to 95% instead of 100%.
- Adds new amixer commands to set default volume levels for various controls
- Aims to prevent volume levels from being mistakenly left at 100% which previously caused test failures
gbarkadiusz
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
LukaszMrugala
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
GitHub tests don't run on RT712, so those fails can be disregarded.
Change to the script is valid and gives us proper results - tests passing. However, a more thorough look at the cause is needed - I've created the Issue #1275 about it.
alsa_settings/PTLH_SDW_RT712.sh
Outdated
| amixer -c sofsoundwire cset name='rt712 FU0F Capture Switch' on | ||
| amixer -c sofsoundwire cset name='rt712 FU0F Capture Volume' 46 | ||
|
|
||
| # set default volume levels |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wonder does it help to avoid 'Signal overflow' reducing the playback volume instead, e.g. from 80 to 50 ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That "overflow" comment just hit a MAX nerve... take a look at:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, reducing the playback volume also fixed the issue
0f47a34 to
6004f44
Compare
Change the default playback volume settings for PTLH SDW RT712. Reduce volume from 80 to 60. The level sets to 80 for these controls is a reason of failing the check-alsabat-headset-* tests. Internal Jira: SOFC2-1031 Signed-off-by: Artur Wilczak <arturx.wilczak@intel.com>
6004f44 to
26a2b15
Compare
Add the default volume settings for PTLH SDW RT712. The level sets to 100% for these controls is a reason of failing the check-alsabat-headset-* tests.
The previous test case volume-basic-test-50.sh increrases the volume levels to 100% and do not revert to previous setting.
Internal Jira: SOFC2-1031
This is the log from passed run of one of the tests:
and failed run before these changes