Skip to contentSkip to conversation

Fix firmware loader docs

DISCUSSION Pascal Schmidt 2 participants 2 messages Nov 16, 2003 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

On Sun, 16 Nov 2003 14:20:15 +0100, you wrote in linux.kernel:

Documentation/firmware_class/README line 65

Quoted 13 lines

AFAICS, sysfs should be mounted on /sys these days...

Documentation/firmware_class/README renamed from linux/Documentation/firmware_class/README +2 -2
@@ -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. ;)

Signature · 2 lines
Ciao,
Pascal
#2 lore raw

Hi!

Quoted 8 lines
Quoted 8 lines

AFAICS, sysfs should be mounted on /sys these days...

Documentation/firmware_class/README renamed from linux/Documentation/firmware_class/README +0 -0
@@ -60,9 +60,9 @@
 
 	HOTPLUG_FW_DIR=/usr/lib/hotplug/firmware/
 
Quoted 7 lines

Documentation/firmware_class/README line 65

Quoted 5 lines
Documentation/firmware_class/README renamed from linux/Documentation/firmware_class/README +2 -2
-	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

Signature · 2 lines
When do you have a heart between your knees?
[Johanka's followup: and *two* hearts?]