lkml.org 
[lkml]   [2003]   [Nov]   [16]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateSun, 16 Nov 2003 17:57:57 +0100
FromPavel Machek <>
SubjectRe: Fix firmware loader docs
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

-- 
When do you have a heart between your knees?
[Johanka's followup: and *two* hearts?]
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:58    [from the cache]
©2003-2008