Re: IBM Bluetooth Card

David Hinds <[email protected]> Mon, 28 Apr 2003 13:53:14 -0700
Newsgroups gmane.linux.pcmcia.devel
Message-ID <[email protected]>
On Sun, Apr 27, 2003 at 05:39:35PM +0200, Marcel Holtmann wrote:
> 
> 	  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"

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.

-- Dave


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