Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Re: Adding new pccard device entries to FreeBSD 6, how?

0 views
Skip to first unread message

M. Warner Losh

unread,
Oct 14, 2005, 11:03:29 AM10/14/05
to
In message: <ef10de9a0510131106v2e8...@mail.gmail.com>
Nikolas Britton <nikolas...@gmail.com> writes:
: ---------- Forwarded message ----------
: From: Nikolas Britton <nikolas...@gmail.com>
: Date: Oct 13, 2005 1:38 AM
: Subject: Adding new pccard device entries to FreeBSD 6, how?
: To: FreeBSD-questions <freebsd-...@freebsd.org>
:
:
: Hello all,
:
: I'm trying to get FreeBSD 6 working with my Prism 3 based SMC 2532W-B
: wireless cards. I've added the device entries into the system but I
: must be doing something wrong, it's still not working. The SMC2532W-B
: cards are re-branded Zcom XI-330H (Prism 3) and XI-325H (Prism 2.5)
: cards. I know for a fact that the SMC card works with FreeBSD 4.11, in
: hostap mode, because I'm using one of them right now with the PLX PCI
: to PCMCIA bridge controller that came with the old 3Com 3CRWE777A
: wireless cards......
:
: dmesg output:
: cbb0: <RF5C475 PCI-CardBus Bridge> at device 2.0 on pci2
: cardbus0: <CardBus bus> on cbb0
: pccard0: <16-bit PCCard bus> on cbb0
: pccard0: <unknown card> (manufacturer=0xd601, product=0x0010,
: function_type=6) at function 0
: pccard0: CIS info: SMC, SMC2532W-B EliteConnect Wireless Adapter, ,
:
: --------------------------
:
: /sys/dev/pccard/pccarddevs:
: The vendor id matches ELSA (0xd601) so I added an entry to the ELSA
: products section:
: "product ELSA XI330_IEEE 0x0010 XI330 Wireless LAN"
:
: After that I added "PCMCIA_CARD(ELSA, XI330_IEEE)," to
: /sys/dev/wi/if_wi_pccard.c
:
: I also added to /etc/pccard.conf:
: # SMC's SMC2532W-B EliteConnect Wireless Adapter
: card "SMC" "SMC2532W-B EliteConnect Wireless Adapter"
: config auto "wi" ?
: insert /etc/pccard_ether $device start
: remove /etc/pccard_ether $device stop
:
: I read something about running "make -f Makefile.pccarddevs" but when
: I run it it can't find the makefile.... I need help, thanks.

Putting it in pccarddevs does exactlty nothing, but is a necessary
step. Likewise with /etc/pccard.conf, except it is completely
ignored. You need to add it to src/sys/dev/wi/if_wi_pccard.c and send
me a patch.

Warner
_______________________________________________
freebsd...@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-mobile
To unsubscribe, send any mail to "freebsd-mobil...@freebsd.org"

M. Warner Losh

unread,
Oct 14, 2005, 11:03:39 AM10/14/05
to
In message: <20051013150...@freebsd.org>
John Baldwin <j...@freebsd.org> writes:
: You don't need to touch pccard.conf anymore, just the updates to pccarddevs
: and if_wi_pccard.c should be sufficient.

And sending me the patch!

M. Warner Losh

unread,
Oct 14, 2005, 11:09:29 AM10/14/05
to
In message: <ef10de9a0510131106v2e8...@mail.gmail.com>
Nikolas Britton <nikolas...@gmail.com> writes:
: I'm trying to get FreeBSD 6 working with my Prism 3 based SMC 2532W-B
: wireless cards. I've added the device entries into the system but I
: must be doing something wrong, it's still not working. The SMC2532W-B
: cards are re-branded Zcom XI-330H (Prism 3) and XI-325H (Prism 2.5)
: cards. I know for a fact that the SMC card works with FreeBSD 4.11, in
: hostap mode, because I'm using one of them right now with the PLX PCI
: to PCMCIA bridge controller that came with the old 3Com 3CRWE777A
: wireless cards......
:
: dmesg output:
: cbb0: <RF5C475 PCI-CardBus Bridge> at device 2.0 on pci2
: cardbus0: <CardBus bus> on cbb0
: pccard0: <16-bit PCCard bus> on cbb0
: pccard0: <unknown card> (manufacturer=0xd601, product=0x0010,
: function_type=6) at function 0
: pccard0: CIS info: SMC, SMC2532W-B EliteConnect Wireless Adapter, ,

I've gone ahead and added this to the wi driver in head.

Nikolas Britton

