• Home
  • Raw
  • Download

Lines Matching full:echo

27 	echo -n "$name" >"$DIR"/trigger_request &
35 echo "$0: firmware interface never appeared" >&2
40 echo 1 >"$DIR"/"$name"/loading
42 echo 0 >"$DIR"/"$name"/loading
54 echo -n "$name" >"$DIR"/trigger_request 2>/dev/null &
62 echo "$0: firmware interface never appeared" >&2
67 echo -1 >"$DIR"/"$name"/loading
76 echo "$0: custom fallback trigger not present, ignoring test" >&2
83 echo -n "$name" >"$DIR"/trigger_custom_fallback 2>/dev/null &
91 echo "$0: firmware interface never appeared" >&2
96 echo 1 >"$DIR"/"$name"/loading
98 echo 0 >"$DIR"/"$name"/loading
109 echo "$0: canceling custom fallback trigger not present, ignoring test" >&2
116 echo -n "$name" >"$DIR"/trigger_custom_fallback 2>/dev/null &
124 echo "$0: firmware interface never appeared" >&2
129 echo -1 >"$DIR"/"$name"/loading
142 echo 4 >/sys/class/firmware/timeout
146 echo -n "$name" >"$DIR"/trigger_request 2>/dev/null
163 echo -n 2 >/sys/class/firmware/timeout
164 echo -n "nope-$NAME" >"$DIR"/trigger_request 2>/dev/null &
170 echo "$0: fallback mechanism immediately cancelled"
171 echo ""
172 echo "The file never appeared: $DEVPATH"
173 echo ""
174 echo "This might be a distribution udev rule setup by your distribution"
175 echo "to immediately cancel all fallback requests, this must be"
176 echo "removed before running these tests. To confirm look for"
177 echo "a firmware rule like /lib/udev/rules.d/50-firmware.rules"
178 echo "and see if you have something like this:"
179 echo ""
180 echo "SUBSYSTEM==\"firmware\", ACTION==\"add\", ATTR{loading}=\"-1\""
181 echo ""
182 echo "If you do remove this file or comment out this line before"
183 echo "proceeding with these tests."
188 echo "$0: firmware was not expected to match" >&2
191 echo "$0: timeout works"
200 echo 4 >/sys/class/firmware/timeout
205 echo "$0: firmware was not expected to match" >&2
208 echo "$0: firmware comparison works"
214 echo "$0: firmware was not loaded" >&2
217 echo "$0: fallback mechanism works"
222 echo "$0: firmware was expected to be cancelled" >&2
225 echo "$0: cancelling fallback mechanism works"
231 echo "$0: SIGCHLD on sync ignored as expected" >&2
233 echo "$0: error - sync firmware request cancelled due to SIGCHLD" >&2
245 echo "$0: firmware was not loaded" >&2
248 echo "$0: custom fallback loading mechanism works"
256 echo "$0: firmware was not loaded" >&2
259 echo "$0: custom fallback loading mechanism works"
269 echo "$0: firmware was expected to be cancelled" >&2
272 echo "$0: cancelling custom fallback mechanism works"