Dave Anderson wrote: > I have a notebook with a couple of devices which require non-free > firmware. When I installed 5.0-release (amd64 from CD) it asked me if I > wanted those files downloaded on first boot; when I said YES it > proceeded to find and download them and everything 'just worked'. > (This was very convenient; my thanks to the developers who made it > happen.) > > But when I upgraded to a 5.0-current snapshot (and later rebuilt from > source, most recently as of 9 January 2012) and then ran 'pkg_add -ui' > it was unable to update those files: "Couldn't find updates for > uvideo-firmware-1.2p0, iwn-firmware-5.6p0". >
I don't think the firmware files live in the same place as ordinary packages. I expect that the place these files reside is not in your PKG_PATH. If I remember correctly you should have a similar check for firmware files option during upgrades as during install. Did you check your (or root's) mail ? I think there might be a message telling whether it was necessary to update any firmware files. > I'd expect that making 'pkg_add -u' able to find these files would be > fairly simple (either by giving it access to the same data used by the > installer or by recording where it was found with any package added from > a source not in PKG_PATH), and it would certainly make life a bit more > convenient when upgrading. Am I missing something important, is this on > someone's TODO list, do the installer and pkg_add developers not talk to > each other, or what? > AFAICT the tool used is fw_update(1). $ file /usr/sbin/fw_update /usr/sbin/fw_update: Bourne shell script text executable You could check this script to see if it has any clues to help you fulfill your expectations.

