Skip to content
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

Makefile errors arch-linux 6.6.7 #20

Closed
Sotem123 opened this issue Dec 20, 2023 · 5 comments
Closed

Makefile errors arch-linux 6.6.7 #20

Sotem123 opened this issue Dec 20, 2023 · 5 comments

Comments

@Sotem123
Copy link

Hello there seems to be a problem with the makefile (or my configuration not sure).

When trying to run make, or dkms following the steps in the readme I receive an error.
When further looking into the output of the dkms install command I see several errors indicating the following:
warning: "CONFIG_SND_DEBUG" redefined in several files.
And the other error I am receiving is: error: implicit declaration of function 'pci_set_consistent_dma_mask'
Both of the implicit declarations are in the hdspe_core.c file 425:15, 427:23.

@Schroedingers-Cat
Copy link

The error should be fixed via this PR: #12

@Sotem123
Copy link
Author

Thank for helping out so swiftly!
I figured it was a header file, yet I just found the idea of editing inside of a driver a bit daunting I guess since I have never done so.
I managed to build the drivers using your pull-request.

But seeing the age of the pull request, is the one managing the pull requests no longer active?

And a side-question, if I was to help out with this project what resources could you point me to?
I own 2 RME PCI cards, and I have experience programming embedded C, but never programmed for Linux.

@jimfrench
Copy link

@Sotem123

And a side-question, if I was to help out with this project what resources could you point me to?

Hi, thanks for the offer of help we're currently trying to implement suspend and resume with the MADI and AES cards, which are showing different behaviour apparently. See issue 18

If you are able to do some testing with your cards (which cards are they?) that might really help at the moment. Checkout the suspend-resume branch that @Schroedingers-Cat has been working on.

ALSA docs are in general a good resource for driver coding.

@Schroedingers-Cat
Copy link

But seeing the age of the pull request, is the one managing the pull requests no longer active?

Prof. Dr. Philippe Bekaert passed away last year (#13).

And a side-question, if I was to help out with this project what resources could you point me to?
I own 2 RME PCI cards, and I have experience programming embedded C, but never programmed for Linux.

The resource I use mostly is this: https://www.kernel.org/doc/html/latest/sound/kernel-api/writing-an-alsa-driver.html#power-management

You might find some bits in there that seem incomplete our outdated. If you find other resources, I'd be happy to read those!

@Sotem123
Copy link
Author

@jimfrench @Schroedingers-Cat thanks for your replies!
Very sorry to hear that Prof. Dr. Philippe Bekaert has passed away.

@jimfrench The cards I have are the HDSPe AIO (not PRO) and the HDSPe RAYDAT which I both used as a single card on my Windows setup.

It could take some time for me to dive into this stuff, as I'm not used to linux, coding drivers, kernel related matter, etc.
A long list of things to look into!
I haven't even ever worked on an open-source project this way either.
That said, I do intend to dive into these matters, so in time I'll be able to understand these things better.

So sorry if my question is out of place, but how do you normally communicate for this project?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants