These dkms steps worked for me on May 17th, and I did installed it using the normal method before figuring out the dkms bit on Fedora 32, thus the two updates.

dave-atron
2020-05-19 20:48:07 -07:00
parent 0a0aef7068
commit 308785bf2d

@@ -59,7 +59,7 @@ DKMS RPMs are [available](https://copr.fedorainfracloud.org/coprs/frgt10/facetim
Kmod RPMs are [available](https://ktdreyer.fedorapeople.org/macbook/) for Fedora 27-29 ([packaging code](https://github.com/ktdreyer/facetimehd-kmod-rpm)).
Tested on Fedora 23. - Extract firmware file as described in [Firmware extraction](#firmware-extraction)
Tested on Fedora 32. - Extract firmware file as described in [Firmware extraction](#firmware-extraction)
- Become root `sudo su -`
- Install packages kernel-devel (if you installed the Wireless Card driver, you likely already have it): `dnf install kernel-devel`
- Clone the driver's code: `git clone https://github.com/patjak/bcwc_pcie.git`
@@ -76,6 +76,20 @@ Time for testing: launch Cheese and enjoy your own smily face :-)
The driver now handles suspend / resume properly, you're all set.
## Setting up DKMS (auto-compile on kernal update)
This assumes you have already followed the Fedora steps. You will need to verify `dkms.conf` that the module name `facetimehd` and version number `0.1` are correct and either update the `dkms.conf` or adjust the instructions where `-m` and `-v` are used.
- Install needed packages: `# dnf install dkms`
- Make a directory to work from: `# mkdir /usr/src/facetimehd-0.1`
- Change into the git repo dir: `$ cd bcwc_pcie`
- Copy files over: `# cp -r * /usr/src/facetimehd-0.1/`
- Change into that dir: `# cd /usr/src/facetimehd-0.1/`
- Clear out previous compile: `# make clean`
- Register the new module with DKMS: `# dkms add -m facetimehd -v 0.1`
- Build the module: `# dkms build -m facetimehd -v 0.1`
- Install the module: `# dkms install -m facetimehd -v 0.1`
See [Additional Notes](#additional-notes) below in case you come across any issues.
## Get Started on Debian