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

- adc fix to work with kernels >=3.14 #83

Closed
wants to merge 1 commit into from

Conversation

mgaggero
Copy link

This fix allows the use of the ADC class with kernels newer than 3.8, that is, with no cape manager. It has been tested with 3.14 kernels.
The instructions to enable ADC peripherals with 3.14 kernels can be found at
https://github.com/mgaggero/beaglebone/wiki/Make-ADC-working-on-BBB---Ubuntu-kernel-3.14-

@MertenF
Copy link

MertenF commented Nov 2, 2015

Why is this still not added?

@pdp7
Copy link
Collaborator

pdp7 commented Feb 9, 2016

I think a fix would also need to maintain compatibility with 3.8.x kernel as that is still in use by many users.

Also, I noticed a similar fix by @grizmio:
https://github.com/grizmio/adafruit-beaglebone-io-python/commit/d9ad2b38120666c80f86fc8eb8c64bf699a4e339

@PeteLawler
Copy link
Contributor

I've manged @grizmio's patch to hopefully get this working on 3.8 and 4.x.

PeteLawler@d16654d

@PeteLawler
Copy link
Contributor

PeteLawler commented May 10, 2016

I've now submitted a PR which should make it compatible between 3.8 and 4.1 #96 though it does this at compile time and not runtime.

@pdp7
Copy link
Collaborator

pdp7 commented Jun 7, 2016

@mgaggero thanks for your efforts. #96 by @PeteLawler has been merged to support ADC in both Linux 3.8 and Linux 4.1+ kernels

@pdp7
Copy link
Collaborator

pdp7 commented Aug 20, 2016

@ladyada @jwcooper @tdicola please close this PR as it was resolved by #96

@ladyada ladyada closed this Aug 20, 2016
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

Successfully merging this pull request may close these issues.

None yet

5 participants