Re: IBM Bluetooth Card

Marcel Holtmann <[email protected]> 28 Apr 2003 23:33:26 +0200
Newsgroups gmane.linux.pcmcia.devel
Message-ID <[email protected]>
Hi David,

> > 	  dev_info
> > 	    NULL 0ns, 512b
> > 	  manfid 0x0105, 0x4254
> > 	  funcid unknown [post]
> > 	  vers_1 7.1, "IBM", "Bluetooth PC Card II", "", ""
> > 	  config base 0x00f8 mask 0x000f last_index 0x04
> > 	  cftable_entry 0x03 [default]
> > 	    [rdybsy]
> > 	    Vcc Vnom 5V
> > 	    io 0x01e0-0x01ef [lines=8] [8bit] [range]
> > 	    irq mask 0xffff [level] [shared]
> > 	  cftable_entry 0x04
> > 	    io 0x0000-0x7fff [lines=15] [8bit]
> 
> The first config table entry seems ok; the second one is hosed.  I
> would think the first one would allow the card to be configured at
> 0x0e0-0x0ef + any multiple of 0x100.
> 
> I think what I'd do, is to write this to a file, fix the funcid line
> to be "serial" instead of "unknown", and delete the cftable_entry that
> asks for a block of 32K IO ports.  Then use "pack_cis" to create a
> binary CIS file, and put it in /etc/pcmcia/cis/IBMBT.dat, and add to
> /etc/pcmcia/config.opts something like:
> 
>   card "IBM Bluetooth"
>     manfid 0x0105, 0x4254
>     cis "cis/IBMBT.dat"
>     bind "serial_cs"

thanks for this information. I will try it.

> The serial_cs driver also has some code to recognize and treat OXCF950
> based cards specially, and you may need to tweak that to recognize the
> manfid's for this card.

The serial_cs have some code for OXCF950, but only in multi_config().
And the IBM card is recognized with multi=0. Seems that something
similar have to be put in simple_config(). But the simple_config() is
not really simple for me. Did you have any idea where to tweak it for
this card and don't breaking any other cards?

Regards

Marcel




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf