Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 203675 - media-video/isight-firmware-tools-0.5.1.1 udev rule missing bus and device id
Summary: media-video/isight-firmware-tools-0.5.1.1 udev rule missing bus and device id
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Stefan Schweizer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-29 14:22 UTC by Ortwin Glueck
Modified: 2008-06-05 21:07 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ortwin Glueck 2007-12-29 14:22:40 UTC
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:
Comment 1 Stefan Schweizer (RETIRED) gentoo-dev 2008-01-19 17:24:34 UTC
Thank you. I think this was fixed with the version bump.
Comment 2 Ortwin Glueck 2008-06-05 21:07:04 UTC
2.6.26 will feature an iSight firmware loader in the kernel. So this whole udev rule will no longer be necessary.