Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Aug 2007 15:33:36 +0400
From:      Vladimir Grebenschikov <vova@fbsd.ru>
To:        freebsd-mobile <freebsd-mobile@freebsd.org>
Subject:   Re: Need help with connection PCMCI celluar modem under FreeBSD 7-CURRENT (recent)
Message-ID:  <1188214416.2006.20.camel@localhost>
In-Reply-To: <1187996538.1522.10.camel@localhost>
References:  <1187996538.1522.10.camel@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help
=F7 =D3=C2, 25/08/2007 =D7 03:02 +0400, Vladimir Grebenschikov =D0=C9=DB=C5=
=D4:
> Hi

More digging shows that on PCMCI card there is USB controller and modem
connected to it.

Looks like it is function 0 of PCMCI card

> pccard0: function 0 CCR at 0 offset 0: 8f 77 cc 77, ff ff ff 8f, 77
> pccard0: function 1 CCR at 0 offset 220: 7f 20 0 0, 0 0 0 0, 0
> uart0: <Ubiquam UM-300> at port 0x400-0x408 irq 16 function 1 config 63 o=
n pccard0
> uart0: MFC: I/O base 0x400 IOSIZE 0x10

Under windows it is seen as "Multifunction controller" and then=20
"Ubiquam USB host" .

Probably there are hints how to detect it as USB host ?=20

