Hot/Warm swap for laptop devices

paul marwick paul.marwick at virgin.net
Mon Dec 6 21:49:50 UTC 2004


In article <df5f317b04112416532a9a5d7b at mail.gmail.com>,
Noah Dain <noahdain at gmail.com> wrote:

> take a look in /usr/share/doc/hdparm/contrib , paritcularly the idectl
>script.
> 
> On my R40, I've had success with using idectl to prep the hotswap bay
> and then yank out the cdrom and replace it with a battery.  I have
> then been able to put the cdrom back in ( no need to prep the bay for
> battery ejection ) and run idectl to re-activate the bay's ide-atapi
> interface to bring the cdrom back online.

Thanks. That looks promising. Simply unmounting anything in the bay
then ejecting it certainly didn't work - both laptops lock hard that
way...

> one caveate is that I have been unable to boot the machine with an
> empty bay ( or with a battery ) and then get the cdrom working.

Thanks. Shouldn't happen often, but its worth knowing about.

> All this may also require tpctl and the thinkpad-modules compiled and
> modprobed in.  I can't remember with 100% certaintly, but I do have
> both installed here.

I've been meaning to add both in anyway, but I'll try first without and
see what happens.

Thanks for the information.

paul

-- 
paul.marwick at virgin.net
Marwick Computer Services - Chipping Norton, Oxfordshire, UK
OS/2, LAN and general Computer Consultants





More information about the ubuntu-users mailing list