| Summary: | media-video/isight-firmware-tools-0.5.1.1 udev rule missing bus and device id | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Ortwin Glueck <odi> |
| Component: | Current packages | Assignee: | Stefan Schweizer (RETIRED) <genstef> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
Thank you. I think this was fixed with the version bump. 2.6.26 will feature an iSight firmware loader in the kernel. So this whole udev rule will no longer be necessary. |
The ebuild installs a udev rule in /etc/udev/rules.d/isight.rules which calls ift-load for the firmware-less device. However on my MacBook Pro C2D the tool needs to know the Bus and Device ID (from lsusb): ACTION=="add", SYSFS{idVendor}=="05ac", SYSFS{idProduct}=="8300", RUN+="/usr/lib/udev/ift-load -b 001 -d 003 --firmware /lib/firmware/isight.fw" Otherwise it doesn't work. Maybe just wrap the ift-load call in a shell script that uses the output of lsusb to obtain those numbers: P=$(lsusb | awk '$6=="05ac:8300" { print "-b " $2 " -d " substr($4,1,3); }') if [ ! -z "${P}" ]; then ift-load ${P} --firmware /lib/firmware/isight.fw fi Reproducible: Always Steps to Reproduce: