I'm still using one of the 2.6.14.x kernels, but I don't think that should 
make any difference (and I have an ipw2100 instead of an ipw2200).  When you 
installed hotplug, it should have made a directory /etc/hotplug and put a 
bunch of *.agent files in there.  One of those is firmware.agent.  Mine looks 
like this:

#
#!/bin/sh
#
# Firmware-specific hotplug policy agent.
#
# Kernel firmware hotplug params include:
#
#       ACTION=%s [add or remove]
#       DEVPATH=%s [in 2.5 kernels, /sys/$DEVPATH]
#       FIRMWARE=%s
#
# HISTORY:
#
# 24-Jul-2003   Initial version of "new" hotplug agent.
#
# $Id: firmware.agent,v 1.4 2004/09/20 21:23:51 kroah Exp $
#

cd /etc/hotplug
. ./hotplug.functions
# DEBUG=yes export DEBUG

# directory of the firmware files
FIRMWARE_DIR=/lib/firmware

# mountpoint of sysfs
SYSFS=$(sed -n 's/^.* \([^ ]*\) sysfs .*$/\1/p' /proc/mounts)

# use /proc for 2.4 kernels

if [ "$SYSFS" = "" ]; then
    SYSFS=/proc
fi

#
# What to do with this firmware hotplug event?
#
case "$ACTION" in

add)
    if [ ! -e $SYSFS/$DEVPATH/loading ]; then
        sleep 1
    fi

    if [ -f "$FIRMWARE_DIR/$FIRMWARE" ]; then
        echo 1 > $SYSFS/$DEVPATH/loading
        cp "$FIRMWARE_DIR/$FIRMWARE" $SYSFS/$DEVPATH/data
        echo 0 > $SYSFS/$DEVPATH/loading
    else
        echo -1 > $SYSFS/$DEVPATH/loading
    fi

    ;;

remove)
    ;;

*)
    mesg "Firmware '$ACTION' event not supported"
    exit 1
    ;;

esac


Notice that there is the line:
FIRMWARE_DIR=/lib/firmware
You should have that set to the location where you plan on sticking your 
firmware.  In my case, all of the firmware files are in /lib/firmware and I 
have never seen a problem like you are having.

On Saturday 07 January 2006 16:48, Dr. Edgar Alwers wrote:
> I am trying to put in operation an Intel Pro/Wireless 2200BG WLAN centrino
> laptop. I did compile a 2.6.15 kernel, which is supposed to support WLAN.
> So far, I also downloaded the firmware ipw2200-fw-2.4 from Intel, and here
> my problem starts: I did unpack the firmware ipw2200-fw-2.4  in
> /etc/firmware, as the documentation of  kernel 2.6.15 says, but  during the
> boot process I get a "ipw-2.4-boot.fw load failed. Reason -2" message.
> Googling this message tells me, that the firmware is probably not placed 
> in the right directory. Well, I put the firmware
> in  /lib/firmware,  /usr/lib/hotplug/firmware,  /etc/firmware etc. etc.,
> withouth results.
> Obviously  I have a hotplug-problem. Can someone tell me,  where does the
> kernel 2.6.15 look for firmware ? What is a "firmware.agent" I am reading
> from some distributions, is there something similar availaible for scratch
> ? I am struggling with my wireless laptop on linux, but, very sad to say,
> it is working fine on windows.
> Help very appreciated !
> Edgar
> --
> ---------------------
> Dr.-Ing. Edgar Alwers
> Weinheim
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to