[ltp] DMA hotswap 0.2.0

Jim Duchek linux-thinkpad@linux-thinkpad.org
Tue, 21 Feb 2006 19:44:01 -0600


------=_Part_2669_2467013.1140572641163
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

http://churchofjim.org/sources/lt_hotswap-0.2.0.tar.gz

There were some issues with DMA setup.  It's much, much better now, althoug=
h
it's a pretty kludgy solution.

Use the auto_eject=3D1 command-line option until you think you're getting
clean ide1 un/reregisters.  Then switch to the userspace acpid  stuff --
trust me, it's a better idea and you're less likely to dick up your system.
Remember that with auto_eject=3D1, you _must_ have everything umounted and
make sure you're not using it, or your system is going to get really
confused.

See configs/lths.sh (it gets installed in /usr/local/sbin) for 'what
userspace stuff it should do upon insertion/removal'.  You probably want to
customize it.

If you do 'make install' it'll put the module and acpi scripts in (probably=
,
anyway ;) the right places.  Restart acpid, load the kernel module, and you
should be in business.

Oh, when you load the module at boot, make sure it loads AFTER everything
else ACPI.  I dig around in some internal ACPI stuff and things need to
already be in place.

Jim

------=_Part_2669_2467013.1140572641163
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

<a href=3D"http://churchofjim.org/sources/lt_hotswap-0.2.0.tar.gz">http://c=
hurchofjim.org/sources/lt_hotswap-0.2.0.tar.gz</a><br><br>There were some i=
ssues with DMA setup.&nbsp; It's much, much better now, although it's a pre=
tty kludgy solution.
<br><br>Use the auto_eject=3D1 command-line option until you think you're g=
etting clean ide1 un/reregisters.&nbsp; Then switch to the userspace acpid&=
nbsp; stuff -- trust me, it's a better idea and you're less likely to dick =
up your system.&nbsp; Remember that with auto_eject=3D1, you _must_ have ev=
erything umounted and make sure you're not using it, or your system is goin=
g to get really confused.&nbsp;=20
<br><br>See configs/lths.sh (it gets installed in /usr/local/sbin) for 'wha=
t userspace stuff it should do upon insertion/removal'.&nbsp; You probably =
want to customize it.<br><br>If you do 'make install' it'll put the module =
and acpi scripts in (probably, anyway ;) the right places.&nbsp; Restart ac=
pid, load the kernel module, and you should be in business.
<br><br>Oh, when you load the module at boot, make sure it loads AFTER ever=
ything else ACPI.&nbsp; I dig around in some internal ACPI stuff and things=
 need to already be in place.<br><br>Jim<br><br>

------=_Part_2669_2467013.1140572641163--