ALSA kernel projects - for academic purposes
Hi all,
What small projects would you suggest to a novice with the ALSA kernel. The aim is to develop a familiarity with the ALSA kernel source code, and also to submit it for academic purposes.
On Fri, 24 Sep 2021 19:34:59 +0530, Muni Sekhar said:
What small projects would you suggest to a novice with the ALSA kernel. The aim is to develop a familiarity with the ALSA kernel source code, and also to submit it for academic purposes.
A good place to start is getting a good handle on what the phrase "the ALSA kernel" even means.
There's the Linux kernel, a small corner of which is the ALSA subsystem for sound.
On Fri, Sep 24, 2021 at 10:02 PM Valdis Klētnieks valdis.kletnieks@vt.edu wrote:
On Fri, 24 Sep 2021 19:34:59 +0530, Muni Sekhar said:
What small projects would you suggest to a novice with the ALSA kernel. The aim is to develop a familiarity with the ALSA kernel source code, and also to submit it for academic purposes.
A good place to start is getting a good handle on what the phrase "the ALSA kernel" even means.
Basically looking for kernel space audio subsystem projects rather than its user-space library(alsa-lib) and utilities(alsa-utils).
There's the Linux kernel, a small corner of which is the ALSA subsystem for sound.
On Fri, Sep 24, 2021 at 10:58 AM Muni Sekhar munisekharrms@gmail.com wrote:
On Fri, Sep 24, 2021 at 10:02 PM Valdis Klētnieks valdis.kletnieks@vt.edu wrote:
On Fri, 24 Sep 2021 19:34:59 +0530, Muni Sekhar said:
What small projects would you suggest to a novice with the ALSA kernel. The aim is to develop a familiarity with the ALSA kernel source code, and also to submit it for academic purposes.
A good place to start is getting a good handle on what the phrase "the ALSA kernel" even means.
Basically looking for kernel space audio subsystem projects rather than its user-space library(alsa-lib) and utilities(alsa-utils).
why ? if your interest is better sound, then improving user-space is going to be more productive.
also, theres now pipewire, which is new, and all the buzz. its apparently the future of linux audio
There's the Linux kernel, a small corner of which is the ALSA subsystem for sound.
-- Thanks, Sekhar
Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
On Fri, Sep 24, 2021 at 10:46 PM jim.cromie@gmail.com wrote:
On Fri, Sep 24, 2021 at 10:58 AM Muni Sekhar munisekharrms@gmail.com wrote:
On Fri, Sep 24, 2021 at 10:02 PM Valdis Klētnieks valdis.kletnieks@vt.edu wrote:
On Fri, 24 Sep 2021 19:34:59 +0530, Muni Sekhar said:
What small projects would you suggest to a novice with the ALSA kernel. The aim is to develop a familiarity with the ALSA kernel source code, and also to submit it for academic purposes.
A good place to start is getting a good handle on what the phrase "the ALSA kernel" even means.
Basically looking for kernel space audio subsystem projects rather than its user-space library(alsa-lib) and utilities(alsa-utils).
why ? if your interest is better sound, then improving user-space is going to be more productive.
also, theres now pipewire, which is new, and all the buzz. its apparently the future of linux audio
Sounds interesting. Could you please give few more pointers on how to start on pipewire project.
There's the Linux kernel, a small corner of which is the ALSA subsystem for sound.
-- Thanks, Sekhar
Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
On Fri, Sep 24, 2021 at 11:53 AM Muni Sekhar munisekharrms@gmail.com wrote:
On Fri, Sep 24, 2021 at 10:46 PM jim.cromie@gmail.com wrote:
On Fri, Sep 24, 2021 at 10:58 AM Muni Sekhar munisekharrms@gmail.com wrote:
On Fri, Sep 24, 2021 at 10:02 PM Valdis Klētnieks valdis.kletnieks@vt.edu wrote:
On Fri, 24 Sep 2021 19:34:59 +0530, Muni Sekhar said:
What small projects would you suggest to a novice with the ALSA kernel. The aim is to develop a familiarity with the ALSA kernel source code, and also to submit it for academic purposes.
A good place to start is getting a good handle on what the phrase "the ALSA kernel" even means.
Basically looking for kernel space audio subsystem projects rather than its user-space library(alsa-lib) and utilities(alsa-utils).
why ? if your interest is better sound, then improving user-space is going to be more productive.
also, theres now pipewire, which is new, and all the buzz. its apparently the future of linux audio
Sounds interesting. Could you please give few more pointers on how to start on pipewire project.
you know everything I do now
On Fri, Sep 24, 2021 at 11:15:35AM -0600, jim.cromie@gmail.com wrote:
On Fri, Sep 24, 2021 at 10:58 AM Muni Sekhar munisekharrms@gmail.com wrote:
On Fri, Sep 24, 2021 at 10:02 PM Valdis Klētnieks valdis.kletnieks@vt.edu wrote:
On Fri, 24 Sep 2021 19:34:59 +0530, Muni Sekhar said:
What small projects would you suggest to a novice with the ALSA kernel. The aim is to develop a familiarity with the ALSA kernel source code, and also to submit it for academic purposes.
A good place to start is getting a good handle on what the phrase "the ALSA kernel" even means.
Basically looking for kernel space audio subsystem projects rather than its user-space library(alsa-lib) and utilities(alsa-utils).
why ? if your interest is better sound, then improving user-space is going to be more productive.
Because he wants to, that is why. It is his agenda, not yours.
I am not sure if people percieve just how much of a jerk they sound when they routely redirect a question to their favorite view of how the world should work.
Either help or shut up
also, theres now pipewire, which is new, and all the buzz. its apparently the future of linux audio
BTW - we hear the BS every month, and yet, ALSA is still here and the backbone of Linux sound...
On Wed, 29 Sep 2021, Ruben Safir wrote:
also, theres now pipewire, which is new, and all the buzz. its apparently the future of linux audio
BTW - we hear the BS every month, and yet, ALSA is still here and the backbone of Linux sound...
PipeWire is not really a replacement for ALSA, if by ALSA mean the Linux kernel audio subsystem, as it still needs to access audio hardware via ALSA kernel drivers.
If we include alsa-lib in ALSA, then, with proper configuration, not really out of the box, PipeWire can replace the plugin hierarchy that is normally set up in /etc/asound.conf etc.
But PipeWire is purely userspace, and is really more of a replacement for JACK and PulseAudio at the same time. It does seem to be the future in the sense that although it's still in development, it's here now, and it works out of the box at least in some distributions.
/Ricard
On Fri, Sep 24, 2021 at 10:28:01PM +0530, Muni Sekhar wrote:
On Fri, Sep 24, 2021 at 10:02 PM Valdis Klētnieks valdis.kletnieks@vt.edu wrote:
On Fri, 24 Sep 2021 19:34:59 +0530, Muni Sekhar said:
What small projects would you suggest to a novice with the ALSA kernel. The aim is to develop a familiarity with the ALSA kernel source code, and also to submit it for academic purposes.
A good place to start is getting a good handle on what the phrase "the ALSA kernel" even means.
Basically looking for kernel space audio subsystem projects rather than its user-space library(alsa-lib) and utilities(alsa-utils).
Hi Muni Sekhar,
I'm not an academicist by far but if you want your patches to be academic, I think it's more of a question of scientific rigour and scientific method, such that when the patch(set) is finally accepted by the Linux community and Linus Torvalds ultimately, you can write a paper about it.
Obviously there are a lot of things an academicist could bring from his background to improve the Linux kernel, from the standpoint of security, code correctness, speed (efficacy), etc.
My suggestion is to ask Takashi Iwai if he has in mind any fun project a novice academicist could try to do with ALSA. He's the maintainer of ALSA kernel-side and has a background in academia. He could very well be the person most able to give the advice you ask for.
Thanks, Geraldo Nascimento
There's the Linux kernel, a small corner of which is the ALSA subsystem for sound.
-- Thanks, Sekhar
On Fri, Sep 24, 2021 at 07:26:08PM -0300, Geraldo Nascimento wrote:
On Fri, Sep 24, 2021 at 10:28:01PM +0530, Muni Sekhar wrote:
On Fri, Sep 24, 2021 at 10:02 PM Valdis Klētnieks valdis.kletnieks@vt.edu wrote:
On Fri, 24 Sep 2021 19:34:59 +0530, Muni Sekhar said:
What small projects would you suggest to a novice with the ALSA kernel. The aim is to develop a familiarity with the ALSA kernel source code, and also to submit it for academic purposes.
I'm not an academicist by far but if you want your patches to be academic, I think it's more of a question of scientific rigour and scientific method,
No - it is an issue of education. They are trying to learn something that they don't already know. The contribution is they become educated.
such that when the patch(set) is finally accepted by the Linux community and Linus Torvalds ultimately, you can write a paper about it.
They are not writing a paper for Linus. They are writing it for their dean or mentor.
Obviously there are a lot of things an academicist could bring from his background to improve the Linux kernel,
Yeah - but that is not what they are trying to do. And if that was the case, this would likely not be the list for it, since this is a newbies list.
My suggestion is to ask Takashi Iwai if he has in mind
BOINK - the doesn't need a new student dragging on his tail and if he did then he would chose an intern to help with his code.
You are failing to understand how higher education works.
Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
On Wed, Sep 29, 2021 at 11:07:15AM -0400, Ruben Safir wrote:
On Fri, Sep 24, 2021 at 07:26:08PM -0300, Geraldo Nascimento wrote:
On Fri, Sep 24, 2021 at 10:28:01PM +0530, Muni Sekhar wrote:
On Fri, Sep 24, 2021 at 10:02 PM Valdis Klētnieks valdis.kletnieks@vt.edu wrote:
On Fri, 24 Sep 2021 19:34:59 +0530, Muni Sekhar said:
What small projects would you suggest to a novice with the ALSA kernel. The aim is to develop a familiarity with the ALSA kernel source code, and also to submit it for academic purposes.
I'm not an academicist by far but if you want your patches to be academic, I think it's more of a question of scientific rigour and scientific method,
No - it is an issue of education. They are trying to learn something that they don't already know. The contribution is they become educated.
such that when the patch(set) is finally accepted by the Linux community and Linus Torvalds ultimately, you can write a paper about it.
They are not writing a paper for Linus. They are writing it for their dean or mentor.
Hello Ruben,
I don't see your point here. I mentioned not being in academia myself but last time I was, the academics, from the most junior to the most seasoned scholar, are writing for journals. They are writing to get published and cited hopefully.
If they were writing for their dean or mentor to grade them, that would be called homework. While that's arguably part of education, higher or otherwise, Muni Sekhar certainly did not ask for help with his homework.
Obviously there are a lot of things an academicist could bring from his background to improve the Linux kernel,
Yeah - but that is not what they are trying to do. And if that was the case, this would likely not be the list for it, since this is a newbies list.
My suggestion is to ask Takashi Iwai if he has in mind
BOINK - the doesn't need a new student dragging on his tail and if he did then he would chose an intern to help with his code.
You are failing to understand how higher education works.
I do have my gripes with higher education and I never suggested I understood it.
As to contacting the maintainer precisely of the part of the kernel you want to contribute (ALSA kernel-side for Muni Sekhar in this case) before actually contributing any code, this sounds, at least to me, like sensible advice.
Thank you, Geraldo Nascimento
Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
-- So many immigrant groups have swept through our town that Brooklyn, like Atlantis, reaches mythological proportions in the mind of the world - RI Safir 1998 http://www.mrbrklyn.com
DRM is THEFT - We are the STAKEHOLDERS - RI Safir 2002 http://www.nylxs.com - Leadership Development in Free Software http://www2.mrbrklyn.com/resources - Unpublished Archive http://www.coinhangout.com - coins! http://www.brooklyn-living.com
Being so tracked is for FARM ANIMALS and extermination camps, but incompatible with living as a free human being. -RI Safir 2013
I don't see your point here.
I know that. So read what I wrote again and think about the original poster sitting in a CLASSROOM and working on a thesis due in 2 months
Just try to place yourslef in another persons shoes for 15 minutes.
This guy gets assigned this task and is trying to figure out an approach. He is not trying to satisfy YOUR needs, but the requirments of is grade so he can graduate.
On Wed, 29 Sep 2021 11:07:15 -0400, Ruben Safir said:
such that when the patch(set) is finally accepted by the Linux community and Linus Torvalds ultimately, you can write a paper about it.
They are not writing a paper for Linus. They are writing it for their dean or mentor.
On the flip side, it's the rare professor who knows enough about the Linux kernel to assign reasonable projects. If we had a dollar for every time that we saw a prof assign "hijack a system call" or "read/write a file from inside the kernel".....
On Fri, Sep 24, 2021 at 10:05 AM Muni Sekhar munisekharrms@gmail.com wrote:
Hi all,
What small projects would you suggest to a novice with the ALSA kernel. The aim is to develop a familiarity with the ALSA kernel source code, and also to submit it for academic purposes.
-- Thanks, Sekhar
1. Read the documentation for the Linux Sound Subsystem : https://www.kernel.org/doc/html/latest/sound/index.html 2. Then try to understand the the ALSA Driver API 3. In your kernel source tree under the sound folder/directory you will find lot's of useful source code.
If you open the /sound/x86/intel_hdmi_audio.h file at the very top you will see what is below:
// SPDX-License-Identifier: GPL-2.0-only /* * intel_hdmi_audio.c - Intel HDMI audio driver * * Copyright (C) 2016 Intel Corp * Authors: Sailaja Bandarupalli sailaja.bandarupalli@intel.com * Ramesh Babu K V ramesh.babu@intel.com * Vaibhav Agarwal vaibhav.agarwal@intel.com * Jerome Anand jerome.anand@intel.com * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * ALSA driver for Intel HDMI audio */
All the authors you will notice are from intel and seem to be all south asian :-))) pure coincidence ? I somehow do not think so.
Muni in my experience what I have learnt over the years is there will be times when you ask a question and you will get very negative or straight-up demoralising and demotivating toxic remarks and comments. My advice to you is this:
Have a deaf ear to the obstacles and negative comments, rather use them as motivation to achieve your goals.
*Lesson to take away:*
1. Alas! We can’t have a deaf ear to the negative comments that we receive so abundantly from people all around us. I mean even those who don’t usually give advice, would try to stop you from doing something you so eagerly wanted to do, even when they themselves don’t know anything about it. But we can, however, avoid them or use them as a motivation to prove them wrong. Yep, use their words to prove them wrong!
Good luck - Aruna
Bingo
Correct Answer
On Wed, Sep 29, 2021 at 10:11:33PM -0400, Aruna Hewapathirane wrote:
On Fri, Sep 24, 2021 at 10:05 AM Muni Sekhar munisekharrms@gmail.com wrote:
Hi all,
What small projects would you suggest to a novice with the ALSA kernel. The aim is to develop a familiarity with the ALSA kernel source code, and also to submit it for academic purposes.
-- Thanks, Sekhar
- Read the documentation for the Linux Sound Subsystem :
https://www.kernel.org/doc/html/latest/sound/index.html 2. Then try to understand the the ALSA Driver API 3. In your kernel source tree under the sound folder/directory you will find lot's of useful source code.
If you open the /sound/x86/intel_hdmi_audio.h file at the very top you will see what is below:
// SPDX-License-Identifier: GPL-2.0-only /*
- intel_hdmi_audio.c - Intel HDMI audio driver
- Copyright (C) 2016 Intel Corp
- Authors: Sailaja Bandarupalli sailaja.bandarupalli@intel.com
- Ramesh Babu K V ramesh.babu@intel.com
- Vaibhav Agarwal vaibhav.agarwal@intel.com
- Jerome Anand jerome.anand@intel.com
* *
- ALSA driver for Intel HDMI audio
*/
All the authors you will notice are from intel and seem to be all south asian :-))) pure coincidence ? I somehow do not think so.
Muni in my experience what I have learnt over the years is there will be times when you ask a question and you will get very negative or straight-up demoralising and demotivating toxic remarks and comments. My advice to you is this:
Have a deaf ear to the obstacles and negative comments, rather use them as motivation to achieve your goals.
*Lesson to take away:*
- Alas! We can’t have a deaf ear to the negative comments that we
receive so abundantly from people all around us. I mean even those who don’t usually give advice, would try to stop you from doing something you so eagerly wanted to do, even when they themselves don’t know anything about it. But we can, however, avoid them or use them as a motivation to prove them wrong. Yep, use their words to prove them wrong!
Good luck - Aruna
Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
participants (7)
-
Aruna Hewapathirane
-
Geraldo Nascimento
-
jim.cromie@gmail.com
-
Muni Sekhar
-
Ricard Wanderlof
-
Ruben Safir
-
Valdis Klētnieks