Adding Sierra AirCard support from OpenBSD

James Earl jamesd.earl at gmail.com
Sun Feb 27 22:55:05 GMT 2005


On Sun, 27 Feb 2005 15:38:16 -0500, Mike Goumans <mike at nrw.ca> wrote:
> James Earl wrote:
> 
> >Hi,
> >
> >I'm trying to port OpenBSD's support for the Sierra AirCard's over to
> >FreeBSD.  I don't really know what I'm doing... but I just had to give
> >it a shot.  I have three AirCard 555's at the moment.
> >
> >
> I fought and fought and fought with this.
> 
> I was about to give up, and suddenly someone suggested something that
> worked.
> 
> This are the pccard_cis_quirks entries I used
> 
> static struct pccard_function pccard_a555_func0 = {
>         0,                      /* function number */
>         PCCARD_FUNCTION_SERIAL,
>         0x23,                   /* last cfe number */
>         0x00,                  /* ccr_base */
>         0x73,                   /* ccr_mask */
> };
> 
> struct pccard_config_entry pccard_a555_func0_cfe0 = {
>         0x20,
>         PCCARD_CFE_IO8 | PCCARD_CFE_IRQLEVEL,
>         PCCARD_IFTYPE_IO,
>         1,                      /* num_iospace */
>         3,                      /* iomask */
>         { { 0x07, 0x3e8 } },      /* iospace */
>         0x3fbc,                 /* irqmask */
>         0,                      /* num_memspace */
>         { },                    /* memspace */
>         0,                      /* maxtwins */
> };
> 
> and pccarddevs
> 
> vendor SIERRAWIRELESS           0x0192  Sierra Wireless
> 
> /* Sierra Wireless */
> product SIERRAWIRELESS A555     0xa555  Sierra Wireless AirCard 555
> 
> It gets detected as an 8250, but it works ok, I think it just that it
> cant find the proper uart.
> 
> It is SLOOOOOOW I get 3k/sec on a good day. Alot less on a bad day.
> 
> I ended up junking it and replacing it with an external multi-tech
> modem. Its much faster, its sturdier and it works with incoming as well
> as outgoing calls.
> 
> And it was cheaper than replacing the A555.
> 
> Sierra wireless has no way of registering an incoming call via the
> serial interface, only the network interface with cns.
> The antenna and its jack also came off the card after spending a few
> hours in my trunk.
> 
> Sorry for the messy way the information is , I dont have that card
> anymore so Im just going over it from the notes I had made.

Hi Mike,

Thank you!  Changing the iomask and iospace did the trick.


More information about the freebsd-mobile mailing list