Re: Fix firmware loader docs

Pavel Machek
2003-11-16T16:57:30Z

Hi!

> > AFAICS, sysfs should be mounted on /sys these days...
> >
> > --- tmp/linux/Documentation/firmware_class/README 2003-08-27 12:00:01.000000000 +0200
> > +++ linux/Documentation/firmware_class/README 2003-11-06 13:50:58.000000000 +0100
> > @@ -60,9 +60,9 @@
> >
> > HOTPLUG_FW_DIR=/usr/lib/hotplug/firmware/
> >
> > - echo 1 > /sysfs/$DEVPATH/loading
> > + echo 1 > /sys/$DEVPATH/loading
> > cat $HOTPLUG_FW_DIR/$FIRMWARE > /sysfs/$DEVPATH/data
> > - echo 0 > /sysfs/$DEVPATH/loading
> > + echo 0 > /sys/$DEVPATH/loading
>
> You need more coffee. You forgot the /sysfs/ on the line with cat. ;)

Heh, maybe thats why it did not work for me ;-).
Pavel