From 3a2f094260fc3daf7c5962ab286b38bb1b26c8bb Mon Sep 17 00:00:00 2001 From: Harrison Date: Sat, 13 Jul 2024 14:02:35 -0400 Subject: [PATCH] Arch: Update AUR info and installation instructions --- Installation.md | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/Installation.md b/Installation.md index b10fa00..594c217 100644 --- a/Installation.md +++ b/Installation.md @@ -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.