summaryrefslogtreecommitdiff
path: root/system/isight-firmware-tools
diff options
context:
space:
mode:
authorStu Reedy <stureedy@spamcop.net>2014-11-14 02:26:05 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-11-14 02:26:05 +0700
commit3642f5db8d4c92f1f2534d0ea6c93cfb30592de3 (patch)
tree065cc9e71ac18af335f9ac84b7bc0e763d482bb9 /system/isight-firmware-tools
parent8b137bdcfeca52b1eda54f25e8fbf21d674c431b (diff)
downloadslackbuilds-3642f5db8d4c92f1f2534d0ea6c93cfb30592de3.tar.gz
system/isight-firmware-tools: Fix typo and add README.SLACKWARE.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/isight-firmware-tools')
-rw-r--r--system/isight-firmware-tools/README2
-rw-r--r--system/isight-firmware-tools/README.SLACKWARE27
-rw-r--r--system/isight-firmware-tools/isight-firmware-tools.SlackBuild13
-rw-r--r--system/isight-firmware-tools/isight-firmware-tools.info2
4 files changed, 35 insertions, 9 deletions
diff --git a/system/isight-firmware-tools/README b/system/isight-firmware-tools/README
index 10bd0aafe5..7fa13bbcba 100644
--- a/system/isight-firmware-tools/README
+++ b/system/isight-firmware-tools/README
@@ -1,4 +1,4 @@
-isight-firmware-tools (utilities to axtract isight firmware from Apple driver
+isight-firmware-tools (utilities to extract isight firmware from Apple driver
for use with Linux kernel)
This project provide tools to manipulate firmware for Built-in iSight
diff --git a/system/isight-firmware-tools/README.SLACKWARE b/system/isight-firmware-tools/README.SLACKWARE
new file mode 100644
index 0000000000..b7c09616ec
--- /dev/null
+++ b/system/isight-firmware-tools/README.SLACKWARE
@@ -0,0 +1,27 @@
+These are the tools to extract the iSight firmware. Once you've built and installed isight-firmware tools, use ift-extract to grab the firmware from the Apple driver and put it in /lib/firmware.
+
+Note: You must be logged in as root to do this!
+
+On my MacBook running Mavericks, the command is:
+
+ift-extract -a /macdrive/System/Library/Extensions/IOUSBFamily.kext/Contents/PlugIns/AppleUSBVideoSupport.kext/Contents/MacOS/AppleUSBVideoSupport
+
+Once that's done, you should have the file:
+
+/lib/firmware/isight.fw
+
+If so, reboot and you're in business. (I'm not sure you hafta reboot, but it can't hurt!)
+
+For other MacOS versions, just mount your Mac HFS+ partition something like:
+
+mount /dev/sda2 /macdrive
+
+(Note: For this, the directory /macdrive must exist!)
+
+To locate the Mac partition, use: fdisk -l /dev/sda . . . the MacOS partition should look something like:
+
+/dev/sda2 409640 724306927 361948644 af HFS / HFS+
+
+Once the Mac OS partition is mounted, you can locate the Apple iSight driver using: find /macdrive -iname AppleUSBVideoSupport
+
+Yet another note: I'm using the huge kernel, which has the HFS filesystem driver. I don't know if it's included with the generic kernels or not.
diff --git a/system/isight-firmware-tools/isight-firmware-tools.SlackBuild b/system/isight-firmware-tools/isight-firmware-tools.SlackBuild
index a8cc90756a..a464313ec0 100644
--- a/system/isight-firmware-tools/isight-firmware-tools.SlackBuild
+++ b/system/isight-firmware-tools/isight-firmware-tools.SlackBuild
@@ -24,7 +24,7 @@
PRGNAM=isight-firmware-tools
VERSION=${VERSION:-1.6}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -64,10 +64,10 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -98,8 +98,7 @@ find $PKG -name perllocal.pod \
| xargs rm -f
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS COPYING ChangeLog HOWTO INSTALL NEWS README \
- $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS COPYING ChangeLog HOWTO INSTALL NEWS README $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/system/isight-firmware-tools/isight-firmware-tools.info b/system/isight-firmware-tools/isight-firmware-tools.info
index 9f4be0b149..9c0e9d61e2 100644
--- a/system/isight-firmware-tools/isight-firmware-tools.info
+++ b/system/isight-firmware-tools/isight-firmware-tools.info
@@ -7,4 +7,4 @@ DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="Stu Reedy"
-EMAIL="stureedy@smapcop.net"
+EMAIL="stureedy@spamcop.net"