> Modem is Ubiquam UM-300 - it is PCMCI card of CDMA EVDO standard.
>=20
> It seen by uart module (with debug):
>=20
> cardbus0: <CardBus bus> on cbb0
> pccard0: chip_socket_enable
> pccard0: read_cis
> cis mem map 0xe7b36000 (resource: 0x88000000)
> pccard0: CIS tuple chain:
> unhandled CISTPL 1c
>  1c 03 02 d1 ff
> CISTPL_VERS_1
>  15 14 08 00 55 62 69 71 75 61 6d 00 55 4d 2d 33
>  30 30 00 00 00 ff
> CISTPL_MANFID
>  20 04 5d 01 45 4c
> CISTPL_LONGLINK_MFC 2 attr:2f attr:6e
>  06 0b 02 00 2f 00 00 00 00 6e 00 00 00
> CISTPL_END
>  ff
> cis mem map e7b36000
> CISTPL_LINKTARGET expected, code 1c observed
> cis mem map e7b36000
> CISTPL_FUNCID
>  21 02 fe 01
> CISTPL_CONFIG
>  1a 05 01 37 00 02 73
> CISTPL_CFTABLE_ENTRY
>  1b 0c f7 01 79 01 b5 1e 23 b0 ff ff 08 04
> CISTPL_CFTABLE_ENTRY
>  1b 06 37 08 a3 20 f8 02
> CISTPL_CFTABLE_ENTRY
>  1b 06 37 08 a3 20 f8 03
> CISTPL_CFTABLE_ENTRY
>  1b 06 37 08 a3 20 e8 02
> CISTPL_CFTABLE_ENTRY
>  1b 06 37 08 a3 20 e8 03
> CISTPL_END
>  ff
> cis mem map e7b36000
> CISTPL_FUNCID
>  21 02 02 01
> CISTPL_CONFIG
>  1a 05 01 3f 20 02 63
> CISTPL_CFTABLE_ENTRY
>  1b 0a ff 01 19 01 b5 1e 23 b0 ff ff
> CISTPL_CFTABLE_ENTRY
>  1b 06 3f 08 a3 20 f8 03
> CISTPL_CFTABLE_ENTRY
>  1b 06 3f 08 a3 20 f8 02
> CISTPL_CFTABLE_ENTRY
>  1b 06 3f 08 a3 20 e8 03
> CISTPL_CFTABLE_ENTRY
>  1b 06 3f 08 a3 20 e8 02
> CISTPL_END
>  ff
> pccard0: check_cis_quirks
> pccard0: CIS version PC Card Standard 8.0
> pccard0: CIS info: Ubiquam, UM-300, ,=20
> pccard0: Manufacturer code 0x15d, product 0x4c45
> pccard0: function 0: unknown (254), ccr addr 200 mask 73
> pccard0: function 0, config table entry 55: I/O card; irq mask ffff; ioma=
sk 3, iospace 2f8-300; io8 irqshare irqlevel
> pccard0: function 1: serial port, ccr addr 220 mask 63
> pccard0: function 1, config table entry 63: I/O card; irq mask ffff; ioma=
sk 3, iospace 3f8-400; io8 irqshare irqlevel
> pccard0: functions scanning
> pccard0: Card has 2 functions. pccard_mfc is 1
> pccard0: I/O rid 0 start 2f8 end 300
> pccard0: Allocation failed for cfe 55
> pccard0: No config entry could be allocated.
> pccard0: I/O rid 0 start 3f8 end 400
> pccard0: ccr_res =3D=3D 88000000-880003ff, base=3D220
> unknown: MFC: I/O base 0 IOSIZE 0x1
> pccard0: function 0 CCR at 0 offset 0: 8f 77 cc 77, ff ff ff 8f, 77
> pccard0: function 1 CCR at 0 offset 220: 7f 20 0 0, 0 0 0 0, 0
> uart0: <Ubiquam UM-300> at port 0x400-0x408 irq 16 function 1 config 63 o=
n pccard0
> uart0: MFC: I/O base 0x400 IOSIZE 0x10
> uart0: MFC: I/O base 0x400 IOSIZE 0x10
> uart0: [FILTER]
> pccard0: function 1 CCR at 0 offset 220 mask 63: 7f 20 0 0, 0 4 0 0, 0
> cis mem map 0xe7b37000 (resource: 0x88010000)
> unknown: CIS tuple chain:
>  1c 03 02 d1 ff
>  15 14 08 00 55 62 69 71 75 61 6d 00 55 4d 2d 33
>  30 30 00 00 00 ff
>  20 04 5d 01 45 4c
> CISTPL_LONGLINK_MFC 2 attr:2f attr:6e
>  06 0b 02 00 2f 00 00 00 00 6e 00 00 00
> CISTPL_END
>  ff
> cis mem map e7b37000
> CISTPL_LINKTARGET expected, code 1c observed
> cis mem map e7b37000
>  21 02 fe 01
>  1a 05 01 37 00 02 73
>  1b 0c f7 01 79 01 b5 1e 23 b0 ff ff 08 04
>  1b 06 37 08 a3 20 f8 02
>  1b 06 37 08 a3 20 f8 03
>  1b 06 37 08 a3 20 e8 02
>  1b 06 37 08 a3 20 e8 03
> CISTPL_END
>  ff
> cis mem map e7b37000
>  21 02 02 01
>  1a 05 01 3f 20 02 63
>  1b 0a ff 01 19 01 b5 1e 23 b0 ff ff
>  1b 06 3f 08 a3 20 f8 03
>  1b 06 3f 08 a3 20 f8 02
>  1b 06 3f 08 a3 20 e8 03
>  1b 06 3f 08 a3 20 e8 02
> CISTPL_END
>  ff
>=20
> dumpcis /dev/pccard0.cis shows:
> Configuration data for file /dev/pccard0.cis
> Tuple #1, code =3D 0x1c (Other conditions for common memory), length =3D =
3
>     000:  02 d1 ff
> 	 (3V card)
> Tuple #2, code =3D 0x15 (Version 1 info), length =3D 20
>     000:  08 00 55 62 69 71 75 61 6d 00 55 4d 2d 33 30 30
>     010:  00 00 00 ff
> 	Version =3D 8.0, Manuf =3D [Ubiquam], card vers =3D [UM-300]
> 	Addit. info =3D [],[]
> Tuple #3, code =3D 0x20 (Manufacturer ID), length =3D 4
>     000:  5d 01 45 4c
> 	PCMCIA ID =3D 0x15d, OEM ID =3D 0x4c45
> Tuple #4, code =3D 0x6 (Long link to next chain for MFC), length =3D 11
>     000:  02 00 2f 00 00 00 00 6e 00 00 00
> 	Function 0: attribute memory, address 0x2f
> 	Function 1: attribute memory, address 0x6e
> Tuple #5, code =3D 0xff (Terminator), length =3D 0
>=20
>=20
> but any attempts to access it with=20
> cu -l /dev/cuau0=20
> shows no activity (no characters are received)
>=20
> In attachment screen-shot of what M$ drivers was installed by native soft=
ware package
> (too much for me, including USB ??)=20
>=20
> By spec it have 'Standard/Extended AT Command', not clean what it means.
>=20
> Any hints will be very appreciated.
>=20
> PS:
>   spec is at http://www.ubiquam.com/eng/product/da_um300.php
>=20
> _______________________________________________
> freebsd-mobile@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-mobile
> To unsubscribe, send any mail to "freebsd-mobile-unsubscribe@freebsd.org"
--=20
Vladimir B. Grebenschikov
vova@fbsd.ru



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1188214416.2006.20.camel>