Arch: Update AUR info and installation instructions

Harrison
2024-07-13 14:02:35 -04:00
parent ef25749385
commit 3a2f094260

@@ -136,19 +136,18 @@ http://www.xkyle.com/building-linux-packages-for-kernel-drivers/
## Get started on Arch
There is [AUR package](https://aur.archlinux.org/packages/bcwc-pcie-git/) available, and [another one](https://aur.archlinux.org/packages/facetimehd-firmware/) for the firmware itself (the separation will make upgrades less painful, and don't force you to keep `firmware.bin` around forever). Installing `bcwc-pcie-git` will pull in `facetimehd-firmware` as a dependency.
There is an AUR package for the driver, [`facetimehd-dkms`](https://aur.archlinux.org/packages/facetimehd-dkms), along with an optional package for the sensor calibration data, [`facetimehd-data`](https://aur.archlinux.org/packages/facetimehd-data).
If you want to install the kernel module manually, instead, you should:
If you want to install the kernel module manually instead:
- Extract firmware file as described in [Firmware extraction](Get-Started#firmware-extraction).
- Install dependencies: `sudo pacman -S linux-headers git kmod`
- Clone driver's code: `git clone https://github.com/patjak/bcwc_pcie.git`
- Step into cloned dir: `cd bcwc_pcie`
- Extract firmware file as described in [Firmware extraction](Get-Started#firmware-extraction)
- Install dependencies: `pacman -S linux-headers git kmod`
- Clone git repository: `git clone https://github.com/patjak/facetimehd.git && cd facetimehd`
- Build kernel module: `make`
- Install kernel module: `sudo make install`
- Run depmod for kernel to be able to find and load it: `sudo depmod`
- Load kernel module: `sudo modprobe facetimehd`
- Try it with the application of choice. mpv for example: `sudo pacman -S mpv && mpv tv://`
- Install kernel module: `make install`
- Run depmod for kernel to be able to find and load it: `depmod`
- Load kernel module: `modprobe facetimehd`
- Try it with an application of choice, mpv for example: `mpv tv://`
See [Additional Notes](#additional-notes) below in case you come across any issues.