[ltp] Re: A new udev rule gives me 3min startup delay

Daniel Castro linux-thinkpad@linux-thinkpad.org
Wed, 26 Aug 2009 17:13:08 +0100


--00032555fe5e0dbf1c04720dbadb
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

2009/8/26 Bj=F8rn Mork <bjorn@mork.no>

> Daniel Castro <castromd@tcd.ie> writes:
>
> > Do I need to change the contents of
> /etc/udev/rules.d/80-thinkpad-T61.rules?
> > To something like:
> >
> > KERNEL=3D=3D"dock.0", ATTR{docked}=3D=3D"1", ACTION=3D=3Dchange,
> > RUN+=3D"/etc/thinkpad/dock.sh 1"
> > KERNEL=3D=3D"dock.0", ATTR{docked}=3D=3D"0", ACTION=3D=3Dchange,
> > RUN+=3D"/etc/thinkpad/dock.sh 0"
>
> Not that it matters much, but you can simplify this to a single rule:
>
>  KERNEL=3D=3D"dock.0", ACTION=3D=3Dchange, RUN+=3D"/etc/thinkpad/dock.sh
> $attr{docked}"

didn't work this way either...

>
>
>
>
> Bj=F8rn
> --
> The linux-thinkpad mailing list home page is at:
> http://mailman.linux-thinkpad.org/mailman/listinfo/linux-thinkpad
>
>


--=20
________________________

Daniel Castro, M.Sc.
+353 083-318-2058
dancasmo@gmail.com
castromd@tcd.ie
________________________

--00032555fe5e0dbf1c04720dbadb
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<br><div class=3D"gmail_quote">2009/8/26 Bj=F8rn Mork <span dir=3D"ltr">&lt=
;<a href=3D"mailto:bjorn@mork.no">bjorn@mork.no</a>&gt;</span><br><blockquo=
te class=3D"gmail_quote" style=3D"border-left: 1px solid rgb(204, 204, 204)=
; margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class=3D"im">Daniel Castro &lt;<a href=3D"mailto:castromd@tcd.ie">cast=
romd@tcd.ie</a>&gt; writes:<br>
<br>
&gt; Do I need to change the contents of /etc/udev/rules.d/80-thinkpad-T61.=
rules?<br>
&gt; To something like:<br>
&gt;<br>
&gt; KERNEL=3D=3D&quot;dock.0&quot;, ATTR{docked}=3D=3D&quot;1&quot;, ACTIO=
N=3D=3Dchange,<br>
&gt; RUN+=3D&quot;/etc/thinkpad/dock.sh 1&quot;<br>
&gt; KERNEL=3D=3D&quot;dock.0&quot;, ATTR{docked}=3D=3D&quot;0&quot;, ACTIO=
N=3D=3Dchange,<br>
&gt; RUN+=3D&quot;/etc/thinkpad/dock.sh 0&quot;<br>
<br>
</div>Not that it matters much, but you can simplify this to a single rule:=
<br>
<br>
=A0KERNEL=3D=3D&quot;dock.0&quot;, ACTION=3D=3Dchange, RUN+=3D&quot;/etc/th=
inkpad/dock.sh $attr{docked}&quot;</blockquote><div>didn&#39;t work this wa=
y either... <br></div><blockquote class=3D"gmail_quote" style=3D"border-lef=
t: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1=
ex;">
<br>
<br>
<br>
<br>
Bj=F8rn<br>
<font color=3D"#888888">--<br>
The linux-thinkpad mailing list home page is at:<br>
<a href=3D"http://mailman.linux-thinkpad.org/mailman/listinfo/linux-thinkpa=
d" target=3D"_blank">http://mailman.linux-thinkpad.org/mailman/listinfo/lin=
ux-thinkpad</a><br>
<br>
</font></blockquote></div><br><br clear=3D"all"><br>-- <br>________________=
________<br><br>Daniel Castro, M.Sc.<br>+353 083-318-2058<br><a href=3D"mai=
lto:dancasmo@gmail.com">dancasmo@gmail.com</a><br><a href=3D"mailto:castrom=
d@tcd.ie">castromd@tcd.ie</a><br>
________________________<br>

--00032555fe5e0dbf1c04720dbadb--