unread,
Oct 14, 2005, 1:25:45 PM10/14/05
to
On 10/14/05, M. Warner Losh <i...@bsdimp.com> wrote:
> In message: <ef10de9a0510131106v2e8...@mail.gmail.com>
> Nikolas Britton <nikolas...@gmail.com> writes:
> : I'm trying to get FreeBSD 6 working with my Prism 3 based SMC 2532W-B
> : wireless cards. I've added the device entries into the system but I
> : must be doing something wrong, it's still not working. The SMC2532W-B
> : cards are re-branded Zcom XI-330H (Prism 3) and XI-325H (Prism 2.5)
> : cards. I know for a fact that the SMC card works with FreeBSD 4.11, in
> : hostap mode, because I'm using one of them right now with the PLX PCI
> : to PCMCIA bridge controller that came with the old 3Com 3CRWE777A
> : wireless cards......
> :
> : dmesg output:
> : cbb0: <RF5C475 PCI-CardBus Bridge> at device 2.0 on pci2
> : cardbus0: <CardBus bus> on cbb0
> : pccard0: <16-bit PCCard bus> on cbb0
> : pccard0: <unknown card> (manufacturer=3D0xd601, product=3D0x0010,
> : function_type=3D6) at function 0

> : pccard0: CIS info: SMC, SMC2532W-B EliteConnect Wireless Adapter, ,
>
> I've gone ahead and added this to the wi driver in head.
>
> Warner
>

Thanks warner for the commit and I figured out why It wasn't working
for me... I forgot to add the wi and wlan devices to my custom kernel.
This box is my main desktop computer, hardwired to the net. I decided
to use it for testing out a new PCMCIA to PCI bridge controller for my
firewall/router/AP boxes. D'oh!

Nikolas Britton

unread,
Oct 14, 2005, 2:18:22 PM10/14/05
to
On 10/14/05, Nikolas Britton <nikolas...@gmail.com> wrote:
> On 10/14/05, M. Warner Losh <i...@bsdimp.com> wrote:
> > In message: <ef10de9a0510131106v2e8...@mail.gmail.co=

m>
> > Nikolas Britton <nikolas...@gmail.com> writes:
> > : I'm trying to get FreeBSD 6 working with my Prism 3 based SMC 2532W-B
> > : wireless cards. I've added the device entries into the system but I
> > : must be doing something wrong, it's still not working. The SMC2532W-B
> > : cards are re-branded Zcom XI-330H (Prism 3) and XI-325H (Prism 2.5)
> > : cards. I know for a fact that the SMC card works with FreeBSD 4.11, i=

n
> > : hostap mode, because I'm using one of them right now with the PLX PCI
> > : to PCMCIA bridge controller that came with the old 3Com 3CRWE777A
> > : wireless cards......
> > :
> > : dmesg output:
> > : cbb0: <RF5C475 PCI-CardBus Bridge> at device 2.0 on pci2
> > : cardbus0: <CardBus bus> on cbb0
> > : pccard0: <16-bit PCCard bus> on cbb0
> > : pccard0: <unknown card> (manufacturer=3D0xd601, product=3D0x0010,
> > : function_type=3D6) at function 0
> > : pccard0: CIS info: SMC, SMC2532W-B EliteConnect Wireless Adapter, =

,
> >
> > I've gone ahead and added this to the wi driver in head.
> >
> > Warner
> >
>
> Thanks warner for the commit and I figured out why It wasn't working
> for me... I forgot to add the wi and wlan devices to my custom kernel.
> This box is my main desktop computer, hardwired to the net. I decided
> to use it for testing out a new PCMCIA to PCI bridge controller for my
> firewall/router/AP boxes. D'oh!
>

For completeness... everything works great now:

Card 1, default firmware shown:
wi0: <SMC SMC2532W-B EliteConnect Wireless Adapter> at port
0xd000-0xd07f irq 18 function 0 config 1 on pccard0
wi0: using RF:PRISM3(PCMCIA)
wi0: Intersil Firmware: Primary (1.1.1), Station (1.8.2)
wi0: Ethernet address: 00:04:e2:81:e6:43

Card 2, downgraded firmware to work in hostap mode with a PCI bridge
controller and kismet.
wi0: <SMC SMC2532W-B EliteConnect Wireless Adapter> at port
0xd000-0xd07f irq 18 function 0 config 1 on pccard0
wi0: using RF:PRISM3(PCMCIA)
wi0: Intersil Firmware: Primary (1.1.0), Station (1.4.9)
wi0: Ethernet address: 00:04:e2:81:e1:06

Prism firmware (and how-to guide) is available here:
http://linux.junsun.net/intersil-prism/

0 new messages