Date: Mon, 22 Mar 1999 15:26:30 -0800 From: Richard Johnson <raj@cisco.com> To: questions@freebsd.org Subject: Re: PCMCIA modem card problems Message-ID: <199903222326.PAA01583@raj.cisco.com> In-Reply-To: Your message of "Sun, 21 Mar 1999 11:01:43 PST."
next in thread | raw e-mail | index | archive | help
Following up on my question about PCMCIA modem cards (which hasn't gotten an answer yet): I found that if I removed the configuration for "sio0" (which was finding the built in serial port), then the kernel doesn't hang when I open /dev/cuaa2 and I can talk to the modem (and get responses) just fine. The only remaining problem is that the driver doesn't recognize that the modem has output ready unless it has just finished delivering a character to it. When I type "at" followed by a return, I don't see any output (the "OK" response) until I send the modem another character. If I do the command to have the modem print all of its registers (forgotten what it is currently), I see a few lines of output and it stops in the middle of one of the lines. I then hit return and I get a little bit more output, etc. It appears as though the sio driver isn't getting interrupts when the card has output ready but is instead polling for output right after having delivered characters to the card. I don't know if this is a bug in the driver or if it's simply not recognizing the card correctly. According to "pccardc dumpcis" output the card has a 16550 chip and the driver says it's a 16550A. Maybe there's a small amount of difference here? Has anyone seen this type of problem with the i386/isa/sio.c driver code? /raj To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199903222326.PAA01583>