I tried to change the order in which I requested the changes in sysfc.conf and it seems that sysfs cannot process any command after the first class/scsi_host/etc
This is with latest Hardy snapshot clean install and up-to-date (while the previous post was with gutsy partially updated)
sh -ex /etc/init.d/sysfsutils start
+ CONFFILE=/etc/sysfs.conf
+ [ -r /etc/sysfs.conf ]
+ echo -n Setting sysfs variables...
Setting sysfs variables...+ sed s/#.*$//; /^[[:space:]]*$/d; s/^[[:space:]]*\([^=[:space:]]*\)[[:space:]]*\([^=[:space:]]*\)[[:space:]]*=[[:space:]]*\(.*\)/\1 \2 \3/ /etc/sysfs.conf
+ read f1 f2 f3
+ [ module/snd_hda_intel/parameters/power_save = mode -a -n 10 -a -n ]
+ [ module/snd_hda_intel/parameters/power_save = owner -a -n 10 -a -n ]
+ [ module/snd_hda_intel/parameters/power_save -a -n 10 -a -z ]
+ [ -f /sys/module/snd_hda_intel/parameters/power_save ]
+ echo -n 15
+ read f1 f2 f3
+ [ class/scsi_host/host1/link_power_management_policy = mode -a -n min_power -a -n ]
+ [ class/scsi_host/host1/link_power_management_policy = owner -a -n min_power -a -n ]
+ [ class/scsi_host/host1/link_power_management_policy -a -n min_power -a -z ]
+ [ -f /sys/class/scsi_host/host1/link_power_management_policy ]
+ echo -n min_power
I tried to change the order in which I requested the changes in sysfc.conf and it seems that sysfs cannot process any command after the first class/scsi_host/etc
This is with latest Hardy snapshot clean install and up-to-date (while the previous post was with gutsy partially updated)
sh -ex /etc/init. d/sysfsutils start /etc/sysfs. conf
s/^[[:space: ]]*\([^ =[:space: ]]*\)[[ :space: ]]*\([^ =[:space: ]]*\)[[ :space: ]]*=[[: space:] ]*\(.*\ )/\1 \2 \3/ /etc/sysfs.conf snd_hda_ intel/parameter s/power_ save = mode -a -n 10 -a -n ] snd_hda_ intel/parameter s/power_ save = owner -a -n 10 -a -n ] snd_hda_ intel/parameter s/power_ save -a -n 10 -a -z ] snd_hda_ intel/parameter s/power_ save ] host/host1/ link_power_ management_ policy = mode -a -n min_power -a -n ] host/host1/ link_power_ management_ policy = owner -a -n min_power -a -n ] host/host1/ link_power_ management_ policy -a -n min_power -a -z ] scsi_host/ host1/link_ power_managemen t_policy ]
+ CONFFILE=
+ [ -r /etc/sysfs.conf ]
+ echo -n Setting sysfs variables...
Setting sysfs variables...+ sed s/#.*$//; /^[[:space:]]*$/d;
+ read f1 f2 f3
+ [ module/
+ [ module/
+ [ module/
+ [ -f /sys/module/
+ echo -n 15
+ read f1 f2 f3
+ [ class/scsi_
+ [ class/scsi_
+ [ class/scsi_
+ [ -f /sys/class/
+ echo -n min_power