mirror of
https://github.com/patjak/facetimehd.git
synced 2026-04-09 19:10:01 +02:00
Updated Get Started (markdown)
@@ -48,7 +48,6 @@ Now continue with one of
|
||||
## Get Started on Fedora
|
||||
Tested on Fedora 23. - Extract firmware file as described in [Firmware extraction](#firmware-extraction)
|
||||
- Become root `sudo su -`
|
||||
- Move the extracted firmware file to the right place: `mkdir /lib/firmware/facetimehd; cp firmware.bin /lib/firmware/facetimehd/`
|
||||
- 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`
|
||||
- Change into directory: `cd bcwc_pcie`
|
||||
@@ -56,9 +55,9 @@ Tested on Fedora 23. - Extract firmware file as described in [Firmware extractio
|
||||
- Install the kernel module: `make install`
|
||||
- Run `depmod`
|
||||
- Load the module: `modprobe facetimehd`
|
||||
- Check if all relevant modules a loaded: `lsmod | grep facetimehd`
|
||||
- Check if all relevant modules are loaded: `lsmod | grep facetimehd`
|
||||
|
||||
Everything should load fine. Check with command dmesg, the main driver should have loaded and ignore the error about the missing .dat file in the firmware directory (these are the calibration files, we do not have then yet).
|
||||
Everything should load fine. Check with command dmesg, the main driver should have loaded and ignore the error about the missing .dat file in the firmware directory (these are the calibration files, we do not have them yet).
|
||||
|
||||
Time for testing: get mplayer (requires the [RPMfusion repositories] (http://rpmfusion.org/Configuration))
|
||||
|
||||
@@ -86,8 +85,7 @@ IF YOU ENCOUNTER ANY ISSUES LOOK AT THE "ADDITIONAL NOTES" SECTION ON THE BOTTOM
|
||||
`#` indicates as root, you can use sudo if you prefer.
|
||||
`$` indicates as normal user
|
||||
|
||||
- Extract the firmware file as described in [Firmware extraction](#firmware-extraction).
|
||||
- Move the extracted firmware file to the right place: `# mkdir /lib/firmware/facetimehd` then `# cp firmware.bin /lib/firmware/facetimehd/firmware.bin`
|
||||
- Extract and install the firmware file as described in [Firmware extraction](#firmware-extraction).
|
||||
- Install the dependencies : `# apt-get install linux-headers git kmod checkinstall`
|
||||
linux-headers may be slightly different e.g. linux-headers-4.3.0-1-amd64, you can check which kernel version you are running with `uname -a`
|
||||
- Clone the driver's code: `$ git clone https://github.com/patjak/bcwc_pcie.git`
|
||||
@@ -105,7 +103,7 @@ IF YOU ENCOUNTER ANY ISSUES LOOK AT THE "ADDITIONAL NOTES" SECTION ON THE BOTTOM
|
||||
|
||||
There is [AUR package](https://aur.archlinux.org/packages/bcwc-pcie-git/) available, and [another one](https://aur.archlinux.org/packages/bcwc-pcie-firmware/) for the firmware itself (the separation will make upgrades less painful, and don't force you to keep `firmware.bin` around forever).
|
||||
|
||||
There is also [another package](https://github.com/mauritiusdadd/AUR/tree/master/bcwc_pcie-firmware-osx) that will perform extraction for you (if you have access to a machine running OS X) and [another one] (https://github.com/mauritiusdadd/AUR/tree/master/bcwc_pcie-firmware-bc) that will download and install the firmware from the BootCamp windows driver (which however is versio 1.38 and is not currently working well with bcwc_pcie).
|
||||
There is also [another package](https://github.com/mauritiusdadd/AUR/tree/master/bcwc_pcie-firmware-osx) that will perform extraction for you (if you have access to a machine running OS X) and [another one] (https://github.com/mauritiusdadd/AUR/tree/master/bcwc_pcie-firmware-bc) that will download and install the firmware from the BootCamp windows driver (which however is version 1.38 and is not currently working well with bcwc_pcie).
|
||||
|
||||
If you want to install the kernel module manually, instead, you should:
|
||||
|
||||
@@ -116,7 +114,6 @@ If you want to install the kernel module manually, instead, you should:
|
||||
- Build kernel module: `make`
|
||||
- Install kernel module: `sudo make install`
|
||||
- Run depmod for kernel to be able to find and load it: `sudo depmod`
|
||||
- Move extracted `firmware.bin` to a place where module can find it: `sudo install -Dm 644 firmware.bin /usr/lib/firmware/facetimehd/firmware.bin`
|
||||
- Load kernel module: `sudo modprobe facetimehd`
|
||||
- Try it with the application of choice. mpv for example: `sudo pacman -S mpv && mpv tv://`
|
||||
|
||||
@@ -173,7 +170,6 @@ IF YOU ENCOUNTER ANY ISSUES LOOK AT THE "ADDITIONAL NOTES" SECTION ON THE BOTTOM
|
||||
- You need a least openSUSE Leap 42.1. If you are running openSUSE 13.2 upgrade to openSUSE Leap 42.1 (https://en.opensuse.org/SDB:System_upgrade) or install a kernel >= 3.19 (not tested)
|
||||
- Extract firmware file as described in [Firmware extraction](#firmware-extraction)
|
||||
- Become root `su -`
|
||||
- Move the extracted firmware file to the right place: `mkdir /lib/firmware/facetimehd; cp firmware.bin /lib/firmware/facetimehd/`
|
||||
- Install packages kernel-devel and git: `zypper install kernel-devel git`
|
||||
- Clone the driver's code: `git clone https://github.com/patjak/bcwc_pcie.git`
|
||||
- Change into directory: `cd bcwc_pcie`
|
||||
@@ -213,7 +209,8 @@ In some scenarios, you'll have to unload `bdc_pci` before inserting the kernel m
|
||||
|
||||
## Make driver load correctly after suspend
|
||||
|
||||
Putting the computer to suspend and trying to use the camera afterwards makes the computer freeze. Here is a fix for that.
|
||||
~~Putting the computer to suspend and trying to use the camera afterwards makes the computer freeze. Here is a fix for that.~~
|
||||
Suspend/resume should now work without any additional fixes. Note that suspend/resume with the device opened is still not supported.
|
||||
|
||||
### For Ubuntu 15.04 and higher (Should work on some other distros too):
|
||||
|
||||
|
||||
Reference in New Issue
Block a user