Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Jun 2002 12:49:58 -0600 (MDT)
From:      "M. Warner Losh" <imp@village.org>
To:        jims@innerdot.com
Cc:        freebsd-mobile@FreeBSD.ORG
Subject:   Re: pccard recognition, irqs, and winmodems
Message-ID:  <20020630.124958.125360896.imp@village.org>
In-Reply-To: <20020629221433.ED929AB83@www.innerdot.com>
References:  <20020629221433.ED929AB83@www.innerdot.com>

next in thread | previous in thread | raw e-mail | index | archive | help
In message: <20020629221433.ED929AB83@www.innerdot.com>
            jims@innerdot.com (Jim Spring) writes:
: First, why is it that no matter what configuration setting I use 
: in pccard.conf, the device inserted (both an orinoco wifi card and
: this winmodem) insists on taking over IRQ 11.  The irq line in the 
: pccard.conf file lists IRQ 3 5 9 10, for instance.  11 is not present,
: yet it is acquired.  I tried using pccardd manualling with the -i,
: and -I flags, still it grabbed 11.

Yes.  You have a cardbus bridge, and that forces the IRQ to use.  You
MUST use the one that is routed to the PCI interrupt line that is
connected to your cardbus bridge.

: Second, how exactly are pccards detected?  In other words, should 
: the modem be showing up in a scan using pciconf -lv?  I can provide the
: output, but the card does not show.  However, when the modem is inserted,
: pccardd recognizes, and starts the initialization that I configured
: in pccard.conf.

How exactly?  Well, the driver checks to see if the CD lines have
changed.  If so, it checks the CD lines.  If they are high, then the
card isn't there, if they are low, then the card is present.  From
there we start the device attach proceedure.

No, it won't show up after pciconf -lv.  That's just for pci devices.
PC Cards are not pci devices.

: Last, how does ltmdm determine the type of modem loaded?  Under windows,
: the modem is recognized as a winmodem and running happily using the 8.22
: version of the driver from agere, prior to today it was running 5.87,
: I believe.

No clue.

: Jun 26 00:59:09 chowder pccardd[54]: Card "LT WIN MODEM"("PC card") [] [] has fu
: nction ID 2
: sio5 at port 0x2f8-0x2ff irq 11 flags 0x40000 slot 0 on pccard0
: sio5: type 16450
: sio5: unable to activate interrupt in fast mode - using normal mode
: 
: Thoughts, comments?

I don't think that the ltmdm driver supports this kind of lt modem.
You'll need to create an PCCARD attachment for it at the very least.
And there may be other difficulties in creating a driver for this
16-bit device.

Warner

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-mobile" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020630.124958.125360896.imp>