Date: Tue, 30 Sep 1997 22:15:46 +0930 From: Mike Smith <mike@smith.net.au> To: Joel Gwynn <joelman@world.std.com> Cc: freebsd-mobile@freebsd.org Subject: Re: [Fwd: pccard.conf] Message-ID: <199709301245.WAA00331@word.smith.net.au> In-Reply-To: Your message of "Sat, 13 Sep 1997 14:52:33 MST." <341B0B21.2487@world.std.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> Still working on my pcmcia modem. I recompiled my kernel, uncommenting > the pcic driver, so now when I start up, it seems to find the card. > > <excerpt from dmesg> > PC-Card Intel 82365 (5 mem & 2 I/O windows) > pcic: controller irq 3 > Card inserted, slot 1 > > The CIS information is "Simple Technology", "14.4 Communicator". In > DOS, I know that it's on COM2, IRQ3 at 0x2f8. So, I tried a pccard.conf > like this: > > <excerpt from pccard.conf> > card "Simple Technology" "14.4 Communicator" > config 0x2f8 "sio1" 3 > insert echo PCMCIA card inserted, Joelman. > remove echo PCMCIA card removed, Joelman. > > When I run "pccardd -v", it reads the file ok, but then it says that it > failed to allocate resources. When I try an stty command, I get the > message "port not configured". > > What the heck is going on? You are not reading the manpage. The second field on the 'config' line is the configuration index, not the port address. You can list the configuration indices with 'pccardc dumpcis'; 0x20 is normally the default, and usually adequate. You may have to pick a different one. It is also likely that IRQ 3 is not actually free. You should make sure that the IRQ listing at the top of pccard.conf is correct, and that it matches the list of free IRQs in your system. 3 has already been taken by the pcic, as you would have noticed had you read what you quoted above. As a sample, here are the relevant components I use : # Resource availability io 0x240-0x360 irq 9 5 # Available memory slots memory 0xd4000 96k # Megahertz XJ4336 card "Megahertz" "XJ4336-CC4336" config 0x21 "sio1" 5 mike
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199709301245.WAA00331>