Re: APM and PCMCIA issue?

Seth M. Landsman (seth@job.cs.brandeis.edu)
Sat, 12 Sep 1998 14:44:54 -0400


> > So the hardware in question is a gateway 2300LS with 64M of RAM, a
> > PCMCIA modem (using self-compiled pcmcia utilities 3.05 (or whatever
> > the latest is), 2.0.35 kernel with APM in the kernel and an updated
> > debian slink system.
> > The problem is that my PCMCIA script works 100% when I boot up my
> > system. However, after suspending my system, the PPP script freezes
> > upon trying to write to /dev/modem. After a reasonable time, /usr/
> > sbin/chat returns an error that it cannot write to the device. There
> > are no messages in any log file that look relevant. The symlink still
> > exists. Ejecting the cards, mucking with cardctl, etc don't do
> > anything useful.
> > The behavior is not replicatable under windows95, PPP works fine
> > after a suspend.
> > rebooting or resetting the machines restores PPP to working order.
>
> Sounds to me like the card isn't being restarted correctly. Have you tried
> using cardctl or cardinfo to reset the card? If that fails, have you tried
> simply popping the card out and inserting it again?

Yes, I've tried precisely that. Resetting the card through
cardctl eject and cardctl insert and cardctl reset does nothing. Ditto
with popping out the card. Though I haven't had the opportunity to test
this under a more controlled environment, which I'll probably do later
today.

> If that still doesn't solve things, you might check out the pcmcia message
> lists and post your previous message at:
>
> http://hyper.stanford.edu/HyperNews/get/pcmcia/home.html

Right. I intend to. I'm not convinced this is a pcmcia problem,
it seems more like an apm problem where some data areas are not being
properly restored after the suspend (this is, of course, assuming I under
the process, which is questionable ... :) ).

-Seth

--
"It is by will alone I set my mind in motion"

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/faq.html