Re: Need help with connection PCMCI celluar modem under FreeBSD 7-CURRENT (recent)

Vladimir Grebenschikov <[email protected]>
Newsgroups gmane.os.freebsd.devel.mobile
Organization SWsoft
Message-ID <1188214416.2006.20.camel@localhost>
В сб, 25/08/2007 в 03:02 +0400, Vladimir Grebenschikov пишет:
> 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 on pccard0
> uart0: MFC: I/O base 0x400 IOSIZE 0x10

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

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

> Modem is Ubiquam UM-300 - it is PCMCI card of CDMA EVDO standard.
> 
> It seen by uart module (with debug):
> 
> 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, , 
> 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; iomask 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; iomask 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 == 88000000-880003ff, base=220
> 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 on 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
> 
> dumpcis /dev/pccard0.cis shows:
> Configuration data for file /dev/pccard0.cis
> Tuple #1, code = 0x1c (Other conditions for common memory), length = 3
>     000:  02 d1 ff
> 	 (3V card)
> Tuple #2, code = 0x15 (Version 1 info), length = 20
>     000:  08 00 55 62 69 71 75 61 6d 00 55 4d 2d 33 30 30
>     010:  00 00 00 ff
> 	Version = 8.0, Manuf = [Ubiquam], card vers = [UM-300]
> 	Addit. info = [],[]
> Tuple #3, code = 0x20 (Manufacturer ID), length = 4
>     000:  5d 01 45 4c
> 	PCMCIA ID = 0x15d, OEM ID = 0x4c45
> Tuple #4, code = 0x6 (Long link to next chain for MFC), length = 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 = 0xff (Terminator), length = 0
> 
> 
> but any attempts to access it with 
> cu -l /dev/cuau0 
> shows no activity (no characters are received)
> 
> In attachment screen-shot of what M$ drivers was installed by native software package
> (too much for me, including USB ??) 
> 
> By spec it have 'Standard/Extended AT Command', not clean what it means.
> 
> Any hints will be very appreciated.
> 
> PS:
>   spec is at http://www.ubiquam.com/eng/product/da_um300.php
> 
> _______________________________________________
> [email protected] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-mobile
> To unsubscribe, send any mail to "[email protected]"
-- 
Vladimir B. Grebenschikov
[email protected]
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-mobile
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.