From owner-freebsd-hardware@FreeBSD.ORG Fri May 27 14:38:09 2011 Return-Path: Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 647451065674; Fri, 27 May 2011 14:38:09 +0000 (UTC) (envelope-from willy@Offermans.Rompen.nl) Received: from cpsmtpb-ews02.kpnxchange.com (cpsmtpb-ews02.kpnxchange.com [213.75.39.5]) by mx1.freebsd.org (Postfix) with ESMTP id DBB138FC16; Fri, 27 May 2011 14:38:08 +0000 (UTC) Received: from cpbrm-ews30.kpnxchange.com ([10.94.84.161]) by cpsmtpb-ews02.kpnxchange.com with Microsoft SMTPSVC(6.0.3790.4675); Fri, 27 May 2011 16:38:07 +0200 Received: from CPSMTPM-CMT108.kpnxchange.com ([195.121.3.24]) by cpbrm-ews30.kpnxchange.com with Microsoft SMTPSVC(6.0.3790.4675); Fri, 27 May 2011 16:38:06 +0200 Received: from koko.offrom.nl ([77.170.60.162]) by CPSMTPM-CMT108.kpnxchange.com with Microsoft SMTPSVC(7.0.6002.18264); Fri, 27 May 2011 16:38:06 +0200 Received: from squid.home.itmc.RWTH-Aachen.DE (squid.vpn.offrom.nl [10.168.0.72]) by koko.offrom.nl (8.14.3/8.14.3) with ESMTP id p4REc296060891; Fri, 27 May 2011 16:38:03 +0200 (CEST) (envelope-from willy@vpn.offrom.nl) Received: from willy by squid.home.itmc.RWTH-Aachen.DE with local (Exim 4.72) (envelope-from ) id 1QPyAs-0001PE-CP; Fri, 27 May 2011 16:38:02 +0200 Date: Fri, 27 May 2011 16:38:02 +0200 From: Willy Offermans To: John Baldwin Message-ID: <20110527143802.GA5352@vpn.offrom.nl> References: <20110521092037.GB3271@vpn.offrom.nl> <201105261612.40451.jhb@freebsd.org> <4DDEBEFD.8050902@sentex.net> <201105270805.56457.jhb@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201105270805.56457.jhb@freebsd.org> User-Agent: Mutt/1.5.20 (2009-06-14) X-OriginalArrivalTime: 27 May 2011 14:38:06.0390 (UTC) FILETIME=[B10D5D60:01CC1C7B] X-RcptDomain: freebsd.org Cc: Willy@offermans.rompen.nl, Marcel Moolenaar , freebsd-stable@freebsd.org, freebsd-hardware@freebsd.org, Mike Tancsa Subject: Re: modem support MT9234ZPX-PCIE-NV X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Willy@Offermans.Rompen.nl List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 May 2011 14:38:09 -0000 Dear John and FreeBSD friends, On Fri, May 27, 2011 at 08:05:56AM -0400, John Baldwin wrote: > On Thursday, May 26, 2011 4:58:37 pm Mike Tancsa wrote: > > On 5/26/2011 4:12 PM, John Baldwin wrote: > > > > > > Hmm, can you get 'pciconf -lb' output? > > > > > > Hmm, wow, I wonder how uart(4) works at all. It tries to reuse it's softc > > > structure in uart_bus_attach() that was setup in uart_bus_probe(). Since > it > > > doesn't return 0 from its probe routine, that is forbidden. I guess it > > > accidentally works because of the hack where we call DEVICE_PROBE() again > > > to make sure the device description is correct. > > > > > > I think this is a similar card. Had it laying about for a while and > > popped it in. cu -l to it, attaches, but I am not able to interact with it. > > > > none3@pci0:5:0:0: class=0x070002 card=0x20282205 chip=0x015213a8 > > rev=0x02 hdr=0x00 > > vendor = 'Exar Corp.' > > device = 'XR17C/D152 Dual PCI UART' > > class = simple comms > > subclass = UART > > bar [10] = type Memory, range 32, base 0xe8950000, size 1024, enabled > > > > > > NetBSD supposedly has support for this card > > Oh, hmm, looks like the clock has an unusual multiplier. Does it work if you > use 'cu -l -s 1200' to talk at 9600 for example? (In general use speed / 8 > as the speed to '-s'.) > > Also, is your card a modem or a dual-port card? > > -- > John Baldwin It is a modem. As suggested: kosmos# cu -l /dev/cuau0 -s 1200 Stale lock on cuau0 PID=3642... overriding. Connected at&F OK atdt0045******* NO DIALTONE The last message can be explained. There is no line connected yet. But this looks very promising again. What do you exactly mean with ``Oh, hmm, looks like the clock has an unusual multiplier.'' What kind of multiplier are you talking about? How to proceed? B.t.w. cu looks like a nice tool. I was not aware of its existence. -- Met vriendelijke groeten, With kind regards, Mit freundlichen Gruessen, De jrus wah, Willy ************************************* W.K. Offermans Home: +31 45 544 49 44 Mobile: +31 681 15 87 68 e-mail: Willy@Offermans.Rompen.nl