-
Notifications
You must be signed in to change notification settings - Fork 49
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
Check for supported events first, send SND_BELL as fallback #17
base: master
Are you sure you want to change the base?
Check for supported events first, send SND_BELL as fallback #17
Conversation
The device might not support SND_TONE events, so check it and print an error if this event type is not supported. Signed-off-by: Bastian Krause <[email protected]>
The gpio-beeper driver does not support SND_TONE, but SND_BELL. So send that instead if SND_TONE is not supported. Signed-off-by: Bastian Krause <[email protected]>
Due to #11 (comment), I will evaluate this and pick it up over at https://github.com/spkr-beep/beep. |
Are there well known device names for the |
The gpio-beeper driver does not support SND_TONE, but SND_BELL. So we send SND_BELL instead when SND_TONE is not supported. Adapted the pull request from Bastian Krause <[email protected]> from johnath#17 for spkr-beep. No well-known devices names for those devices are known, so we cannot try them by default.
Yep, it's |
The gpio-beeper driver does not support SND_TONE, but SND_BELL. So we send SND_BELL instead when SND_TONE is not supported. Adapted the pull request from Bastian Krause <[email protected]> from johnath#17 for spkr-beep. No well-known devices names for those devices are known, so we cannot try them by default.
The gpio-beeper driver does not support SND_TONE, but SND_BELL. So we send SND_BELL instead when SND_TONE is not supported. Adapted the pull request from Bastian Krause <[email protected]> from johnath#17 for spkr-beep. No well-known devices names for those devices are known, so we cannot try them by default. Closes: #12
The device might not support
SND_TONE
events, so check it and print an error if this event type is not supported.The gpio-beeper driver does not support
SND_TONE
, butSND_BELL
. So send that instead ifSND_TONE
is not supported.