mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Andreas Hartmann <andihartmann@freenet.de>
To: Kernel-Mailingliste <linux-kernel@vger.kernel.org>
Subject: pcmcia / hotplugging in kernel 2.4.16/17 with Thinkpad T21
Date: Sun, 23 Dec 2001 09:28:16 +0100	[thread overview]
Message-ID: <3C2595A0.3030804@athlon.maya.org> (raw)

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 
(3.1.29/30)
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 
started.
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 
matter
if hw-mode or sw-mode.


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


                 reply	other threads:[~2001-12-23  8:27 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3C2595A0.3030804@athlon.maya.org \
    --to=andihartmann@freenet.de \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®