[alsa-devel] Next steps
Hey gang,
I'm trying to work on issue 305, suspend/resume for cs46xx.
I'm running CentOS 5, so I'd like to work on what's current for that distribution first, and patch to latest if needed after that.
I think I have the correct source package, but the only mention of cs46xx I could find in the source is a configuration file. Running make doesn't make the cs46xx module, AFAICT.
Which source (package)(s) should I have?
How do I track down the source file(s) I need to examine?
Thanks, Chris
At Tue, 29 May 2007 09:55:22 -0500 (CDT), chris@idlelion.net wrote:
Hey gang,
I'm trying to work on issue 305, suspend/resume for cs46xx.
I'm running CentOS 5, so I'd like to work on what's current for that distribution first, and patch to latest if needed after that.
I think I have the correct source package, but the only mention of cs46xx I could find in the source is a configuration file. Running make doesn't make the cs46xx module, AFAICT.
Which source (package)(s) should I have?
The driver codes are usually included in the kernel source tree. What you've seen are the alsa-lib and alsa-utils packages, I guess.
Anyway, if you want to debug the driver, build the alsa driver externally from the latest ALSA HG tree. So, there is no corresponding "distro packages" at all.
Takashi
On Tue, 29 May 2007, Takashi Iwai wrote:
At Tue, 29 May 2007 09:55:22 -0500 (CDT), chris@idlelion.net wrote:
Which source (package)(s) should I have?
The driver codes are usually included in the kernel source tree. What you've seen are the alsa-lib and alsa-utils packages, I guess.
Anyway, if you want to debug the driver, build the alsa driver externally from the latest ALSA HG tree. So, there is no corresponding "distro packages" at all.
Takashi
Thanks!
As it happens, I'm going to a talk on Mercurial tonight.
There are a bunch of repositories. Would I want Driver or Kernel?
Chris
At Tue, 29 May 2007 11:52:55 -0500 (CDT), chris@idlelion.net wrote:
On Tue, 29 May 2007, Takashi Iwai wrote:
At Tue, 29 May 2007 09:55:22 -0500 (CDT), chris@idlelion.net wrote:
Which source (package)(s) should I have?
The driver codes are usually included in the kernel source tree. What you've seen are the alsa-lib and alsa-utils packages, I guess.
Anyway, if you want to debug the driver, build the alsa driver externally from the latest ALSA HG tree. So, there is no corresponding "distro packages" at all.
Takashi
Thanks!
As it happens, I'm going to a talk on Mercurial tonight.
There are a bunch of repositories. Would I want Driver or Kernel?
Both alsa-driver and alsa-kernel are repos for ALSA drivers, so you need both. The latter contains the source codes to be merged to linux kernel tree while the former contains the stuff for building the modules.
It's not always necessary to use HG version of alsa-lib, utils and others. But, at least, it's safe and recommended to use the latest version of alsa-lib and utils together with alsa-driver.
Takashi
Takashi Iwai wrote:
At Tue, 29 May 2007 11:52:55 -0500 (CDT), chris@idlelion.net asked about alsa development ... Both alsa-driver and alsa-kernel are repos for ALSA drivers, so you need both. The latter contains the source codes to be merged to linux kernel tree while the former contains the stuff for building the modules.
It's not always necessary to use HG version of alsa-lib, utils and others. But, at least, it's safe and recommended to use the latest version of alsa-lib and utils together with alsa-driver.
Takashi
I'm running CentOS 5 and would like to keep the machine working for its owner while I try to fix the sound driver.
I cloned alsa-driver and alsa-kernel from the hg repository. In alsa-driver is a file called INSTALL.
Step 1 says I need full configured source for the kernel. "yum install kernel-devel" seemed to do that.
Step 2 says turn on sound support. No idea what that means.
Step 3 says run ./configure. That file doesn't exist. There is a configure.in that says it should be run through autoconf. If there's an automated script to do that, its location isn't obvious.
There are over 4000 lines in the cs46xx module, so any tips on what's important (other than the actual suspend and resume functions that I've found) and where to start a search would be helpful too.
Thanks, Chris
Try running "./hgcompile". It will rebuild the ./configure script and build the drivers for you.
On Sat, 2007-06-02 at 22:47 -0500, Chris Schumann wrote:
Takashi Iwai wrote:
At Tue, 29 May 2007 11:52:55 -0500 (CDT), chris@idlelion.net asked about alsa development ... Both alsa-driver and alsa-kernel are repos for ALSA drivers, so you need both. The latter contains the source codes to be merged to linux kernel tree while the former contains the stuff for building the modules.
It's not always necessary to use HG version of alsa-lib, utils and others. But, at least, it's safe and recommended to use the latest version of alsa-lib and utils together with alsa-driver.
Takashi
I'm running CentOS 5 and would like to keep the machine working for its owner while I try to fix the sound driver.
I cloned alsa-driver and alsa-kernel from the hg repository. In alsa-driver is a file called INSTALL.
Step 1 says I need full configured source for the kernel. "yum install kernel-devel" seemed to do that.
Step 2 says turn on sound support. No idea what that means.
Step 3 says run ./configure. That file doesn't exist. There is a configure.in that says it should be run through autoconf. If there's an automated script to do that, its location isn't obvious.
There are over 4000 lines in the cs46xx module, so any tips on what's important (other than the actual suspend and resume functions that I've found) and where to start a search would be helpful too.
Thanks, Chris _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
participants (4)
-
Chris Schumann
-
chris@idlelion.net
-
Takashi Iwai
-
Tobin Davis