[ltp] Re: Hotswap driver (supports DMA, etc etc)

Peter Frühberger linux-thinkpad@linux-thinkpad.org
Wed, 22 Feb 2006 08:39:22 +0100


-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160

Yes! 0.2.0 is working on my R40

cool
thx

Peter

Jim Duchek schrieb:
> That looks good, actually.  If you're just using a DVD drive and not
> actually 'mounting' anything, you may wish to use the auto_eject=1
> parameter.  I'm not sure how the R40 works, but at least on my T22 there's a
> little switch that pops a lever out -- that also sends a signal that you
> want to eject the drive (but until you pull the lever, the drive stays fully
> connected).  auto_eject=1 will unregister the IDE interface and eject the
> drive w/o any userspace help.
> 
> 
> Jim
> 
> On 21/02/06, Peter Frühberger <peter.fruehberger@gmail.com> wrote:
> 
> 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
- --
The linux-thinkpad mailing list home page is at:
http://mailman.linux-thinkpad.org/mailman/listinfo/linux-thinkpad

- --
		    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/BUq2gfPYxqZWpsRA8XEAJ409OzS67Avt7L2CJCh9MEtPzxzJwCguP77
EP0PbL5c0qzuf/WSx0pG5UM=
=LR4Z
-----END PGP SIGNATURE-----