Re: Bad CIS tuple

Jan Rychter <[email protected]> Sun, 21 Sep 2003 22:14:22 -0700
Newsgroups gmane.linux.pcmcia.devel
Message-ID <[email protected]>
>>>>> "Jan" == Jan Rychter <[email protected]>:
>>>>> "David" == David Hinds <[email protected]>:
 David> On Sat, Sep 20, 2003 at 09:48:57PM -0700, Jan Rychter wrote:
 > Hi,
 >
 > I'm trying to connect a Ricochet PCMCIA wireless modem to a Sharp
 > Zaurus SL-C760, via a CF->PCMCIA passive adapter.
 >
 > Unfortunately, while my PCMCIA wi-fi cards work fine, the Ricochet
 > modem is not recognized properly. Symptoms are:
 >
 > serial_cs: ParseTuple: Bad CIS tuple serial_cs: ParseTuple: Bad CIS
 > tuple serial_cs: ParseTuple: Bad CIS tuple ttys03 at port 0xf60002f8
 > (irq = 39) is a 16550A

 David> The "bad tuple" warnings are not necessarily a serious problem,
 David> and the card appeared to be configured successfully (and a
 David> reasonable UART was detected).

 David> Can you show the output of "dump_cis"?

 Jan> dump_cis doesn't. It says "no CIS present". I have bad feelings
 Jan> about this.

I take that back. Having looked closer, it turns out the Zaurus was
suspending the card soon after identifying it. That's why dump_cis
didn't produce anything and the "cardctl config" output looked strange.

After a "cardctl resume" the card was much more responsive:

  Socket 0:
    dev_info
      NULL 0ns, 512b
    vers_1 6.1, "Novatel Wireless", "Merlin Ricochet Modem", "NRM6842", ""
    manfid 0x00a4, 0x1aba
    funcid serial_port
    serial_interface
      uart 16550 [space/mark/odd/even] [5/6/7/8] [1/1.5/2]
    config base 0x0200 mask 0x0003 last_index 0x24
    parse error: Invalid argument
    cftable_entry 0x21
      io 0x02f8-0x02ff [lines=3] [8bit] [range]
      irq 3 [level]
    cftable_entry 0x22
      io 0x03e8-0x03ef [lines=3] [8bit] [range]
      irq 4 [level]
    cftable_entry 0x23
      io 0x02e8-0x02ef [lines=3] [8bit] [range]
      irq 3 [level]
    cftable_entry 0x24
      io 0x0000-0x0007 [lines=3] [8bit]
      irq mask 0xffff [level]

cardctl config says:

  Socket 0:
    Vcc 5.0V  Vpp1 0.0V  Vpp2 0.0V
    interface type is "memory and I/O"
    irq 39 [exclusive] [level]
    Speaker output is enabled
    function 0:
      config base 0x0200
        option 0x61 status 0x08
      io 0xf60002f8-0xf60002ff [8bit]


So I guess I should go looking for why the system doesn't want to
recognize it as a modem.

Are the "parse error: Invalid argument" and the "Bad CIS tuple" messages
something to worry about, then?

I hope to get this working. Ricochet is just too good to pass up, and
I'd like to use it with the Zaurus, not just my laptop.

many thanks,
--J.


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