[lkml]   [2001]   [Dec]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subjectpcmcia / hotplugging in kernel 2.4.16/17 with Thinkpad T21
Hello all,

Some hints for using pcmcia / hotplugging feature with kernel 2.4.16/17.
Please notice my mail "[2.4.17rc1] various hotplugging problems" too.

My laptop is a IBM Thinkpad T21. I have the PCMCIA-card
Xircom CBEM56G-100 CardBus 10/ 100 CardBus 10/100 Ethernet + 56K Modem.
APM is enabled. "Ignore user suspend" and "allow interrupts during APM
BIOS calls" seem to have no effect.

There are potentially two ways to get pcmcia working:

1. Using hotplug-function of kernel 2.4.x
I could get it working (basic modules statically linked
in the kernel) with some restrictions:
- No ethernet connects with autonegotiation 100Mb/FD are possible.
- Forcing 100Mb/FD on client and server is possible with a lot of errors
on the laptop.
- apm -s crashes the laptop.
- Hotplugging feature doesn't recognize the modem on the Xircom card.

2. Using no hotplugging of the kernel but only the pcmcia-cs-package
It was for me the best way with the fewest restrictions.

Restarting of pcmcia after stopping and laptop has been once in suspend
mode before doesn't work. Not later than the next card-change, the
laptop hangs.
That's why it is good to leave cardmgr / pcmcia untouched once it is
If you leave cardmgr and modules untouched, apm -s or HW-suspend via
Fn-F4 seems to work.

Another problem was the hotplugging of the cdrom or the floppy drive.
It is necessary to put the boot option "hdc=cdrom" in lilo.conf to give
the kernel the chance to find the cdrom drive plugged in after booting.
The floppy drive is found with /dev/fd1 (not fd0).
If you change the floppy drive / cdrom drive, it is necessary to do a
HW-suspend and wake up (with Fn-F4 - key combination) to give the kernel
a chance to recognize the changed HW.
Because of this, it's very important to have a working suspend mode - no
if hw-mode or sw-mode.

I would be glad to hear your experiences / comments,
Andreas Hartmann

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:14    [W:0.028 / U:0.028 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site