[ltp] Re: Hotswap driver (supports DMA, etc etc)
Peter Frühberger
linux-thinkpad@linux-thinkpad.org
Tue, 21 Feb 2006 23:23:58 +0100
-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160
Hi Jim,
Jim Duchek schrieb:
> Okay, my host came back up:
>
> http://www.churchofjim.org/sources/lt_hotswap-0.1.5.tar.gz
>
> YMMV. Enjoy, and let me know, it does still need some work.
>
> Jim
>
>
> On 21/02/06, Jim Duchek <jim.duchek@gmail.com> wrote:
>
>>Hi. I got bored last night (freakin' business trips) and wrote an ACPI
>>driver to handle hotswapping of IDE drives and batteries (yeah, I know
>>batteries don't need much support, but was annoying to not be able to see my
>>ultrabay battery if I didn't boot with it in).
>>
>>It works well on my T22, but I'd like some adventurous souls to give it a
>>go as well and see if it's allright. It should work on just about anything,
>>not just Thinkpads, but I'm not sure. The ACPI namespace stuff needs to be
>>hardcoded in, I took the secondary master namespaces from the ibm-acpi
>>module and added the one I saw on my home (desktop) machine... so it ought
>>to at least work for all thinkpads. I'm sure other systems would need
>>additions, though.
>>
>>I don't want to attach a tarball to this list (even though it's only a
>>little over 10k) and my webspace is down right now... Be happy to email it
>>to anyone in the time being, I'd certainly like to see it tested a bit.
>>
>>Thanks,
>>Jim
>
>
just tried your tarball, compiling works fine, but inserting results in:
Laptop ultrabay hotswap driver version 0.1.5
lt_hotswap: '\_SB.PCI0.ISA.EC0.BAT1' not found.
lt_hotswap: '\_SB.PCI.ISA.EC.BAT1' not found.
lt_hotswap: '\_SB.PCI0.ISA0.EC0.BAT1' not found.
lt_hotswap: '\_SB.PCI0.ISA.EC.BAT1' not found.
lt_hotswap: '\_SB.PCI0.AD4S.EC0.BAT1' not found.
lt_hotswap: '\_SB.PCI0.ICH3.EC0.BAT1' not found.
lt_hotswap: '\_SB.PCI0.LPC.EC.BAT1' found!
lt_hotswap: No object found -- installing our handler.
lt_hotswap: '\_SB.PCI.IDE.SECN.MAST' not found.
lt_hotswap: '\_SB.PCI0.IDE0.IDES.IDSM' not found.
lt_hotswap: '\_SB.PCI0.IDE0.SCND.MSTR' found!
lt_hotswap: Old handler found! 00000001 dff8640c 00000000
lt_hotswap: '\_SB.PCI0.ISA.FDC.FDD0' not found.
My Hardware is an IBM R40, I do not use an ultrabay battery, just wanted
to hotswap my dvd drive
LG
Peter
- --
Key-ID: 0x1A995A9B
keyserver: pgp.mit.edu
==============================================================
Fingerprint: 4606 DA19 EC2E 9A0B 0157 C81B DA07 CF63 1A99 5A9B
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFD+5L+2gfPYxqZWpsRA6KGAJ9BJ5pIk41KeMdysInIg5/7+ApCkACgsZEc
Am6aQR9vuftsfVjTpmH/TjA=
=Wxj6
-----END PGP SIGNATURE-----